What hardware do people use to turn ordinary switches into smart switches? There are mains powered options, such as the Sonoff and Moes options. However, they are a little limited in that e.g. the Moes Dimmer only takes a push button switch, while the Moes on/off relay only takes an on-off switch. Similarly with Sonoff. I’d love to be able to do sensing irrespective of (A) the type of switch and (B) mains power.
I use Shelly relays for this. They have a setting to make them treat the switch as a toggle on and off (edge mode). That means you can turn the light on with an automation and off with the switch and everything will work next time and the switch position does not matter.
The sonoff/moes can be flashed with tasmota or esphome.
You can set ‘detached mode’ by setting the relay always on and get multiple button press (single, double, hold, triple clocks) for your lights automation.
My original post was motivated by trying to find a broader range of switch designs. This doesn’t answer my original question, but it is another interesting option to get more variety.
It’s basically a ‘smart insert’ for their grid system, and could therefore be used with any of the Click Scolmore PowerGrid face plates. It uses zigbee it seems. Quinetic have a similar grid system, but their switches will only work with Quinetic, while with Click Scolmore the switch uses zigbee.