Andrew
Andrew
I have made https://github.com/aneisch/Sonoff-Wemo-Home-Assistant/blob/master/sonoff_wemo_homeassistant.ino This code is compatible with Home Assistant autodiscovery and allows control of Sonoff through emulated hue.
https://appdaemon.readthedocs.io/en/latest/APPGUIDE.html?highlight=constrain_person#person suggests that the configuration options are the same as `constrain_presence`
This wasn't meant to be distro agnostic, but I might work towards it. Thanks!
> By removing the status_led I was able to flash the sonoff basics to a working state again. > > Super weird! Same experience for me on latest v2022.10.2.
Still present in 2023.08.0b3
> I was able to build This no longer appears to work :(
I haven't compiled this in a while, but I suspect it still works or would with a little tweaking: https://raw.githubusercontent.com/aneisch/home-assistant-config/master/extras/esphome/mom_and_dad_gate.yaml