OpenGarage Forums Comments, Suggestions, Requests Home automation integration

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #93

    saintman
    Member

    Hi,
    received my opengarage hardware. Everything works like described. Thanks!

    Any chance to see in future a step-by-step integration tutorial for noobs to use OG in various HASs? I am personally interested in Domoticz integration.
    Maybe using MQTT is the easiest way? I know that there is a JSON output in opengarage, but my scripting skills are close to zero(((

    Any help would be appreciated.

    #116

    saintman
    Member

    Domoticz integration using LUA script is here.

    #117

    Ray
    Keymaster

    Sorry, I need to sit down and write the API document. For the moment, you can take a quick look at the source code:
    https://github.com/OpenGarage/OpenGarage-Firmware/blob/master/OpenGarage/main.cpp#L654
    to find out all HTTP GET commands that the firmware supports and go to the corresponding callback functions to see the return value of each command.

    #121

    saintman
    Member

    Actually it is working OK with Domoticz atm (using the script above). The only drawback is a delay with the door status (script runs once per minute). That is why support for sending MQTT messages from OpenGarage side would be awesome 🙄

    #139

    moreejt
    Participant

    Today I coded some bash scripts that will run on a system at my house. These scripts open/close/check status of a specified device. I’m calling from cron like this

    15 9 * * * root /opt/opengarage/closedoor.sh http://192.168.0.100 opendoor

    I’ll post the scripts here and probably build a powershell version. I haven’t looked at other scripts on the forum yet because I did all of this in about an hour for fun. Happy to work with others. I’d really like to modify the opengarage app I found on google play.

    #140

    Ray
    Keymaster

    Cool. Thanks for sharing!

    #141

    moreejt
    Participant

    Hey, here is the start of some Powershell scripts to work with the Open Garage device. Read the first few lines to find options.

    Enjoy!

    #146

    psmedley
    Participant

    Some tips of IFTTT integration would be cool 🙂 I see some people have other Blynk projects working with ifttt, but I’m too sick right now to try and decipher how to do it myself 😛

    #147

    psmedley
    Participant

    @moreejt@yahoo.com wrote:

    Today I coded some bash scripts that will run on a system at my house. These scripts open/close/check status of a specified device. I’m calling from cron like this

    15 9 * * * root /opt/opengarage/closedoor.sh http://192.168.0.100 opendoor

    I’ll post the scripts here and probably build a powershell version. I haven’t looked at other scripts on the forum yet because I did all of this in about an hour for fun. Happy to work with others. I’d really like to modify the opengarage app I found on google play.

    Hi – thanks for providing these. Unfortunately, I can’t get them to work:
    sudo ./opendoor.sh http://192.168.1.65 opendoor
    DEBUG ON
    Door is Closed Opening Door

    However, the door doesn’t open 🙁

    status.sh works correctly.

    #155

    moreejt
    Participant

    Hi – thanks for providing these. Unfortunately, I can’t get them to work:
    sudo ./opendoor.sh http://192.168.1.65 opendoor
    DEBUG ON
    Door is Closed Opening Door

    However, the door doesn’t open 🙁

    status.sh works correctly.

    Check the DEBUG flag. I have it set to on by default. in debug mode it doesnt send the signal to the device.

    #158

    psmedley
    Participant

    Hi,

    @moreejt@yahoo.com wrote:

    Hi – thanks for providing these. Unfortunately, I can’t get them to work:
    sudo ./opendoor.sh http://192.168.1.65 opendoor
    DEBUG ON
    Door is Closed Opening Door

    However, the door doesn’t open 🙁

    status.sh works correctly.

    Check the DEBUG flag. I have it set to on by default. in debug mode it doesnt send the signal to the device.

    Thanks – I had set DEBUG to 0, but found I had to comment out the DEBUG line to get things working – all good now 🙂

    Cheers,

    Paul

    #164

    moreejt
    Participant

    I POSTED the latest code in a new thread:

    viewtopic.php?f=39&t=1109

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.

OpenGarage Forums Comments, Suggestions, Requests Home automation integration