Various configs for ESPHome deployed as
- Smart-Plug & temperature sensor
- Wall switch
- Ceiling fan control
pipenv install
pipenv run esphome CONFIG.yaml compile
Details see Getting Started with ESPHome
OpenWRT WiFi settings
- set "Operating frequency", "Mode" to "Legacy"
- enable "Allow legacy 802.11b rates"
- deactivate "Disassociate On Low Acknowledgement"
- (disable wifi on repeaters)
python3 ~/code/hass/sonoff-mqtt-switch/espota.py -i 192.168.11.100 -a ... -f outside_light/.pioenvs/outside_light/firmware.bin