Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCT5010-0002W detected as CCT5010-0001 with limited functions #14749

Closed
joaquinvacas opened this issue Nov 1, 2022 · 41 comments
Closed

CCT5010-0002W detected as CCT5010-0001 with limited functions #14749

joaquinvacas opened this issue Nov 1, 2022 · 41 comments
Labels
problem Something isn't working stale Stale issues

Comments

@joaquinvacas
Copy link
Sponsor

What happened?

Tried to install a Schneider Electric CCT5010-0002W micro dimmer module with Zigbee2MQTT

Actually it joins, shows all the data like it was joined correctly.

image

But after that, I can't change anything or use the device at all.

I noticed the device has a Install Code printed on it's side.

image

The problem here is when I try to add the install code, this shows instead.

image

How can I get Z2M to support the shorter install code? Or maybe Schneider is hiding some part of the install code that the Wiser app assumes?

Anyway, I can't test it, don't know how to get the "full 95 or 91" install code.

Also, Zigbee2MQTT shows it like a CCT5010-0001 device and not CCT5010-0002W one.

The 2W variant is the updated one, same functions but with bluetooth (didn't need it for joining)

So, here it's joined but after a short time, it shows "Unavailable" like if it was turned off.

What did you expect to happen?

Accept install code to let control the joined device,

How to reproduce it (minimal and precise)

  1. Try to add install code
  2. You get the error showing it's not 95 or 91 char long.
  3. Try to pair anyway
  4. Try to control it, it won't work

Zigbee2MQTT version

1.28

Adapter firmware version

20220219

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus by ITead CC2652P

Debug log

No response

@Koenkk
Copy link
Owner

Koenkk commented Nov 1, 2022

The install code is (AFAIK) only required for joining, and since the device joins fine there is no need to add support for this alternative format.

But after that, I can't change anything or use the device at all.

What happens if you turn on/off the device?

@joaquinvacas
Copy link
Sponsor Author

The install code is (AFAIK) only required for joining, and since the device joins fine there is no need to add support for this alternative format.

But after that, I can't change anything or use the device at all.

What happens if you turn on/off the device?

Actually, it does nothing. Keeps trying like if the device were offline.

@danieledwardgeorgehitchcock
Copy link
Contributor

danieledwardgeorgehitchcock commented Nov 2, 2022

@Koenkk - I do think that there may be an issue with the Install Code logic - the code above is valid (as per the Z-Stack specs) with an a hex encoded 8 byte IEEE (000D6FFFFEC6A8A1) and an 18 byte (1C2817051E362613411F7F676AB2E4531379) Install Code - This follows the same format as the Bosch Outdoor Alarms that originally highlighted the need for the install codes.

Z-Stack

@joaquinvacas
Copy link
Sponsor Author

joaquinvacas commented Nov 2, 2022

@Koenkk - I do think that there may be an issue with the Install Code logic - the code above is valid (as per the Z-Stack specs) with an a hex encoded 8 byte IEEE (000D6FFFFEC6A8A1) and an 18 byte (1C2817051E362613411F7F676AB2E4531379) Install Code - This follows the same format as the Bosch Outdoor Alarms that originally highlighted the need for the install codes.

Z-Stack

How can I pass my install code then?

Tried to add with the IEEE before the code but it doesn't work (as expected)

@danieledwardgeorgehitchcock
Copy link
Contributor

danieledwardgeorgehitchcock commented Nov 2, 2022

I have adapted an extension (not external converter) that Koenkk created when diagnosing the Bosch Alarms.

If you add this extension, enable debug logging - I have hard-coded the install code into it. Restart Z2M and hopefully you will see some good log messages Install Code Extension

Just to temper expectations though, as Koenkk said above, if the device joins your network without the need for the install code, I don't expect the addition of it to add any additional functionality to what you have already reported...

@joaquinvacas
Copy link
Sponsor Author

The install code is (AFAIK) only required for joining, and since the device joins fine there is no need to add support for this alternative format.

But after that, I can't change anything or use the device at all.

What happens if you turn on/off the device?

Okay, somehow that device started working that same night by its own, it was when 1.28.1 arrived so I thought it was the update that fixed this.

Just installed another two ones today, check this.

Screenshot_20221112_121309_Home Assistant~2
Screenshot_20221112_121332_Home Assistant~2
Screenshot_20221112_121512_Home Assistant~2

Also, joined without install code too.

Don't know what changes but I suppose it will work in no time, but feels weird.

Don't know how to debug what happens, why it takes hours to work as expected.

Also, the dimmer stays in red like there were an error, but after it begins to work again, it turns green forever.

@joaquinvacas
Copy link
Sponsor Author

I have adapted an extension (not external converter) that Koenkk created when diagnosing the Bosch Alarms.

If you add this extension, enable debug logging - I have hard-coded the install code into it. Restart Z2M and hopefully you will see some good log messages Install Code Extension

Just to temper expectations though, as Koenkk said above, if the device joins your network without the need for the install code, I don't expect the addition of it to add any additional functionality to what you have already reported...

But this is hardcoded, not able to test it.

I'm going to install a new one right now, I can test it.

How do I change the install code? I'll check in a minute.

@joaquinvacas
Copy link
Sponsor Author

image

That's what I get when I try to use the .js

@joaquinvacas
Copy link
Sponsor Author

Also, noticed some values that are exposed on this device aren't working (like previous state)

image

I think there are some minor differences between CCT5010-0002W and the CCT5010-0001 that Z2M recognizes.

@joaquinvacas
Copy link
Sponsor Author

@Koenkk So, I didn't report it, but the way to get those working is by stopping Zigbee2Mqtt for a while and then start it again.

Something changes in the device and begins to work again.

@joaquinvacas
Copy link
Sponsor Author

@Koenkk Some of the settings doesn't work well with this dimmer.

I think this issue may have to be moved to "New Device support"?

@Koenkk
Copy link
Owner

Koenkk commented Dec 6, 2022

@joaquinvacas can you provide all the settings that don't work. Likely the device doesn't support (simply remove them is the solution)

@joaquinvacas
Copy link
Sponsor Author

@joaquinvacas can you provide all the settings that don't work. Likely the device doesn't support (simply remove them is the solution)

The "current level startup". But the device does accept it.
Though, I don't have any master device from Schneider to read it's values.

I think there may be some differences between the first hw version (0001) and this (0002W) and the way it changes the previous value.

@joaquinvacas
Copy link
Sponsor Author

@Koenkk Sorry, it's in Spanish but as you can see, the manual of the newer device shows "Último nivel (B)" that means last/previous used level.

image

@Koenkk
Copy link
Owner

Koenkk commented Dec 23, 2022

Can you sniff the traffic when setting this? maybe they use a special command. https://www.zigbee2mqtt.io/advanced/zigbee/04_sniff_zigbee_traffic.html

@danieledwardgeorgehitchcock
Copy link
Contributor

@Koenkk - I think the install code functionality is generally broken - I tried using it for my bosch siren the other day, which is what originally drove the requirement and the testing for install codes, and couldn't get Z2M to accept the string..

@Koenkk
Copy link
Owner

Koenkk commented Dec 24, 2022

@danieledwardgeorgehitchcock but this was working before right?

@danieledwardgeorgehitchcock
Copy link
Contributor

Yes it was - I think it stopped when the new code type was introduced..?

@Koenkk
Copy link
Owner

Koenkk commented Dec 24, 2022

Can you try with z2m 1.27.1, this includes the install code support but not support for the new type.

@volodymyrpavlenko
Copy link

I've just bought a schneider Micro Module, CCT5010-0002, and it does not seem to work at all in Zigbee2MQTT
It seems to be correctly discovered, but none of the controls work.
If I go to dev console, I can menually control some of the values, like on/off, brightness, min/max brightness.

Just to add context, the status led on the device itself shortly becomes green after restart, and then it's red all the time when the lamp is on. I assume this might be normal though.

@joaquinvacas
Copy link
Sponsor Author

I've just bought a schneider Micro Module, CCT5010-0002, and it does not seem to work at all in Zigbee2MQTT It seems to be correctly discovered, but none of the controls work. If I go to dev console, I can menually control some of the values, like on/off, brightness, min/max brightness.

Just to add context, the status led on the device itself shortly becomes green after restart, and then it's red all the time when the lamp is on. I assume this might be normal though.

Shut down Z2M, wait 5min and then start it up again.

@joaquinvacas
Copy link
Sponsor Author

Can you sniff the traffic when setting this? maybe they use a special command. https://www.zigbee2mqtt.io/advanced/zigbee/04_sniff_zigbee_traffic.html

Don't have a sniffer! 😢

Maybe somebody from here could do?

@volodymyrpavlenko
Copy link

Shut down Z2M, wait 5min and then start it up again.

Hm, yes, this is the case

What I found, when the requests were timing out, they were being sent to endpoint 242 instead of endpoint 3.

After restart, requests are sent to endpoint 3.

Maybe some initialization bug?

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Feb 17, 2023
@joaquinvacas
Copy link
Sponsor Author

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

Not staled.

Actually this should be changed to "new device support" instead of the actual name. @Koenkk

@github-actions github-actions bot removed the stale Stale issues label Feb 18, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Mar 21, 2023
@joaquinvacas joaquinvacas changed the title Zigbee2MQTT not accepting Install Codes CCT5010-0002W detected as CCT5010-0001 with limited functions Mar 21, 2023
@joaquinvacas
Copy link
Sponsor Author

Changed title

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Apr 21, 2023
@joaquinvacas
Copy link
Sponsor Author

Not stale. Just not hardware available for debugging.

@github-actions github-actions bot removed the stale Stale issues label Apr 22, 2023
@Hedda
Copy link
Contributor

Hedda commented May 9, 2023

FYI, if using ConBee or RaspBee (deconz Zigbee Coordinator adapter from dresden elektronik) then see related issue -> #17492

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Jun 12, 2023
@joaquinvacas
Copy link
Sponsor Author

@Koenkk how can I fix this? I mean, is there any way for debugging it without hardware?

@github-actions github-actions bot removed the stale Stale issues label Jun 13, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Jul 13, 2023
@joaquinvacas
Copy link
Sponsor Author

Not stale.

@github-actions github-actions bot removed the stale Stale issues label Jul 14, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Aug 14, 2023
@patapovich
Copy link

Not stale

@github-actions github-actions bot removed the stale Stale issues label Aug 21, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Sep 20, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2023
@slashbv
Copy link

slashbv commented Sep 29, 2023

Any updates on this ? I also bought one and it doesn't work well.

@fariouche
Copy link

is this device still not working? I was planning to buy one.
Inhave a sniffer if we can make it work

@joaquinvacas
Copy link
Sponsor Author

joaquinvacas commented Nov 17, 2023 via email

@devildant
Copy link

devildant commented Dec 12, 2023

It works almost perfect, there are some minor settings that don't seem to be "refined" but OK, completely usable. El vie, 17 nov 2023, 23:12, fariouche @.> escribió:

is this device still not working? I was planning to buy one. Inhave a sniffer if we can make it work — Reply to this email directly, view it on GitHub <#14749 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBTEJS36XYGLQ3WI5GB54LYE7ONBAVCNFSM6AAAAAARUCC2SOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGE4DEMZXGQ . You are receiving this because you were mentioned.Message ID: @.
>

hello @joaquinvacas , what minor settings did you make? because I come from the integrated and nothing works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests

9 participants