Problem sensor electric

Moderator: leecollings

Post Reply
Tomcen
Posts: 3
Joined: Wednesday 15 June 2022 13:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Problem sensor electric

Post 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&param=udevice&idx=63&nvalue=0&svalue=2400>
but domoticz don/t update a state/value.

Image
Image
Image

What's wrong?
User avatar
waltervl
Posts: 5859
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Problem sensor electric

Post by waltervl »

Svalue should contain 2 values
/json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=POWER;ENERGY

So svalue=2400;0
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Tomcen
Posts: 3
Joined: Wednesday 15 June 2022 13:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem sensor electric

Post 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
User avatar
waltervl
Posts: 5859
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Problem sensor electric

Post 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)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Tomcen
Posts: 3
Joined: Wednesday 15 June 2022 13:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Problem sensor electric

Post by Tomcen »

http://my_ip_domoticz/json.htm?username=admin&password=password&type=command&param=udevice&idx=63&nvalue=0&svalue=2700;0
i get response
{
"status" : "OK",
"title" : "Update Device"
}
But te status is
Image
User avatar
waltervl
Posts: 5859
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Problem sensor electric

Post by waltervl »

What does the log file say?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest