vejvik

esphome i2c sensors

Jan 20th, 2023
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. i2c:
  2. sda: D2
  3. scl: D1
  4. scan: false
  5.  
  6. sensor:
  7. - platform: wifi_signal
  8. name: "WiFi Signal pokus"
  9. update_interval: 240s
  10.  
  11. - platform: hx711
  12. name: "HX711 Value"
  13. dout_pin: D0
  14. clk_pin: D5
  15. update_interval: 1s
  16. filters:
  17. - calibrate_linear:
  18. - 168000 -> 96.12
  19. - 174000 -> 97.119
  20. unit_of_measurement: KPa
  21.  
  22. i2c:
  23. sda: D2
  24. scl: D1
  25. scan: false
  26.  
  27. sensor:
  28. - platform: bh1750
  29. name: "BH1750 Illuminance"
  30. address: 0x23
  31. update_interval: 30s
Advertisement
Add Comment
Please, Sign In to add comment