OpenGarage

I am new to Vera, just got my VeraPlus. So far I connected my Honeywell WiFi thermostat, very easy to do. The next thing I wanted to try was to connect my OpenGarage device which is WiFi but I do not know where to start, it also does use Blynk if that is possible.

Has anyone done this that can give me guidance? I found where I could configure IFTTT and use it with my Alexa.

Thank you,
Ryan

I just did a little Google search and I found this: https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/cover/opengarage.py. Looks like the gist of it is an HTTP GET. If you are willing to write a bit of Lua you should be able to control it and get status in a similar way. Writing a plugin would obviously be quite a bit more effort. Try first by making the requests in a browser, then translate to Lua code.

Search these forums for info on the luup.inet.wget.

Good luck!

[code] def _get_status(self):
“”“Get latest status.”“”
url = ‘{}/jc’.format(self.opengarage_url)
ret = requests.get(url, timeout=10)
return ret.json()

def _push_button(self):
    """Send commands to API."""
    url = '{}/cc?dkey={}&click=1'.format(
        self.opengarage_url, self._device_key)
    try:
        response = requests.get(url, timeout=10).json()[/code]

Thank you for the info. I did find a http post command so this should be doable. I’ll give it a whirl.

If you want to be code compliant and not have to hassle with computer code and internet problems, get yourself a garage door sub controller.

They work great, are completely integrated and if you decide to see the home and your Vera, you will be code compliant.