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

ZBBridge device (in zigbee router mode) needs external converter #8306

Closed
alichaudry opened this issue Nov 12, 2024 · 3 comments
Closed

ZBBridge device (in zigbee router mode) needs external converter #8306

alichaudry opened this issue Nov 12, 2024 · 3 comments

Comments

@alichaudry
Copy link
Contributor

I used this guide to flash my ZBBridge as a router. Pairing this device has Z2M picking it up but with an "unsupported device" flag. For that very reason, they also recommend a custom external converter:

Zigbee2MQTT Users will need to download this silabs.js file from Github, add it to their Z2M config folder, and add the custom converter to the configuration either via the GUI or YAML file. This will not be necessary after the device is added into Z2M builds.

Give the insinuation in a 2022 blog post that this will eventually make it into Z2M builds, I was surprised to find out that I still (in late 2024) needed to manually include the silabs.js custom external converter, especially when I had been using it in ZHA for a few years now, and only very recently - when I decided to migrate to Z2M - ran into this issue.

  1. What's the best way for me to get caught up to speed on making a PR to include this logic?
  2. The file from the blog post contains two devices: UT-01 and UT-02. I was a bit surprised to see the latter already included in this repo. Not totally sure why someone would choose to include one but not the other, when presumably they took the logic from the file in the repo referenced in the blog post.
  3. There are minute differences in the model and description of UT-02 in this repo and the other. I guess it matches on zigbeeModel so these other fields are modifiable?
  4. Given that I'm new to this, I'm not totally sure I follow the logic here re: exposes, fz, tz, reporting, and e. Also not sure why extend is commented out.
  5. Using this manual external converter shows the device power icon as a question mark. Any way to update that via this config to flag it as a powered device?
image

I appreciate any advice or direction on this!

@Koenkk
Copy link
Owner

Koenkk commented Nov 13, 2024

  1. You can do that by clicking here: https://github.com/Koenkk/zigbee-herdsman-converters/edit/master/src/devices/custom_devices_diy.ts#L706-L714
  2. Yes, everything else can be modified
  3. Use:
{
        zigbeeModel: ['UT-01'],
        model: 'UT-01',
        vendor: 'Custom devices (DiY)',
        description: 'EFR32MG21 Zigbee bridge router',
        extend: [forcePowerSource({powerSource: 'Mains (single phase)'})],
    }

@alichaudry
Copy link
Contributor Author

Thank you @Koenkk; added my PR here. Let me know if I can assist in any other way (or if I need to make further updates in here).

@Koenkk
Copy link
Owner

Koenkk commented Nov 18, 2024

Merged, thanks!

@Koenkk Koenkk closed this as completed Nov 18, 2024
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