logo elektroda
logo elektroda
X
logo elektroda

Which bistable relays to control lights and sockets from the RPi?

szygmon 558 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18028150
    szygmon
    Level 10  
    Hello.
    I am planning to make myself a smart home. My question is about bistable relays. I would like to make a light controlled normally by a bell button - on/off with the possibility to switch this relay on/off via RPi. The idea is that I can control the light manually as well as from my mobile phone. I have Domoticz installed on the RPi. What kind of relay can I use? It can be to the bus where the fuses are.

    I would also like to control the sockets. Previously I had remote controlled sockets connected to the RFID transmitter in the RPI. Maybe it would also be possible to just give them through a relay?

    I'm quite familiar with RPi, I just don't know what relays to choose to make everything work as it should.
  • ADVERTISEMENT
  • #2 18029393
    xury
    Automation specialist
    How would this be controlled via the RPi?
    Using GPIO or over LAN/Wifi?
    The easiest way is to use cheap Sonoff Basic, Sonoff Touch and Sonoff socket modules, e.g. S20, and control everything over wifi.
    If you use GPIO, you need to bear in mind that the maximum current is 16mA and the voltage is 3.3V.
    So you need to use a key transistor, which will then drive the relay.
ADVERTISEMENT