Search found 8 matches

by botany
Friday 31 January 2020 18:37
Forum: Examples & Solutions
Topic: Light on at different dim level depending on daytime, with auto off [SOLVED]
Replies: 30
Views: 7482

Re: Light on at different dim level depending on daytime, with auto off [SOLVED]

this works now.
Thanks.
(but still not the same as i use on fibaro. thinking im going keep using two system, until something comes what i got)
by botany
Friday 31 January 2020 5:43
Forum: Examples & Solutions
Topic: Light on at different dim level depending on daytime, with auto off [SOLVED]
Replies: 30
Views: 7482

Re: Light on at different dim level depending on daytime, with auto off [SOLVED]

waaren wrote: Thursday 30 January 2020 23:39
botany wrote: Thursday 30 January 2020 16:39 if PIR.state ~= 'On' and override.state ~= 'Off' then
thats line 78
Change this line to

Code: Select all

if item.state ~= 'On' and override.state ~= 'Off' then 
Okay, wil try after work. Thanks Waaren
by botany
Thursday 30 January 2020 16:39
Forum: Examples & Solutions
Topic: Light on at different dim level depending on daytime, with auto off [SOLVED]
Replies: 30
Views: 7482

Re: Light on at different dim level depending on daytime, with auto off [SOLVED]

2020-01-30 16:36:38.585 Status: dzVents: Error (2.4.19): .../domoticz/scripts/dzVents/generated_scripts/dzevents.lua:78: attempt to index global 'PIR' (a nil value)

if PIR.state ~= 'On' and override.state ~= 'Off' then

thats line 78


what im doing wrong.. :cry: :x
by botany
Thursday 30 January 2020 15:39
Forum: Examples & Solutions
Topic: Light on at different dim level depending on daytime, with auto off [SOLVED]
Replies: 30
Views: 7482

Re: Light on at different dim level depending on daytime, with auto off [SOLVED]

getting a error 2020-01-30 15:36:50.683 ...domoticz/scripts/dzVents/generated_scripts/dzevents3.lua:8: '}' expected (to close '{' at line 6) near ''virtualDimmer'' return { on = { devices = { 'Koof Sensor' 'virtualDimmer', }, }, logging = { level = domoticz.LOG_DEBUG, -- set to error when script is ...
by botany
Thursday 30 January 2020 14:53
Forum: Examples & Solutions
Topic: Light on at different dim level depending on daytime, with auto off [SOLVED]
Replies: 30
Views: 7482

Re: Light on at different dim level depending on daytime, with auto off [SOLVED]

thanks. will try it out tonight. I'm coming from Fibaro. trying to get out of the close system of them. was only possible to use (expensive) zwave module/hardware. i used a scene with fibaro made by Sankotronic. very smart light- https://forum.fibaro.com/topic/28726-very-smart-lights-scene/ now im ...
by botany
Wednesday 29 January 2020 16:13
Forum: Examples & Solutions
Topic: Light on at different dim level depending on daytime, with auto off [SOLVED]
Replies: 30
Views: 7482

Re: Light on at different dim level depending on daytime, with auto off [SOLVED]

is it possible to change dim level manual ?
and if there is movement. lights stay on same level as i put it manually?
because sometimes its nice to change the dim level depending on the situation .
by botany
Monday 27 January 2020 20:36
Forum: LUA
Topic: Automatic Lighting Control with presence detection
Replies: 1
Views: 1357

Re: Automatic Lighting Control with presence detection

hi I'm coming from fibaro.this is the one https://forum.fibaro.com/topic/28726-very-smart-lights-scene/ i got a scene there what controls mine living room. and your scene looks a lot. -- Lua lighting Livingroom commandArray = {} if devicechanged['Koof Sensor'] or devicechanged['Night time'] or ...