Help with local app for ios

Started by tecnodave, June 06, 2014, 11:16:04 PM

Previous topic - Next topic

tecnodave

I need a bit of help setting up communications between local app on iPad and Classic 150 ,  no internet,

SYSTEM:

iPad , 2 nd gen. MC707LL/A, 64 gb.   os = iOS 7.1.1 (11D201) , wi-fi only

Classic 150 ,
MNGP  1608   10/4/13.  Classic.  1609. 10/4/13
WBjr

3foot Cat 5e cable from Classic to:

Net gear router model WGR 614.     Default access http://192.168.1.1

Classic net mode: static.                          Classic address 192.168.1.1

Local app see's unknown device

I am assuming I need to change address in Classic?    To what?

Anything else I'm missing here?

More,  when I type in http://192.168.1.1 to my browser, Safari, I get info back from my Verizon wi-fi hotspot

WAN Verizon

IP address 10.177.17.153

WLAN.     192.168.1.1.       Subnet mask 255.255.255.0  DHCP enable



All three at the same address?.

Hardware I understand but this is confusing to me. Router light do not flash indicating communications.

I'm still trying to resolve this.  Turning wi-fi hot spot on or off. makes no difference except I can't use safari to check 192.168.1.1,  the routers default access, tried changing Classic to 192.168.1.2 and 192.170.1.1 no change, local app flashes "connecting" then unknown device appears just below banner.
#1 Classic 150 12 x Sharp NE-170, 2S6P, 24volt L-16 Rolls-Surette S-530, MS4024 & Cotek ,  C-40 dirv.cont. for hot water
#2 Classic 150 12 x Sharp NE-170, 2S6P, 24 volt L-16 Interstate,Brutus Inv.
#3 Kid/WBjr 4/6 Sanyo 200 watt multilayer 4/6 P
#4 Kid/WBjr 4/6 Sanyo 200 watt multilayer 2S 2/3 P

zoneblue

There is an identical question and answer one thread below yours:

http://midniteforum.com/index.php?topic=1922.msg17634#msg17634

Happy networking!
6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar

tecnodave

ZB,


windows directions do not relate to apple iPad and iOS local app. There is no Ethernet port on an iPad , all communications are wi-fi.   iPad and local app cannot communicate with router and Classic.
There is no app on an iPad that will let you set address and such that I am aware of.

td
#1 Classic 150 12 x Sharp NE-170, 2S6P, 24volt L-16 Rolls-Surette S-530, MS4024 & Cotek ,  C-40 dirv.cont. for hot water
#2 Classic 150 12 x Sharp NE-170, 2S6P, 24 volt L-16 Interstate,Brutus Inv.
#3 Kid/WBjr 4/6 Sanyo 200 watt multilayer 4/6 P
#4 Kid/WBjr 4/6 Sanyo 200 watt multilayer 2S 2/3 P

Resthome

#3
Quote from: tecnodave on June 07, 2014, 12:29:41 AM
ZB,


windows directions do not relate to apple iPad and iOS local app. There is no Ethernet port on an iPad , all communications are wi-fi.   iPad and local app cannot communicate with router and Classic.
There is no app on an iPad that will let you set address and such that I am aware of.

td

TD , See corrected post below.
John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

tecnodave

#4
RH,

The local app is at the apple App Store! I have had it for several weeks now. It is signed by MidNite Solar. I have ver 1.0.05

I want to monitor the Classic with the iOS app, I do not use windows, absolutely hate it.

td
#1 Classic 150 12 x Sharp NE-170, 2S6P, 24volt L-16 Rolls-Surette S-530, MS4024 & Cotek ,  C-40 dirv.cont. for hot water
#2 Classic 150 12 x Sharp NE-170, 2S6P, 24 volt L-16 Interstate,Brutus Inv.
#3 Kid/WBjr 4/6 Sanyo 200 watt multilayer 4/6 P
#4 Kid/WBjr 4/6 Sanyo 200 watt multilayer 2S 2/3 P

atop8918

Networking is analogous to the postal service.

Your IP address is equivalent to the address of your house in a city or zip code which is (sort of) specified by the subnet.

