Get device status
Posted: Wednesday 12 January 2022 23:44
I want in LUA the device status. Not only the last changed, but also the user. So who activated it. I want this to determine is a physical button is pressed (sun blinds) or if it is initatiated from Domoticz. According to this API documentation: https://www.domoticz.com/wiki/Domoticz_ ... nformation it should be possible.
Use the /json.htm?type=devices&rid=IDX. In the documentation you see that USER is returned. If I run it on my system, I do not see User, all the other info is there.
Is this a bug or are the other ways to get this info.
I am running 2021.1
Use the /json.htm?type=devices&rid=IDX. In the documentation you see that USER is returned. If I run it on my system, I do not see User, all the other info is there.
Is this a bug or are the other ways to get this info.
I am running 2021.1