Can somebody tell me how I can update a value of a device of subtype "Usage (Electric)" in dzEvents?
I must be something like
domoticz.devices('Huisverbruik').updateActualWatt(myValue)
But this is not working.
How to change a device value of sensortype"Usage (Electric)" in dZevents
Moderators: leecollings, remb0
- habahabahaba
- Posts: 233
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
-
- Posts: 16
- Joined: Tuesday 25 April 2023 19:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: How to change a device value of sensortype"Usage (Electric)" in dZevents
Great, Tanks a lot!
- waltervl
- Posts: 5982
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: How to change a device value of sensortype"Usage (Electric)" in dZevents
Be aware this is not a very useful device as it does not report history. Better use the "electric Instant+Counter" device if you have both counter (kWh) and instant usage (Watt) values available. Also it can calculate energy usage (kWh) from the instant usage if the energy is not available....
https://www.domoticz.com/wiki/Dummy_for ... counter.29
In dzvents https://www.domoticz.com/wiki/DzVents:_ ... counter.29
https://www.domoticz.com/wiki/Dummy_for ... counter.29
In dzvents https://www.domoticz.com/wiki/DzVents:_ ... counter.29
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 16
- Joined: Tuesday 25 April 2023 19:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: How to change a device value of sensortype"Usage (Electric)" in dZevents
OK, thank again.
I now use the "electric Instant+Counter". Much better!
I now use the "electric Instant+Counter". Much better!
Who is online
Users browsing this forum: No registered users and 1 guest