Garage Door Sensor

Back to project overview

Using the ESP8266 to broadcast open/close MQTT events over WiFi


paulfecht wrote 11/12/2019 at 06:21 point

How does one get the sensor to show up in home assistant... I pasted the MQTT code in my configuration.yaml and it shows up as a badge but how do I get the open / closed to display and update in real time.  Thanks

  Are you sure? yes | no

Meteorinca wrote 01/15/2019 at 22:51 point

It worked!! Thank you so much for this post! As Matt Motherway said, I had to use 115200 to upload.

  Are you sure? yes | no

addledbadger wrote 04/20/2018 at 14:19 point

Hi, the .ino link seems broken, I'm getting:


This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Message>The specified key does not exist.</Message>



  Are you sure? yes | no

Matt Motherway wrote 04/19/2018 at 20:48 point

Thanks for the great write-up. I was able to get it working with these parts and settings, except I needed to set the upload speed to 115200. My nodemcu never completed flashing with that sketch, even though it completed flashing with other (smaller) sketches.

  Are you sure? yes | no

juan11perez wrote 03/02/2018 at 14:21 point

Andy, many thanks for sharing this. It works and you've made it so simple. I've looked at similar projects and somehow they seem overcomplicated.

  Are you sure? yes | no