SmartThings Community

Ryobi modular smart garage door opener


#144

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)


(Justin Dybedahl) #145

Updated the code in my repo to do some bug fixes. I removed the nextState parameters on the tiles as they were causing too many issues. Tweaked the times for the status checks after the garage door/light actions to be more consistent with actual times for my door. I left a little bit of padding on the times but you may have to adjust these if they do not work for you. Also added configurable scheduled polling.


(Steve Cullen) #146

@madj42 - Thanks for putting this together. I was able to finally get this installed on my Pi however I am now stuck at getting the device handler to show up in the ST app.

I successfully created the handler online however Step 8 in the DTH to SmartThings section is where I’m stuck. When you say “open the new device” what are you referring to? When I open the ST app, the Garage Door does not show up.

What am I missing?
Thanks - Steve


#147

After creating the device handler, you will need to

Click on Devices at top of web page.
Click on + New Device
Name the device (up to you)
Set Device Network Id to whatever you want (this will be automatically be replaced by the device handler)
Change Type to Ryobi Garage Door (scroll to bottom of drop list)
Set Location and Hub
Save the device by clicking Create at the bottom.

Now go to your Phone App and it should now show.
When you select the device in the app, it should automatically update the Device Network Id. You can check that by going back to the SmartThings Devices web page and refreshing it.

Now in the app, select the device and click the gear icon for settings.
Input your Ryobi account login and password
Input the IP address of the Pi and default port of 3042
Save your changes.

It is recommended to reserve the IP address for the Pi device in your router/modem.

Keep in mind that this does require you to have a SmartThings hub as that is what communicates to your Pi.

So now when you view the device in the app, it will show you a display based on the device handler that was setup. it will send a status update to your Pi and display those results (open/close/light on/off / battery) and each time you make a selection it sends that on to the Pi, which sends it to Ryobi, which talks to the garage door opener.


(Justin Dybedahl) #148

Beat me to it. Follow the directions above and you should be set.


(Raza Ahmed) #149

Is this allow me to control Ryobi garage with google mini?
I can setup this on my Raspberry Pi and control it via google home?


(Erick M.) #150

Hi,
I am brand new to this. I just bought a GD201 and have SmartThings at home. Any suggestions of a working tutorial to be able to manage my Ryobi 201 through ST?

I tried to follow the thread but I got lost.

Regards,

Erick M.


#151

You will have to tell us where you got lost. Look at the ReadMe at

The instructions are pretty good but terms maybe confusing.

You will need to purchase a Raspberry Pi to be the bridge that communicates between the SmartThings app and Ryobi GDO.

I like this one because you can also play Retro arcade games, I also have it controlling WS2812B Led strip lights, so the Pi can be used for multiple purposes.

https://www.amazon.com/V-Kits-Raspberry-Arcade-Classic-Gamepads/dp/B07CC86PR3


(Raza Ahmed) #152

I got the up and running but don’t know what to do next. how do I instruct to open/close the garage ?

pi@raspberrypi:~/gdo $ node RyobiGDOProxy.js
server is listening on 3042


#153

You only did the first part. You still need to do parts two and three.

  1. Starting proxy service at boot on Raspberry Pi:
  2. Installation of DTH to Smartthings

The instructions are here

Does require a SmartThings hub to make it all work. Unsure as far as Google Home but would image it should work fine if it is setup as a switch. I use Alexa so can’t really help.

Check this link, maybe it will help


(Raza Ahmed) #154

Thanks for your response.

I Understood what you said about steps. I will figure out the google assistant part but tell me how do I open/close garage from the Raspberry Pi to test this is part is working correctly, what sequence of command or portion of code that communicates with RyobiGDO to open/close the garage


#155

http://{ipaddress}:3042/?name={command}&email={email}&pass={password}

ipaddress = IP address of Raspberry Pi
email = Your Ryobi Email Address
password = Your Ryobi Password

commands:

lighton
lightoff
dooropen
doorclose
status

Return Status shows as

Is Light On. true/false
Door Open. 0 = no. 1=yes
Battery Level. 0-100 or Not applicable


(Raza Ahmed) #156

Phogh, Great help. thanks a lot…

I am able to get this running…


(Chris) #157

Any ideas if we could get the preset function built into smartthings?


(Justin Dybedahl) #158

Forgive me, could you be a little more specific on which preset function you’re referring to?


(Chris) #159

Oh yeah sure. Here is a screenshot from the app


(Justin Dybedahl) #160

You can tell I rarely use the official app. I’ll see if the setting can be changed but it may be a while before I can look at it. I’ll get back to you on this when I have had chance to look at it.


(Chris) #161

Yeah me either but I wanted to have a little airflow in the garage and like the feature.