How was switch closed

Moderator: leecollings

Post Reply
harrykausl
Posts: 184
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

How was switch closed

Post by harrykausl »

I have a dummy switch, which is automatically closed after 20 minutes (defined on switch). I use the close event in a lua script, do do some messaging, when a window is open for more than 20 minutes. I would have to know, if the switch was closed timerbased or if it was closed manually. Is there any possibility to get this information in the close event script of the switch?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest