This is something I was a little bit excited for. It seems it’s difficult to get hold of but I am happy that I have. I will start with the unbox and add to Home Assistant video, then will build on some of the points raised at the end of the video.
One of the idea’s that I raised in the video was automated testing. After finding the command for testing in the Hubitat Groovy driver, I was able to then use the ZHA Set Zigbee Cluster Attribute service to initiate a test. The data required is:
ieee: 00:0d:6f:00:05:7d:2d:34 endpoint_id: 1 cluster_id: 1280 attribute: 65521 value: 50397184 manufacturer: 4447
A few moments after calling the service, you will hear the sensor beep indicating it’s still alive and kicking. Simple enough, but lets make this a smart process. Automate it:
- id: '1615200293010' alias: Test Smoke Alarm description: '' trigger: - platform: time at: 09:15:00 condition: - condition: time weekday: - mon action: - service: tts.microsoft_say data: entity_id: media_player.local_md_12 message: Testing smoke detector, do not be alarmed and listen for the beep - service: zha.set_zigbee_cluster_attribute data: ieee: 00:0d:6f:00:05:7d:2d:34 endpoint_id: 1 cluster_id: 1280 attribute: 65521 value: 50397184 manufacturer: 4447 mode: single
This will go through and make an announcement on the small Bluetooth speaker that I set up in a previous post stating the alarm test will begin and advising to listen out for the beep. It’s scheduled to happen once a week on a Monday at 09:15.
If I manage to get hold of more of these, I will run through a cycle and announce which alarm is being tested so I know where to listen out for.
Below are two alarms, first one triggers when the battery is at 15%, basically prompting me to make sure I have a CR123 battery ready, the second is firing at 5% to basically swap it out. After all, the last thing I need is for it to hit 1%, go to fire off and then die so switch it out before it’s flat.
- id: '1615201825594' alias: Smoke Alarm - Battery low alert description: '' trigger: - type: battery_level platform: device device_id: 41073bd34f7c1a9f1f3f71a6c7ab2fe6 entity_id: sensor.lumi_lumi_sensor_smoke_power domain: sensor below: 15 condition:  action: - service: notify.mobile_app_sm_g977b data: message: BATTERY LOW! Smoke Detector data: subject: Battery Low channel: smokesensor mode: single - id: '1615201966738' alias: 'Smoke Alarm - Battery Critical ' description: '' trigger: - type: battery_level platform: device device_id: 41073bd34f7c1a9f1f3f71a6c7ab2fe6 entity_id: sensor.lumi_lumi_sensor_smoke_power domain: sensor below: 5 condition:  action: - service: notify.mobile_app_sm_g977b data: message: BATTERY CRITICAL! Smoke Detector data: subject: Battery Critical channel: smokesensor importance: high mode: single