-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Wrong device]: Moes ZB-LZD10-RCW detected as Tuya TS0505B_1 #23230
Comments
Fixed! Changes will be available in the dev branch in a few hours from now. |
This has solved the visual but it hasn't solved the quirks with being on the wrong device type (sorry if this is confusing things). The "correct" device has working brightness adjustment in color_xy whereas the others do not, and the db entry is still fairly different not working {"id":10,"type":"Router","ieeeAddr":"0xa4c1387c2a278a83","nwkAddr":47559,"manufId":4107,"manufName":"_TZ3210_jjqdqxfq","powerSource":"Mains (single phase)","modelId":"TS0505B","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":269,"inClusterList":[0,3,6280,4,5,6,8,768,10,4096,65518],"outClusterList":[25,4096,65518],"clusters":{"genBasic":{"attributes":{"hwVersion":0}},"lightingColorCtrl":{"attributes":{"colorCapabilities":8,"colorTempPhysicalMin":143,"colorTempPhysicalMax":500}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":112,"stackVersion":2,"hwVersion":0,"swBuildId":"z.1.0","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1719962059231} working {"id":11,"type":"Router","ieeeAddr":"0xa4c1386bac72e5b4","nwkAddr":22013,"manufId":4417,"manufName":"_TZ3210_s9lumfhn","powerSource":"Mains (single phase)","modelId":"TS0505B","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":269,"inClusterList":[3,4,5,6,4096,8,768,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS0505B","manufacturerName":"_TZ3210_s9lumfhn","powerSource":1,"zclVersion":3,"appVersion":101,"stackVersion":0,"hwVersion":1,"dateCode":""}},"lightingColorCtrl":{"attributes":{"colorCapabilities":25,"colorTempPhysicalMin":153,"colorTempPhysicalMax":500,"colorMode":2,"currentX":8880,"currentY":2615,"colorTemperature":168,"currentHue":170,"currentSaturation":254}},"genOnOff":{"attributes":{"onOff":0}},"genLevelCtrl":{"attributes":{"currentLevel":39}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":101,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1719961021405} Is this just as simple as "that's a physically different device" and I need to work out the appropriate quirk on the other lights or has a converter not applied how I thought it would (or.. both)? |
I don't understand fully, can you explain in more detail what the issue is? |
Yep, sorry. The devices in question are physically identical. I logged a new device support issue for this ages ago and never got around to looking at it harder (it aged out) #17570 which has some info from a tuya gateway if that helps make sense of it. If this helps, the generated external converters for each _TZ3210_s9lumfhn const definition = { module.exports = definition; _TZ3210_jjqdqxfq const definition = { module.exports = definition; |
with the tuya gateway, did the brightness change when color_xy was used? |
Yep, sure did. I'll rip one of these off my z2m network and put it back on the tuya gateway for further testing. More data for dp5 "colorful" It seems to want DP5 in the format of |
From what I understand:
|
That does seem to be the case. Here's a full listing of the datapoints from the tuya portal if that helps any { The "Brightness" data point does not change when adjusting brightness when using the "Color" mode (dp2) I'm not sure if this is standard, as I haven't looked at _TZ3210_s9lumfhn on the tuya gateway, but I can if that would help. |
Can you try to write a simple external converter using datapoints with e.g. just the |
Link
https://www.aliexpress.com/item/1005004382991985.html
Model
ZB-LZD10-RCW
Description
10W RGB+CCT Smart Downlight
Vendor
Moes
Picture (link)
https://www.zigbee2mqtt.io/images/devices/ZB-LZD10-RCW.png
Database entry
{"id":10,"type":"Router","ieeeAddr":"0xa4c1387c2a278a83","nwkAddr":4512,"manufId":4107,"manufName":"_TZ3210_jjqdqxfq","powerSource":"Mains (single phase)","modelId":"TS0505B","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":269,"inClusterList":[0,3,6280,4,5,6,8,768,10,4096,65518],"outClusterList":[25,4096,65518],"clusters":{"genLevelCtrl":{"attributes":{"61440":1000}},"genBasic":{"attributes":{"hwVersion":0}},"lightingColorCtrl":{"attributes":{"57344":1000,"57345":[1000,65536113],"61453":1,"colorCapabilities":8,"colorTempPhysicalMin":143,"colorTempPhysicalMax":500,"tuyaRgbMode":0}},"genOnOff":{"attributes":{"61440":0,"onOff":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":112,"stackVersion":2,"hwVersion":0,"swBuildId":"z.1.0","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1719886938850}
Notes
Curiously I had one of the 15 lights correctly detect, despite all being bought at the same time (and looking physically identical.) Removing and repairing any of the incorrectly detected ones goes back to TS0505B_1, I haven't been game to re-pair the correctly detected one, but it's definitely detected incorrectly in the past.
The correctly detected device has the following db entry
{"id":11,"type":"Router","ieeeAddr":"0xa4c1386bac72e5b4","nwkAddr":22013,"manufId":4417,"manufName":"_TZ3210_s9lumfhn","powerSource":"Mains (single phase)","modelId":"TS0505B","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":269,"inClusterList":[3,4,5,6,4096,8,768,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS0505B","manufacturerName":"_TZ3210_s9lumfhn","powerSource":1,"zclVersion":3,"appVersion":101,"stackVersion":0,"hwVersion":1,"dateCode":""}},"lightingColorCtrl":{"attributes":{"colorCapabilities":25,"colorTempPhysicalMin":153,"colorTempPhysicalMax":500,"colorMode":2,"currentX":8880,"currentY":2615,"colorTemperature":168,"currentHue":170,"currentSaturation":254}},"genOnOff":{"attributes":{"onOff":0}},"genLevelCtrl":{"attributes":{"currentLevel":39}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":101,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1719886887988}
The text was updated successfully, but these errors were encountered: