Implant, Closing gate by hand timer reset
Moderator: leecollings
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Implant, Closing gate by hand timer reset
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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 23
- Joined: Sunday 15 October 2023 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Implant, Closing gate by hand timer reset
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
}
THANKS ! https://www.domoticz.com/forum/memberli ... le&u=23529
- habahabahaba
- Posts: 190
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: Implant, Closing gate by hand timer reset
You can use
garageswitch.switchOn().forSec(1) - it will automatically switchoff after 1 sec
garageswitch.switchOn().forSec(1) - it will automatically switchoff after 1 sec
-
- Posts: 23
- Joined: Sunday 15 October 2023 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Implant, Closing gate by hand timer reset
Ok Thanks !
How can gratefully thanks Walervl ? who guided me to the right answer?
How can gratefully thanks Walervl ? who guided me to the right answer?
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Implant, Closing gate by hand timer reset
Your welcome, have fun!
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 0 guests