Wiring for standalone PIR sensor

  • I want to attach my waterproof PIR to a Shelly1 so that I can be notified 24/7 of movement on my drive (through a "state change" within Home Assistant.)

    There is no other load (ie a light) on this system.

    The PIR has 3 wires ... N, L and L1 (switched live). When I power it up the L1 wire is only powered when the PIR is activated. This suggests it is working.

    But when I connect it to a Shelly1...

    N > N

    L > L

    SW > L1

    ... nothing happens on the Shelly1. I have set the Shelly1 as follows...

    • Activation Switch - use it for motion sensor. Any input turns "ON" and resets Auto OFF timer.
    • AUTO OFF - When On - Turn Off After 5 seconds

    The Shelly1 is working in all other respects. What might I be doing wrong?

    Thanks!

  • Obviously, the PIR is equipped with some kind of electronic switch, which impedes the very low current (34μA) flowing from pin SW to L to activate the input. Furthermore, the driving voltage for this tiny current is about 3V DC!

    You may try the following:

    (a) A small relay, contact NO and coil voltage 230V AC, coil be attached to L1 of PIR and Neutral. The contact of the relay goes to SW and L.

    (b) Permuting L and N at the terminals of the PIR could be a remedy.

    (c) Proposal (b) plus a very well isolated (!) resistor inserted in the connection between L1 and SW is another means to solve the issue. Wattage of the resistor may be 1/2 W or 1/4W, resistance 500kΩ to 1MΩ.

    „Habt Geduld. Alle Dinge sind schwierig, bevor sie einfach werden!“ (aus Frankreich)

    „Nothing in life is to be feared, it is only to be understood.“ (Marie Curie, 1867-1934)

    „Es reicht nicht“, rief Schiller, „Gedankenfreiheit zu fordern, man muß auch denken können, sonst fordert man Gedankenlosigkeitsfreiheit und die ist die Freiheit zur Dummheit, welche wiederum die schlimmste Unfreiheit überhaupt ist!“
    (Aus „Besuch aus Weimar“ von Gert Heidenreich, Schriftsteller, *1944 in Eberswalde)

  • (c) Proposal (b) plus a very well isolated (!) resistor inserted in the connection between L1 and SW is another means to solve the issue. Wattage of the resistor may be 1/2 W or 1/4W, resistance 500kΩ to 1MΩ.

    Thank you very much for your help - I have made _some_ progress, but am still not quite finished ...

    I have wired in a capload ( see https://www.tlc-direct.co.uk/Products/DNCAPLOAD.html ) as shown in the diagram below. Now, the switched live wire from the PIR is only "hot" when movement is detected (which is what I would want).

    But ... whilst the "state" of the Shelly within Home Assistant changes from off to on when I click on the button within the Shelly app, this state change does NOT occur when the PIR is activated. I have tried using Detached Switch _and_ Activation Switch within the Shelly app, but this doesn't help. I have also tried removing the wire between L and | (left hand vertical brown wire).

    Any ideas how I can change this? I really want the state change to happen when the PIR activates.

    Many thanks!


    7da0b28ec1039b89dd2c783e8d01dad25ddec7a2_2_690x373.png

  • Unfortunately, there exists no means to intercept the push of the button by the app to the on/off state of the Shelly,

    „Habt Geduld. Alle Dinge sind schwierig, bevor sie einfach werden!“ (aus Frankreich)

    „Nothing in life is to be feared, it is only to be understood.“ (Marie Curie, 1867-1934)

    „Es reicht nicht“, rief Schiller, „Gedankenfreiheit zu fordern, man muß auch denken können, sonst fordert man Gedankenlosigkeitsfreiheit und die ist die Freiheit zur Dummheit, welche wiederum die schlimmste Unfreiheit überhaupt ist!“
    (Aus „Besuch aus Weimar“ von Gert Heidenreich, Schriftsteller, *1944 in Eberswalde)

  • OK - that is a shame.

    Would using a ShellyEM or ShellyPM work? Perhaps I could "monitor" the current in the PIR SW wire, and when above a set threshold activate an automation within Home Assistant?

  • Dieses Thema enthält 13 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind, bitte registrieren Sie sich oder melden Sie sich an um diese lesen zu können.