This is the Heroku server for your garage door opener.
Before installing, make sure you pick a better secret:
//Change to your own. Treat this like a password
var secret = '/keepout!/';
The garage door connects to this instance through a websocket.
URL | Description |
---|---|
/check |
Check for connected sockets. Returns the number of connected sockets |
/trigger |
Open/close garage door |
/activate |
Activates the trigger |
/deactivate |
Deactivates the trigger (e.g. for maintenance) |
/prune |
Disconnects all sockets |