Search found 12 matches
- Thursday 02 September 2021 11:07
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Are WiFi repeaters really that bad?
- Replies: 4
- Views: 428
Re: Are WiFi repeaters really that bad?
Hi, I keep reading about how awful WiFi repeaters are like the other contributors said, it depends on your actual router and repeater. If you want an ananlogy to understand what's going on : Wifi is like a one way street (it can have more than one lane though, but assume there is only one lane). The ...
- Tuesday 31 August 2021 11:28
- Forum: dzVents
- Topic: dzVents adding a new user variable from script
- Replies: 1
- Views: 310
Re: dzVents adding a new user variable from script
Hi, You won't need to create a user variable (unless you have to use it oustide of dzvents), instead you want to use a global or local dzvents data. Local dzvents data : if this variable is to be used in the same script (and for every trigger of the script) Global dzvents data : if the variable is ...
- Monday 16 August 2021 11:35
- Forum: dzVents
- Topic: Garden lights and motion sensor [Solved]
- Replies: 4
- Views: 838
Re: Garden lights and motion sensor [Solved]
You can do the same for elseif item.isTimer then and replace it with a conditionnal block without elseif. Because you don't need to prevent the evaluation of the condition item.isTimer because this condition is always false when the item is not a timer....
- Monday 16 August 2021 11:32
- Forum: dzVents
- Topic: Garden lights and motion sensor [Solved]
- Replies: 4
- Views: 838
Re: Garden lights and motion sensor [Solved]
Hi, For me without testing your code your problem is the "elseif". if item == gardenMotion and gardenMotion.state == 'On' then .../... elseif item == gardenMotion and gardenMotion.state == 'On' and dz.time.matchesRule('after 23:30') then .../... end change it to if item == gardenMotion and ...
- Thursday 12 August 2021 21:11
- Forum: dzVents
- Topic: Door open notification script for multiple doors
- Replies: 12
- Views: 1460
Re: Door open notification script for multiple doors
So, in checking further, the script is working and I am receiving the alert, but for some reason I am still getting this error in the log. 2021-08-12 13:59:21.845 Error: dzVents: Error: (3.1.7) DOOR NOTIFICATION: ...cripts/dzVents/generated_scripts/Doors Open - Test 4.lua:30: attempt to index a nil ...
- Thursday 12 August 2021 11:03
- Forum: dzVents
- Topic: Door open notification script for multiple doors
- Replies: 12
- Views: 1460
Re: Door open notification script for multiple doors
I ran this code but I'm getting an error. 2021-08-11 20:07:21.764 Error: dzVents: Error: (3.1.7) ...cripts/dzVents/generated_scripts/Doors Open - Test 3.lua:25: attempt to index a nil value (field 'lastUpdate') Ok, don't know why but the .idx wasn't returning the device ID. I fixed the script (I ...
- Wednesday 11 August 2021 14:54
- Forum: dzVents
- Topic: Door open notification script for multiple doors
- Replies: 12
- Views: 1460
Re: Door open notification script for multiple doors
Hi, For me this script cannot work because when you get the http callback in the script you check if the item is one of the door sensor, but the item is the httpcallback. so I would try this approach instead (I have not tested the code, so let met know the error message if any) -- *** user settings ...
- Wednesday 11 August 2021 14:38
- Forum: dzVents
- Topic: emitEvent does not trigger event
- Replies: 2
- Views: 652
Re: emitEvent does not trigger event
Hi,
You have a mismatch between the event name and the event you send :
'Koffieapparaat*' is the event name
'koffieapparaat12' is the event you sent
So either go with "K" or "k" everywhere
You have a mismatch between the event name and the event you send :
'Koffieapparaat*' is the event name
'koffieapparaat12' is the event you sent
So either go with "K" or "k" everywhere
- Wednesday 11 August 2021 12:08
- Forum: Examples & Solutions
- Topic: Utility Script : Animate lights (blinking / transition ....)
- Replies: 0
- Views: 1351
Utility Script : Animate lights (blinking / transition ....)
Hi, I'm sharing this DZVents scripts : a collection of functions to animate lights, from transitionning to blinking, alternating scenes... For instance you want to be notified when someone comes home by having a light blinking you can do it like this. Note this is also using my Restore State script ...
- Tuesday 10 August 2021 15:25
- Forum: Examples & Solutions
- Topic: Utility Script : Restoring State of Lights (or Switch)
- Replies: 0
- Views: 1268
Utility Script : Restoring State of Lights (or Switch)
Hi, I'm sharing this DZVents scripts : a system to store and restore state of a light / switch (it should work with all lights and switch, let me know if something doesn't work for you) For instance : you have your lights turned on in blue with low intensity; then you want to switch the lights on ...
- Monday 02 September 2019 11:12
- Forum: Python
- Topic: Python Plugin: NUKI locks
- Replies: 35
- Views: 4963
Re: Python Plugin: NUKI locks
It does have failed this night, same error. 2019-09-02 02:49:52.288 Error: Nuki hardware (18) thread seems to have ended unexpectedly 2019-09-02 02:50:06.742 Error: Nuki hardware (18) thread seems to have ended unexpectedly 2019-09-02 02:50:12.092 Error: (Nuki) 'onHeartbeat' failed ...
- Sunday 01 September 2019 16:10
- Forum: Python
- Topic: Python Plugin: NUKI locks
- Replies: 35
- Views: 4963
Re: Python Plugin: NUKI locks
Hi, I'm having one issue with this plugin : it fails at some time and never recover. Here is the type of error I receive : 2019-09-01 12:05:36.961 Error: (Nuki) 'onStart' failed 'RemoteDisconnected'. 2019-09-01 12:05:36.961 Error: (Nuki) ----> Line 345 in 'C:\Program Files (x86)\Domoticz\plugins ...