Quantcast
Channel: ESPHome - Home Assistant Community
Viewing all articles
Browse latest Browse all 1486

Lambda to reset an AM2302 power

$
0
0

I’ve installed 6 of the AM2302 temperature and humidity sensors around my house, but now discover they are unreliable and lockup every day or so on my ESP8266 units. Lots of info online in arduino discussions about various timing issues and stability problems etc. It occurred to me the most simple means to just reset them would be to use a spare GPIO to power the Sensor and then use a lambda to briefly pull that pin low for 1000ms.
Not been using ESPhome long, so can anyone advise me the YAML I’d need to use for lambdas and maybe the raw_state to detect the NaN and then toggle the GPIO? Thanks

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1486

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>