Advertisement
pqpxoxa

Cat Flap ESPHome

Jun 22nd, 2023
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. esphome:
  2. name: cat-flap
  3.  
  4. esp8266:
  5. board: esp01_1m
  6.  
  7. # Enable logging
  8. logger:
  9.  
  10. # Enable Home Assistant API
  11. api:
  12. encryption:
  13. key: "xxxx"
  14.  
  15. ota:
  16. password: "xxxx"
  17.  
  18. switch:
  19. - platform: shutdown
  20. name: "Cat Flap Shutdown"
  21. - platform: restart
  22. name: "Cat Flap Restart"
  23.  
  24. sensor:
  25. - platform: uptime
  26. name: Cat Flap Uptime Sensor
  27. - platform: wifi_signal
  28. name: "Cat Flap WiFi Signal Sensor"
  29. update_interval: 60s
  30.  
  31. binary_sensor:
  32. - platform: gpio
  33. pin: GPIO13
  34. name: "Cat Flap Sensor"
  35. device_class: motion
  36.  
  37. wifi:
  38. ssid: iREADyourEMAILS
  39. password: hahahaha
  40.  
  41. uart:
  42. rx_pin: GPIO4
  43. baud_rate: 9600
  44.  
  45. text_sensor:
  46. - platform: wl_134
  47. name: Cat Flap ID
  48. reset: false
  49.  
  50.  
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement