Arduino YUN - MQTT project

443 views
Skip to first unread message

Pete Hoffswell

unread,
Jan 26, 2015, 11:29:47 AM1/26/15
to ope...@googlegroups.com
Good day openHABbers - 

I've made great progress in my garage door controller, and thought I would share my documentation with you.  This project features:
  • openHAB monitoring garage door status as well as push-button control of door
  • MQTT
  • Arduino YUN
  • Temperature Sensor
Here's the link:




I'd appreciate any feedback.  I'm not quite done with my documentation, and would really like to get my Arduino code through a couple more revisions, but it's pretty close.

Enjoy - 

- Pete

Matt Watson

unread,
Jan 26, 2015, 1:23:38 PM1/26/15
to ope...@googlegroups.com
Looks cool, I actually have something similar planned around using RFM69 Radios and Arduinos connecting back to openHAB via MQTT - specially I am using a network of Moteinos from low power lab.

In your particular case though, personally I think an Arduino Yun is crazy crazy overkill considering it is a $70 microcontroller.

You could accomplish the same thing with an ESP8266 which is a $5 WiFi-enabled microcontroller.  There is MQTT support for it, your temp sensor i'm not sure if SHT11 is supported, but DHT22 is.  You'd still have enough left over GPIO for running your contact sensor & push button.  Basically you could just accomplish the same thing for a lot cheaper.

At any rate, keep up the good work!

--
Matt

Pete Hoffswell

unread,
Jan 26, 2015, 1:45:59 PM1/26/15
to ope...@googlegroups.com
Hi Matt. 

Thanks for the comments.  I totally agree with you that the YUN is overkill. For prototyping work like this, it's sure great.  I can install the YUN in the garage, and still reprogram the Arduino via wifi.  So handy!

Funny you should mention the ESP8266.  I'm with you on that one!  I have one sitting on my desk!  It's on the to-do list.  My hope is to convert the garage door controller over to lower cost hardware once I'm happy with it's functionality.

Vlad Lyseyko

unread,
Jan 27, 2015, 10:20:07 AM1/27/15
to ope...@googlegroups.com
HI Guys,

A few month ago I was trying to decide exactly on the same thing (What to use for my garage doors openers, read the temperature and the humidity and I wanted this "thing" to be a wireless and I didn't want to use any additional external power supply to power up the relays) so I settle with Ubiquiti mport http://www.ubnt.com/mfi/mport/. The "thing" can output 5,12 or 24 volts to control relays directly it's wifi enableb and very nice and clean looking unit. I also have the outdoor temperature sensor and current sensor for my garage heater plugged in to it. Works very nice

Vlad 
Reply all
Reply to author
Forward
0 new messages