Hi all,
i have an good working ontime counter and would like to use the Today value in LUA
how is this possible ?
Andyyyy
Counter Today in LUA Topic is solved
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Counter Today in LUA
Don't know how to get this data using classic domoticz Lua but in dzVents (100% Lua) you could use
Code: Select all
domoticz.devices('Poolpumpe(TMR)').counterToday
"In Domoticz go to Setup > Settings > Other and in the section EventSystem make sure the checkbox 'dzVents disabled' is not checked. Also make sure that in the Security section in the settings you allow 127.0.0.1 to not need a password. dzVents uses that port to send certain commands to Domoticz. Finally make sure you have set your current location in Setup > Settings > System > Location, otherwise there is no way to determine nighttime/daytime state."
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Re: Counter Today in LUA
Hi waaren,
thank you that worked for me !!
KR, Andyyyy
thank you that worked for me !!
KR, Andyyyy
Who is online
Users browsing this forum: No registered users and 1 guest