Toon App: solarPanel ---> solar data without hardware

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

andreasr
Starting Member
Starting Member
Posts: 4
Joined: Thu Jan 11, 2024 1:49 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by andreasr »

Hoi.

created an account just to say thanks and ask someting:

I own a hoymiles inverter and got myself the DTU-WLite-S USB DTU
it did work well and Toon shows my data from the s-miles cloud.

3 days ago it stopped working.
trying to log in to the website, it said "the numer of logins exceeds the daily maximum limit"

I opened a ticket with hoymiles and they claim "500 per day is the maximum logins"
Thank you for your message. I just check this information with our product engineer. This problem is that we have a limitation of loading at 500 times. So if you set the system polls the DTU at around 5 min, the system could be available.
The DTU should connect to the internet to get the data and transfer the data to the cloud.
I read in the forum that you poll every 5 minutes.. can I adjust this somewhere? could it be that there was a change?

thanks!


Andreas
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by oepi-loepi »

5 minuten is de interval waarop de database van de toon loopt dus onhandig om een andere interval te nemen. Met 5 minuten zit je op 288 polls per dag. Zou dus zeker goed moeten gaan tenzij je meerdere systemen hebt.
andreasr
Starting Member
Starting Member
Posts: 4
Joined: Thu Jan 11, 2024 1:49 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by andreasr »

Dank hiervoor. Ik vond het ook vreemd dat het gewoon twee maanden lang heeft gewerkt en opeens niet meer...
Ik heb een ticket bij hoymiles geopend en ze vragen om meer details van de poller.
Is het mogelijk deze data te krijgen?
Is het gewoon een API call?

Merci

Andreas
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by oepi-loepi »

Het zijn twee calls in dit geval, de tweede wordt aangeroepen nadat de eerste klaar is.

Zie

https://github.com/ToonSoftwareCollecti ... plugin.txt
andreasr
Starting Member
Starting Member
Posts: 4
Joined: Thu Jan 11, 2024 1:49 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by andreasr »

hey oepi-loepi

ik heb feedback van Hoymiles op de code:
Dear Andreas,

Thank you for your reply. I just got the feedback from the platform teams. The core code of the system you used is based on the crawler to visit our platform and get the data. And a possible solution is the system developer to add the cache to save the token. Then you can use this kind of system normally.

Best Regards,
Doris Du
Technical Support Engineer
Hoymiles Power Electronics Inc.
+86-571-2805 6101
doris.du@hoymiles.com
kun je hier iets mee?
voor mij hebben ze het limiet nu verhoogd, gezien de combinatie van a) toon, b) mobiele app en c) website login gewoon meerdere keer al de dagelijkse limiet van 500 keer heeft getriggert.

ik breng jullie graag in contact als dat helpt?
ticket bij Hoymiles: 回复:[## 48901 ##] daily limit exceeded (DTU-WLite-S)

groetjes


Andreas
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by oepi-loepi »

Ik begrijp hem. token opslaan en hergebruiken. Om te testen zal ik wel inloggegevens moeten gebruiken (zelf heb ik geen hoymiles). Wil je die met mij delen via pm?
andreasr
Starting Member
Starting Member
Posts: 4
Joined: Thu Jan 11, 2024 1:49 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by andreasr »

oepi-loepi wrote: Wed Jan 17, 2024 11:22 pm Ik begrijp hem. token opslaan en hergebruiken. Om te testen zal ik wel inloggegevens moeten gebruiken (zelf heb ik geen hoymiles). Wil je die met mij delen via pm?
email ook goed? ik mag nog geen PMs versturen
(ben ook niet actief op het forum.. dus terecht?)
We are sorry, but you are not authorised to use this feature. You may have just registered here and may need to participate more in discussions to be able to use this feature.
heb een knop in je profiel gevonden > send email. werkt dit? (daar staan mijn creds in)
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by oepi-loepi »

Zeker, ik ben al bezig met de plugin… komt goed.
ikookmaar
Starting Member
Starting Member
Posts: 38
Joined: Tue Mar 12, 2019 11:29 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by ikookmaar »

Hey oepi-loepi,
I updated the solar Panel; app yesterday (saturday 20-1-2024), but since then Solar production in days shows my panels produced 7418 kWh in one (that) day.
If that only were true... In reality this amount seems to matches my total production in the past (2) years.
How can I correct this or delete (just) that day's data?
By the way, it's a Growatt converter.
Thanks in advance for your help or advise.
Attachments
20240120-toon-solar-foutje-jaaropbrengst.jpg
20240120-toon-solar-foutje-jaaropbrengst.jpg (29.02 KiB) Viewed 3015 times
20240120-toon-solar-foutje-dagopbrengst.jpg
20240120-toon-solar-foutje-dagopbrengst.jpg (22.8 KiB) Viewed 3015 times
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by oepi-loepi »

I will check, i have a growatt myself.
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by oepi-loepi »

So what you can do to modify:

1. get the ip adress of the toon and where x.x.x.x below, use your ipadress
2. identify the wron times and values in the hours table (epoch time, value) from:
http://x.x.x.x/hcb_rrd?action=getRrdDat ... 24%2014:00
3. correct this data by setting new values piece by piece (replace YYYYYYYY with the time in EPOCH and ZZZZZZZZZZ the new value:
http://x.x.x.x/hcb_rrd?action=setRrdDat ... ZZZZZZZ%7D

4. do the same for the days table:
http://x.x.x.x/hcb_rrd?action=getRrdDat ... 24%2014:00
5. correct the days:
(replace YYYYYYYY with the time in EPOCH and ZZZZZZZZZZ the new value:
http://x.x.x.x/hcb_rrd?action=setRrdDat ... ZZZZZZZ%7D
ikookmaar
Starting Member
Starting Member
Posts: 38
Joined: Tue Mar 12, 2019 11:29 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by ikookmaar »

Thanks, tedious job, but I managed to correct the values.
Good luck in finding / fixing the issue.
ikookmaar
Starting Member
Starting Member
Posts: 38
Joined: Tue Mar 12, 2019 11:29 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by ikookmaar »

Oeps... It;s still reading the total lifetime energy produced and writing it as my hourly / today's production.
I also seem to be missing today's hours now and it's showing an EPOCH value in the future(?)

http://x.x.x.x/hcb_rrd?action=getRrdDat ... 24%2014:00

1705449600,4455000
1705536000,4456000
1705622400,4461000
1705708800,4464000
1705795200,4470800
1705881600,4472000
1705968000,11888500 (converts to dinsdag 23 januari 2024 01:00:00 GMT+01:00)

Trying to display today's hourly values
http://x.x.x.x/hcb_rrd?action=getRrdDat ... 24%2009:00
now just shows:
{"result":"ok"}

something like
http://x.x.x.x./hcb_rrd?action=setRrdDa ... 4472100%7D
gives me:
{"result": "error", "error": "trying to write 1705968000 which is after RRA range"}

How do I delete / correct / prevent the (apparently stil) incorrect value(s)?
oepi-loepi
Advanced Member
Advanced Member
Posts: 636
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by oepi-loepi »

Strange, the total value should be the correct value. That is how it has been programmed. Did you switch from method from hardware to software?
ikookmaar
Starting Member
Starting Member
Posts: 38
Joined: Tue Mar 12, 2019 11:29 pm

Re: Toon App: solarPanel ---> solar data without hardware

Post by ikookmaar »

No, I did not change any settings, just upgraded the app...
I don't have any (Toon) hardware monitoring and/or "Toon Zon" installed

Shouldn't it not be showing this (future) timestamp at all (yet)?
1705968000 = GMT: Tuesday 23 January 2024 00:00:00
Your time zone: dinsdag 23 januari 2024 01:00:00 GMT+01:00
Relative: In 5 hours

I could try to stay up and update /correct it around that time, but I'm afraid that the next update after that will add another incorrect one...
Post Reply

Return to “Toon Apps”