19
[Solved] How to detect the position of a dumb wall switch?
(sh.itjust.works)
Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.
Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation
Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk
You may have better luck with a smart zigbee switch to replace the switch. Be careful that it complies with your local regulations etc.
If you want the aesthetic of the current switch, you can alternatively get relay modules which would sit in the box behind the switch and connect both to the switch and the socket.
If you don't want to mess with the in wall wiring, you can get covers that sit over a wall switch and contain/mount a battery smart switch.
If none of that suits, sounds like you're on the right track with powering the light from a non switched socket and using the presence/absence of a second device to identify the switch position. But I don't have advice on the fine details.
I like the relay idea better, thank you. I've done outlet and switch wiring before, but never for HA and not yet in this house.
Detecting the missing device seemed like it would be the easiest way as it wouldn't require wiring, but it seems that that's actually the more complicated option!