-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add White Label Girier JR-ZPM03
Smart Plug (_TZ3000_okaz9tjs
) to TS011F_plug_3
#8560
base: master
Are you sure you want to change the base?
Conversation
@@ -5593,6 +5593,7 @@ const definitions: DefinitionWithExtend[] = [ | |||
{vendor: 'AVATTO', model: 'MIUCOT10Z'}, | |||
{vendor: 'Neo', model: 'NAS-WR01B'}, | |||
{vendor: 'Neo', model: 'PLUG-001SPB2'}, | |||
{vendor: 'Girier', model: 'JR-ZPM03', fingerprint: [{manufacturerName: '_TZ3000_okaz9tjs', manufacturerID: 4660}]}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use tuya.whitelabel()
like below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this code work? because it shares the same manufacturerName
as Tuya BSD29_1.
tuya.whitelabel('Girier', 'JR-ZPM03', 'Smart plug (with power monitoring by polling)', ['_TZ3000_okaz9tjs']),
tuya.whitelabel('Tuya', 'BSD29_1', 'Smart plug (with power monitoring by polling)', ['_TZ3000_okaz9tjs']),
if so, I'll commit the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No because the manufacturer name is exactly the same (_TZ3000_okaz9tjs
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any suggestion to differentiate 2 devices that share the same manufacturerName
? maybe from manufacturerID
?
maybe by passing fingerprint
to whitelabel
function (might need to update the whitelabel
function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the manufacturer ID will also be the same, I don't think there is a way to distinguish them.
This PR adds whitelabel
Girier
modelJR-ZPM03
(manufacturer name_TZ3000_okaz9tjs
) to the existingTS011F_plug_3
.In my case, it's incorrectly shown as Tuya
BSD29_1
, I put the white label toTS011F_plug_3
and added themanufacturerID
to the fingerprint to differentiate with the existing.It addresses the issue reported here Koenkk/zigbee2mqtt#24721
Zigbee2MQTT Dashboard
Product Image
Product Link
AliExpress
Device Info JSON