Search found 2 matches
- Saturday 22 February 2014 22:15
- Forum: PHP and all others
- Topic: Confusion regarding dim levels (getting vs setting)
- Replies: 3
- Views: 1549
Re: Confusion regarding dim levels (getting vs setting)
I got this working now, I did a kind of ugly workaround: When the PIR triggers, I save the value of the dimmed device to a text file. When the PIR is no longer active, I load the saved value from the text file and multiply it with 7, and that gives me (kind of) the original value. I think, however ...
- Friday 21 February 2014 22:27
- Forum: PHP and all others
- Topic: Confusion regarding dim levels (getting vs setting)
- Replies: 3
- Views: 1549
Confusion regarding dim levels (getting vs setting)
I'm just starting out with some Lua scripting for Domoticz... On thing I would like to do is an event that when a PIR triggers, I want to set a specific dimmer to 100 percent, and when the PIR is no longer active, I want to change the dimmer back to whatever state it was before (usally around 40 ...