Suneman

Matrix Keypad

Mar 10th, 2023
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. esphome:
  2. name: console
  3. friendly_name: Console
  4.  
  5. esp32:
  6. board: nodemcu-32s
  7. framework:
  8. type: arduino
  9.  
  10. # Enable logging
  11. logger:
  12.  
  13. # Enable Home Assistant API
  14. api:
  15. encryption:
  16. key: "xxxx"
  17.  
  18. ota:
  19. password: "xxx"
  20.  
  21. wifi:
  22. ssid: !secret wifi_ssid
  23. password: !secret wifi_password
  24.  
  25. # Enable fallback hotspot (captive portal) in case wifi connection fails
  26. ap:
  27. ssid: "Console Fallback Hotspot"
  28. password: "xxx"
  29.  
  30. # Example configuration entry
  31. matrix_keypad:
  32. id: mykeypad
  33. rows:
  34. - pin: 21
  35. - pin: 19
  36. - pin: 18
  37. - pin: 5
  38.  
  39. columns:
  40. - pin: 13
  41. - pin: 22
  42. - pin: 23
  43. - pin: 26
  44. - pin: 33
  45. keys: "123456789abcdefghijk"
  46. has_diodes: false
  47.  
  48.  
  49. captive_portal:
  50.  
Advertisement
Add Comment
Please, Sign In to add comment