In community forum I noticed some Garadget users are connecting their units to Home Assistant using controller’s REST protocol. There are several home automation plugins already available for other Home Automation systems (SmartThings, OpenHab) and I wonder if there’s any interest here in creating a proper Garadget integration for Home Assistant.
Please reach to me if you can help with it and I’ll be happy to assist in any way I can.
Getting one of your devices into the hands of one of the superb developers here would usually result in a native first class component for your device. It’s just too hard to develop something for something you don’t have.
Much like IFTTT, I browse the logo list to figure out what devices to buy (as I am sure others do)
Of course, I’ll be happy to ship a unit to the qualified developer taking on the task.
There’s also a developer account for testing the code with multiple units.
I’d be happy to spear-head this development. Feel free to contact me.
I have recently submitted a Pull Request to include the GE Concord 232 alarm system into Home Assistant, and my next to do is to figure out my garage door, this product sound right up my alley.
At the beginning it’s easier to skip Authentication and just go with Auth Token. Later proper login form can be added.
Please PM me if above makes sense.
If @JasonCarter80 wasn’t interested then I could see @maddox implementing this. Big bonus would be I bet he would implement homebridge-homeassistant support too
I can’t promise demo units to testers but I’ll be happy to offer a discount to several early adopters of the Garadget’s Home Assistant integration. Please PM me if interested.
If anyone is interested in integrating Garadget into HASS here is a fairly painless way, until we have a component that is.
Prerequisites:
cURL - Can be installed for Windows based HASS implementations if needed instructions
Gather info:
First, you’ll need to find:
Device ID - a string that uniquely identifies each Garadget unit. Authentication Token - a secret string your app receives to use instead of the username/password after you successfully log in.
The simplest way is to login into the web interface and use the document inspector to pick at the background requests it sends:
In Google Chrome click anywhere in blank space of the page and select “Inspect” from the context menu
See the requests appearing in the list, you can find the details under Headers tab
1. In your configuration.yaml add:
cover:
- platform: command_line
covers:
garage_door:
command_open: curl -X POST https://api.particle.io/v1/devices/YOURDEVICEID/setState -d arg="open" -d access_token=YOURACCESSTOKEN
command_close: curl -X POST https://api.particle.io/v1/devices/YOURDEVICEID/setState -d arg="close" -d access_token=YOURACCESSTOKEN
command_stop: curl -X POST https://api.particle.io/v1/devices/YOURDEVICEID/setState -d arg="stop" -d access_token=YOURACCESSTOKEN
friendly_name: Garage Door
Optional:
If you have an MQTT broker setup and a SmartThings hub you can connect Garadget to SmartThings. After connecting your Garadget to SmartThings you can listen for the MQTT state of the garage door. I created a switch to show if the door is open or closed.