Auto or manual?

Moderator: leecollings

Post Reply
reneklomp
Posts: 30
Joined: Monday 20 February 2017 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Auto or manual?

Post by reneklomp »

Is there a way to determine if the state change of a switch was initiated through a LUA script or manually through a person pushing the switch through the UI?
zicht
Posts: 272
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Re: Auto or manual?

Post by zicht »

Hi

Not by default.
If you transmitter (switch) is an equipment you could detect it...
Another way is using dummie switches one for switch one for lua and from that iinitiate your device by blockey of lua.

Domoticz by its self just detect the state, not what triggers it.

hope it helps..
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest