Search found 4 matches
- Friday 23 August 2019 15:09
- Forum: LUA
- Topic: LUA - nested if problem
- Replies: 7
- Views: 1937
Re: LUA - nested if problem
Thanks, I will try that! Currently however I cannot because my whole domoticz is rendered useless because of failing openzwave 1.6...
- Thursday 25 July 2019 9:22
- Forum: LUA
- Topic: LUA - nested if problem
- Replies: 7
- Views: 1937
Re: LUA - nested if problem
Are you sure the devicename '$BADKAMER - Bewegingssensor' is correct?
What is the name of the script in case this is a file in domoticz\scripts\lua?
Which options did you specify in case this is an LUA script via the internal editor?
Jos
I chose a new LUA script > Devices, in the internal ...
- Saturday 20 July 2019 17:15
- Forum: LUA
- Topic: LUA - nested if problem
- Replies: 7
- Views: 1937
LUA - nested if problem
Hi, I am just not seeing it anymore. I am trying to turn my Blockly into LUA because of added flexibility regarding nested if statements.
I have this:
time = os.date("*t")
if (devicechanged['$BADKAMER - Bewegingssensor'] == 'On') then
if (time.hour >= 16 and time.hour <=18) then
commandArray ...
I have this:
time = os.date("*t")
if (devicechanged['$BADKAMER - Bewegingssensor'] == 'On') then
if (time.hour >= 16 and time.hour <=18) then
commandArray ...
- Saturday 20 October 2018 12:53
- Forum: Other questions and discussions
- Topic: Qubino input problem in Domoticz
- Replies: 0
- Views: 213
Qubino input problem in Domoticz
In the bathroom we have installed one Qubino - and wired I1 to a lamp and I2 to a heating panel. Each input has its own momentary Gira push button.
In 'real' life it works perfectly - push button 1 and the lamp goes on/off, push button 2 and the heating goes on/off.
In Domoticz we want it to work ...
In 'real' life it works perfectly - push button 1 and the lamp goes on/off, push button 2 and the heating goes on/off.
In Domoticz we want it to work ...