As often happens during repairs (and sometimes even in an apartment) - they did not think of how many outlets and which switches would be needed for comfort. Sometimes you can add the missing communications, and sometimes it already leads to additional waste and redoing part of the repair. As an output, you can use a radio relay with remote control.
General scheme of Radio Relay:
For communication between the Radio Button and the Radio Relay, radio modules are used:
- nRF24L01
- RMF73
The controller used Attiny2313, also tested Attiny45.
Transmitter Circuit:
When a button is pressed, the minus of the battery closes to the ground, thereby powering the controller and at the same time a logical “0” appears at the input of the corresponding one of the buttons. Further, the controller, recognizing the press of a button, feeds the optocoupler “1” to the input, thereby closing the minus batteries to the ground, which will allow it to remain connected to the power when the button is released. Having completed the data transfer, he will remove the voltage from the input of the optocoupler, thereby disconnecting.
Receiver circuit:
View at the development stage:
Schemes in Eagle 7.6 format