Search found 4 matches

by willemdomotica
Monday 05 December 2022 23:33
Forum: dzVents
Topic: AfterSec(10) gives error
Replies: 4
Views: 239

Re: AfterSec(10) gives error

I seem to have answered my own question: LUA is case sensitive. hence dzVents is also case sensitive.
This means that the statement above must be correctly written as:

Code: Select all

afterSec(5)
by willemdomotica
Monday 05 December 2022 23:22
Forum: dzVents
Topic: AfterSec(10) gives error
Replies: 4
Views: 239

Re: AfterSec(10) gives error

Here is the whole script, in case you wonder: return { on = { devices = { 'ZW-Deur_1' } }, logging = { level = domoticz.LOG_INFO, marker = "reset-alarm"} , execute = function(dz, device) local siren = 'Siren Alarm' if (device.state == 'Off') and (dz.devices(siren).state == 'On') then dz.log('Alarm ...
by willemdomotica
Monday 05 December 2022 23:05
Forum: dzVents
Topic: AfterSec(10) gives error
Replies: 4
Views: 239

AfterSec(10) gives error

Hi, I am getting this error when using AfterSec(10) in a dzVents scripts execute section dz.devices('Siren Alarm').switchOff().AfterSec(10) Error: attempt to call a nil value The script works perfectly fine when I remove the option 'AfterSec(10)' The device here is a coolcam siren, which I would ...
by willemdomotica
Sunday 20 December 2020 14:32
Forum: Device information
Topic: Neo Coolcam Alarm Siren
Replies: 0
Views: 2126

Neo Coolcam Alarm Siren

Hi, How to make this siren work with Domoticz? Help would be appreciated. Neo Coolcam Alarm Siren. This device has no model number on the box, instructions or body. It included/paired just fine with Aeotec z-wawe stick, and it is visible in OpenZWave. OZW control panel allows me to configure and ...