Toon app: mySolar (FP4ALL)

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Toon app: mySolar (FP4ALL)

Postby SDeath » Sat Jan 12, 2019 1:07 pm

I am close to releasing my own app to readout my PV inverters. They have data loggers from a Dutch company named FP4ALL.
My app will be able to process 3 inverters, all you need to enter is their Names, local IP's and Wp rating and it will fetch each status.xml pages and show the values on screen.
The following data is in the status.xml and will be fetched by my app:
- gauge_power
- gauge_temp
- gauge_vpv
- gauge_iac
- energy_today
- energy_total
- hours_total

The update interval can be set by the user, if the connection is lost the locally stored JSON with the last data will be used for non live data (at the moment only energy_today, in the future energy_total and hours_total might be added).
This data will be updated the next time it connects to the inverter, live data will show and the locally stored JSON will be updated.
You can see the connection status to each inverter on top of the tiles.
If all inverters are offline than you can set a different update interval to prevent the Wifi to be DDoS'ed by the Toon due to no correct timeout handling in the QT sourcecode.
If an IP is deleted or set to 0.0.0.0 the locally generated file will be reset with 0 data.

You can select the tile you'd like, all 3 combined or for each inverter seperate.
Systray icon is selectable.
Pressing the tile or systray icon will open the Configuration screen.

See attached updated screenshots.

ToDo List:
- Graphical power bar for power display
- Graphs views
Attachments
mySolar_screenshot_2.png
Settings page
mySolar_screenshot_2.png (87.71 KiB) Viewed 202 times
mySolar_screenshot_1.png
Seperate and Combined tiles
mySolar_screenshot_1.png (84.63 KiB) Viewed 202 times
mySolar_screenshot_3.png
Dimstate
mySolar_screenshot_3.png (77.06 KiB) Viewed 202 times
Last edited by SDeath on Fri Jan 18, 2019 12:35 am, edited 7 times in total.
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby Toonz » Sat Jan 12, 2019 1:18 pm

looks promising :-)

One small request to make the systray logo in the standard Toon colors (the red and dark grey from the other icons).
Just let me know when you are ready for publishing on ToonStore :-).
I will then create the ipk package for your app for ToonStore)

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Sat Jan 12, 2019 1:27 pm

Hi toonz,

Any official color codes available?

Maybe you can help me in the right direction with round progressbars?
Are they available, and are there any examples somewhere?
All code I can find looks different to the QT Toon uses.
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Sat Jan 12, 2019 3:30 pm

Systray icon changed to Toon colorscheme.
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby TheHogNL » Sat Jan 12, 2019 3:32 pm

Do you really need a systray icon?
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 666
Joined: August 2017

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Sat Jan 12, 2019 3:44 pm

No I don't need it, but I like the look.
Do other apps need them? Yet they have them.
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby Toonz » Sat Jan 12, 2019 4:04 pm

You can make the display of the systray icon configurable...
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Sat Jan 12, 2019 4:28 pm

Great idea!
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby Toonz » Sat Jan 12, 2019 4:34 pm

see the latest afvalwijzer or newsreader app as an example.
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Sat Jan 12, 2019 6:21 pm

Will do for sure!
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Sat Jan 12, 2019 9:57 pm

Selectable systray icon is a go!
I now get all available items from the inverter, at least I hope, the inverters are down due to no sun so hopefully everything works tomorrow.
I also save them in JSON so I can use them while the inverter is offline.
Next up is make the inverter status available on the tile.
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: mySolar (FP4ALL)

Postby SDeath » Sun Jan 13, 2019 11:07 pm

Updated the opening post with the latest details and some new screenshots, I am getting close to an initial release in the upcoming days.
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019


Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 0 guests