Upgrade to THREAD on a Sonoff ZBDongle-E

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 27

  • @ReubenJHumphrey
    @ReubenJHumphrey 4 дні тому +1

    I've installed the drivers but the dongle won't show up in the serial port thing in Chrome. It shows in device manager just fine, with COM25, but it has the name "Silicon Labs CP210x USB to UART Bridge" instead of "USB-Enhanced-Serial" as in the video. Could this be the problem? I installed the CP210x Universal Windows Driver from the website.

    • @smart_home_australia
      @smart_home_australia  3 дні тому +1

      There are a few potential reasons why a ZBDongle-E might not show up in the web flasher upgrader even when the device driver is installed and it appears in Device Manager:
      1) Incorrect or outdated driver: Make sure you have the correct and latest driver installed. For the ZBDongle-E, you typically need the CH340/CH341 driver.
      2) USB port issues: Try connecting the dongle to a different USB port, preferably directly to the computer rather than through a hub.
      3) Web browser permissions: Ensure your browser has the necessary permissions to access USB devices. You may need to grant access when prompted.
      4) Firmware state: If the current firmware on the device is corrupted or in an unexpected state, it might not be recognized properly by the flasher.
      5) Hardware flow control: Make sure hardware flow control is disabled in the device settings.
      6) Interference: Using a USB extension cable can help reduce potential interference that might affect device recognition.
      7) Windows updates: Ensure your Windows system is up-to-date, as this can sometimes affect driver functionality.
      8) Reboot: Sometimes, a simple reboot of your computer after driver installation can resolve recognition issues.
      If you've checked these points and are still having issues, you might want to try manually flashing the firmware using a tool like Universal Silabs Flasher as an alternative to the web flasher

  • @indyspud
    @indyspud 4 місяці тому

    Hmmm, it's looking much easier now. I had a crack at enabling this at the start of the year and gave up out of frustration. I couldn't for the life of me correctly configure the multiprotocol pass-through to Zigbee2MQTT, so I gave up on it all, reflashed the dongle back to Zigbee only and put ZHA back on. I even tried using the SkyConnect dongle I have as a spare, no joy there either. Right now I do have Thread on the network as well but it's currently using my Eero mesh APs as the border routers, and I really want to remove that hardware dependency.
    Might spin up a lab hassio on the weekend and have a tinker. Thanks for posting!

    • @smart_home_australia
      @smart_home_australia  4 місяці тому

      My advice, give it a go. :)
      Remember that you can have multiple Z2MQTT networks (check out that video ua-cam.com/video/ZBbl0I-Zpuk/v-deo.html) so you don't even need a new HA instance to test it out.

  • @digilay
    @digilay 4 місяці тому +1

    USB-Flashing is also possible with Firefox if you add the "WebSerial for Firefox"-Addon to your Firefox-browser.

    • @smart_home_australia
      @smart_home_australia  4 місяці тому +1

      Thanks, I wasn't aware of that. I assumed as Firefox was not Chromium based it would not work, but am pleased it does as I've always liked Firefox.

  • @ernstrietbergen1876
    @ernstrietbergen1876 21 день тому +1

    Oh no i tried this and now nothing works anymore. There are errors in the log.
    Can you tell me what's going wrong here?
    Below the log and more below my config.
    [16:09:25] INFO: Preparing to start...
    [16:09:26] INFO: Socat not enabled
    [16:09:26] INFO: Starting Zigbee2MQTT...
    Starting Zigbee2MQTT without watchdog.
    [2024-09-24 16:09:28] info: z2m: Logging to console, file (filename: log.log)
    [2024-09-24 16:09:28] info: z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
    [2024-09-24 16:09:28] info: z2m: Starting zigbee-herdsman (0.57.3)
    [2024-09-24 16:09:28] info: zh:ember: Using default stack config.
    [2024-09-24 16:09:28] info: zh:ember: ======== Ember Adapter Starting ========
    [2024-09-24 16:09:28] info: zh:ember:ezsp: ======== EZSP starting ========
    [2024-09-24 16:09:28] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
    [2024-09-24 16:09:28] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
    [2024-09-24 16:09:28] info: zh:ember:uart:ash: Serial port opened
    [2024-09-24 16:09:28] info: zh:ember:uart:ash: ======== ASH starting ========
    [2024-09-24 16:09:30] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
    [2024-09-24 16:09:30] info: zh:ember:uart:ash: ======== ASH starting ========
    [2024-09-24 16:09:33] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
    [2024-09-24 16:09:33] info: zh:ember:uart:ash: ======== ASH starting ========
    [2024-09-24 16:09:35] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
    [2024-09-24 16:09:35] info: zh:ember:uart:ash: ======== ASH starting ========
    [2024-09-24 16:09:38] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
    [2024-09-24 16:09:38] info: zh:ember:uart:ash: ======== ASH starting ========
    [2024-09-24 16:09:40] error: z2m: Error while starting zigbee-herdsman
    [2024-09-24 16:09:40] error: z2m: Failed to start zigbee
    [2024-09-24 16:09:40] error: z2m: Check www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
    [2024-09-24 16:09:40] error: z2m: Exiting...
    [2024-09-24 16:09:40] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
    at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:701:19)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1708:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:138:29)
    at Zigbee.start (/app/lib/zigbee.ts:64:27)
    at Controller.start (/app/lib/controller.ts:140:27)
    at start (/app/index.js:154:5)
    Config:
    data_path: /config/zigbee2mqtt
    socat:
    enabled: false
    master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
    slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
    options: "-d -d"
    log: false
    mqtt:
    server: mqtt://core-mosquitto:1883
    user: mqtt
    password: mqtt
    serial:
    port: >-
    /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220708150804-if00
    adapter: ember
    baudrate: 115200

    • @smart_home_australia
      @smart_home_australia  21 день тому +1

      Hmmm... OK afew things to check.
      - Make sure your Zigbee adapter's firmware is up-to-date and compatible with Zigbee2MQTT.
      - Double check your port, SETTINGS > SYSTEM > HARDWARE > ALL HARDWARE
      - Which to the relative USB address as oppsoed to the absolute
      - If using VM make sure the USB is getting passed through correctly
      - Try using a different USB port that's running USB 2.0 only
      If all that fails, then retry factory resetting the ZBDongle, upgrade to latest firmware and retry.
      Remember that Sonoff support is really good, so raise a ticket and see if they can also assist.

  • @CountZilch
    @CountZilch 4 місяці тому +2

    I was running this for years. Issue was that I started getting errors and everyone in the forums wouldn't help as they kept saying I was running an unsupported config. Ended up just flashing back to a ZigBee coordinator. I bought a second $15 dongle for Thread but haven't set it up. Any chance you can do a video on running these on separate dongles?

    • @smart_home_australia
      @smart_home_australia  4 місяці тому +3

      Thats the issue with running bleeding edge and topics where there is no community to collectively solve issues. Its one of the reasons I started this channel.
      Which Thread dongle did you buy? I'll see if I can get hold of one.

    • @CountZilch
      @CountZilch 4 місяці тому

      @@smart_home_australia I just bought another of the Sonoff ones. My WAF plummeted when I couldn't turn on or off the lights 😅 so I need a stable ZigBee coordinator but want to meas around with Thread too. I assume you could run two of the same dongles with different firmware on each?

    • @smart_home_australia
      @smart_home_australia  4 місяці тому

      OMG, WAF is the MOST important part of Smart Homes !! Get that fixed. ;)
      Yes you can run multiple Z2MQTT coordiantors (ua-cam.com/video/ZBbl0I-Zpuk/v-deo.html) so you can setup a "primary" zigbee network and spin up a secondary for testing and YES they can be on different firmware with no issues.
      Good luck with the WAF :)

    • @CountZilch
      @CountZilch 4 місяці тому

      @@smart_home_australia I'm not using MQTT though. I want to just run ZHA on one and the thread stack on the other.

    • @smart_home_australia
      @smart_home_australia  4 місяці тому +2

      Yep, you can run a second ZBDongle just for thread if you want, just skip the section about setting up ZHA to access via the socket and leave your primary ZBDongle as ZHA. Let us know how that works out as I've never tried that.

  • @adriangreening4770
    @adriangreening4770 4 місяці тому

    Great video as always.... thank you!
    I find these things so bloody frustrating - spent so much time mucking around with this thing and havent got much joy back in return...
    So in this weeks episode - a clean build of Win 11, plug the dongle in, load up the driver, connect via the web flasher - the running firmware could not be detected!!!!! URGH
    Not really sure how to tackle this new one if I'm honest...
    Rant over...

    • @smart_home_australia
      @smart_home_australia  4 місяці тому

      OK can I ask the obvious, sorry, are you using a chromium based browser? Can you see the device in device manager? and have you tried a different USB port.

    • @adriangreening4770
      @adriangreening4770 4 місяці тому

      @@smart_home_australia hi there, fair questions to be honest... Yes I had tried all of the above...
      Since my tantrum I've managed to flash it manually using Secure CRT and the latest firmware file.
      I think what is actually my greatest challenge here is getting the dongle to present to Home Assistant through my current crappy setup - virtualbox on win11. This seems to be the source of the bulk of my issues with the dongle. Cause I can't make the dongle appear in Settings/Hardware - I've presumed that the dongle is actually faulty and not an issue with my virtualbox setup.
      Thanks for taking the time to reply!!!

    • @smart_home_australia
      @smart_home_australia  4 місяці тому +1

      Wow its not supposed to be this hard.... very strange. I had some initial issues with making the dongle appear but that was in Edge (which is also a Chromium based browser and should work), but when I switched to Chrome it worked.
      Making the dongle appear inside of the VM should be super simple.
      1) Launch VirtualBox on your system.
      2) Click on the USB option present in the vertical menu.
      3) Click on the USB 2.0 or USB 3.0 controller radio button.
      4) Navigate to the USB device filters section and click on the add USB devices icon with a + sign on it.
      5) You will see a list of the available devices.
      6) Select the USB device you want to attach.
      7) Click OK to save changes and exit.
      If this doesn't work then I think it might be a defective dongle, then i'd RMA the dongle.

    • @adriangreening4770
      @adriangreening4770 4 місяці тому +1

      @@smart_home_australia Thanj you again …. Might have a dongle then.
      This has provided me though the impetus to get of Windows though.

  • @svens.3245
    @svens.3245 День тому

    When I try to connect, I get following failure message. What could be the reason for.
    Connection failed
    The running firmware could not be detected.
    Make sure the USB port works and if you are using a USB extension cable, make sure the cable can transfer data. Unplug the Sonoff ZBDongle-E and plug it back in to reset and try again.

    • @smart_home_australia
      @smart_home_australia  День тому

      Are you trying from Chrome or a Chromium based browser?

    • @svens.3245
      @svens.3245 23 години тому

      @smart_home_australia I tried it with Edge and Chrome on two different computers.

    • @theSunShaw
      @theSunShaw 8 годин тому

      I had same issue. On Opera it didn't work at all. Tried Edge, it worked first try but when I tried to upload custom firmware it failed at 0%. Then it no longer worked at Edge. Then tried again and again at opera/chrome/edge everywhere it worked 1/10 times and error at upload.
      Solution for me:
      1. Try many times at different browsers, don't give up
      2. When flash is successful firstly upgrade to 7.x.x.x! Don't try to change firmware!
      3. After upgrade is successful it should work 10/10 at any browser
      4. Change firmware

  • @blackdragon5289
    @blackdragon5289 Місяць тому

    how do I get the Thread Network Key?

    • @smart_home_australia
      @smart_home_australia  Місяць тому

      You shouldn't need one as its created automatically. Check out the Thread integration page for more details (ref: www.home-assistant.io/integrations/thread/)

  • @vulcan4d
    @vulcan4d 3 місяці тому +2

    They no longer recommend this:
    Note! Beware that the RCP MultiPAN in multiprotocol mode is no longer recommended because running multi-protocol with multiple active networks on a single radio adapter has proven to not be stable when using Zigbee and Thread network protocols simultaneously on the same radio adapter, it also increases the complexity of software component dependencies needed, so if already using RCP Multi-PAN then it is highly recommended that you plan to migrate to separate dedicated radio adapters instead, (using Zigbee NCP and Thread RCP firmware respectively), even if using RCP MultiPAN on a single radio adapter dongle has been working fine for you so far.

    • @smart_home_australia
      @smart_home_australia  3 місяці тому +1

      Thanks Vulcan, I would agree with your statement. The video intends to show that it is possible and how to do it. But also teaches the community the instructions on how to flash or upgrade to a different version of the firmware.
      I run the latest supported version and only use my ZBDongle for Zigbee, as I need this network to rock solid and be available all the time. Any other protocols I use other adaptors for.
      Thanks for your comments, its appreciated.