-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
OBTR Add-on won't automatically flash firmware for SONOFF Dongle-E #3668
Comments
Product string doesnt match. I would think from that string, this maybe a ZBDongle-P (cc2652). I have however heard newer ZBDongle-E are now shipping with CP2102N (instead of CH9102), I suppose its possible they changed the strings at the same time. It would however seem strange to have the same product string on 2 products with completely different chipsets! For reference |
Yes, I am sure. I managed to flash firmware using the command line tool for the two dongles with Dongle-E firmware from your repository. https://github.com/darkxst/silabs-firmware-builder/tree/main/firmware_builds/zbdonglee |
@derbirch Can you post the full output from the HA hardware page for the USB serial port? |
|
It looks like Sonoff have used the ZBDongle-P cp2102 config in production of newer ZBDongle-E with cp2102. Not sure what to do here, if we allow this string to match, it will also pick up the -P dongle, of course that won't flash, but will increase startup time while the dongle is probed and ultimately fails. Right now I am not aware of any readily available Thread firmware for ZBDongle-P, but they may likely change in the future as word spreads about SMLIGHT supporting Thread on CC2652... @agners: what are your thoughts on this? should match the new strings with the caveat it will also match ZBDongle-P? |
Hm, definitly not ideal UX I guess 😢 Ideally we'd have silabs flasher detect the TI chips too and dos something sensible 😅 Since this is limited to ITead, I don't mind all that much. If you prefer to go the easy route now and just try to flash either variant, that is fine by me... |
I almost forgot! It actually does work for detecting thread firmware. I've tested this before. Not sure if there is enough info to bail if its a TI chip, will check. Otherwise yeh probably ust go the easy route for now, until there are actual TI Thread firmware in existence! |
This is the spinel response in
|
Just received mine from aliexpress today, strangely enough its not even auto flashing still, despite apparently hitting the requirements (other than the _ which may be the cause?); strangely enough its not updating past the pre-flashed firmware of 2.3.1.0, logs from the add-on USB:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not stale |
I am also having a similar issue. The connection string in the add-on's log is Hardware output is as follows ID:
Attributes:
|
Product string here is correct and should match what is in the script.
I guess there is an issue with the device path. @Poshy163's log seems to be picking up a USB hub. Are you running on HAOS or Supervised? |
HAOS, passed-through via proxmox |
@Poshy163 can you login to HA ssh terminal using your DEVPATH (but add
find the folder that contains based on above the script would check this folder
|
Here are the responses: idProduct: |
this should match what the script expects, can you post logs again from when otbr is running universal-silabs-flasher? Also what does this output?
|
yes that worked correctly |
Hi, I have exactly the same problem as @Poshy163. how do you make it work ? For information, I have followed all the step from @darkxst and have the same output as @Poshy163 for the productid and product (it is in the same folder /sys/devices/pci0000:00/0000:00:1e.0/0000:01:1b.0/usb2/2-1), and the command 'echo /sys/class/tty/$(readlink /sys/class/tty/$(basename /dev/ttyACM0))' give me the same response. |
More information : Device path: |
I am also having problems starting the OBTR addon. As far as I can see I have successfully attached the USB Dongle to the HomeAssistant VM. At least this is the output if I look under Settings > System > Hardware > All Hardware for the Dongle: Device Path:
ID:
Attributes:
However when I start the add-on this is the log (on debug level):
As it says no Firmware found I tried to install the firmware manually. When I tried it again I got the same log output. Does anyone have an idea, where to look? EditIt seems like my Amazon Echo already has a Thread network open. Is that a problem? SolutionDisable hardware flow control |
Case on vendor has changed here, that is why auto-firmware updates not working, I will get this patched. |
For those under HOAS, in the meantime you can use terminal add on and install universal silabs flasher.
you will have to upload the gbl to your HA using samba add on for instance |
Using HAOS there is the |
Describe the issue you are experiencing
New version of OBTR Add-on won't recognize SONOFF Dongle-E and flash firmware for it. Both HAOS and supervised install would counter this issue with two dongle-e I have.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
OpenThread Border Router
What is the version of the add-on?
2.8.0
Steps to reproduce the issue
Hardware flow control
System Health information
System Information
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: