Search found 4 matches
- Friday 29 April 2022 19:05
- Forum: dzVents
- Topic: dzvents script for garage door
- Replies: 8
- Views: 941
Re: dzvents script for garage door
[/code] Just copied your parts, like said. Maybe it is because you want to extend the scripting. But this part: if (item.name == 'Garage 2 Door') then if (domoticz.devices('Garage 2 Door').state == 'On') then domoticz.devices(74).switchOn().forSec(2) else domoticz.devices(74).switchOn().forSec(2 ...
- Monday 25 April 2022 23:35
- Forum: dzVents
- Topic: dzvents script for garage door
- Replies: 8
- Views: 941
Re: dzvents script for garage door
The script was giving me an error on line 40 where was "end & }" so i removed them and no error anymore. Then when i press "Garage 2 Door" it doesn't trigger "Garage 2 Relay". When i simulate that ("Garage 2 Sensor Closed" == On ) it doesn't run " ('Garage 2 Door').switchOn().silent() ". I noticed ...
- Monday 25 April 2022 15:40
- Forum: dzVents
- Topic: dzvents script for garage door
- Replies: 8
- Views: 941
Re: dzvents script for garage door
Looks like spam Don't think it is spam. But the thread looks strange, the openingspost from tonito1509 is gone. My reply is the first post, now it looks like i started it, but it is not @Tonito1509, Why put everything in 1 script, when it works like you have now? @hoeby My post is gone because i ...
- Sunday 24 April 2022 14:31
- Forum: dzVents
- Topic: dzvents script for garage door
- Replies: 8
- Views: 941
Re: dzvents script for garage door
So i manage to make 3 scripts that are working together but i don't know how to combine them in one script. Is anybody able to help? Thanks. script 1 return { on = { devices = { 'Garage 2 Sensor Closed' } }, execute = function(domoticz, switch) if (switch.state == 'On') then domoticz.devices('Garage ...