dummy usage

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
kozzen
Posts: 13
Joined: Saturday 27 February 2021 7:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

dummy usage

Post by kozzen »

i have a device type 'usage' , is it possible to put a value to it by code ?
User avatar
waltervl
Posts: 5886
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: dummy usage

Post by waltervl »

Yes, use function .updateEnergy(). See also wiki
https://www.domoticz.com/wiki/DzVents:_ ... tric_usage
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
kozzen
Posts: 13
Joined: Saturday 27 February 2021 7:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: dummy usage

Post by kozzen »

thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest