ESP8266 NodeMCU WiFi IoT Garage Door Opener with Cayenne

preview_player
Показать описание

A few changes since the ESP8266 NodeMCU Relay WiFi Garage Door Opener with Blynk post:

Added DHT22/AM3202 Temperature & Humidity Sensor
Added Gl5537 Light Sensor
Added MQTT to send data to my OpenHab install.
Added ability for OpenHab to also open/control the Garage Door.
I should note again that my install and code is specific for a Marantec Garage Door Opener. You may need to modify this code for your particular Garage Door Opener and this will likely void your warranty!

Parts List:

ESP8266 NodeMCU HiLetgo new Version from Amazon $8

Uxcell a13071200ux0770 Relay Shield Module $4.99 from Amazon.

DHT22 or AM2302 Temperature/Humidity Sensor $9.99 for version with built in pull up resistor

GL5537 Light Sensor $6.99 or cheaper for 20 units

10K Resistor for Gl5537 Light Sensor

1K Resistor for Active Buzzer

Assorted Breadboards - I bought a pack on Amazon for $10.99 but you probably have a few extra laying around.

Ksmile 20M 20AWG 66ft Extension Cable Wire Cord for Led Strips Single Colour 3528 5050, 2 Pin Red/Black Hookup Wire 12V DC to connect to Garage Door Opener.

(I only needed about 1 foot and you may already have suitable wire laying around.)

3M Scotch Heavy Duty Mounting Tape, 1-Inch by 125-Inch (314) holds up to 5 lbs - $4.39 on Amazon

Elegoo 120pcs Multicolored Dupont Wire 40pin Male to Female, 40pin Male to Male, 40pin Female to Female Breadboard Jumper Wires Ribbon Cables Kit $8.68

I also used an Active Buzzer I had from this SunFounder Project Super Starter Kit for Raspberry Pi 3, 2 & Model B+ but you can purchase buzzer by itself for a lot cheaper without the kit.( 10 Active buzzers for $8 on Amazon )

I am using my Alarm Sensor which is connected to OpenHab Home Automation to let me know if the door is opened or closed, but you may want to add something like this Security Garage Door Rolling Gate Magnet Alarm Reed Switch and connect it to the ESP8266 to know if the door is opened or closed. I plan to add one soon as a back up to my alarm sensor.

Cayenne tout's themselves as the "The World's First Drag-and-Drop IoT Project Builder". They have a web-based dashboard as well as Android and iOS app. The latter is important to me as I'd like to be able to control and monitor my IoT things when I'm not home. They also have SMS & Email alerts based on triggered events; i.e. text me if the garage door is opened.

I asked and Cayenne told me they may add some optional freemium-style pricing, but the actual product will stay gratis for makers and devs. "We make money by licensing to companies and white labeling."

The Cayenne Dashboard supports setting up a Raspberry Pi or an Arduino. There is no specific ESP8266 device, but choosing Arduino worked for me. Cayenne will give you a TOKEN which you will need to input into the Arduino sketch.

Cayenne requires the Blynk libraries along with the Cayenne libraries.
Рекомендации по теме
Комментарии
Автор

Nice! You better oil that door. Could be over stressing the opener motor. Use dry garage door spray from Lowe’s or someplace. WD40 just collects dust and gets gummy. 😁

harleyrdr
Автор

Good afternoon, congratulations friend for your work, I would like a help, I'm triggering a load with the mega + ethernet shield w5100, but I would like to send only one pulse, but I realized that the cayenne when I click to send the pulse it triggers the led, But it does not obey the delay that I put in the code of the mega so that only one pulse leaves, the friend thinks that I can do in the cayenne?

eng.carvalho
Автор

Just curious, have you tried with Bylnk? Any reason you choose Cayenne over Blynk?

takliu
Автор

Congratulations!!! I work in a similar projet and your video and you are the best ;) and the tutorial is so good (Tutorial in the descripcion)

Edgarhernandezwips
Автор

Epic! Doing the same thing now but using Blynk instead. Does your original wireless garage door opener still work? Mine stops working if the esp8266 is connected to the door.

victorcharlie