Page 1 of 1
Problem sensor electric
Posted: Thursday 16 June 2022 18:33
by Tomcen
Hello , I have a problem with updating the electric sensor (computed). I have a query
Code: Select all
http://my_ip_domoticz/json.htm?username=username&password=paswoord&type=command¶m=udevice&idx=63&nvalue=0&svalue=2400>
but domoticz don/t update a state/value.
What's wrong?
Re: Problem sensor electric
Posted: Thursday 16 June 2022 19:17
by waltervl
Svalue should contain 2 values
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=POWER;ENERGY
So svalue=2400;0
Re: Problem sensor electric
Posted: Thursday 16 June 2022 19:27
by Tomcen
But I am reading the value of the current energy production from the solar inverter, what should I then provide in the inquiry when it comes to POWER; ENERGY
Re: Problem sensor electric
Posted: Thursday 16 June 2022 19:34
by waltervl
Power is current power (in Watt), ENERGY is the counter of total power generated in Wh.
But from your screenshot you have set it to computed and not from device so the Energy counter is ignored (so I put it to 0 in my example)
Re: Problem sensor electric
Posted: Thursday 16 June 2022 19:46
by Tomcen
http://my_ip_domoticz/json.htm?username=admin&password=password&type=command¶m=udevice&idx=63&nvalue=0&svalue=2700;0
i get response
{
"status" : "OK",
"title" : "Update Device"
}
But te status is

Re: Problem sensor electric
Posted: Friday 17 June 2022 23:26
by waltervl
What does the log file say?