Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNZB-03 Sonoff Motion Sensor Support missing - similar to SNZB-03P #8216

Open
meahtr81 opened this issue Oct 29, 2024 · 2 comments
Open

SNZB-03 Sonoff Motion Sensor Support missing - similar to SNZB-03P #8216

meahtr81 opened this issue Oct 29, 2024 · 2 comments

Comments

@meahtr81
Copy link

The SONOFF Motion Sensor **SNZB-03" provides 5 entities via Zigbee similar to the SNZB-03P

The SNZB-03 is currently not supported and i get an error message:

z2m: 0x00124b002fb3543b (0x00124b002fb3543b): Not supported (unknown)

moreover the z2m:mqtt MQTT puplish: topic 'symcon/zigbee2mqtt/devices' payload shows the light sensors as good but not the motion sensor. See below typed in from a another pc so some typos could be possible.
{"ieeeAddr" : "0x00124b002fb3543b", "type": "unknown", "network address": 54618, "model": "Unknown Model", "vendor": "Unknown Vendor", "description": "No Description"}

The values the sensor should provide are the following:

- Battery Level in %
- Battery Low State
- Link Qualitiy
- Motion Detect
- Temper Value

can it be included? This would be great. How can is support with data of the device?

@meahtr81
Copy link
Author

I found in the portion of the devices the SNZB-03P what needs to be adapted for SNZB-03?

zigbeeModel: ['SNZB-03P'],
model: 'SNZB-03P',
vendor: 'SONOFF',
description: 'Zigbee PIR sensor',
extend: [
occupancy(),
numeric({
name: 'motion_timeout',
cluster: 0x0406,
attribute: {ID: 0x0020, type: 0x21},
description: 'Unoccupied to occupied delay',
valueMin: 5,
valueMax: 60,
}),
enumLookup({
name: 'illumination',
lookup: {dim: 0, bright: 1},
cluster: 0xfc11,
attribute: {ID: 0x2001, type: 0x20},
zigbeeCommandOptions: {manufacturerCode: Zcl.ManufacturerCode.SHENZHEN_COOLKIT_TECHNOLOGY_CO_LTD},
description: 'Only updated when occupancy is detected',
access: 'STATE',
}),
ota(),
ewelinkBattery(),

@Great-Chart
Copy link

I have the SNZB-03 device working and bothe the P and non-P versions are supported.
https://www.zigbee2mqtt.io/supported-devices/#v=SONOFF&s=Snzb-03

It may be that your device did not complete pairing?
Perhaps remove it and retry?
End devices (battery ones) can be a bit fussy. If in doubt do it near the coordinator (but it might need to be re-paired at its point of use later).

It is often necessary to change batteries too but I've had mine in use for a year or more and not gad any real issues. Other devices that are slow to pair and didn't fully complete the process usually will connect if given time (or a better signal / route).
Maybe add a screenshot of the error for context if it continues.
Remember battery devices can need to be woken up / kept awake under certain scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants