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.