ScymnusRIP

Single sensor 2021 08 24

Aug 24th, 2021 (edited)
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.68 KB | None | 0 0
  1. esphome:
  2.   name: sensoret-rh06
  3.   platform: ESP8266
  4.   board: esp12e
  5.  
  6. # Enable logging
  7. logger:
  8. # Enable Home Assistant API
  9. api:
  10. ota:
  11.   password: "a81794725e241230cd8b6a9aa288cb4b"
  12.  
  13. wifi:
  14.   ssid: "FRITZ!Box 7530 YX 2.4G"
  15.   password: "25162964755408347082"
  16.  
  17.  
  18.   # Enable fallback hotspot (captive portal) in case wifi connection fails
  19.   ap:
  20.     ssid: "sensoret-rh06"
  21.     password: "0cYb4UnvWlub"
  22.  
  23. captive_portal:
  24.  
  25. # IP FISSO
  26. #  manual_ip:
  27. # Set this to the IP of the ESP8266
  28. #   static_ip: 192.168.188.20         #default in Archer C6 Vedere in Advanced->Security->Access control parte da x.x.x.100/ Fritzbox WiFI -> rete Wifi parte da x.x.x.20
  29. # Set this to the IP address of the router. Often ends with .1
  30. #   gateway: 192.168.188.1             #default in Archer C6 192.168.1.1 / FritzBoc Rete Locale --> Rete 192.168.188.1
  31. # The subnet of the network. 255.255.255.0 works for most home networks.
  32. #   subnet: 255.255.255.0            #default in Archer C6
  33.  
  34.  
  35. # Example configuration entry for ESP32
  36. i2c:
  37.   sda: 04
  38.   scl: 05
  39.   scan: True
  40.   id: bus_a
  41.  
  42. sensor:
  43.   - platform: shtcx
  44.     temperature:
  45.       name: "Sensor06 Temperature"
  46.       accuracy_decimals: 2
  47.       force_update: True  
  48.       filters:
  49.         - offset: 0.0
  50.         - multiply: 1.0
  51.         - calibrate_linear:
  52.          - 0.0 -> 0.0
  53.           - 10.0 -> 10.0
  54.           - 30.0 -> 30.0
  55.     humidity:
  56.       name: "Sensor06 Humidity"
  57.       accuracy_decimals: 2
  58.       force_update: True  
  59.       filters:
  60.         - offset: 0.0
  61.         - multiply: 1.0
  62.         - calibrate_linear:
  63.          - 30.0 -> 30.0
  64.           - 60.0 -> 60.0
  65.           - 80.0 -> 80.0
  66.  
  67.     address: 0x70
  68.     update_interval: 15s
Advertisement
Add Comment
Please, Sign In to add comment