Good day community. I am sure people have solved this but my search-foo is failing me.
I have some garage doors that are hooked up to a shelly 1 running tasmota with a reed switch to “know” the state. Normally this works fine, however, yesterday I restarted HA (I’m running the vm image 2021.9.7) and even though the doors were closed, HA reported them open. I did try setting the SwitchRetain True in tasmota and restarted HA with the same result
So my question is, is there a way to actually poll the reed switch. It seems to me an active polling would make more sense then trying to fiddle with any retain settings. Since all it is is a closed/open circuit, theoretically this should be possible.
Has anyone done this before? How have other people solved this problem?
I did read through the suggested topics before creating this one, but they were not what I was looking for.
You might want to take a look at ESPHome with its Endstop Cover configuration, since ESPHome presents an API which HA connects to to read the states, your setup might work better with that.
You might be able to compile the ESPHome binary from your config, flash tasmota-minimal, then flash the binary with the tasmota Web UI if it’s not too big.