Search found 1 match

by mvermand
Friday 18 January 2019 14:54
Forum: dzVents
Topic: Determine if switch was physically pressed or controlled by Domoticz
Replies: 15
Views: 2065

Determine if switch was physically pressed or controlled by Domoticz

Hi,

I have a Fibaro Dimmer 2 switch and I want to create a script that does different things in case someone presses the switch and in case the switch was controlled by Domoticz when a Sensor detects motion.

return {

on = {
devices = {
'Dimmer Hall', 'Sensor Hall'
},
},

execute ...