In your case, TD, you have made your router and classic have the same address. Now imagine you are the postman trying to deliver the mail. The mail is addressed to 5 Cherry Lane(192.168.1.1), but 2 houses on the block seem to have that same address (Classic and Router). Where does the mail go? In this case the Router is first house on the block so the mail will stop there and go no further.

Check the subnet: 255.255.255.0. The 0 field specifies which part of the IP address must be unique for your subnet (zip code). For 255.255.255.0 networks this means that the '0' field must be unique on the network. So your router is 192.168.1.1, your ipad will be 192.168.1.12(for example). Your network printer will be 192.168.1.55, your iPad will be 192.168.1.23, and your Classic will be 192.168.1.88(if you like).

You can also just leave the Classic set to DHCP if it's plugged into the router as it will get its own IP address and then advertise that address on the network to anyone who is listening (like the local app).

Resthome

Quote from: tecnodave on June 07, 2014, 01:00:50 AM
RH,

The local app is at the apple App Store! I have had it for several weeks now. It is signed by MidNite Solar. I have ver 1.0.05

I want to monitor the Classic with the iOS app, I do not use windows, absolutely hate it.

td
Thanks for the correction TD. I had no idea MN had posted the iOS App. Guess I missed the announcement. Seems to me if your iPad is connected to the same Wi-Fi network that the Classic is on then it should work. Just leave the Classic in DHCP mode until it connects.

Andrew is correct you said you have all devices set to the same IP address. That will not work, they each have to have their own IP address. If the router is configured to be a DHCP server then it will hand out different IPs to each device if the devices are configured for DHCP mode. Type in http://www.routerlogin.net  and see if that will log in to your router. If it is in factory default mode the user id is admin and the password is "password". Check your wireless settings and make sure it is set to broadcast the SID name. That SID name is the network you want the iPad Wi-Fi to connect to.

Andrew...  How come this app will not rotate on the iPad??  In landscape mode it seems to be upside down and will not rotate.
John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

atop8918

I'm afraid I can be no help with the iOS/Android version of the Local App. I did all the coding for the original app, but Mike kindly did the porting to iOS and Android so I'll have to differ to him on this!

-A

tecnodave

RH & atop,

Thanks, by late I had figured that out.

I will need to reset the router first because it is second in line, the wi-fi port uses that address so it grabs it first then all calls to that address goes to the wi-fi port, not to the router,

The Classic has been reset to 192.168.1.250.

When I try to access the router I get the wi-fi hub!

I can go back to the computer shop and reset the router to a different address.

I had always used this router with a DSL modem connected to the in port and there are 4 out ports and the wi-fi channel. What I do not know is if you can run the input to the router through the wi-fi channel. I had no problems accessing this router from my XP machine using the first out port.

td
#1 Classic 150 12 x Sharp NE-170, 2S6P, 24volt L-16 Rolls-Surette S-530, MS4024 & Cotek ,  C-40 dirv.cont. for hot water
#2 Classic 150 12 x Sharp NE-170, 2S6P, 24 volt L-16 Interstate,Brutus Inv.
#3 Kid/WBjr 4/6 Sanyo 200 watt multilayer 4/6 P
#4 Kid/WBjr 4/6 Sanyo 200 watt multilayer 2S 2/3 P

tecnodave

Atop8918 and Mike_Midnite,

I can confirm that there are iOS issues.

I think that some are scaling for retina display. The message boxes are tiny and not readable on my iPad ,2nd Generation MC707LL/A  using iOS 7.1.1  (11D201)

Other apps have done this when upgrading from iOS 6.XXX to 7.XXX , bug fixes on the apps has corrected this. I had scaling problems on several apps do this but all are corrected except local app.

The display does not rotate, it comes up in portrait for the greeting display, then switches to landscape, sometimes upside down.

#1 Classic 150 12 x Sharp NE-170, 2S6P, 24volt L-16 Rolls-Surette S-530, MS4024 & Cotek ,  C-40 dirv.cont. for hot water
#2 Classic 150 12 x Sharp NE-170, 2S6P, 24 volt L-16 Interstate,Brutus Inv.
#3 Kid/WBjr 4/6 Sanyo 200 watt multilayer 4/6 P
#4 Kid/WBjr 4/6 Sanyo 200 watt multilayer 2S 2/3 P

