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

Unknown device is recognized as xiaomi-switch/opple-switch-2 #9

Closed
kisuo opened this issue Feb 1, 2022 · 1 comment
Closed

Unknown device is recognized as xiaomi-switch/opple-switch-2 #9

kisuo opened this issue Feb 1, 2022 · 1 comment

Comments

@kisuo
Copy link

kisuo commented Feb 1, 2022

It seems that any unknown device is always matched to opple-switch-2, and resulting that it is impossible to use DTH instead.

I scanned a zigbee device which doesn't need external driver. It should use pre-embedded easyiot Light DTH driver in ST hub.

  • deviceManufacturerCode: eWeLight
  • deviceModel: ZB-CL01
  • raw descriptor info.

Data application: 01
endpointId: 01
manufacturer: eWeLight
model: ZB-CL01
zigbeeNodeType: ROUTER
Raw Description 01 0104 010D 01 08 0000 0003 0004 0005 0006 0008 0300 1000 00

But when I searched it, it is scanned as name any in ST app, and device type is recognized as edge driver of opple-switch-2.
I noticed that patterns like ^lumi.switch.l.aeu1 are used by device:get_model():find(fingerprint.model) only in opple subdriver code, but couldn't understand why it's happening.
To solve this issue, I had to remove every opple related code & lines from fingerprint.yml and subdriver setup, then I was able to use ST embedded DTH.

I also found another user is also reporting that his Si-Has sensors are also recognized as any opple-switch-2, and those sensors should use DTH driver instead.

Would you please review this issue?

Thank you.

@veonua
Copy link
Owner

veonua commented Feb 1, 2022

"any" is removed now from the fingerprints

@veonua veonua closed this as completed Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants