Page 20 of 25
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Sun Mar 03, 2024 9:34 am
by oepi-loepi
Yes, you can crapeate a script in domoticz which reads the data from the meteradapters.
/hdrv_zwave?action=getDevices.json
Or from the solar data in toon:
/hcb_rrd?action=getRrdData&loggerName=elec_solar_quantity&rra=10yrdays&readableTime=1&nullForNaN=1&from=";
/hcb_rrd?action=getRrdData&loggerName=elec_solar_flow&rra=5min&readableTime=1&nullForNaN=1&from=
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Mon Mar 04, 2024 9:25 pm
by Arnout2000
Euh ja….een ervaren IT-er moet dat vast kunnen….ik ben best handig, maar niet zo handig denk ik.
Staat er ergens een voorbeeld script?
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Tue Apr 02, 2024 4:29 pm
by GerardH
It is not April's Fool day but for me it looks like it
Today my Enphase system is no longer working in Home Assistant and not in Toon. I managed to get it somewhat working in Home Assistant and figured out that the firmware of the Enphase is suddenly upgraded.
I changed the settings in Toon to use the Enphase D7 plugin and entered my credentials. I still do not get any information about the current power delivery of the Enphase system. In Home Assistant I see that the daily (Envoy today) is also set to 0 so I suppose that Toon will also show the same value.
The Envoy lifetime is also reset apparently
Is there something I can check if the plugin is working?
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Tue Apr 02, 2024 10:52 pm
by oepi-loepi
Can you try the enphase t plugin?
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Wed Apr 03, 2024 1:11 pm
by Hiu80
Same issue here; firmware suddenly upgraded from D5 to D7.0.88.220117. After changing the toon plugin to the D7 variant i get no information. I will try the T plugin later today.
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Wed Apr 03, 2024 1:44 pm
by Hiu80
Tried the T plugin, does not seem to work either. I have an domoticz installation where my Enphase is also configured. In domoticz it started working again after setting my username and pw for the enlighten portal.
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Wed Apr 03, 2024 7:02 pm
by oepi-loepi
Ok, i will dive into the domoticz plugin. See if i can copy some pieces. You use the interface with LAN and you yo manuallly have to add a token?
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Wed Apr 03, 2024 7:39 pm
by Hiu80
After changing my password for Enlighten to a password without special characters, it seems te work again in Toon. I don’t know if this was why it was not working before, maybe i made a typo in when entering my previous password. For now it seems te work with the enphase T plugin and previous mentioned version D7 firmware.
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Thu Apr 04, 2024 9:54 pm
by oepi-loepi
Ok, super. That means the plugin works and i do not chane anything.
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Sat Apr 06, 2024 10:37 am
by GerardH
Ok, so I searched some more.
It appears that enphase screwed up. The newer firmware contains bugs and the daily production is now always 0. This happens when no CT clamps are connected. The lifetime production is also reset to 0 it appears.
I think the app probably uses the api as described in
https://enphase.com/download/accessing- ... entication
I switched to the enphase T and I do see the current values which the device reports. This is good enough for now. The daily value stays at 0
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Thu Apr 11, 2024 12:50 pm
by Jasper
Waar moet ik de Home assistant api aanmaken om in te vullen?
Ik kan ook niet via
https://192.168.myip:8123/api/states/sensor.solar_panel de sensor bekijken in mijn browser maar via de app zie ik de aangemaakte sensor wel.

- Screenshot_20240411_125001_Home Assistant.png (106.22 KiB) Viewed 6141 times
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Fri Apr 12, 2024 8:09 am
by oepi-loepi
Even googlelen naa “ home assistant long life token how create” .
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Fri Apr 12, 2024 8:16 am
by Jasper
Ahh long life token, die weet ik wel te vinden. Ik was op zoek naar API.

Re: Toon App: solarPanel ---> solar data without hardware
Posted: Fri Apr 12, 2024 4:07 pm
by Jasper
Created token, pasted token into api field. Nothing happened.
Maybe there's something wrong, how do I turn on debug and get to the logs?
Re: Toon App: solarPanel ---> solar data without hardware
Posted: Fri Apr 12, 2024 4:31 pm
by oepi-loepi
Can you work with postman (on local lan)?
url = "https://" + urlString + "/api/states/sensor.solar_panel"
setRequestHeader("Authorization", "Bearer " + apiKey);
urlString is your lofal ip adress including the port number
ApiKey is the ll token from home assistant