tecnodave

Has anyone successfully used the iOS local panel app. Local app does not recognize Classic. app does return address 192.168.1.250.502 when I set the configuration in the Classic to 192.169.1.250 and configure local app configuration to 192.168.1.250


Something is very wrong here as the Classic is not responding or is not recognized as a Classic.

The message windows that appear are so small that they are totally unreadable. The characters are smaller than .005 inch. It is not possible to expand screen size as the app The iPad locks up and the app cannot be closed

td
#1 Classic 150 12 x Sharp NE-170, 2S6P, 24volt L-16 Rolls-Surette S-530, MS4024 & Cotek ,  C-40 dirv.cont. for hot water
#2 Classic 150 12 x Sharp NE-170, 2S6P, 24 volt L-16 Interstate,Brutus Inv.
#3 Kid/WBjr 4/6 Sanyo 200 watt multilayer 4/6 P
#4 Kid/WBjr 4/6 Sanyo 200 watt multilayer 2S 2/3 P

TomW

#11
Quote from: tecnodave on June 07, 2014, 01:21:18 PM
Has anyone successfully used the iOS local panel app. Local app does not recognize Classic. app does return address 192.168.1.250.502 when I set the configuration in the Classic to 192.169.1.250 and configure local app configuration to 192.168.1.250




TD;

I donno squat about IOS or so called smart phones / tablets. I do understand networking and I have to point out that address 192.168.1.250.502 is NOT a valid local network address maybe it is a typo for 192.168.1.250:502 for IP 192.168.1.250 port 502. Networking is relatively simple but does require accuracy.every device needs a UNIQUE address. Period. End Quote!

I think you may need the help of someone local with networking experience. 

Sorry if I am wrong, but  from following this thread you seem confused on the basics of networking?.

Tom
Do NOT mistake me for any kind of "expert".

( ͡° ͜ʖ ͡°)


24 Trina 310 watt modules, SMA SunnyBoy 7.7 KW Grid Tie inverter.

I thought that they were angels, but much to my surprise, We climbed aboard their starship and headed for the skies

tecnodave

I do know that local app is crashing my iPad . iPad keeps a log of crashes and in every one there is the line:   

Application Specific Information:
com.midnitesolar.localstatuspanel failed to exit in time

10 times 10 reboots never connects to Classic


I do not know why the message box in less than 1 inch in size on a 10 inch screen , that does not make sense. The iPad resolution is 2048 by 1536. I did not buy ultra high resolution to have microscopic messages.


Facts.  Router turned off, Classic powered down, wi-fi port turned off, launch local app, iPad crashes and leaves crash log in : 
  Settings.  :   General.  :   Diagnostic and usage data.  :   LatestCrash_LocalStatusPanel.ips



<beginning of crash report>


{"name":"LocalStatusPanelMobile","bug_type":"109","os_version":"iPhone OS 7.1.1 (11D201)","bundleID":"com.midnitesolar.localstatuspanel","version":"1.0.5 (1.0.05)","app_name":"LocalStatusPanelMobile"}
Incident Identifier: D33E1931-EEBB-43F3-8347-188C714BFA11
CrashReporter Key:   662595d1c68f51fc496f2c104673ee5635174fe9
Hardware Model:      iPad3,1
Process:             LocalStatusPanelMobile [1547]
Path:                /var/mobile/Applications/EF81121A-A043-4E3F-84E8-6DA0D9CD5050/LocalStatusPanelMobile.app/LocalStatusPanelMobile
Identifier:          com.midnitesolar.localstatuspanel
Version:             1.0.5 (1.0.05)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2014-06-06 21:40:46.094 -0700
OS Version:          iOS 7.1.1 (11D201)
Report Version:      104

Exception Type:  00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread:  0

Application Specific Information:
com.midnitesolar.localstatuspanel failed to exit in time

Elapsed total CPU time (seconds): 1.850 (user 1.850, system 0.000), 13% CPU
Elapsed application CPU time (seconds): 0.000, 0% CPU

Thread 0:
0   LocalStatusPanelMobile           0x00c9546c 0xc9000 + 12371052
1   LocalStatusPanelMobile           0x00c9549c 0xc9000 + 12371100
2   LocalStatusPanelMobile           0x00f1a520 0xc9000 + 15013152
3   LocalStatusPanelMobile           0x00f1a4ec 0xc9000 + 15013100
4   LocalStatusPanelMobile           0x00433764 0xc9000 + 3581796
5   LocalStatusPanelMobile           0x0043e308 0xc9000 + 3625736
6   LocalStatusPanelMobile           0x0043e720 0xc9000 + 3626784
7   LocalStatusPanelMobile           0x0043ffd0 0xc9000 + 3633104
8   LocalStatusPanelMobile           0x00e6a2f0 0xc9000 + 14291696
9   LocalStatusPanelMobile           0x00e6a1dc 0xc9000 + 14291420
10  LocalStatusPanelMobile           0x00e6a760 0xc9000 + 14292832
11  LocalStatusPanelMobile           0x00c91b18 0xc9000 + 12356376
12  UIKit                            0x3087ee0c 0x307ee000 + 593420
13  UIKit                            0x3087c3e4 0x307ee000 + 582628
14  UIKit                            0x307fdca0 0x307ee000 + 64672
15  UIKit                            0x307fd86c 0x307ee000 + 63596
16  UIKit                            0x30861cc4 0x307ee000 + 474308
17  GraphicsServices                 0x32e37aea 0x32e2d000 + 43754
18  GraphicsServices                 0x32e376d2 0x32e2d000 + 42706
19  CoreFoundation                   0x2dfa7ab4 0x2df09000 + 649908
20  CoreFoundation                   0x2dfa7a4e 0x2df09000 + 649806
21  CoreFoundation                   0x2dfa6222 0x2df09000 + 643618
22  CoreFoundation                   0x2df10f0a 0x2df09000 + 32522
23  CoreFoundation                   0x2df10cee 0x2df09000 + 31982
24  GraphicsServices                 0x32e3665e 0x32e2d000 + 38494
25  UIKit                            0x3085c168 0x307ee000 + 450920
26  LocalStatusPanelMobile           0x00cae248 0xc9000 + 12472904
27  LocalStatusPanelMobile           0x010d54a8 0xc9000 + 16827560

Thread 1:
0   libsystem_kernel.dylib           0x3912d808 0x3912d000 + 2056
1   libdispatch.dylib                0x3906f078 0x39064000 + 45176
2   libdispatch.dylib                0x3906edfe 0x39064000 + 44542

Thread 2:
0   libsystem_kernel.dylib           0x3912da58 0x3912d000 + 2648
1   libsystem_kernel.dylib           0x3912d854 0x3912d000 + 2132
2   libsystem_kernel.dylib           0x391318d0 0x3912d000 + 18640
3   LocalStatusPanelMobile           0x004251ac 0xc9000 + 3522988
4   LocalStatusPanelMobile           0x00425374 0xc9000 + 3523444
5   LocalStatusPanelMobile           0x004255bc 0xc9000 + 3524028
6   libsystem_pthread.dylib          0x391a9916 0x391a7000 + 10518
7   libsystem_pthread.dylib          0x391a9886 0x391a7000 + 10374
8   libsystem_pthread.dylib          0x391a7aa0 0x391a7000 + 2720

Thread 3 name:  BackgroundThread
Thread 3:
0   libsystem_kernel.dylib           0x3913ff2c 0x3912d000 + 77612
1   libsystem_pthread.dylib          0x391a8f22 0x391a7000 + 7970
2   libsystem_pthread.dylib          0x391a9d60 0x391a7000 + 11616
3   LocalStatusPanelMobile           0x00de436c 0xc9000 + 13742956
4   LocalStatusPanelMobile           0x00d34c68 0xc9000 + 13024360
5   LocalStatusPanelMobile           0x00de41bc 0xc9000 + 13742524
6   LocalStatusPanelMobile           0x00de4210 0xc9000 + 13742608
7   LocalStatusPanelMobile           0x00de3f1c 0xc9000 + 13741852
8   libsystem_pthread.dylib          0x391a9916 0x391a7000 + 10518
9   libsystem_pthread.dylib          0x391a9886 0x391a7000 + 10374
10  libsystem_pthread.dylib          0x391a7aa0 0x391a7000 + 2720

