Advertisement
Guest User

Untitled

a guest
Jan 19th, 2023
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. esphome:
  2. name: resources-meter
  3.  
  4. esp8266:
  5. board: nodemcuv2
  6.  
  7. external_components:
  8. - source: github://SzczepanLeon/esphome-components@main
  9. components: [ wmbus ]
  10.  
  11. # Enable logging
  12. logger:
  13.  
  14. # Enable Home Assistant API
  15. api:
  16. encryption:
  17. key: "xxxxxx="
  18.  
  19. ota:
  20. password: "xxxxx"
  21.  
  22. wifi:
  23. ssid: !secret wifi_ssid
  24. password: !secret wifi_password
  25.  
  26. # Enable fallback hotspot (captive portal) in case wifi connection fails
  27. ap:
  28. ssid: "Resources-Meter Fallback Hotspot"
  29. password: "xxxxxxx"
  30.  
  31. captive_portal:
  32.  
  33. wmbus:
  34. mosi_pin : GPIO13
  35. miso_pin : GPIO12
  36. clk_pin : GPIO14
  37. cs_pin : GPIO15
  38. gdo0_pin : GPIO5
  39. gdo2_pin : GPIO4
  40.  
  41. sensor:
  42. - platform: wmbus
  43. name: "Stan licznika wody"
  44. meter_id: 0x214FE6E4
  45. type: izar
  46. key: "00000000000000000000000000000000"
  47. accuracy_decimals: 5
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement