Utility to automatically open up your garage when your car rolls up.
I am running this on a raspberry pi.
- Insteon Home hub with Public API key (developer key) link
- IO Link to control garage door link
- Car that has wifi
- clientId - This is your developer api key from Insteon
- You will need to find your insteon device Id for your garage
- ssid - is the ssid of your car's wifi
insteon:
baseurl: "https://connect.insteon.com/api/v2"
clientid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxxxxxxx.xxxxxxxx
username: your.insteon.hub.username
password: your.insteon.hub.passowrd
wifiinterface: wlan0
ssid: testtett
garageid: 34343434
Using govendor to vendor dependencies. To get up and running
go get github.com/mkobaly/insteon
govendor sync
./build.sh
- wifi recently showed up (last seen < XXX)
- garage door shut
- signal < 90 ?? (probably not needed)
- wifi lost or last seen > XXX
- garage door open
- signal > 90
get_sensor_status = 100 (Door closed)