logo elektroda
logo elektroda
X
logo elektroda

Sonoff and Arduino Nano Wireless LED Tape Control With Compact Switch Integration

mivosz 2124 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17263976
    mivosz
    Level 7  
    Hello,
    I am going to install intelligent lighting in my room. The light source is to be led tapes and I want to control them using a sonoff and a flush-mounted switch independently (I switch one on and off with the other and vice versa). The problem is that the power supply to the leds has to be drawn from the switch, i.e. the switch constantly feeds phase and N to the sonoff. I would like to somehow enable the on/off switch to work. I am thinking of wirelessly sending a signal to e.g. an arduino which would interpret the signals from the switch and the sonoff. However, I don't really know how to do this, because while I have space for arduino and sonoff, in the case of the switch there is not much space, so I would look for a fairly compact solution. What comes to my mind is arduino nano + bluetooth transmitter + 230V to 12V power supply (needed to power the arduino) but all this is unlikely to fit in the switch box.
    Do you have any more compact ideas to send the signal from the flush mounted switch to the arduino wirelessly? .
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 17264058
    jariko
    Level 17  
    insert a cross-over switch including a change-over relay. Changing the state of the relay turns it on and off in the same way as changing the state of the switch. The relay will fit in the box and the two thin control wires will be connected to the controller.
    You can find a diagram of the staircase circuit here https://www.elektroda.pl/rtvforum/topic2658339.html
  • ADVERTISEMENT
  • #3 17264067
    mawerix123
    Level 39  
    A bit chaotic and little information given but maybe somffy touch and wireless and switch.



    .
  • ADVERTISEMENT
  • #4 17264131
    kood
    CCTV and Stationary Alarms specialist
    Zamel ROW-02, you have the ability to control via the supla app on your phone and in addition the button input, from the app from anywhere there is internet you can check if the light is on or not, everything fits in the box under the switch.
  • #5 17264366
    pol102
    VIP Meritorious for electroda.pl
    Fellow @kood, you should probably add a few 'buts' though. A pocket would be best, if there is a regular PK60 plate it won't work. Same situation with old black cans. In deep PK60 you have to strain hard to do it according to the art....
  • ADVERTISEMENT
  • #6 17264379
    mivosz
    Level 7  
    jariko wrote:
    insert cross-over switch including toggle relay. Changing the state of the relay switches on and off in the same way as changing the state of the switch. The relay will fit in the box and the two thin control wires will be connected to the controller.
    You can find a diagram of the staircase circuit here https://www.elektroda.pl/rtvforum/topic2658339.html

    Thanks for the suggestion, but I just wanted to avoid pulling the wires because it's about 5 metres and I would still have to run them in a strip to make it look like something. I would prefer to avoid this.
  • #7 17305134
    xury
    Automation specialist
    It all depends on whether you have two free wires in the box to connect to the sonoff button with.
    Install easyesp on the sonoff and write a short script for rules. Alternatively, you can use the tasmot software and do not need to add anything there. Remote control via wifi using e.g. url or mqtt.
    You can also connect to e.g. domoticz.

Topic summary

The discussion addresses controlling LED tape lighting using a Sonoff device and a flush-mounted switch with independent on/off control, where the LED power supply is drawn from the switch. A key challenge is enabling the switch to function without extensive wiring changes or bulky components in the switch box. Suggested solutions include using a crossover switch with a change-over relay to replicate switch states via thin control wires connected to the controller, referencing a staircase circuit diagram. Another approach involves installing a compact Zamel ROW-02 module under the switch, which supports wireless control via the Supla app and physical button input, fitting within standard switch boxes. For wireless signaling, options like Arduino Nano with Bluetooth and a 230V to 12V power supply were considered but deemed too large for the switch box. Alternatives include using Sonoff firmware modifications such as EasyESP or Tasmota to enable Wi-Fi control and integration with home automation platforms like Domoticz, provided there are free wires available for button connection. The importance of switch box depth and type (e.g., PK60 plates) is noted as a constraint for fitting additional hardware.
Summary generated by the language model.
ADVERTISEMENT