PIR/Dimmer not working anymore? Dzvents/Lua?

Post Reply
BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

PIR/Dimmer not working anymore? Dzvents/Lua?

Post by BarryT » Wednesday 02 August 2017 21:06

Several days ago, i used a beta update that has the lua scripting and stuff changed to dZvents (as seen in the log), but after today not all of my lua scripts are working anymore and it seems the update (of today) has gone back to lua instead of dZvents?
Everything was working since today!

My (motion) lights are not working anymore!
Help.. Its getting dark in here!

This is one of my lua:

Code: Select all

commandArray = {}

if (devicechanged['Beweging Hal Beneden'] == 'On' and otherdevices['Het is Donker'] == 'On' and otherdevices['Lamp Hal Beneden'] == 'Off') then
   commandArray ['Lamp Hal Beneden']= 'Set Level 80'
  print('Beweging in de hal, lampen aan want het is donker!')
end

if (devicechanged['Beweging Hal Beneden'] == 'On' and otherdevices['Het is Donker'] == 'Off' and otherdevices['Lamp Hal Beneden'] == 'Off') then
   commandArray['Lamp Hal Beneden']='Off'
  print('Beweging in de hal, maar lampen blijven uit want het is nog licht!')
end

if (devicechanged['Beweging Hal Beneden'] == 'Off') then
          commandArray['Lamp Hal Beneden'] = 'Off'
    print('Beweging in de hal UIT signaal ontvangen')

end
return commandArray
6x Raspberry 3B
A lot of scripts, switches and sensors :)

dannybloe
Posts: 938
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi
Domoticz version:
Location: Ermelo
Contact:

Re: PIR/Dimmer not working anymore? Dzvents/Lua?

Post by dannybloe » Thursday 03 August 2017 9:43

I think it is fixed in the latest beta.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.

JuanUil
Posts: 236
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi
Domoticz version: 2.xx
Location: Asten NB Nederland
Contact:

Re: PIR/Dimmer not working anymore? Dzvents/Lua?

Post by JuanUil » Thursday 03 August 2017 9:52

see:
https://www.domoticz.com/forum/viewtopi ... =6&t=18668
same problems
Gizmocuz is fixing it

Jan
Your mind is like a parachute,
It only works when it is opened!

User avatar
gizmocuz
Posts: 8491
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: PIR/Dimmer not working anymore? Dzvents/Lua?

Post by gizmocuz » Thursday 03 August 2017 9:58

Should be fixed now
Quality outlives Quantity!

BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

Re: PIR/Dimmer not working anymore? Dzvents/Lua?

Post by BarryT » Thursday 03 August 2017 17:42

gizmocuz wrote:Should be fixed now
Thanks guys!

What was the fix?

*Edit, nevermind.. seen it in the forum :)
6x Raspberry 3B
A lot of scripts, switches and sensors :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest