Simple php/http connection for Verisure Yale Doorman. Reverse-enginered from the verisure app.
The url have 6 possible parameters:
ma=Your e-mail address used for logging in to your verisure account
pw=The password you use for logging in to your verisure account
dc=The doorcode you use to open your door with the keypad
int=The intention for your request four different choices(Will be described below)
ins=The verisure instalation id (How to get it is described bellow)
dev=The device label for the yale doorman (urlencoded)(How to get it is described bellow)
int=installid Here you will be able to see the installation id this will be the giid field in the returned json. Example call: https://example.com/[email protected]&pw=yourPassword&int=installid
int=status
Here you will be able to see the label for the yale doorman this will be the deviceLabel field in the returned json. You will also here be able to see the status of the lock(Locked/Unlocked)
Example call: https://example.com/[email protected]&pw=yourPassword&int=status&ins=YOUR_INSTALL_ID'
int=lock
Example call: https://example.com/[email protected]&pw=yourPassword&int=lock&ins=YOUR_INSTALL_ID&dev=YOUR_YALE_LABLE&dc=YOUR_DOORCODE
int=unlock
Example call: https://example.com/[email protected]&pw=yourPassword&int=unlock&ins=YOUR_INSTALL_ID&dev=YOUR_YALE_LABLE&dc=YOUR_DOORCODE
First: Uplopad verisure.php to the place where you want to access it:
Second: Get your installation id by calling: https://YOURDOMAIN.com/[email protected]&pw=yourPassword&int=installid
Third: Get your door label by calling: https://YOURDOMAIN.com/[email protected]&pw=yourPassword&int=status&ins=YOUR_INSTALL_ID'
Fourth: Get door status, lock your door, ulock your door by calling:
//Status https://YOURDOMAIN.com/[email protected]&pw=yourPassword&int=status&ins=YOUR_INSTALL_ID'