Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

[bug] Doorbell 6 (zw126) cannot change tone or volume #222

Closed
varet80 opened this issue Jan 26, 2020 · 12 comments
Closed

[bug] Doorbell 6 (zw126) cannot change tone or volume #222

varet80 opened this issue Jan 26, 2020 · 12 comments
Assignees
Labels
bug Something isn't working lib problem This problem is not related to this project but to node-openzwave or openzwave library

Comments

@varet80
Copy link
Contributor

varet80 commented Jan 26, 2020

Running 2.1.1 version on docker.

Having an 3 days old Aeotec Doorbell 6. And with the latest firmware. Configuration of Volume/Type of sound seems to not work properly.

Example:
WebUI apply settings for Tamper Alert type to Inactive (67-121-2-3)

Log output

2020-01-26T08:51:36.987Z z2m:App Zwave api call: setValue [ 67, 121, 2, 3, 'Inactive' ]
2020-01-26 08:51:36.989 Info, Node067, Value::Set - COMMAND_CLASS_SOUND_SWITCH - Default Tone - 3 - 2 - Inactive
2020-01-26 08:51:36.990 Detail, Node067, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_MULTI_INSTANCE/CHANNEL
2020-01-26 08:51:36.990 Detail, Node067, Queuing (Send) MultiChannel Encapsulated (instance=2): SoundSwitchCmd_Tones_Config_Set (Node=67): 0x01, 0x0f, 0x00, 0x13, 0x43, 0x08, 0x60, 0x0d, 0x01, 0x01, 0x79, 0x05, 0x64, 0x06, 0x25, 0x29, 0xd7
2020-01-26 08:51:36.991 Detail,
2020-01-26 08:51:36.991 Info, Node067, Processing (Send) Nonce Request message (Callback ID=0x29, Expected Reply=0x04)
2020-01-26 08:51:36.991 Info, Node067, Sending (Send) message (Callback ID=0x02, Expected Reply=0x04) - Nonce_Get(MultiChannel Encapsulated (instance=2): SoundSwitchCmd_Tones_Config_Set) - 0x01, 0x09, 0x00, 0x13, 0x43, 0x02, 0x98, 0x40, 0x05, 0x02:
2020-01-26T08:51:36.991Z z2m:Zwave Success zwave api call setValue
2020-01-26 08:51:36.997 Detail, Node067,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-01-26 08:51:36.997 Detail, Node067,   ZW_SEND_DATA delivered to Z-Wave stack
2020-01-26 08:51:37.015 Detail, Node067,   Received: 0x01, 0x18, 0x00, 0x13, 0x02, 0x00, 0x00, 0x02, 0x00, 0xd8, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x2d
2020-01-26 08:51:37.015 Detail, Node067,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2020-01-26 08:51:37.015 Info, Node067, Request RTT 24 Average Request RTT 166
2020-01-26 08:51:37.015 Detail, Node067, Extended TxStatus: Time: 20, Hops: 0, Rssi:  -40 --- --- --- ---, AckChannel: 0, TxChannel: 0, RouteScheme: Last Working Route, Route: 0 0 0 0, RouteSpeed: 100K, RouteTries: 1, FailedLinkFrom: 0, FailedLinkTo: 0
2020-01-26 08:51:37.033 Detail, Node067,   Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x43, 0x0a, 0x98, 0x80, 0x96, 0x4d, 0xa1, 0xc7, 0x34, 0x25, 0xc3, 0x87, 0xd8, 0x00, 0x88
2020-01-26 08:51:37.033 Info, Node067, Received SecurityCmd_NonceReport from node 67
2020-01-26 08:51:37.033 Info, Node067, Encrypted Flag is 1
2020-01-26 08:51:37.033 Info, Node067, Sending (Send) message (Callback ID=0x2a, Expected Reply=0x04) - MultiChannel Encapsulated (instance=2): SoundSwitchCmd_Tones_Config_Set (Node=67): 0x01, 0x0f, 0x00, 0x13, 0x43, 0x08, 0x60, 0x0d, 0x01, 0x01, 0x79, 0x05, 0x64, 0x06, 0x25, 0x2a, 0xd4
2020-01-26 08:51:37.042 Detail, Node067,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-01-26 08:51:37.043 Detail, Node067,   ZW_SEND_DATA delivered to Z-Wave stack
2020-01-26 08:51:37.063 Detail, Node067,   Received: 0x01, 0x18, 0x00, 0x13, 0x2a, 0x00, 0x00, 0x02, 0x00, 0xd8, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x05
2020-01-26 08:51:37.063 Detail, Node067,   ZW_SEND_DATA Request with callback ID 0x2a received (expected 0x2a)
2020-01-26 08:51:37.064 Info, Node067, Request RTT 73 Average Request RTT 119
2020-01-26 08:51:37.064 Detail, Node067, Extended TxStatus: Time: 20, Hops: 0, Rssi:  -40 --- --- --- ---, AckChannel: 0, TxChannel: 0, RouteScheme: Last Working Route, Route: 0 0 0 0, RouteSpeed: 100K, RouteTries: 1, FailedLinkFrom: 0, FailedLinkTo: 0
2020-01-26 08:51:37.065 Detail, Node067,   Expected callbackId was received
2020-01-26 08:51:46.992 Error, Node067, ERROR: Dropping command, expected response not received after 1 attempt(s). Command: "MultiChannel Encapsulated (instance=2): SoundSwitchCmd_Tones_Config_Set (Node=67): 0x01, 0x0f, 0x00, 0x13, 0x43, 0x08, 0x60, 0x0d, 0x01, 0x01, 0x79, 0x05, 0x64, 0x06, 0x25, 0x2a, 0xd4"
2020-01-26 08:51:46.992 Detail, Node067, Removing current message
2020-01-26 08:51:46.992 Detail, Node067, Notification: Notification - TimeOut
2020-01-26T08:51:46.994Z z2m:Zwave Notification from node 67: Notification - TimeOut (1)

