SONOFF Zigbee Human Presence Sensor | SNZB-06P

Hi,

Here’s an update after getting it to work in Homey.

1) Pairing
I paired the sensor with HomeAssistant (via Sonoff Zigbee Dongle 3.0 / ZHA). This was pretty straightforward.
Details here:
How SONOFF Works with Home Assistant - SONOFF Official

Just a note: I did not use the Sonoff app eWeLink. I added the sensor directly in HA.

2) Firmware Upgrade
The factory firmware version was 1.0.3, which seems to be buggy according to online feedback.
I upgraded the firmware to 1.0.5 via HA by following the official Sonoff docs, here:
SNZB-06P Firmware Upgrade and Home Assistant Operation Guide - SONOFF Official

3) From HA to Homey
I installed the HomeAssistant App in Homey and added a new Device. The Sensor was immediately “discovered” and easily added to Homey.

4) Capabilities
The sensor has two main capabilities: motion alarm (alarm_occupancy) and occupancy alarm (alarm_motion)

In HA:
image

In Homey:
image

As seen in the images above, only the Occupancy alarm is triggered. The motion alarm was never triggered.

5) Available cards in Homey
Unfortunately, in Homey flows there’s only a ‘When’ card for Motion alarm and not for Occupancy alarm.

This meant I could not create a simple flow to turn on a light when the occupancy alarm was triggered.

6) Workaround
The workaround was to create an advanced flow, in which I can use a ‘And’ Logic card to check the Occupancy alarm state every second.

This works well. Not the “nicest” approach as it’s a periodic-status-check instead of event triggered, but it’s the simpler I could find without having to go into HomeyScript or developing an App (I’m a newbie to Homey).

I hope this can help whoever may need to use this sensor before it’s supported in an App.

Cheers,
Ricardo