OpenGarage › Forums › Comments, Suggestions, Requests › Home automation integration
- This topic has 11 replies, 4 voices, and was last updated 8 years ago by moreejt.
-
AuthorPosts
-
June 25, 2016 at 2:32 pm #93
saintmanBlockedHi,
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.
June 28, 2016 at 10:11 pm #116July 1, 2016 at 4:08 am #117
RayKeymasterSorry, 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.July 4, 2016 at 8:20 am #121
saintmanBlockedActually 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 🙄
September 20, 2016 at 4:18 am #139
moreejtParticipantToday 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.
September 20, 2016 at 11:03 pm #140
RayKeymasterCool. Thanks for sharing!
September 26, 2016 at 3:55 am #141
moreejtParticipantHey, here is the start of some Powershell scripts to work with the Open Garage device. Read the first few lines to find options.
Enjoy!
October 2, 2016 at 7:09 am #146
psmedleyParticipantSome 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 😛
October 2, 2016 at 7:11 am #147
psmedleyParticipant@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 DoorHowever, the door doesn’t open 🙁
status.sh works correctly.
October 17, 2016 at 3:50 am #155
moreejtParticipantHi – 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 DoorHowever, 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.
October 19, 2016 at 8:21 am #158
psmedleyParticipantHi,
@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 DoorHowever, 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
November 8, 2016 at 2:25 pm #164
moreejtParticipantI POSTED the latest code in a new thread:
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenGarage › Forums › Comments, Suggestions, Requests › Home automation integration