I am ripping my hair out.
I had a perfect dzvents script that would turn down a light to a dimmed value dependent on the time of day if it was set to a value higher than that. However I managed to delete all my devices and events (don't ask) and I can not re-write the code. Can someone tell me what is the variable that stores the value of the set dim level. For example domoticz.devices('Loft Bedroom').setValue >.
I want to have the script run if the dim setting is higher than 50 at night when the device is turned on.
Force Dim
Moderator: leecollings
-
- Posts: 33
- Joined: Wednesday 06 January 2016 10:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Force Dim
This is stored in the 'level', information can be found by searching for 'level' in https://www.domoticz.com/wiki/DzVents:_ ... _scripting
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Who is online
Users browsing this forum: No registered users and 1 guest