@TiBo wrote:
Hello,
i need a little help programming an ESP.My ESP has following setup:
- at GPIO2 an LED
- at GPIO4 an Dallas ds18b20
- at GPIO13 an Relay
(it is an Sonoff TH16 V2.1 2019 with PIN EXT-LOG aka GPIO2 )
- I want that the LED is slowly blinking when the temperature is rising. (~20° - 86°)
- above 86°C the LED the LED is constant on
- if the temperature is falling below 85° the LED is fast blinking
- below 60° the LED turns off.
is this possible with ESPhome configuration and lambda programming?
at the moment i use as on_value_range with some steps but the rising/falling is much smarter . also it should be possible to track times.optional i want to track the Time how long it takes to reach the 86°C Temperature. Starting point to measure the Time is switch the relay on
(why 86° and not 85°? If the Dallas chip has problems with the wires the sensor gives 85° back)
I’m looking forward to the solution.
Posts: 1
Participants: 1