Get username in lua
Posted: Tuesday 08 March 2016 17:46
Hi,
Is it posible to get the username of the person activating a switch command in lua?
I can see in the log, that the user is tied to the switch command.
I want to make a push notification when my kids activate/deactivate the alarm to my device, but i dont want to get a push when my wife or myself are activating the switch command.
We all do have different domoticz users.
Is it posible to get the username of the person activating a switch command in lua?
I can see in the log, that the user is tied to the switch command.
I want to make a push notification when my kids activate/deactivate the alarm to my device, but i dont want to get a push when my wife or myself are activating the switch command.
We all do have different domoticz users.