Android app for the Classic

Started by Graham, January 06, 2014, 07:54:42 PM

Previous topic - Next topic

Graham

Quote from: binkino on March 01, 2016, 07:21:14 PM
Graham,
have problems with the App on my Asus with OS 4.2
looks like problems with the network? hard to describe in english
reopening the app often don't get datas from the classic
also blocks network in the Asus tablet, so can't use web browser, can't open web pages, must task-kill the App
sometimes i get the os-message, that the app was closed.

Can you ping your tablet from a pc when it's in that state?
You can get the tablets IP address in settings>adout tablet > status
Off-Grid Island cottage, Lac Simon QC Canada
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

binkino

Hi :)

sorry I was to fast with uninstalling the new version and reinstalled 2.1.5 again,

but doing it again.

installed new version over the old version, now I have 2 icons -- I uninstall the old icon, it uninstalls both.
I install only the new version
(android bug - ehm - feature --- haha)
opening app
It finds my classic, but I also set the internet-way with port-forwarding.
connected with the internet-way
can see the main screen with the 5 gauges
shows me PV volts and Battery volts
on energy tab, it shows me the kwh
charge stae, is empfy. 0% and 0,0W
temperatures, missing WBJr.
calendar is empty
the other diagrams also empty
info: unit ID 0000 0000, shows the IP and port.
last voc = 0,0 V and battery volts 0 V

I task-kill it - nothing changed.

Restarting the tab ...

starting app again, now shows me chargestate - system ... and so on.
looks all fine.

leaving it several times by home or back button, but can access internet withj the browser
okay now it is working - will tell you when network is again not working


oh it has found the classic in the local network, and I also have my manually set connection over the internet (port-forwarding and so on)
I removed now the internet way and now only Classic in local Network.
Open this connection, and again I have only the mainscreen first, nothing else.
Task-kill it, and open it again, now the charge state is the first screen.
all okay


okay at the moment, "network" is working, will ping it if it happens again and let you know ;)

Andy
PV-OUTPUT: http://pvoutput.org/list.jsp?id=38617
Classic Lite 200 + Classic 200 + Easun ISolar-SMX-II-5.6KW + 12x240Wp + 12x255Wp + 2x10kWh LFP
http://a68k.de/Solar/Monitor_LC2.php

Graham

Quote from: binkino on March 02, 2016, 07:19:32 PM
Hi :)

sorry I was to fast with uninstalling the new version and reinstalled 2.1.5 again,

but doing it again.

installed new version over the old version, now I have 2 icons -- I uninstall the old icon, it uninstalls both.
I install only the new version
(android bug - ehm - feature --- haha)
opening app
It finds my classic, but I also set the internet-way with port-forwarding.
connected with the internet-way
can see the main screen with the 5 gauges
shows me PV volts and Battery volts
on energy tab, it shows me the kwh
charge stae, is empfy. 0% and 0,0W
temperatures, missing WBJr.
calendar is empty
the other diagrams also empty
info: unit ID 0000 0000, shows the IP and port.
last voc = 0,0 V and battery volts 0 V

I task-kill it - nothing changed.

Restarting the tab ...

starting app again, now shows me chargestate - system ... and so on.
looks all fine.

leaving it several times by home or back button, but can access internet withj the browser
okay now it is working - will tell you when network is again not working


oh it has found the classic in the local network, and I also have my manually set connection over the internet (port-forwarding and so on)
I removed now the internet way and now only Classic in local Network.
Open this connection, and again I have only the mainscreen first, nothing else.
Task-kill it, and open it again, now the charge state is the first screen.
all okay


okay at the moment, "network" is working, will ping it if it happens again and let you know ;)

Andy

In version 2.2 I added the 'System' tab that displays the sum of the power from all classics configured in the app, to achieve this, the app connects to all classics configured in the nav bar.
Prior the this release, the app would only connect to the classic you select.
If you have two entries, one using the domain name and the other auto detected, then the app will try to connect to both, in other words, the app will try to connect to the same classic twice.
For now, since you have one classic, you should use release 2.15, I'll take a look at the connection code to see if I can avoid connecting to duplicate endpoints.


Graham.
Off-Grid Island cottage, Lac Simon QC Canada
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

Westbranch

