Re: Implant, Closing gate by hand timer reset
Posted: Tuesday 09 July 2024 17:34
Again on page 14 of your Zwave Fibaro implant manual it is described how you can set the implant contact to act as a pulse ON-OFF device
Open source Home Automation System
https://forum.domoticz.com/
Code: Select all
return {
on = {
timer = {'every 2 minutes'},
},
execute = function(domoticz)
local garage = domoticz.devices('Sect.door-pos(1)') -- door information relay K6 Phoenix
local garageswitch = domoticz.devices('Sect.Novoferm-f(2)') -- the control of the Novoferm4 on contact f
local kitchen = domoticz.devices('Kitchendoor_Contact') -- If this door is open, sectional-door may remain open
-- garage sensor check to see if the door is open
if garage.state == 'Open' and kitchen.state == 'Closed' and garage.lastUpdate.minutesAgo > 8 then
domoticz.notify('','garage door open for more than 8 min!')
garageswitch.switchOn() -- give a switch On to the Novoferm4 f contact
garageswitch.switchOff().afterSec(1)
domoticz.log('door closed', domoticz.LOG_INFO)
end
end
}