You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2022. It is now read-only.
It is possible to send the door open command using the TCP socket as well.
This can be done by first issueing a "accessControl.factory.instance" command with params:
request_data = {
"Channel": 0
}
In the response there will be a "result"-field, which contains the accessControl-object (in my testing an integer). This result object should be saved, so it can be used when issuing a open/close lock command.
The open/close door/lock command is "accessControl.openDoor"/"accessControl.closeDoor" with params:
It is possible to send the door open command using the TCP socket as well.
This can be done by first issueing a "accessControl.factory.instance" command with params:
In the response there will be a "result"-field, which contains the accessControl-object (in my testing an integer). This result object should be saved, so it can be used when issuing a open/close lock command.
The open/close door/lock command is "accessControl.openDoor"/"accessControl.closeDoor" with params:
When issuing such a command, your message_data should also include the accessControl-instance in the "object" field.
Working sample code can be found in my Domoticz plug-in.
The text was updated successfully, but these errors were encountered: