Android app for the Classic

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

Previous topic - Next topic

binkino

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

BobWhite

Graham, that's a great app! not having great success with it at the moment but will keep working with it.
Walt
12-Lifeline AGM 8D's
10-Lifeline AGM GPL 31T
16- Diehard GC2
4-Classic 3-150 and 1-200
1-Classic Lite
2-BRATS
5wiz bang Jrs, , 2- Samlex-24Volt
5- 235 MX60s
10- Sharp 198
10 Solar world 345 XL Mono

Graham

Quote from: BobWhite on August 25, 2016, 05:40:50 PM
Graham, that's a great app! not having great success with it at the moment but will keep working with it.
Walt

Did it stop working or is this the first time you're using it?
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

BobWhite

#273


Did it stop working or is this the first time you're using it?
[/quote]

It is the first time using it but it also stopped working, shut down the Android and reboot it would sometimes work other times it would see the classic but not connect.

maybe i should say the classic's displayed in the list but not connect, just switch displays.
12-Lifeline AGM 8D's
10-Lifeline AGM GPL 31T
16- Diehard GC2
4-Classic 3-150 and 1-200
1-Classic Lite
2-BRATS
5wiz bang Jrs, , 2- Samlex-24Volt
5- 235 MX60s
10- Sharp 198
10 Solar world 345 XL Mono

Graham

Quote from: BobWhite on August 25, 2016, 07:58:34 PM

It is the first time using it but it also stopped working, shut down the Android and reboot it would sometimes work other times it would see the classic but not connect.

maybe i should say the classic's displayed in the list but not connect, just switch displays.

When the app connects to a classic for the first time it attempts to download all the log data for the calendar and charts, subsequent connects will only download the logs since the last connect date.
Sounds like it may be having problems with that initial download .

Try turning off system view in the settings (assuming you have more than one classic on your network), so the app will only connect to the selected classic.
Slide any existing entries in the nav bar to the right to erase them, restart the app then let it auto detect the classics on your network.

If it doesn't auto detect you might need to reboot your classics to get them to broadcast their presence on the network ( do this in the morning so you don't lose the energy log for the day)

Once it detects your classic, open one and wait a couple of minutes to allow the logs to download
Repeat for each...

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

BobWhite

#275
Thank you Graham, I will see what happens tonight but will wait till the am before rebooting the classics. Yes I have three that are auto detected but will get back as to if they cooperate tonight  :)

system view is already off

System 1 Hooked right up no problem.

System 2 and 3 took along time but there also 80 feet away in another building. started out with a short menu bar so i can see I need to wait a bit longer as it all did eventually come up.

Thank you Graham!

Walt
12-Lifeline AGM 8D's
10-Lifeline AGM GPL 31T
16- Diehard GC2
4-Classic 3-150 and 1-200
1-Classic Lite
2-BRATS
5wiz bang Jrs, , 2- Samlex-24Volt
5- 235 MX60s
10- Sharp 198
10 Solar world 345 XL Mono

ClassicCrazy

Graham
Next time you are tinkering around with your app I have a request if it isn't something too difficult to do .
It would be nice to see the temperature compensated value for charging volts . It probably does not change much for anyone with constant battery  temperature , but for those like me with batteries in cold place it is nice to know.
For example now my batteries are -7 C  Absorb is 28.8 v   and the temperature compensated Absorb temp is 29.9 v

I can see this value on the Local Status App but I have to go to the Config / Advanced / scroll down  and it is showing in Temperature Compensation settings window. On the MNGP you have to go to Main Menu /Battery Menu/ T-Comp/ View / and it shows as Temperature Compensation Setpoint

Be nice to see it without so much button pushing ! I think the same field will show for float or equalize - it shows temp compensated value for the charge state it is presently in .

Thanks,
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Graham

#277
Quote from: ClassicCrazy on January 15, 2017, 07:06:23 PM
Graham
Next time you are tinkering around with your app I have a request if it isn't something too difficult to do .
It would be nice to see the temperature compensated value for charging volts . It probably does not change much for anyone with constant battery  temperature , but for those like me with batteries in cold place it is nice to know.
For example now my batteries are -7 C  Absorb is 28.8 v   and the temperature compensated Absorb temp is 29.9 v

I can see this value on the Local Status App but I have to go to the Config / Advanced / scroll down  and it is showing in Temperature Compensation settings window. On the MNGP you have to go to Main Menu /Battery Menu/ T-Comp/ View / and it shows as Temperature Compensation Setpoint

Be nice to see it without so much button pushing ! I think the same field will show for float or equalize - it shows temp compensated value for the charge state it is presently in .

Thanks,
Larry


The modbus spec specifies address 4244 as VbattRegSetPTmpComp, not sure if this value varies with the charge state.
If that the correct address, it would be easy to add it to the info tab next to nominal voltage.

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

ClassicCrazy

Quote from: Graham on January 15, 2017, 08:24:22 PM
Quote from: ClassicCrazy on January 15, 2017, 07:06:23 PM
Graham
Next time you are tinkering around with your app I have a request if it isn't something too difficult to do .
It would be nice to see the temperature compensated value for charging volts . It probably does not change much for anyone with constant battery  temperature , but for those like me with batteries in cold place it is nice to know.
For example now my batteries are -7 C  Absorb is 28.8 v   and the temperature compensated Absorb temp is 29.9 v

I can see this value on the Local Status App but I have to go to the Config / Advanced / scroll down  and it is showing in Temperature Compensation settings window. On the MNGP you have to go to Main Menu /Battery Menu/ T-Comp/ View / and it shows as Temperature Compensation Setpoint

Be nice to see it without so much button pushing ! I think the same field will show for float or equalize - it shows temp compensated value for the charge state it is presently in .

Thanks,
Larry


The modbus spec specifies address 4244 as VbattRegSetPTmpComp, not sure if this value varies with the charge state.
If that the correct address, it would be easy to add it to the info tab next to nominal voltage.

Graham.

That would be great . The first controller I had was Morningstar MPPT and the built in web page always had that temp compensated voltage listed as Target Voltage or something like that. I found it very helpful to see next to the other voltages.
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

ClassicCrazy

Graham - was thinking about the charging a bit more.

This would be the ideal charge status page

Charge state
Battery voltage
Temperature compensated voltage
System amps
Absorb Timer ( modbus 4139 Absorb Time Up/Down Counter Goes to Float when it reaches 0)
Float time

Something like that  - it would be a one glance page where you could know exactly what is going on with charging.
The two things that your app does not have are the Temperature Compensated Voltage and the Absorb Timer
Both these take a lot of button pushing to find on the MNGP and Local Status App but seem to be really important details to know what the Classic is doing .

Is it possible to log the system amps when it switches over from Absorb to Float ?  This seems to be the number one question on the forums for people with new systems who are trying to figure out what Ending Amps should be. Ideally you  would be able to watch a detailed graph where the system amps levels off as the SOC counts up towards 100. Of course SOC is only as good as you set it up with battery AH and battery efficiency but it is a good ballpark figure to watch.

Thanks for your effort - your app is the best display of them all. I tend to use the Local Status App more sometimes just because I am at the computer. Too bad there isn't a way to run Android Apps on Windows - or is there ?

Larry




system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Graham

Quote from: ClassicCrazy on January 19, 2017, 12:31:11 PM
Graham - was thinking about the charging a bit more.

This would be the ideal charge status page

Charge state
Battery voltage
Temperature compensated voltage
System amps
Absorb Timer ( modbus 4139 Absorb Time Up/Down Counter Goes to Float when it reaches 0)
Float time

Something like that  - it would be a one glance page where you could know exactly what is going on with charging.
The two things that your app does not have are the Temperature Compensated Voltage and the Absorb Timer
Both these take a lot of button pushing to find on the MNGP and Local Status App but seem to be really important details to know what the Classic is doing .

Is it possible to log the system amps when it switches over from Absorb to Float ?  This seems to be the number one question on the forums for people with new systems who are trying to figure out what Ending Amps should be. Ideally you  would be able to watch a detailed graph where the system amps levels off as the SOC counts up towards 100. Of course SOC is only as good as you set it up with battery AH and battery efficiency but it is a good ballpark figure to watch.

Thanks for your effort - your app is the best display of them all. I tend to use the Local Status App more sometimes just because I am at the computer. Too bad there isn't a way to run Android Apps on Windows - or is there ?


Larry

I put a test version of the app in my dropbox page, it has the VbattRegSetPTmpComp (modbus 4244 ) displayed in the Info tab.
https://www.dropbox.com/sh/z04q8hpw5ibpwfd/AACbRXpllos-IuLR6Z4pGWska?dl=0

I'm not sure if this value changes with charge state or if it's simply a setpoint * tComp

The graph does display the state of charge (line at the bottom), it turns blue at float

The difficult part for any new page is how it would be laid out (what value is in a dial versus field etc) that will fit on all display resolutions and densities in all the supported languages
https://developer.android.com/guide/practices/screens_support.html


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

ClassicCrazy

Just installed the new app - and yes I see the Temp compensated voltage on the info page.

I would be happy with text info just like on that page. Is it possible to do that kind of display easily for the app ?
Thanks for trying this out .

Larry

system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Graham

Quote from: ClassicCrazy on January 19, 2017, 01:17:04 PM
Just installed the new app - and yes I see the Temp compensated voltage on the info page.

I would be happy with text info just like on that page. Is it possible to do that kind of display easily for the app ?
Thanks for trying this out .

Larry

I'll have to check the code to see if the info page refreshes like the other pages with gauges, otherwise it would have to go on a new tab
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, Larry, I just lost a post while trying to cross post I guess, too long to repeat, gist of it is

I normally use the LP page and watch the V, Classic Amps and WBjr Amps so

'can the 3 Values and time stamp at the transition points Bulk to absorb to Float be shown on the LIVE PLOT page?'

trying to hover the cursor over a point does not always work ...

Also the WBjr Amps and Battery Temp would be good for the summary page

cheers

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 January 19, 2017, 01:26:34 PM
Graham, Larry, I just lost a post while trying to cross post I guess, too long to repeat, gist of it is

I normally use the LP page and watch the V, Classic Amps and WBjr Amps so

'can the 3 Values and time stamp at the transition points Bulk to absorb to Float be shown on the LIVE PLOT page?'

trying to hover the cursor over a point does not always work ...

Also the WBjr Amps and Battery Temp would be good for the summary page

cheers

I'm sure it's possible but I used an open source chart component, I'll have to see how difficult it would be to modify that code
https://github.com/PhilJay/MPAndroidChart

adding the charge state bar was easy enough, but I would have to figure out how to float values over the chart
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