Mailbox Sensor using ESPHomeYaml + HomeAssistant

From @thomashermine, 4 Weeks ago, written in Python, viewed 27 times.
URL http://codebin.org/view/045f7268 Embed
Download Paste or View Raw
  1. esphomeyaml:
  2.   name: contactmailbox
  3.   platform: ESP32
  4.   board: nodemcu-32s
  5.  
  6. wifi:
  7.   ssid: "<REDACTED>"
  8.   password: "<REDACTED>"
  9.  
  10. mqtt:
  11.   broker: "<REDACTED>"
  12.   username: "<REDACTED>"
  13.   password: "<REDACTED>"
  14.   keepalive: 30s
  15.  
  16. ? logger
  17. ? ota
  18.  
  19.  
  20. ### DeepSleep
  21. deep_sleep:
  22.   run_duration: 10s
  23.   wakeup_pin: GPIO4
  24.  
  25. ### Devices
  26. binary_sensor:
  27.   - platform: gpio
  28.     name: "Mailbox"
  29.     pin:
  30.       number: GPIO4
  31.       mode: INPUT_PULLUP
  32.  

Reply to "Mailbox Sensor using ESPHomeYaml + HomeAssistant"

Here you can reply to the paste above