Guest User

Untitled

a guest
May 24th, 2025
1,726
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. esp32:
  2. board: esp32dev
  3. framework:
  4. type: arduino
  5.  
  6. # Enable logging
  7. logger:
  8. level: DEBUG
  9.  
  10. # Enable Home Assistant API
  11. api:
  12. encryption:
  13. key: "twojkluczsamsietworzy"
  14.  
  15. ota:
  16. - platform: esphome
  17. password: "twojehaslosamosietworzy"
  18.  
  19. wifi:
  20. ssid: "nazwawifi"
  21. password: "haslodowifi"
  22.  
  23. ap:
  24. ssid: "Water-Mater-Home-New"
  25. password: "haslosamosietworzy"
  26.  
  27. captive_portal:
  28.  
  29. time:
  30. - platform: sntp
  31. id: time_sntp
  32.  
  33. external_components:
  34. - source: github://SzczepanLeon/esphome-components@version_4
  35. components: [ wmbus ]
  36.  
  37. wmbus:
  38. mosi_pin: GPIO23
  39. miso_pin: GPIO19
  40. clk_pin: GPIO18
  41. cs_pin: GPIO15
  42. gdo0_pin: GPIO4
  43. gdo2_pin: GPIO27
  44.  
  45. all_drivers: False
  46. log_all: False
  47.  
  48. sensor:
  49. - platform: wmbus
  50. meter_id: 0x01234567
  51. type: apator162
  52. key: "00000000000000000000000000000000"
  53. sensors:
  54. - name: "my hot water RSSi"
  55. field: "rssi"
  56. accuracy_decimals: 0
  57. unit_of_measurement: "dBm"
  58. device_class: "signal_strength"
  59. state_class: "measurement"
  60. entity_category: "diagnostic"
  61. - name: "my hot water"
  62. field: "total"
  63. accuracy_decimals: 3
  64. unit_of_measurement: "m³"
  65. device_class: "water"
  66. state_class: "total_increasing"
  67. icon: "mdi:water"
Advertisement
Add Comment
Please, Sign In to add comment