logo elektroda
logo elektroda
X
logo elektroda

ESPHome Staircase Switch Project: Light-On Detection with ACS712 Sensor

exey 618 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21079877
    exey
    Level 10  
    Staircase switch project on ESPHome. AC 230V light circuit with two stair switches.
    Diagram of a lighting circuit with two stair switches and a bistable relay.
    Access is only to the box marked with the white square. I want to replace one stair switch with a bistable relay, the other switch is to stay as it is.
    How do I do the detection that the light is on? I am considering a current sensor (e.g. ACS712) between the power source and the bi-stable relay.
  • ADVERTISEMENT
  • #2 21080029
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #3 21081074
    exey
    Level 10  

    I was considering a comparator and only from the comparator to the ESP32.
    If anyone has a suggestion for another sensor or any other concept for the aforementioned problem then my ears are humbly open. :) .
  • #4 21081108
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #5 21081557
    exey
    Level 10  

    @jarzabek666
    Develop your thought, because I don't get where and how you want to measure voltage.
  • ADVERTISEMENT
  • #6 21081576
    Anonymous
    Level 1  
  • #7 21082365
    exey
    Level 10  

    By the way, the ACS712 comes in several versions. The 5A version has 800mV/A.

Topic summary

The discussion revolves around implementing a staircase switch project using ESPHome, focusing on light-on detection with an ACS712 current sensor. The user aims to replace one stair switch with a bistable relay while keeping the other switch unchanged. Concerns were raised about the ACS712's sensitivity, particularly when detecting low currents from LED bulbs, which may require an amplifier for accurate readings. Suggestions included using a comparator to interface with the ESP32 and exploring optoisolators for current detection. The ACS712's different versions, such as the 5A variant, were also mentioned, highlighting their varying output characteristics.
Summary generated by the language model.
ADVERTISEMENT