example of volume update doorbell 1:

2020-01-26T08:53:32.704Z z2m:App Zwave api call: setValue [ 67, 121, 3, 2, '6' ]
2020-01-26 08:53:32.707 Info, Node067, Value::Set - COMMAND_CLASS_SOUND_SWITCH - Volume - 2 - 3 - 6
2020-01-26 08:53:32.707 Detail, Node067, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_MULTI_INSTANCE/CHANNEL
2020-01-26 08:53:32.707 Detail, Node067, Queuing (Send) MultiChannel Encapsulated (instance=3): SoundSwitchCmd_Tones_Config_Set (Node=67): 0x01, 0x0f, 0x00, 0x13, 0x43, 0x08, 0x60, 0x0d, 0x01, 0x02, 0x79, 0x05, 0x64, 0x11, 0x25, 0x2b, 0xc1
2020-01-26T08:53:32.708Z z2m:Zwave Success zwave api call setValue
2020-01-26 08:53:32.709 Detail,
2020-01-26 08:53:32.711 Info, Node067, Processing (Send) Nonce Request message (Callback ID=0x2b, Expected Reply=0x04)
2020-01-26 08:53:32.712 Info, Node067, Sending (Send) message (Callback ID=0x02, Expected Reply=0x04) - Nonce_Get(MultiChannel Encapsulated (instance=3): SoundSwitchCmd_Tones_Config_Set) - 0x01, 0x09, 0x00, 0x13, 0x43, 0x02, 0x98, 0x40, 0x05, 0x02:
2020-01-26 08:53:32.719 Detail, Node067,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-01-26 08:53:32.719 Detail, Node067,   ZW_SEND_DATA delivered to Z-Wave stack
2020-01-26 08:53:32.737 Detail, Node067,   Received: 0x01, 0x18, 0x00, 0x13, 0x02, 0x00, 0x00, 0x02, 0x00, 0xda, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x2f
2020-01-26 08:53:32.738 Detail, Node067,   ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2020-01-26 08:53:32.738 Info, Node067, Request RTT 24 Average Request RTT 71
2020-01-26 08:53:32.738 Detail, Node067, Extended TxStatus: Time: 20, Hops: 0, Rssi:  -38 --- --- --- ---, AckChannel: 0, TxChannel: 0, RouteScheme: Last Working Route, Route: 0 0 0 0, RouteSpeed: 100K, RouteTries: 1, FailedLinkFrom: 0, FailedLinkTo: 0
2020-01-26 08:53:32.755 Detail, Node067,   Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x43, 0x0a, 0x98, 0x80, 0x02, 0x29, 0xe1, 0x1a, 0xd9, 0x39, 0x1e, 0x35, 0xda, 0x00, 0x79
2020-01-26 08:53:32.756 Info, Node067, Received SecurityCmd_NonceReport from node 67
2020-01-26 08:53:32.756 Info, Node067, Encrypted Flag is 1
2020-01-26 08:53:32.756 Info, Node067, Sending (Send) message (Callback ID=0x2c, Expected Reply=0x04) - MultiChannel Encapsulated (instance=3): SoundSwitchCmd_Tones_Config_Set (Node=67): 0x01, 0x0f, 0x00, 0x13, 0x43, 0x08, 0x60, 0x0d, 0x01, 0x02, 0x79, 0x05, 0x64, 0x11, 0x25, 0x2c, 0xc6
2020-01-26 08:53:32.766 Detail, Node067,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-01-26 08:53:32.766 Detail, Node067,   ZW_SEND_DATA delivered to Z-Wave stack
2020-01-26 08:53:32.786 Detail, Node067,   Received: 0x01, 0x18, 0x00, 0x13, 0x2c, 0x00, 0x00, 0x02, 0x00, 0xda, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x01
2020-01-26 08:53:32.787 Detail, Node067,   ZW_SEND_DATA Request with callback ID 0x2c received (expected 0x2c)
2020-01-26 08:53:32.787 Info, Node067, Request RTT 73 Average Request RTT 72
2020-01-26 08:53:32.787 Detail, Node067, Extended TxStatus: Time: 20, Hops: 0, Rssi:  -38 --- --- --- ---, AckChannel: 0, TxChannel: 0, RouteScheme: Last Working Route, Route: 0 0 0 0, RouteSpeed: 100K, RouteTries: 1, FailedLinkFrom: 0, FailedLinkTo: 0
2020-01-26 08:53:32.789 Detail, Node067,   Expected callbackId was received
2020-01-26 08:53:42.714 Error, Node067, ERROR: Dropping command, expected response not received after 1 attempt(s). Command: "MultiChannel Encapsulated (instance=3): SoundSwitchCmd_Tones_Config_Set (Node=67): 0x01, 0x0f, 0x00, 0x13, 0x43, 0x08, 0x60, 0x0d, 0x01, 0x02, 0x79, 0x05, 0x64, 0x11, 0x25, 0x2c, 0xc6"
2020-01-26 08:53:42.715 Detail, Node067, Removing current message
2020-01-26 08:53:42.715 Detail, Node067, Notification: Notification - TimeOut
2020-01-26T08:53:42.717Z z2m:Zwave Notification from node 67: Notification - TimeOut (1)

Also should soundSwitch be a parameter accessible by the HASS as a switch/adjustment instead of configuration?
It is a soundswitch ( in light similar is an RGB light or dimmer)
@varet80 varet80 added the bug Something isn't working label Jan 26, 2020
@varet80
Copy link
Contributor Author

varet80 commented Jan 26, 2020

Another small finding. When including secure i do have also some other issues on parameters.

I tried both secure and insecure! both have the same result.

I have a temp network key: "0x76,0x42,0x02,0x4,0xC?,0xBC,0xAB,0x62,0x94,0x??,0x1B,0x3C,0x0D,0x4C,0xDF,0x1F"
(I will re-add devices with new key once problems are over! just sharing this, in case something is wrong) the ? are on purpose to hide some small part.

@Dinth
Copy link
Contributor

Dinth commented Jan 26, 2020

@billiaz This looks like an upstream issue. Can you please log this issue on OpenZwave github and post a link to that thread?
It would be nice to confirm if you're getting similar behavior on different OZW 1.6 frontends, ie. Domoticz beta. But if that's not feasible, lets wait what guys on OZW github will say.

@varet80
Copy link
Contributor Author

varet80 commented Jan 26, 2020

is domoticz beta also use openzwave?

@Dinth
Copy link
Contributor

Dinth commented Jan 26, 2020

yes, its a best way to troubleshoot issues with OZW1.6, as it runs on windows (so you can just pull out the Zwave stick from your server/Raspberry Pi and plug it in to any windows computer).
Just make sure you use beta, as the stable version is still on OZW 1.4 (same as home assistant) and im almost certain that OZW1.4 doesnt even support your siren.

@varet80
Copy link
Contributor Author

varet80 commented Jan 26, 2020

wish I have had a stick, I use the Raspberry hat, due to the need of Extra antenna (external antenna)

But I also use SSD, so I can test with an microsd. Will post if It works there.

@varet80
Copy link
Contributor Author

varet80 commented Jan 26, 2020

@Dinth also Domoticz does the same.

Issue posted in Open-zwave project OpenZWave/open-zwave#2085

@Dinth
Copy link
Contributor

Dinth commented Jan 26, 2020

Thanks for checking. This means that this is definitely an upstream issue.

TBH siren support in OZW was never great, im struggling with former model of Aeotec siren even today - while the siren (emergency sound) is working fine, the notification sound is still not supported.

@varet80
Copy link
Contributor Author

varet80 commented Jan 26, 2020

My understanding (reading the spec) is that SoundSwitch should be a typical entity (in the world of HASS) and been albe to change sound and volume.

If this is not supported, I cannot use the new fancy Bell I bought in order to be able to mute when baby sleeps :\

I will post on the project. What I want also to try, as I see some commits. I want to build OZW from master and use it with zwave2mqtt. Till now I used docker images. I think I need to spend some time to compile everything from source. But do not know where to start from

@Dinth
Copy link
Contributor

Dinth commented Jan 26, 2020

Feel free to experiment with it, the biggest problem with Zwave is that only few understand it and obviously those few people cannot own every device out there.
I would happily migrate to Zwave doorbell, right now im using Google Homes to play a door chime and my Aeotec siren is only hooked up to alarms.

@varet80
Copy link
Contributor Author

varet80 commented Jan 26, 2020

I will poke node-openzwave team to help (if I cannot find it) to build a newer library and plug it. I suspect this is the only piece i need. Or I can use ozwdaemon and try to send commends through it's interface! I will post my findings (if so)

@robertsLando
Copy link
Member

I will poke node-openzwave team

Actually I'm supporting that too as the main author is not that active

This is for sure the best option. It is not that hard. Just follow the steps on the readme :)

https://github.com/OpenZWave/Zwave2Mqtt#nodejs-or-pkg-version

@varet80
Copy link
Contributor Author

varet80 commented Jan 27, 2020

I used also qt-openzwave which comes with 1.6.1019 and I have the same issue

  1. Unencrypted I can see tone names, encrypted has issues
  2. Wrong default values on Tones (per setting)
  3. Same error on volume change

The posted issue on core openzwave has the details: OpenZWave/open-zwave#2085

@robertsLando robertsLando added the lib problem This problem is not related to this project but to node-openzwave or openzwave library label Jan 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working lib problem This problem is not related to this project but to node-openzwave or openzwave library
Projects
None yet
Development

No branches or pull requests

3 participants