Page 1 of 1

Energy numbers in Domoticz?

Posted: Mon Feb 25, 2019 3:32 pm
by anconakip
Hiw can i add the gas and electricmeters in Domiticz? now i only have all the temp numbers and settings. I have a rooted Toon. On the Toon it works perfectly.

Re: Energy numbers in Domoticz?

Posted: Mon Feb 25, 2019 5:36 pm
by mAiden
anconakip wrote:Hiw can i add the gas and electricmeters in Domiticz? now i only have all the temp numbers and settings. I have a rooted Toon. On the Toon it works perfectly.
Read this topic through, here it has been discussed before.

Re: Energy numbers in Domoticz?

Posted: Tue Mar 05, 2019 12:10 pm
by anconakip
i tried that. But still get an error:

Status: dzVents: Error (2.4.15): -=# P1 Toon #=-: /home/pi/domoticz/scripts/lua/JSON.lua:660: html passed to JSON:decode(): <?xml version="1.0" encoding="iso-8859-1"?>

someone who know how to fix this?

Re: Energy numbers in Domoticz?

Posted: Tue Mar 05, 2019 2:44 pm
by mAiden
anconakip wrote:i tried that. But still get an error:

Status: dzVents: Error (2.4.15): -=# P1 Toon #=-: /home/pi/domoticz/scripts/lua/JSON.lua:660: html passed to JSON:decode(): <?xml version="1.0" encoding="iso-8859-1"?>

someone who know how to fix this?
You will have to search for the exact full path of JSON.lua. You have to fill that in (Where now : /home/pi/domoticz/scripts/lua/JSON.lua state), so Domoticz can find the file.

Re: Energy numbers in Domoticz?

Posted: Wed Mar 06, 2019 9:06 am
by anconakip
mAiden wrote:
anconakip wrote:i tried that. But still get an error:

Status: dzVents: Error (2.4.15): -=# P1 Toon #=-: /home/pi/domoticz/scripts/lua/JSON.lua:660: html passed to JSON:decode(): <?xml version="1.0" encoding="iso-8859-1"?>

someone who know how to fix this?
You will have to search for the exact full path of JSON.lua. You have to fill that in (Where now : /home/pi/domoticz/scripts/lua/JSON.lua state), so Domoticz can find the file.
I have looked for the right full path, and that is correct. So what next?