-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Develco Smoke Alarm sensor: Temperature & battery not read? #3728
Comments
The reason is that the configure() fails. Please try changing the definition in {
zigbeeModel: ['SMSZB-120'],
model: 'SMSZB-120',
vendor: 'Develco',
description: 'Smoke detector with siren',
supports: 'smoke, warning, temperature',
fromZigbee: [fz.temperature, fz.battery, fz.ias_smoke_alarm_1, fz.ignore_basic_report, fz.ignore_genOta],
toZigbee: [tz.warning],
meta: {configureKey: 1},
configure: async (device, coordinatorEndpoint) => {
const endpoint = device.getEndpoint(35);
await bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'ssIasZone', 'genBasic']);
await configureReporting.batteryVoltage(endpoint);
const endpoint2 = device.getEndpoint(38);
await bind(endpoint2, coordinatorEndpoint, ['msTemperatureMeasurement']);
await configureReporting.temperature(endpoint2);
},
endpoint: (device) => {
return {default: 35};
},
}, See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html on how to modify devices.js |
Hi Koenkk, I modified the devices.js and now it works. Thank you! Can this be updated in the next release, or do I need to submit a pull request? The problem: Wouter |
Added the fix. Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
Hello, |
Bug Report
What happened
I've bought multiple Develco's Smoke Alarm sensors SMSZB-120. I'm able to configure them successfully and trigger the alarm manually, however the temperature and battery values are not read / updated? I have checked the log files (debug mode) when pairing the devices, however I cannot find the reason why the temperature is not showing up.
What did you expect to happen
As the smoke alarm also features a temperature sensor, I would expect to have a temperature reading over MQTT. The same is true for the battery value.
How to reproduce it (minimal and precise)
Each time the smoke alarm gives an update, everything is updated, except the temperatures and the battery values. Example of an update:
zigbee2mqtt:debug 2020-06-10 19:47:48: Received Zigbee message from '0x0015bc00310045ad', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"zonestatus":48,"extendedstatus":0}' from endpoint 35 with groupID 0
zigbee2mqtt:info 2020-06-10 19:47:48: MQTT publish: topic 'zigbee2mqtt/0x0015bc00310045ad', payload '{"voltage":3200,"battery_low":false,"linkquality":68,"enrolled":false,"smoke":false,"tamper":false,"supervision_reports":true,"restore_reports":true,"trouble":false,"ac_status":false}'
Debug Info
Adapter hardware: CC2531
Version of Zigbee2Mqtt: 1.13.1-dev
Coordinator version: 20190608
I attached the develco manual, together with my pairing log.
Thanks for your time!
Wouter
smoke-alarm-technical-manual.pdf
develco.txt
The text was updated successfully, but these errors were encountered: