Closed mnadvornik closed 8 months ago
Has there been any update regarding this? I'm trying to make the Bosch Smoke Alarm II work with deCONZ but it won't even connect.
On another note: were you able to integrate the Bosch Smoke Alarm II into Home Assistant using Boschs smart home coordinator maybe?
I would be interested in this feature, too.
@Schnabulation as I don't have a Bosch Smart Home Controller I dont't know if all features would be supported that way. But zigpy does currently support reading smoke alarm status and battery status. I don't know which zigpy update added the basic compatiblity but it was not long after opening this issue. It would be very nice if we could be able to trigger the smoke alarm via zigbee as this is a feature available when using the official controller and app from Bosch
Hello @mnadvornik,
how should it look like? How my device looks: I get no Battery status and if i press the test button, the sensor stays at off.. Thx.
@011V32 : Hi, I've also 7 of those at home connected through ZHA. It seems if you don't see a battery your pairing was not 100% successful.
I've "Factory Reset" those according to the manual and started the pairing again.
Afterwards they worked fine.
Hello @kfroeschl,
Thx. Now I see the battery status. 👍 What shoud "Identify" and "laszone" do? If I press the smoke alarm, i can hear the alarm, but no status is raised in HA? (If I press Identity nothing happend?) Thx
@011V32 : "Identify": Lets the red light of the sensor blink twice. "iaszone": "Clear": No Smoke, "Dedected": Smoke. I've used it for an automation to send a Notification to the phone if it would detect anything. Though I've never triggered them with real smoke so far.
Just so you know: pressing the smoke alarm manually does not trigger the sensor. This is the same if using the Bosch SHC.
I was able to make them sound the alarm by calling the IasZone/init_test_mode command
This could also be called from a service if required. Though I would need to read the actual Zigbee IasZone Cluster Specification to know what SHC is calling to sound the alarm.
I do not have init_test_mode, but zone_status
with the same ID?
wrong tab:
My mistake. Sry
Something is still not right. The Last Seen is when I paired the device. When I run Identify, there is something in the log, but nothing flashes on the device.
When I run the test command I get the following error:
I've also tried putting the device right next to the stick... with no success
I would guess your paring was still not successful.
I had a similar behavior for some of my Devices. The device needs to "CheckIn" once an hour and update the "Last Seen". Like it is now in your screenshot you will loose the information in some hours.
You may try again:
I hope i remembered all steps correctly.
All good things are 3. :P LQI and RSSI is only displayed under Device Info and not under Diagnostic?
you can disable/enable specific entities.
enabling those would also keep their history which normally makes little sense. (except error diagnosis maybe)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
May I ask guys: were you able to integrate with or without Bosch Smart Home Controller?
without.
with "Bosch Smart Home Controller" would require a different integration (Bosch SHC i guess)
Ok thanks. Then I'll try the smoke alarm with my Conbee III and ZHA later. Will provide feedback here.
Not successful, pairing didn't work since ZHA was not able to find the smoke alarm. Tested with Conbee III stick.
I am using a Sonoff Zigbee Bridge connected to Home Assistant ZHA without any issues. The only thing missing is manually triggering the alarm
are you using the bridge pro or stick? if bridge pro: just directly connected to your computer running HA via usb?
are you using the bridge pro or stick? if bridge pro: just directly connected to your computer running HA via usb?
This one: https://sonoff.tech/product/gateway-and-sensors/zbbridge/ Using Tasmota as Firmware and EZSP protocol
imo the smoke detector should theoretically work with any hardware supported by zigpy / zha. I don't know if the Bosch smoke detector supports Zigbee 2 but since your Conbee III seems to support Zigbee 3.0 this shouldn't be the issue. Are you sure you tried the paring with the correct install code printed on the smoke detector?
can you maybe please elaborate on this:
Pairing worked fine by invoking zha.permit and then connecting the battery
How do I invoke zha.permit?
can you maybe please elaborate on this:
Pairing worked fine by invoking zha.permit and then connecting the battery
How do I invoke zha.permit?
It is explained in the documentation: https://www.home-assistant.io/integrations/zha/#service-zhapermit
I haven't found a simple tutorial but it really isn't more than calling the service via the developer tools using the data on the device (or packaging, can't remember). Seems like there is a QR code feature now so if there is a qr code on the smoke detector you can use that instead of the address and install code (don't want to unmount mine from the ceiling to check)
Thanks a lot, will give it another try tomorrow and provide feedback.
After filling in the details, the service won't start: Fehler beim Aufrufen des Diensts zha.permit. Unknown error 👎
can you paste the ha-logs in the chat?
btw. i don't remember filing out 2 IEEE back then but only one. (Only "Quelle IEEE" and "Installationscode")
I also did't use the dashes ("-") in the "Installationscode" (since i pasted the values from the QR code scanner and deleted the rest)
I tested also with qr code only (without quelle IEEE and installationscode). There were several error logs then:
Logger: homeassistant.helpers.script.websocket_api_script
Quelle: helpers/script.py:1805
Erstmals aufgetreten: 07:40:25 (15 Vorkommnisse)
Zuletzt protokolliert: 07:53:02
websocket_api script: Error executing script. Invalid data for call_service at pos 1: some but not all values in the same group of inclusion 'install_code' @ data[<install_code>]
websocket_api script: Error executing script. Invalid data for call_service at pos 1: some but not all values in the same group of inclusion 'install_code' @ data[<install_code>]
other error log:
[547600176832] Error handling message: some but not all values in the same group of inclusion 'install_code' @ data[<install_code>]. Got None (invalid_format) SH9 from 127.0.0.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36)
and another error log:
Logger: homeassistant.components.websocket_api.http.connection
Quelle: components/zha/websocket_api.py:1257
Integration: Home Assistant WebSocket API ([Dokumentation](https://www.home-assistant.io/integrations/websocket_api), [Probleme](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
Erstmals aufgetreten: 07:27:48 (35 Vorkommnisse)
Zuletzt protokolliert: 08:02:42
[547628093632] Error handling message: Unknown error (unknown_error) SH9 from 127.0.0.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36)
[547600176832] Error handling message: Unknown error (unknown_error) SH9 from 127.0.0.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 795, in handle_execute_script
script_result = await script_obj.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1600, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 435, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 487, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 512, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 485, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 723, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 685, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in _async_admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py", line 1257, in permit
await application_controller.permit_with_link_key(
File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/zigbee/application.py", line 115, in permit_with_link_key
await self._api.write_parameter(
File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 849, in write_parameter
await self.send_command(
File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 508, in send_command
return await self._command(cmd, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy_deconz/api.py", line 589, in _command
return await fut
^^^^^^^^^
zigpy_deconz.exception.CommandError: <CommandId.write_parameter: 11>, status: <Status.UNSUPPORTED: 4>
After reading through some github sites, I noted that Conbee sticks simply do not support adding devices via sha.permit yet.
For further details I link to the threads I found helpful:
https://github.com/dresden-elektronik/deconz-serial-protocol/issues/20#issuecomment-1431599456 https://github.com/Koenkk/zigbee2mqtt/issues/17492
Will order a Sonoff 3.0 USB Dongle Plus (P-version) now to check if the problem is solved then.
Conbee III doesn't support install codes. Conbee II I believe does.
I can't confirm, that Bosch smoke detector are working with ZHA&SkyConnect coordinator. I've tried two smoke detectors in my HA-installation. ZHA detects the device and the interview starts, but won't finish, so I couldn't use them in my home. Now I'm looking for other Zigbee-Smoke-Detectors which will working with ZHA&SkyConnect.
I know this one is closed, but for all trying to pair it and land here. I had success pairing it by using the "QR-Code" only.
How I did it:
I hope that helps others...
Note: I was able to trigger the test and retrieve the battery level by using the zigbee commands. I'm not sure if no battery is really an issue of the smoke detector not being added normally or if it just takes time...
Is your feature request related to a problem? Please describe. Pairing works but no controls or sensors are detected
Describe the solution you'd like Would love if we could get this device to work. I think it should be possible to read the alarm status, the battery status and also trigger the alarm.
Device signature - this can be acquired by clicking on the "Zigbee Device Signature" button in the device settings
``` { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information - this can be acquired by clicking on the "Download Diagnostics" button in the device settings
``` { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.5.4", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.9.9", "docker": true, "arch": "x86_64", "timezone": "Europe/Vienna", "os_name": "Linux", "os_version": "5.10.108", "supervisor": "2022.05.1", "host_os": "Home Assistant OS 7.6", "docker_version": "20.10.9", "chassis": "vm", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.24.5", "requirements": [ "aiogithubapi>=21.11.0" ] }, "opensprinkler": { "version": "1.1.8", "requirements": [ "pyopensprinkler==0.7.2" ] }, "alexa_media": { "version": "3.11.3", "requirements": [ "alexapy==1.25.5", "packaging>=20.3", "wrapt>=1.12.1" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.29.0", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.73", "zigpy-deconz==0.16.0", "zigpy==0.45.1", "zigpy-xbee==0.14.0", "zigpy-zigate==0.7.4", "zigpy-znp==0.7.0" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "codeowners": [ "@dmulcahey", "@adminiuga" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" } ], "after_dependencies": [ "usb", "zeroconf" ], "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp" ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 55672, "manufacturer": "Bosch", "model": "RBSH-SD-ZB-EU", "name": "Bosch RBSH-SD-ZB-EU", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4617, "power_source": "Battery or Unknown", "lqi": 148, "rssi": -63, "last_seen": "2022-05-14T02:29:09", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Additional context This is a very newly released product. What I can tell is that it uses Zigbee 3.0. The IEEE Device ID as well as the install code is printed on the inside of the device. Pairing worked fine by invoking zha.permit and then connecting the battery. However no controls or sensors are available. I am happy to perform any testing. I just don't have any in-depth knowledge of the zigbee protocol / zigpy so I don't know where to start