Search found 4 matches

by martijn1985
Sunday 13 October 2019 20:31
Forum: dzVents
Topic: Set the dimlevel according to the time of day
Replies: 4
Views: 433

Re: Set the dimlevel according to the time of day

I did some further searching and it seems that device.state is different from device._state (well, obviously...). Your script seems to work if the first if is replaced by if string.match(device._state,'Set Level') then domoticz.log('Ignore because set manual after switching on',domoticz.LOG_DEBUG ...
by martijn1985
Sunday 13 October 2019 17:29
Forum: dzVents
Topic: Set the dimlevel according to the time of day
Replies: 4
Views: 433

Re: Set the dimlevel according to the time of day

I'm trying to make a light turn on at the right dimlevel according to the time of day. I have tried a variety of scripts, but I couldn't make it work so that I could adjust the dimlevel after the script had run. Not sure I completely understand your requirement but does this work ? *code removed ...
by martijn1985
Sunday 13 October 2019 10:30
Forum: dzVents
Topic: Set the dimlevel according to the time of day
Replies: 4
Views: 433

Set the dimlevel according to the time of day

I'm trying to make a light turn on at the right dimlevel according to the time of day. I have tried a variety of scripts, but I couldn't make it work so that I could adjust the dimlevel after the script had run. The switch is a fibaro dimmer 2 with one button attached. The problem that I seem to ...
by martijn1985
Wednesday 26 December 2018 14:31
Forum: dzVents
Topic: Using an IDE to develop dzVents scripts
Replies: 2
Views: 590

Using an IDE to develop dzVents scripts

I've been searching all over for this, but haven't been able to find clues on how to use an IDE to develop dzVents scripts. I would think that something like LDT should be able to build scripts which then could be uploaded to domoticz. However, to be useful the IDE should have knowledge about the ...