Page 1 of 1

Force Dim

Posted: Friday 03 May 2019 13:11
by nickgosling
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.

Re: Force Dim

Posted: Friday 03 May 2019 13:33
by pvm
This is stored in the 'level', information can be found by searching for 'level' in https://www.domoticz.com/wiki/DzVents:_ ... _scripting