Thanks it's work great !
Maybe you can optimize and search automatically the cost in domoticz settings:
local function getCosts(id) -- these costs should be set in domoticz settings
if next(dz.data.energyCosts) == nil or dz.data.energyCosts.creationTime < ( dz.time.dDate - dz.time ...
Search found 2 matches
- Tuesday 28 July 2020 10:23
- Forum: dzVents
- Topic: Electricity consumption & cost per day, month and year [Solved]
- Replies: 27
- Views: 10984
- Monday 28 January 2019 16:15
- Forum: Switches and Scenes
- Topic: Domoticz compatible relay
- Replies: 2
- Views: 1109
Domoticz compatible relay
Hello,
I would like to drive a power supply 220V with domoticz: I press my switch and I activate a smart plug that puts the power supply on.
Now I have a xiaomi aqara switch https://www.aliexpress.com/item/Xiaomi-Mijia-Aqara-Intelligent-No-Fil-Switch-Intelligent-Distance-A-Contr-le- Cl-Aqara-L ...
I would like to drive a power supply 220V with domoticz: I press my switch and I activate a smart plug that puts the power supply on.
Now I have a xiaomi aqara switch https://www.aliexpress.com/item/Xiaomi-Mijia-Aqara-Intelligent-No-Fil-Switch-Intelligent-Distance-A-Contr-le- Cl-Aqara-L ...