PIR/Dimmer not working anymore? Dzvents/Lua?

Moderator: leecollings

Post Reply
BarryT
Posts: 369
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

PIR/Dimmer not working anymore? Dzvents/Lua?

Post by BarryT »

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
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

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

Post by dannybloe »

I think it is fixed in the latest beta.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
JuanUil
Posts: 500
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

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

Post by JuanUil »

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!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post by gizmocuz »

Should be fixed now
Quality outlives Quantity!
BarryT
Posts: 369
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

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

Post by BarryT »

gizmocuz wrote:Should be fixed now
Thanks guys!

What was the fix?

*Edit, nevermind.. seen it in the forum :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest