Is it possible to use RM4 to control/report on my Genie Aladdin Garage (based on Postman success)?

I am able to control my Genie Aladdin Garage door via Postman after following the instructions here. Genie Aladdin Connect

It was exciting getting my garage door to open/close and report back the current status (open, opening, closing, closed)

This was my first time ever using Postman, and I barely understand the difference between POST and GET.

Things I would like to be able to do:

  • Have my Garage Door show on my Dashboard with the valid state (Open, Closed, etc)
  • Be able to open/close my garage door via my dashboard
  • Get an alert when my garage door is open
  • Have my garage door close at a certain time of night if it was left open
  • Activate scenes when arriving home and opening the garage

My plan to achieve what I want to do, above:

  • Create a Virtual Garage Door for my dashboard
  • Use RM and API calls to detect the state of the door, and use that to update the state of the Virtual Garage door
  • Use RM and the Virtual Garage Door use that as a trigger for some of the actions above

What I can't figure out - my questions for you folks much smarter than me:

  • How do I turn what I have working in Postman into the appropriate API calls in RM4 to achieve my goals above?
  • Because the state of the door is based on a GET and not a PUSH, do I have to regularly query the garage door API (every minute or 2) to get an update on the state of the door, or is there a better/more efficient way?

I feel like I'm close after getting the Garage door fully working with Postman. But I only got it working because I followed a tutorial, not because I am a dev (I am not a dev), and now I'm clueless on how to get this into Hubitat with the various API possibilities in RM.

On a tangent - it feels like someone with solid Groovy chops could create a slick Driver using the code samples from Postman above. Such a driver would ask a user to enter user ID/password, convert that to Base64, grab the other values necessary, and give full control of the door through Hubitat. Then my wacky rules above would be a lot easier to create! I am not the person with the chops to do that, unfortunately. :slight_smile:

PS: I was inspired by this thread over on the 'other' message board which led me to Postman: Genie Aladdin garage door - Devices & Integrations - SmartThings Community There is no DTH I could find as a starting point to create a device driver, unfortunately.

RM really isn’t the best tool to do this. If you get it to work it will definitely be slow. RM isn’t designed to be polling a device. The best way to do this is building an app and driver. It sounds like that’s something you might not be comfortable doing, but I think RM is not going to work out well for you for this task.

It is going to be hard to get the door state. I would look at getting a contact sensor or two to detect the position of the door. However sending the api calls should be easy to do from within RM. There are some pretty afordable contact sensors out there.

There are dedicated tilt sensors (or multi sensors) that don't require anything special to use with Hubitat. Contact sensors often require some bracket or other work/modifications to make them work as a tilt sensor.

Most people use the $20 Samsung multi-sensor for Zigbee applications, but there are Zwave sensors from Ecolink and probably others if that is the protocol you want.

I found this to be a brilliant solution

I created drivers for Aladdin Connect based on the tutorial that @craigspree linked. Thanks for the help with testing, @craigspree.

2 Likes

Thanks everyone - I already had a contact sensor to detect if the door was open or closed, but I wanted more functionality than that. And it was @tomw to the rescue!

Thanks @tomw !

The driver works great for everything I need. I was able to get my Aladdin Connect Garage Door hooked up to my Homebridge via Hubitat. The WAF went up considerably when we came back from a bike-ride and opened the garage with voice assist on our watch from a half-block away. I found the performance to be the same as using the Aladdin Connect app to operate the door (which uses the same APIs)

2 Likes

This is really helpful. Worked for me too!

1 Like