Closed roblomq closed 1 year ago
@roblomq are you using home assistant integration? If so you should open an issue in their repo, I have no control on devices created there
I'm using the auto discovery function in Domoticz. But in the home assistant settings in Zwave-JS-UI are only 3 devices, battery level, battery empty and temperature. So I assumed that as the smoke alarm switch is not in this menu it will not be created in auto discovery and therefore the source it's missing is in Zwave-JS-UI.
Ok so you are using mqtt discovery (you didn't mention it on your issue). In that case you can do a manual discovery of missing devices, check: https://zwave-js.github.io/zwave-js-ui/#/homeassistant/homeassistant-mqtt
I'm sorry, I've red the documentation several times and also googled on it but I have no clue what to do. The device works fine and the battery status and temperature is updated regularly but I'm missing the switches (one for the Enclosure opening and one for the actual smoke alarm). I think I have to look in the custom components section of the above link. But where is the customDevices.js located (I used docker for the installation of zwavejs2mqtt)?
I have the node ID (271-4099-3074) but then what?
I found most surprising that this isn't already working. The Fibaro smoke sensors are widely used and for me it's quite logic to have something triggered in your home automation system when there is a fire detected....
Sorry for my late reply.
Click on a node in the table and go to home hassistant tab, there you should find all the sensors discovered, if them are there you should ask to domoticz devs to help you understand why them are not present in domoticz as I never used it
The ones that are listed there are shown in Domoticz. But there are only 3 devices listed on the Homeassistant tab, as shown below.
COud you tell me the exact valueId that you would like to have discovered? Maybe it is handled as a notification, in that case a discovered value is not created automatically for that valueId.
Check https://zwave-js.github.io/zwave-js-ui/#/guide/mqtt?id=node-notifications
I don't know what the valueId is because it is not listed, or is there another way to find this besides the debug info? What Would be nice is if the things below where discovered
I don't know what the valueId is because it is not listed
As I said, if it's not listed, it's a node notification. You should handle it manually, If you go to node events tab you will see the events that are triggered by the node, then identify the topic using mqtt explorer and create the entity on domoticz
There are moments that I feel stupid, this is such a moment. You are trying to make things clear for me but I don't understand what. You suggest I need to do something manually but if there are no values other than the above shown 3, what do I need to handle manually?
When I go to the ZWaveJS2MQTT control panel, scroll to the Fibaro Smoke sensor and click on the events tab, there is only the "Air temperature" listed. No other values are listed even when I remove the sensor from it's socket so the "Enclosure open" is triggered. Also not when I rediscover the node or update the values.
So because there is nothing shown in ZWaveJS2MQTT I doubt highly there is something send to MQTT ut to be sure I checked also but as expected only the 3 values that are listed in the "Home assistant" tab are shown in MQTT Explorer.
When I go to the ZWaveJS2MQTT control panel, scroll to the Fibaro Smoke sensor and click on the events tab, there is only the "Air temperature" listed.
If so there must be a problem and the notification is not correctly handled/catched by zwave-js driver. Could you upload zwave-js driver logs please?
@AlCalzone @kpine is there any known bugs with fibaro smoke sensor?
zwavejs_2022-12-27.zip NodeID 4 and 11 are Fibaro smoke sensors.
These logs don't contain any information. You should preform a re-interview of one of the problematic devices and upload the logs that capture that. Also, you probably should also upload the Node Debug Info for one of the devices (after the re-interview).
zwavejs2mqtt-store.zip I hope this one is better... I re-interviewed node 011
The device does not report any support for Notification CC, which would be how smoke alarms are reported:
2022-12-27T17:16:11.880Z CNTRLR « [Node 011] node info received
supported CCs:
· Z-Wave Plus Info
· Version
· Manufacturer Specific
· Association Group Information
· Powerlevel
· Battery
· Application Status
· Multilevel Sensor
· CRC-16 Encapsulation
· Security
· Firmware Update Meta Data
controlled CCs:
But it could be because of this failure:
2022-12-27T17:16:11.914Z CNTRLR » [Node 011] Querying securely supported commands (S0)...
2022-12-27T17:16:11.963Z SERIAL » 0x010900130b029840254253 (11 bytes)
<...>
2022-12-27T17:16:13.205Z CNTRLR [Node 011] Timed out while waiting for a response from the node (ZW0201)
2022-12-27T17:16:13.208Z CNTRLR [Node 011] Querying securely supported commands (S0) timed out
Notification CC might only be supported with Security if included that way, I don't know. But the device is failing to respond.
Did you change your security keys or anything? How did you include it, by Default strategy, or did you force inclusion? You might try excluding and re-including. I'm not sure why the device would fail to respond to the S0 supported commands request, other than a key mismatch.
I added it with the option "Force security", I did a test, when I use that option then I only get the 3 devices I mentioned earlier. When I include it without the "Force security" I get all the devices I expected (see below). But now there is no security used, I'm not sure if that's a problem but it sounds less secure :-) I also included the logs. zwavejs2mqtt-store (2).zip
There should be a way to put device in secure inclusion mode instead normal inclusion mode (at least some devices could work like this), do you have all the Security keys correctly set on settings?
Yes I have all 4 security keys set (generated at installation of zwavejs2mqtt). Other devices work with security on.
Try to check in device manual if there is a special combination of keys to press in order to put it in secure inclusion
Another thing I can imagine is that the device does not reset its stored security keys after excluding, but they are different than the ones configured in Z-Wave JS. Try exclusion, factory reset, then include again.
In OZW I had several more devices, now I only have
Is it possible to add a device that switched when the alarm goes? And maybe also a switch that could turn it off again.
The debug info of the smoke detector is: