Hello,
As above requested, any chance adding the SONOFF S60ZBTPF to the SONOFF app? I managed to add it as Zigbee device but unfortunately the energy monitoring is now showing.
Hello,
As above requested, any chance adding the SONOFF S60ZBTPF to the SONOFF app? I managed to add it as Zigbee device but unfortunately the energy monitoring is now showing.
Hey.
Sonoff S60ZBTPF (a wall plug with power measuring) nagged me as well.
I’m a bit new to all this but managed to hack up an implementation for this device by reading and learning from the other existing apps. Voltage, current and power show up for me and are updated. The manual switch on the device works and updates the state in homey when pressed.
Find the app here:
This needs a basic amount of understanding on how to clone, build and deploy an app to homey pro, but its relatively straight forward for tech people and is explained in the main homey dev docs.
I’m looking forward to feedback and will try to create pull requests for both existing apps (the community and the “official” one), maybe the maintainers pick this up, but I’m unsure if they are actively working on the stuff at the moment. Also, for the ‘official’ app, the github code is an older version than what is released in the app store. This is kinda odd, and prevents me from creating and testing a patch for the current ‘official’ app version.
SNZB-03P – Illuminance detected only as enum (sonoff_illuminance), no numeric lux value exposed, Flow support missing
Hi,
Thanks for the app.
I am using the Sonoff SNZB-03P with Homey and found limitations in how the illuminance information is exposed by the driver.
Homey does detect a capability called sonoff_illuminance, and it updates correctly whenever the sensor detects motion. However, the reported value is only an enum (bright / dim) and no numeric illuminance (lux) value is provided.
Here is what Homey displays under Capabilities:
alarm_motion boolean false
measure_battery number 100
sonoff_illuminance enum bright
The sonoff_illuminance capability does not appear in any Flow cards (WHEN / AND / THEN).
It is not available in Logic conditions.
Only a binary state (bright / dim) is exposed, which is too limited for real-world lighting automation.
Without a numeric lux value, it is impossible to set adjustable thresholds, dim levels, or adaptive lighting logic.
I would like to use for switch a LED strips depending on ambilight and human movement.
A binary state does not allow fine control (e.g., “dim the lights when lux < 10”, “turn on only when lux < 30”).
The threshold between “bright” and “dark” is fixed and cannot be tuned.
For LED strips and dimmable lights, users often need different reactions at dusk vs full darkness.
Homey automations typically depend on numerical measure_luminance values for precise behavior.
Please expose a numeric illuminance value (lux) from the SNZB-03P, ideally using the standard measure_luminance capability.
Additionally, please expose Flow cards for the existing enum state:
AND: “Illuminance is dark / bright”
(Optional) WHEN: “Illuminance changed”
This would allow the SNZB-03P to be used as intended (motion + ambient light–based automation), with adjustable thresholds and adaptive dimming.
Homey already receives the illuminance-related data — the driver only needs to expose it in a usable way.
Thank you!
Hi Labi and welcome to the Homey Community Forum.
Your request is exemplary. It would be great if other users would also make such an effort and provide data as you have done. ![]()
But the problem is that the SONOFF Zigbee Motion Sensor SNZB-03P doesn’t provide luminance values in lux, afaik. It can only distinguish between Bright and Dim. If I remember correctly, the threshold is around 200 lux.
Even the eWeLink platform only provides Bright and Dim, just like other platforms:
Here an additional info from Zigbee2MQTT:
Hi!
Thanks for the answer.
I experienced the same thing.
Script managed to achieve the Illiminance capability.
But it would be nice if they could somehow provide the lux value or set the threshold value for the Bright/Dim value.
Regards,
Labi
I guess you didn’t understand what I meant.
I firmly believe that it’s a hardware limitation, not a missing software implementation.
In my opinion, the only thing that would be possible is to check the brightness status (dark or bright) via a Flow card.
Are you sure that this isn’t already possible?
My sensor is added via Zigbee2MQTT, so I can’t check at the moment whether it’s already possible with Homey SONOFF Zigbee or the Homey Sonoff app.
Ohh, thank you very much.
I was able to check the Bright/Dark using a script. That works fine. My problem was that it was not enough for what I had in mind.
I think the solution is to find another tool that can accurately measure the brightness.
Thanks
Just for your information, the “official” Homey Sonoff App provides the Bright/Dark flow card: