logo elektroda
logo elektroda
X
logo elektroda

Temperature reading from DS18B20 in ESPHome only when the unit is switched on

Honsu 1122 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21121071
    Honsu
    Level 3  
    Posts: 76
    Rate: 5
    How to realize in esphome the reading of temperature from ds18b20 only at the time of switching on a particular device. Also, the read data would only be sent to the HA when the device is switched on and at a time interval of e.g. 5 sec.
  • ADVERTISEMENT
  • #2 21121152
    xury
    Automation specialist
    Posts: 7071
    Help: 876
    Rate: 1486
    And isn't it better to read every given interval and ignore the readings that don't interest you?
ADVERTISEMENT