Graham, I have the dropbox V. installed and it recognizes my classic # 4592 but nothing for data as yet... Any tips? 
New to Android, 1 wk, so please go easy on the tech lingo...
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Graham

Quote from: Westbranch on March 05, 2016, 12:53:31 PM
Graham, I have the dropbox V. installed and it recognizes my classic # 4592 but nothing for data as yet... Any tips? 
New to Android, 1 wk, so please go easy on the tech lingo...

Is there an orange exclamation symbol next to the entry in the nav bar?
did the version from google play work (2.2.0)?, did it stop working when you tried the dropbox version?


things to try;
- make sure you don't have the local app (or any other device, arduino...) running at the same time

- try clearing the app data, go to android>settings>apps>classic and press the clear data,/cache, stop the app. then restart the app and let it detect the classic.

- can you try the MS android app to see if it works  https://play.google.com/store/apps/details?id=air.LocalStatusPanelMobile



When the app is run for the first time, it tries to load all the day logs from the classic, this can take some time, once this is done, it will only load the days since the last time it was run.
If there is that exclamation mark, then the classic is either refusing connection or is unreachable over TCP, although the app is seeing the UDP broadcast from the classic since it's detecting the classic

Graham


Off-Grid Island cottage, Lac Simon QC Canada
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

Westbranch

a little background:  Arrived yesterday pm and decided to checkout  Cl 4952 one last time , sun shining and I wanted to try your App..  usually use MN Local App as I want quick access to make changes... I came out to change out 4952 fpr Cl 29032 since it rfused to talk to MMn 2 yet talked to MMn1 quite happily..  It all seemed to coincide (?) with a //fw upgrade to the latest as I use the remote monitoring during the winter to see if the battery can handle a constant load for sat I net connection etc..  that is a real concern at this time...  :-[  as I did have a bad spot a year ago and drained one of my banks down vverry low, but it is still hanging in.....

So I tried your Android App  :) really like look and feel of it, so far, but it didn't connect as above...  so I started this AM to  re & re 4952 for 29032.

ad a bit of no connection with the MN L App, caused by the factory boys checking that the new box would connect to the net, but they used some weird IP addresses etc that took a while to decipher, especially using the |MNGP...

So yes 4592 did have a ! mark but 29032 does not yet, there is still no info at this time, I got done just as the sun was going behind the mountain today...

The 'hamburger' on the left, top corner, beside "Network' is orange as is the question mark beside the 'wheelly ' thing in the upper right above your data screens..

No, I had not tried your Google  play posted version.  I will check it out tomorrow as well as checking out the data ..... it did take a fiar while to download it yesterday...

more tomorrow


KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Graham

Quote from: Westbranch on March 05, 2016, 09:45:45 PM
a little background:  Arrived yesterday pm and decided to checkout  Cl 4952 one last time , sun shining and I wanted to try your App..  usually use MN Local App as I want quick access to make changes... I came out to change out 4952 fpr Cl 29032 since it rfused to talk to MMn 2 yet talked to MMn1 quite happily..  It all seemed to coincide (?) with a //fw upgrade to the latest as I use the remote monitoring during the winter to see if the battery can handle a constant load for sat I net connection etc..  that is a real concern at this time...  :-[  as I did have a bad spot a year ago and drained one of my banks down vverry low, but it is still hanging in.....

So I tried your Android App  :) really like look and feel of it, so far, but it didn't connect as above...  so I started this AM to  re & re 4952 for 29032.

ad a bit of no connection with the MN L App, caused by the factory boys checking that the new box would connect to the net, but they used some weird IP addresses etc that took a while to decipher, especially using the |MNGP...

So yes 4592 did have a ! mark but 29032 does not yet, there is still no info at this time, I got done just as the sun was going behind the mountain today...

The 'hamburger' on the left, top corner, beside "Network' is orange as is the question mark beside the 'wheelly ' thing in the upper right above your data screens..

No, I had not tried your Google  play posted version.  I will check it out tomorrow as well as checking out the data ..... it did take a fiar while to download it yesterday...

more tomorrow

This is what I see when my classics are disconnected or connected to the LA (see attached), the "question mark beside the 'wheelly '" is just an icon that launches the online help

