You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same (Candeo Zigbee Dimmer Switches) - Model C202 - Having Different Manufactorers/Vendors, Some Supported, And Some Unsupported (Candeo,Shyugj)
#18024
Closed
maans2001 opened this issue
Jun 14, 2023
· 1 comment
Recently I bought 3 Candeo Zigbee No-Neutral Dimmer Switches,
After I installed the first one, The Device showed up as Unsupported on Zigbee2MQTT
However, I updated Zigbee2MQTT and the device was supported as expected
I then installed the second Dimmer Switch,
this time after I updated Zigbee2MQTT and made sure support was added to the device
This Time, the device again showed up as Unsupported
upon further investigation and comparison between the first and second dimmer switches
I noticed that the First dimmer(supported dimmer) had the following:
Zigbee Model: Candeo Zigbee Dimmer
Zigbee Manufacturer: Candeo
Manufacturer: Candeo
Model: HK-DIM-A
And the second(unsupported) dimmer:
Zigbee Model: HK_DIM_A
Zigbee Manufacturer: Shyugj
Manufacturer: Shyugj
Model: HK_DIM_A
Despite both switches having been bought from the same official candeo website and also at the same time
I find it strange that 2 seemingly identical devices, would report having different manufacturers; Candeo and Shyugj
I have made/modified the following custom converter which seems to have added support to the unsupported device:
constfz=require('zigbee-herdsman-converters/converters/fromZigbee');consttz=require('zigbee-herdsman-converters/converters/toZigbee');constexposes=require('zigbee-herdsman-converters/lib/exposes');constreporting=require('zigbee-herdsman-converters/lib/reporting');constextend=require('zigbee-herdsman-converters/lib/extend');constota=require('zigbee-herdsman-converters/lib/ota');consttuya=require('zigbee-herdsman-converters/lib/tuya');constutils=require('zigbee-herdsman-converters/lib/utils');constglobalStore=require('zigbee-herdsman-converters/lib/store');conste=exposes.presets;constea=exposes.access;constdefinition={zigbeeModel: ['HK_DIM_A'],model: 'HK_DIM_A',vendor: 'Shyugj',description: 'Zigbee LED dimmer smart switch',extend: extend.light_onoff_brightness({noConfigure: true,disableEffect: true}),configure: async(device,coordinatorEndpoint,logger)=>{awaitextend.light_onoff_brightness().configure(device,coordinatorEndpoint,logger);constendpoint=device.getEndpoint(1);awaitreporting.bind(endpoint,coordinatorEndpoint,['genOnOff','genLevelCtrl']);awaitreporting.onOff(endpoint);// The default reporting from the Candeo dimmer can result in a lot of Zigbee traffic// to the extent that reported brighness values can arrive at the endpoint out of order// giving the appearance that the values are jumping around.// Limit the reporting to once a second to give a smoother reporting of brightness.awaitreporting.brightness(endpoint,{min: 1});},};module.exports=definition;
I hope the info I provided is useful in integrating/handling this strange thing on the official Zigbee2MQTT release
What did you expect to happen?
Well, Since I read that there was support for this particular Zigbee No-Neutral Dimmer
I was just expecting that I was on an older version, and updating would fix the issue
Which it did, for the first Dimmer Switch
I expected that the second dimmer switch of the same make and model (as apparent from the box and website and appearance)
Would be paired without issue after I did update to the newest Zigbee2MQTT version
How to reproduce it (minimal and precise)
I see no way of reproducing this, other than buying multiple Candeo Zigbee Dimmer Switches and pairing them, and see if the manufacturer is different.
I do not think the entire log is needed ... but I can give it if you think so
warn 2023-06-14 03:04:55: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:04:58: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:05:01: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:05:04: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:05:07: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:15:08: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:15:09: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:15:12: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:15:15: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:15:18: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
warn 2023-06-14 03:15:21: Received message from unsupported device with Zigbee model 'HK_DIM_A' and manufacturer name 'Shyugj'
The text was updated successfully, but these errors were encountered:
What happened?
Recently I bought 3 Candeo Zigbee No-Neutral Dimmer Switches,
After I installed the first one, The Device showed up as
Unsupported
on Zigbee2MQTTHowever, I updated Zigbee2MQTT and the device was supported as expected
I then installed the second Dimmer Switch,
this time after I updated Zigbee2MQTT and made sure support was added to the device
This Time, the device again showed up as Unsupported
upon further investigation and comparison between the first and second dimmer switches
I noticed that the First dimmer(supported dimmer) had the following:
And the second(unsupported) dimmer:
Despite both switches having been bought from the same official candeo website and also at the same time
I find it strange that 2 seemingly identical devices, would report having different manufacturers;
Candeo
andShyugj
After consulting the Zigbee2MQTT Discord Server
Looking through the official Candeo converter
And finding this pre-release custom converter by @Koenkk in #16613
I have made/modified the following custom converter which seems to have added support to the unsupported device:
I hope the info I provided is useful in integrating/handling this strange thing on the official Zigbee2MQTT release
What did you expect to happen?
Well, Since I read that there was support for this particular Zigbee No-Neutral Dimmer
I was just expecting that I was on an older version, and updating would fix the issue
Which it did, for the first Dimmer Switch
I expected that the second dimmer switch of the same make and model (as apparent from the box and website and appearance)
Would be paired without issue after I did update to the newest Zigbee2MQTT version
How to reproduce it (minimal and precise)
I see no way of reproducing this, other than buying multiple Candeo Zigbee Dimmer Switches
and pairing them, and see if the manufacturer is different.
Zigbee2MQTT version
1.31.2 commit: 21f5125
Adapter firmware version
20220219
Adapter
Sonoff Zigbee Dongle
Debug log
I do not think the entire log is needed ... but I can give it if you think so
The text was updated successfully, but these errors were encountered: