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

SL Web Tools Flashing Support #12

Open
darkxst opened this issue Apr 6, 2023 · 4 comments
Open

SL Web Tools Flashing Support #12

darkxst opened this issue Apr 6, 2023 · 4 comments

Comments

@darkxst
Copy link

darkxst commented Apr 6, 2023

This is definitely a wish list item, however would be cool to add support to this repo.

SL Web Tools allows you to flash Silabs devices directly from the browser, its built upon ESP Web tools and Universal-silabs-flasher, and I must say its pretty cool!. See this blog post for details:

https://www.home-assistant.io/blog/2023/02/08/state-of-matter-and-thread/#silabs-multi-flasher--sl-web-tools

Here is a barebones implementation hosted on Github pages for ZBDongle-E
https://github.com/darkxst/sl-test/tree/gh-pages
https://darkxst.github.io/sl-test/

It would however require some modifications to the build system:

  • need to save the binaries somewhere directly accessible (needs Artifacts part2 #15)
  • could use an action to manage links and versions in the manifest files
@darkxst darkxst changed the title SL Web Tools SL Web Tools Flashing Support Apr 7, 2023
@darkxst
Copy link
Author

darkxst commented Apr 7, 2023

Could someone who has the ZB-GW04 v1.1 and/or v1.2 post the output from lsusb for these devices? I need the vendor id, product id and description string.

@Hedda
Copy link

Hedda commented Apr 13, 2023

Could someone who has the ZB-GW04 v1.1 and/or v1.2 post the output from lsusb for these devices? I need the vendor id, product id and description string.

@darkxst Suggest ask @xsp1989 if he knows ZB-GW04 USB VID + PID + description string -> xsp1989/zigbeeFirmware#40

I do not have one myself but someone wrote that ZB-GW04 v1.2 USB uses the identifier 1A86:7523 which should be VID and PID:

https://community.home-assistant.io/t/zigbee-coordinator-1a86-7523-cannot-start-or-pair-any-devices/545740

Note it may be that it not have a unique description string but that is just an assumption based on experience with some others:

https://community.home-assistant.io/t/community-help-wanted-to-whitelist-all-compatible-zigbee-and-z-wave-dongles-adapters-for-automatic-usb-discovery-in-home-assistant/344412

https://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/manifest.json

https://www.home-assistant.io/integrations/zha#discovery-via-usb-or-zeroconf

@darkxst
Copy link
Author

darkxst commented Apr 13, 2023

ZB-GW04 v1.2 USB uses the identifier 1A86:7523

Yeh I found this somewhere after I posted for that. I have used those values on my test site for both versions for now. I've not specifically tested the ZB-GW04 yet, but I have a ZB-GW04 dongle on the way for testing.

Once ksjh reviews my open PR's will look at merging the flasher page across to this repo.

@darkxst
Copy link
Author

darkxst commented Apr 15, 2023

Turns out there is no way to get the product description string through the webSerial API.

Vid/pid is only applied as a filter when selecting USB port. So wouldnt be able to auto-detect devices at this stage.

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