As all my light switches are in close proximity to my doors I’d like to add reed switches to them to report the door OPEN/CLOSED state.
The external wall switch (GPIO14) should function exactly as the onboard button does and directly toggle the relay as well as update MQTT. This works for me today… even if WiFi or HASS/MQTT is down, all locally on the Sonoff.
I would like to add the Reed Switch (GPIO3) to just send MQTT on/off messages to my broker (not control the relay) and I’ll take actions on that within my HASS.
I have been trying this by setting the SwitchTopic but this affects BOTH external switches in the same way.
Is there a way of doing this that I’m missing?
Cheers