Page 1 of 1

NaN values toon Smartmeter in Home Assistant

Posted: Wed Oct 09, 2019 1:08 pm
by paegan
Hello,

i have climate and boiler working in HA, but the smartmeter part just keeps giving NaN sensor values.
I use the code from cyberjunkie, but also tried m-Aiden his code and from some other GitHub contributors.
I now HA connects to the Toon, because i get a NaN value, if i connect with a wrong IP adress, i get no values (-).
In the logs i get no errors.

I've search the webs extensively, as well as this board, but found no apparent solution.
I hope You wizards can help me in my Quest.

Regards Freddie

Re: NaN values toon Smartmeter in Home Assistant

Posted: Wed Oct 09, 2019 5:33 pm
by esschenk
Hello,

I have the same problem with Homeseer.
I use a script to rip the values from the PVoutput page.

Opbrengst nu 207 Watt
Opgewekte vandaag 2.403 Watt
Opgewekt deze week NaN Watt
Opgewekt deze maand 21.347 Watt

ED

Re: NaN values toon Smartmeter in Home Assistant

Posted: Sat Oct 12, 2019 11:14 pm
by TerrorSource
Could you check if you can see the temperature via http://TOON-IP/happ_thermstat?action=getThermostatInfo
If so, the error is caused by the scripts or systems you are using.

Re: NaN values toon Smartmeter in Home Assistant

Posted: Sun Oct 13, 2019 7:48 pm
by paegan
that was a helpfull hint terrorsource, thnx.
It turned out that that url did work.

So i did something drastic.
Made a new test environment for Hassio.
And from a clean start i first added the rooted toon to the config.
To my surprise, that word flawlessly, also did the smartmeter an boiler worked in the first try.

So i builded a new Hassio instance round this config, added, tested, added some more tested again.
Until the point where i have now a fully working environment, with all the addons i want to use, and toon works like a charm.

No idea whatsoever why the other way around did not wanted to work, but it works now, that will do.

Thanks for the pointer.