thehookup / Motorized_MQTT_Blinds

Motorized_MQTT_Blinds
299 stars 75 forks source link

Help. MQTT Blinds combined with MQTT Window Sensors #53

Open mickandkez opened 3 years ago

mickandkez commented 3 years ago

I have completed the Blinds project on 16 Windows in my house, my blinds are very heavy and had to upgrade to Nema 17 steppers and use worm gears as well and have had great success. I have now moved onto the MQTT window sensors and purchased all required items and completed half of the windows. i stopped and thought is there a way that instead of using batteries and since my blinds already have a an ESP8266 NodeMCU sitting there is there a way to connect 1 side of the reed switch to a 3v3 pin and the other side to another available pin, so that when the magnet is pulled away from the reed switch it closes the circuit and then sends another message through MQTT and advises the current window open or closed state continuously in Home Assistant? The Blinds was the start of my journey into home automation, and since then (only 1 month ago) i have now added IR controllers to all of my split system air conditioners, garage door openers with ESP-01s and relays, setup a raspberry Pi and full Home assistant 24 inch touch screen dashboard, every light switch, lamps 12 security cameras and automatic gates is all connected through my Home Assistant. i have just reached over 100 devices on my wifi network which also had to be upgraded. It has been a passion, while i have been on 4 weeks leave, but that time has come to end and back to work, i can not afford to stay up to 3am now trying to work all this out for myself. Can anyone please help with the last piece of my puzzle to add this option to my current Arduino IDE sketch for my ESP8266 NodeMCU that is controlling my blinds exactly how Rob has set his up that has a reed switch for the windows as well?