Make a manual switch to control the Sonoff Basic R2!
Sonoff basic r2 is controlled by esp8266 board.
Esp8266 boards are capable of ESPNOW communication with each other!
Therefore, wireless communication is possible without special equipment!
When the sonoff is embedded in the ceiling, it cannot be controlled without a smartphone!
Sometimes you just need a button that you can remote control manually!
The video below is the process of uploading the esphome firmware to sonoff basic r2!
The link below is the final result! Sorry, it's in Korean!
- Modify the software to use sonoff basic r2 in esphome.
- Connect the battery and button to the wemos d1 mini board.
- When the button is pressed, power is supplied to the wemos d1 mini board.
- When the button is pressed, a control signal is transmitted using espnow.
- If the transmission is successful, the wemos d1 mini board goes into deep sleep mode.
- When the button is released, the power is cut off and the board turns off.