Making a "normal" Motion Sensor Zigbee smart via relay

Hi everyone,

My goal is pretty simple: I have a “usual” motion sensor that, when motion detected, usually turns the lights on (meaning sending power through a cable). No as this one is tiny and no native zigbee version exist my plan was to connect it to a Zigbee light switch relais. When the relay receives the power from the motion sensor via S1 (the “manual switch” input"), it should think that the light is now and repot this to the ZigBee command central. From there, I could do whatever I want (group it with other lights etc).

My first try was with a Soonoff MiniZB switch. Luckily, before pluging it in, I noticed that their S1 does expect 3.3V (and not 220V from my motion sensor). So moving on to the Bosch Light/shutter control unit 2.

The wiring looks pretty simple to me (see picture, blue is N, brown is L), the S1 receives power from the motion sensor once it turnes on - but then, nothing happens, the Bosch relay does not send any command to HA…

What am I missing…!?

Thanks for any help!

Welcome!

The manual PDF is stating you have to set the type before it issues commands.
Page 9: If the device has not been configured for shading or light, the inputs S1/S2 do not issue any switching commands.
Page 12: If the module has not been paired with the Smart Home controller and
configured with the light control unit function, the inputs S1/S2 do not trigger any switch commands.

My guess is, that’s what Device type does in Z2M.

Big thanks @Nerivec for pointing me to the right direction!

This guide here has done the trick for me on ZHA: https://github.com/zigpy/zha-device-handlers/issues/2518

Pro-Tip: Read to the end :wink:

1 Like