(click the hamburger icon to get the nav bar)
If it displays an IP address with an exclamation in the bar then it detected the classic (received a UDP broadcast) but is unable to connect to it.
If it displays the name of the classic ("classic" by default) with the exclamation mark, then it has previously connected to the classic but cannot now.
If the bar is empty, then it isn't receiving any UDP broadcast on the local network, try browsing to your local router IP from your device to confirm your device is on the local wifi




Graham.
Off-Grid Island cottage, Lac Simon QC Canada
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

Westbranch

#172
Morning Graham, I get the white band with the Classic's name showing, no other info so far.

Trying to download the MN version , Stuck on AIR right now...???

got past that and  the LA opens , show summary bar  but VIEW willl not open the App.

TAB surface does not like me, wife able to get it to advance...

notice I am having the same problem Mike 9054? is having DATA tab only has 1 bottom tab  the one on the left....??? maybe something to do with AIR..??
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Westbranch

If it displays the name of the classic ("classic" by default) with the exclamation mark, then it has previously connected to the classic but cannot now.

Hi Graham, this morning I have 2 entries  for  Cl 29032, this would be because I played with DCHP last night and it auto changed to its old IP address, but would not connect, but I left the IP as is.. other wise no hook up yet.   My MS based LApp connects fine but not the MN android version won't let me 'in' to make changes to the settings so it is in sync with the MS version...?
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Graham

Quote from: Westbranch on March 07, 2016, 11:54:24 AM
If it displays the name of the classic ("classic" by default) with the exclamation mark, then it has previously connected to the classic but cannot now.

Hi Graham, this morning I have 2 entries  for  Cl 29032, this would be because I played with DCHP last night and it auto changed to its old IP address, but would not connect, but I left the IP as is.. other wise no hook up yet.   My MS based LApp connects fine but not the MN android version won't let me 'in' to make changes to the settings so it is in sync with the MS version...?

Two entries to the same classic will cause it not to connect,
you could try the following;
in the setting (press the gear), disable Auto detect
then with the nav bar open (hamburger icon) slide all entries to the right to erase them
then (+ADD) and enter the port and local IP address of your classic, then save the new entry
click on the entry to open.

as always, make sure the local app (and MN android app ) are not running.


Graham.
Off-Grid Island cottage, Lac Simon QC Canada
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

Westbranch

GOT IT! I just had to clean everything out and then reset auto-detect 'on'...  works like a charm...

Thank you Graham!

I did notice one item I need to change, and that is the background on the Tab, and the 'check marks' in the small squares are very hard to see even at max illumination...  Any ideas?
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Graham

Quote from: Westbranch on March 07, 2016, 01:09:03 PM
GOT IT! I just had to clean everything out and then reset auto-detect 'on'...  works like a charm...

Thank you Graham!

I did notice one item I need to change, and that is the background on the Tab, and the 'check marks' in the small squares are very hard to see even at max illumination...  Any ideas?

What is the make/model/android version of your phone, I'll see if I have it in my emulator, the hardest part of android development is supporting all the different resolutions/sizes etc.
+ if you can, could you post a picture of the tab, there are a number of free screen capture apps in google play


Graham.
Off-Grid Island cottage, Lac Simon QC Canada
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

Westbranch

Hope this  is good
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Westbranch

Graham, I sent a reply with image, I hope, using the Tab.  I hope it is good enough for what you need...
ps the Tab has a screen capture facility built in...  :)

Eric
KID FW1811 560W >C&D 24V 900Ah AGM
CL150 29032 FW V.2126-NW2097-GP2133 175A E-Panel WBjr, 3Px4s 140W > 24V 900Ah AGM,
2 Cisco WRT54GL i/c DD-WRT Rtr, NetGr DS104Hub
Cotek ST1500 Inv  want a 24V  ROSIE Inverter
OmniCharge3024  Eu1/2/3000iGens
West Chilcotin 1680+W to come

Graham

Quote from: Westbranch on March 08, 2016, 08:36:07 PM
Graham, I sent a reply with image, I hope, using the Tab.  I hope it is good enough for what you need...
ps the Tab has a screen capture facility built in...  :)

Eric

hmm... the colour is different
this is what it looks like on a Nexus 5
Off-Grid Island cottage, Lac Simon QC Canada
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s