TawfikDaim / home_automation

home automation user stories
0 stars 0 forks source link

Zigbee dongle firmware update #75

Open TawfikDaim opened 2 months ago

TawfikDaim commented 2 months ago
  1. find the firmware suitable for your dongle P or E
  2. github.com/itead/sonoff_zigbee_dongle_firmare (e.g. for ZBDongle-E https://github.com/itead/Sonoff_Zigbee_Dongle_Firmware/blob/master/Dongle-E/Router/README.md Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0.gbl)
  3. install this add-on on home assistant (https://github.com/mercenaruss/zigstar_addons ) This repository contains the following add-ons, chose the one that works for your ZBDongle )e.g. for ZBDongle-E EFR32MG21

Image

  1. make sure home assistant detected the dongle usb
  2. open add-on configuration and enter the information, example disable ZHA or Z2MQTT before you start /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231215170526-if00 select "Flash USB Device" get link to firmware url from z2mqtt documentation e.g. I was only able to find coordinator firware for zbdongle-e (https://sonoff.tech/product-review/how-to-use-sonoff-dongle-plus-on-home-assistant-how-to-flash-firmware/) add network device iP: 127.0.0.1 finally check log file. I found an error and corrected the firware file https://github.com/itead/Sonoff_Zigbee_Dongle_Firmware/raw/master/Dongle-E/Router/Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0.gbl
TawfikDaim commented 2 months ago
  1. dongle-p
  2. Use hA on dell (http://10.195.1.93:8123/hassio/addon/193f5383_zigstar-cc2652p-flasher/info) make sure usb is added to home assistant e.g. /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_b47c27efb5a4ed11a168f1a32981d5c7-if00-port0
  3. open add-on: ZigStar TI CC2652P/P7 FW Flasher
  4. in configuration select the usb in point 2
  5. netwotk device: 127.0.0.1
  6. custom firmware url: https://github.com/Koenkk/Z-Stack-firmware/raw/Z-Stack_3.x.0_router_20221102/router/Z-Stack_3.x.0/bin/CC1352P2_CC2652P_launchpad_router_20221102.zip
  7. outcome be like: 0x00057F98 Write done
    Verifying by comparing CRC32 calculations. Verified (match: 0x9877ee56) [12:08:02] INFO: cc2652-flasher-up script exited with code 0 s6-rc: info: service cc2652-flasher successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service cc2652-flasher: stopping s6-rc: info: service cc2652-flasher successfully stopped s6-rc: info: service banner: stopping s6-rc: info: service banner successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped
  8. check now if its working homeassistant