Frient/Develco smoke detector - can't turn off alarm with switch
What happened
Since recently sirens are exposed to Home assistant as switches. Tried that function right now with some Frient smoke detectors. When I toggle the switch in Home assistant, the switch just toggles back directly to off. The alarm goes on, but I cannot turn it off with the switch, since it's already off according to the UI. Have some Tuya sirens as well, and they behave just fine.
Debug Received MQTT message on 'zigbee2mqtt/Brandvarnare hall/set/alarm' with data 'START'
Debug info
Zigbee2MQTT version: 1.21.0-dev commit: 33ee9f7 Adapter hardware: Zzh Adapter firmware version: 20210120
Updated to 1.21.0-dev commit: f9451ff which has several fixes to the smoke detector https://github.com/Koenkk/zigbee-herdsman-converters/pull/2895, however it didn't solve the HA switch.
@theStigh (sorry for tagging you on all my Develco/Frient issues), do you run Home assistant? Have you experienced the same?
Updated to 1.21.0-dev commit: f9451ff which has several fixes to the smoke detector Koenkk/zigbee-herdsman-converters#2895, however it didn't solve the HA switch.
@TheStigh (sorry for tagging you on all my Develco/Frient issues), do you run Home assistant? Have you experienced the same?
Yes, using Home Assistant. I've made a custom switch sending the payload "alarm": "START" and "alarm": "OFF" for single devices.
It appear as a switch in the Z2M UI -> exposes but does the same here.
@Koenkk How can I resolve this? Remember earlier where a binary became a switch, can this be related to that change?
Since I have several siren entities my plan is to put everyone in the same HA area. Then I think I would be able to use the service homeassistant.turn_on and trigger all sirens in the "siren area" without creating actions for all separate sirens.
The switch in Z2M UI works just fine.
Or you could use an automation to trigger all if a singe one are triggered (just work with actual smoke alarm, not the "alarm" :"START")
Develco HESZB-120 fire detector doesn't expose siren as a switch in HA.. Am i missing something? Converters where updated only for the develco smoke detector?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
Still not solved. Am on 1.21.1-dev commit: 738b241.
@mamrai1 My heat detectors are exposes as switches in HA as well and have the same issue.
Since I have several siren entities my plan is to put everyone in the same HA area. Then I think I would be able to use the service
homeassistant.turn_onand trigger all sirens in the "siren area" without creating actions for all separate sirens.The switch in Z2M UI works just fine.
I think the homeassistant.turn_on only support zwave for now...
Since I have several siren entities my plan is to put everyone in the same HA area. Then I think I would be able to use the service
homeassistant.turn_onand trigger all sirens in the "siren area" without creating actions for all separate sirens. The switch in Z2M UI works just fine.I think the
homeassistant.turn_ononly support zwave for now...
Obviously it is possible to run both homeassistant.turn_on and homeassistant.turn_off t
on those switch entities already. It is working even though the switch show wrong status in HA UI.
@rindlerblabla Can I ask how often your smoke sensors are reporting to zigbee2mqtt? I have one smoke and two heat sensors and log are full of messages from them. In two weeks reported voltage dropped from 3200 to 3000.
One sensor (grep enrolled): `
info 2021-10-01 15:53:05: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 15:54:45: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 15:59:45: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:03:06: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:04:45: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:09:46: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:13:06: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:14:46: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:15:00: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:19:46: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:23:07: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:24:46: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:29:47: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:33:07: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', info 2021-10-01 16:34:47: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled',
All of them:
info 2021-10-01 16:19:46: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', payload 'true' info 2021-10-01 16:20:28: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:20:45: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:20:45: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:22:36: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:22:36: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:23:07: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', payload 'true' info 2021-10-01 16:23:25: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:24:46: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', payload 'true' info 2021-10-01 16:25:45: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:25:45: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:25:46: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:27:36: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:27:36: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:29:47: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', payload 'true' info 2021-10-01 16:30:28: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:30:45: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:30:45: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:32:36: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:32:36: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:33:07: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', payload 'true' info 2021-10-01 16:34:34: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:34:47: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', payload 'true' info 2021-10-01 16:35:45: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:35:45: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:35:46: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:37:36: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:37:36: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:39:47: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', payload 'true' info 2021-10-01 16:40:28: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:40:46: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:40:46: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm2/enrolled', payload 'true' info 2021-10-01 16:42:37: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:42:37: MQTT publish: topic 'zigbee2mqtt/FrientHeatAlarm1/enrolled', payload 'true' info 2021-10-01 16:43:08: MQTT publish: topic 'zigbee2mqtt/FrientSmokeAlarm1/enrolled', payload 'true' `
@artur3 Guess mine are updating with about the same interval. Set up a counter and in one hour it updated 21 times.

@rindlerblabla No problems with battery life?
Dot know yet. Have only had them for about 3 months. The one reporting lowest value is now at 2900V.
Maybe the temperature of the area you installed them changes too frequently.. Check that. You can change minimum interval and/or temperature change
On Fri, 1 Oct 2021, 20:38 rindlerblabla, @.***> wrote:
Dot know yet. Have only had them for about 3 months. The one reporting lowest value is now at 2900V.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/8321#issuecomment-932428550, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVCNGFDQWIWWFSVFRM2DNTUEXWZBANCNFSM5B32ZWTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
~~Seems like changing reporting interval from the UI is broken for me though. Just get error Error Request 'zigbee2mqtt/bridge/request/device/configure_reporting' failed with error: 'Device 'Brandvarnare garaget/38' does not exist'. Seems like it is adding the endpoint value but don't know if it really should.~~
Obviously this is fixed. https://github.com/nurikk/zigbee2mqtt-frontend/issues/874
@mamrai1 Many reports have same temperature.
zigbee-herdsman-converters/devices/develco.js
await reporting.temperature(endpoint2, {min: constants.repInterval.MINUTE, max: constants.repInterval.MINUTES_10, change: 10});
How to understand min max values? Reports in intervals one to ten minutes?

Can this be changed directly in zigbee2mqtt configuration file? I'm using openHAB with zigbee2mqtt on Debian VM.
Zigbee2MQTT has a built-in webbased frontend. To enable the frontend add the following to your configuration.yaml:
frontend:
Optional, default 8080
port: 8080
Optional, default 0.0.0.0
host: 0.0.0.0
Optional, enables authentication, disabled by default
auth_token: your-secret-token
Thanks. I must be blind. I looked at the zigbee2mqtt.io homepage so many times and didn't notice it.