zwave-js / node-zwave-js

Z-Wave driver written entirely in JavaScript/TypeScript
https://zwave-js.github.io/node-zwave-js/
MIT License
750 stars 602 forks source link

[question] My switch does not work in v7.0.0 and later versions. #5132

Closed jsj0318 closed 2 years ago

jsj0318 commented 2 years ago

Hello. First of all, I apologize for my poor English.

SWITCH : Dawon DNS Zwave Switch

I am inquiring because the switch that worked well before zwavejs2mqtt v6.14.1 has not been working since the update.

v6.14.1 and earlier debug log (work good)

2022-09-29 08:40:50.575 INFO ZWAVE: Node 39: value updated: 37-1-currentValue false => true 2022-09-29 08:40:50.581 INFO ZWAVE: Node 39: value updated: 37-1-targetValue false => true 2022-09-29 08:40:50.615 INFO ZWAVE: Node 39: value updated: 113-1-alarmType 0 => 0 2022-09-29 08:40:50.619 INFO ZWAVE: Node 39: value updated: 113-1-alarmLevel 0 => 0 2022-09-29 08:40:50.639 INFO ZWAVE: Node 39: value updated: 113-1-Power Management-Mains status 2 => 3 2022-09-29 08:40:52.986 INFO ZWAVE: Node 39: value updated: 37-1-currentValue true => true

v.7.0.0 and later versions debug log (not work)

2022-09-28 16:54:41.269 INFO Z-WAVE: Calling api writeValue with args: [ { nodeId: 39, commandClass: 37, endpoint: 1, property: 'targetValue' }, true, {},

]

The sensor values for that switch are displayed well. Is there anything I need to check? Is there any more information I need to tell you?

Thank you.

robertsLando commented 2 years ago

Please try to re-interview your device

jsj0318 commented 2 years ago

Please try to re-interview your device

I tried it several times, but it didn't work. exclusion and Inclusion same.

robertsLando commented 2 years ago

@jsj0318 Try uploading driver logs so please

AlCalzone commented 2 years ago

Please make a driver log, loglevel debug and attach it here as a file (drag & drop into the text field).

jsj0318 commented 2 years ago

I am attaching the log file you mentioned.

The node number of the non-operating switch is 35, 38, 39, 51. The on-off test was done with node 51.

v6.14.1 (work good) work_good.log

v.8.0.1 (not work) not_work.log

thanks.

AlCalzone commented 2 years ago

Looks like the switch does not actually support Supervision CC, although it probably reports support for it. To disable supervision for that device, I need the device fingerprint (0x...-0x...0x....) that you find in the UI in the device panel.

jsj0318 commented 2 years ago

I don't know if the fingerprint you mentioned is correct, but I attach it.

0x018c-0x0065-0x0001

AlCalzone commented 2 years ago

I don't think we even have a config file for that. Can you show a screenshot how it is currently recognized?

Do you have more info about it, like a manual and a link to the Z-Wave Alliance page for it? I've found those three, but all of them have a different fingerprint: https://products.z-wavealliance.org/products/1607?selectedFrequencyId=17 https://products.z-wavealliance.org/products/2532?selectedFrequencyId=17 https://products.z-wavealliance.org/products/2531?selectedFrequencyId=17

jsj0318 commented 2 years ago

Here's a screenshot

v6.14.1 (work good) work_good

v.8.0.1 (not work) not_work

Product Photo 20221001_144538 translation Product name: Electronic switch Model name: PM-S240-ZW Rating: 220V ~, 60Hz, Light 1200W (600W per circuit) KC certification: HU02100-19003 Identification code: R-C-DaW-SSD-305 Manufacturer: Top Intercube/Vietnam

switch

Manual Photo 20221001_150417

20221001_150433

I can't find in the Z-Wave Alliance.

It's a frequency model in the US.

Hope this helps.

thank you

AlCalzone commented 2 years ago

Should be fixed in the next release. You will have to re-interview the device after updating.

jsj0318 commented 2 years ago

Should be fixed in the next release. You will have to re-interview the device after updating.

Could you also add product types 57-59, 61-66?

LG U+ model : 1switch( prdNo 57), 2switch (prdNo 58), 3switch (prdNo 59)

Frequency Korea model: 1switch(prdNo 61), 2switch(prdNo 62), 3switch(prdNo 63)

Frequency US model: 1switch(prdNo 64), 2switch(prdNo 65), 3switch(prrNo 66)

Thank you for the update.

AlCalzone commented 2 years ago

Same manufacturer ID and product ID (first and third part of the fingerprint)? Also could you give me the full device name for each of those like you did with the other one?

jsj0318 commented 2 years ago

Same manufacturer ID and product ID (first and third part of the fingerprint)? Also could you give me the full device name for each of those like you did with the other one?

Yes. It's Same.

My 3Button Switch Screenshot 3button

Device Name is 1Button: PM-S140-ZW 2Button: PM-S240-ZW 3Button: PM-S340-ZW

I have only 2 buttons and 3 buttons for Frequency US, so I can't check screenshots of other products..