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