ESP easy rules temperature
Posted: 26 Jan 2024, 13:55
Dear all,
I have a problem and for some reason, I am not able to solve it.
I am trying to switch a gpio on wenn a certain temperature is exceeded and and off in case the temperature drops below a certain value, as per example below:
on DHT22#Temperature do
if [DHT22#Temperature] > 25
gpio,13,1
endif
if [DHT22#Temperature] < 24
gpio,13,0
endif
endon
I have connected a led to d7 (gpio13) but the led dosent turn on (led is not defect)
Any hints for me please?
Many thanks in advance
I have a problem and for some reason, I am not able to solve it.
I am trying to switch a gpio on wenn a certain temperature is exceeded and and off in case the temperature drops below a certain value, as per example below:
on DHT22#Temperature do
if [DHT22#Temperature] > 25
gpio,13,1
endif
if [DHT22#Temperature] < 24
gpio,13,0
endif
endon
I have connected a led to d7 (gpio13) but the led dosent turn on (led is not defect)
Any hints for me please?
Many thanks in advance