Thread 4 name:  BackgroundThread
Thread 4:
0   libsystem_kernel.dylib           0x3913ff2c 0x3912d000 + 77612
1   libsystem_pthread.dylib          0x391a8f22 0x391a7000 + 7970
2   libsystem_pthread.dylib          0x391a9d60 0x391a7000 + 11616
3   LocalStatusPanelMobile           0x00de436c 0xc9000 + 13742956
4   LocalStatusPanelMobile           0x00d34c68 0xc9000 + 13024360
5   LocalStatusPanelMobile           0x00de41bc 0xc9000 + 13742524
6   LocalStatusPanelMobile           0x00de4210 0xc9000 + 13742608
7   LocalStatusPanelMobile           0x00de3f1c 0xc9000 + 13741852
8   libsystem_pthread.dylib          0x391a9916 0x391a7000 + 10518
9   libsystem_pthread.dylib          0x391a9886 0x391a7000 + 10374
10  libsystem_pthread.dylib          0x391a7aa0 0x391a7000 + 2720

Thread 5:
0   libsystem_kernel.dylib           0x39140c70 0x3912d000 + 81008
1   libsystem_pthread.dylib          0x391a7bda 0x391a7000 + 3034
2   libsystem_pthread.dylib          0x391a7a94 0x391a7000 + 2708

Thread 6:
0   libsystem_kernel.dylib           0x39140c70 0x3912d000 + 81008
1   libsystem_pthread.dylib          0x391a7bda 0x391a7000 + 3034
2   libsystem_pthread.dylib          0x391a7a94 0x391a7000 + 2708

<large portions removed due to size>


<End of crash report>

I would have to say that this is not a networking problem! All networks are off! iPad crashes with only local app running after a hard reboot !

td
#1 Classic 150 12 x Sharp NE-170, 2S6P, 24volt L-16 Rolls-Surette S-530, MS4024 & Cotek ,  C-40 dirv.cont. for hot water
#2 Classic 150 12 x Sharp NE-170, 2S6P, 24 volt L-16 Interstate,Brutus Inv.
#3 Kid/WBjr 4/6 Sanyo 200 watt multilayer 4/6 P
#4 Kid/WBjr 4/6 Sanyo 200 watt multilayer 2S 2/3 P

atop8918

The Local App tries to save a bunch of data when exiting. It seems like your version of iOS isn't happy with that. I'll ping Mike see what he says.

-A

tecnodave

Andrew,

I have several problems, the router was originally set up to use a DSL modem on its in port and the win XP machine and the others on the other ports. Wi-fi was not used.  I have done a hardware reset on the modem but I still have the same issues. I cannot access the modem for setup because the only way in is through the wi-fi which uses the same address as the router. , 192.168.1.1  I will go rent time an a PC and try to setup the router to an address that will work.  The bigger issue is something is awry in local app.  It does not scale for retina display. I cannot read the EULA or even scroll down due to its tiny size, approx 1 inch by 2 inch. Closing the window does not work. I cannot accept terms of use without iPad crashing. At that point I need to do a hard reset, delete the app and reinstall from App Store at apple. Then same issue.

td
#1 Classic 150 12 x Sharp NE-170, 2S6P, 24volt L-16 Rolls-Surette S-530, MS4024 & Cotek ,  C-40 dirv.cont. for hot water
#2 Classic 150 12 x Sharp NE-170, 2S6P, 24 volt L-16 Interstate,Brutus Inv.
#3 Kid/WBjr 4/6 Sanyo 200 watt multilayer 4/6 P
#4 Kid/WBjr 4/6 Sanyo 200 watt multilayer 2S 2/3 P