filmov
tv
ESP8266 NodeMCU WiFi IoT Garage Door Opener with Cayenne
Показать описание
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.
Комментарии