TawfikDaim / home_automation

home automation user stories
0 stars 0 forks source link

install z2mqtt mqtt with home assistant (ember coordinator dongle-e #87

Open TawfikDaim opened 1 day ago

TawfikDaim commented 1 day ago

Objective: install fresh firmware on Zigbee dongle as

  1. coordinator
  2. Router

https://www.google.com/search?q=z2mqtt+integration+with+homeassistant&rlz=1C1GCEU_enEG1000EG1000&oq=z2mqtt+integration+with+homeassistant&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIJCAEQIRgKGKAB0gEINjY5N2owajSoAgCwAgE&sourceid=chrome&ie=UTF-8#fpstate=ive&vld=cid:8233b13c,vid:N5fSMXZVbT8,st:0

you can get specific version of z2mqtt (for me I used1.39.0) since I susppected an issue with latest one

TawfikDaim commented 1 day ago

DONE Flash router firmware on Zigbe dongle E

https://github.com/TawfikDaim/home_automation/issues/85

https://darkxst.github.io/silabs-firmware-builder/

https://github.com/darkxst/silabs-firmware-builder?tab=readme-ov-file

Supported devices:

Sonoff ZBDongle-E Easyiot ZB-GW04 SMLIGHT SLZB-07 SMLIGHT SLZB-06M It will install the most recent recommended builds from darkxst/silabs-firmware-builder. If you want the very latest builds, you can use Custom URL option.

TawfikDaim commented 1 day ago

Flash zigbee dongle-p as router

Adapter: Sonoff ZB-dongle-P Firmware https://github.com/Koenkk/Z-Stack-firmware/tree/master/router/Z-Stack_3.x.0/bin CC1352P2_CC2652P_launchpad_router_20221102.zip https://github.com/Koenkk/Z-Stack-firmware/blob/master/router/Z-Stack_3.x.0/bin/CC1352P2_CC2652P_launchpad_router_20221102.zip

Tools

UI tools
    [SMLIGHT firmware updater](https://smlight.tech/flasher/#other_cc) (recommended)
    Allows for flashing your adapter from the browser, eliminating the need for any software installation.
    Texas Instruments [FLASH PROGRAMMER 2](https://www.ti.com/tool/FLASH-PROGRAMMER) (Windows only) (can't find your device? read below!)
    [ZigStar GW Multi tool](https://github.com/xyzroe/ZigStarGW-MT) (multi platform GUI tool)

CLI tools (multi platform Python based command line tools)
    [CC2538-BSL](https://github.com/JelmerT/cc2538-bsl) ([instructions](https://www.zigbee2mqtt.io/guide/adapters/flashing/flashing_via_cc2538-bsl.html))
    [llama-bsl](https://github.com/electrolama/llama-bsl) (fork of cc2538-bsl with added features)

Resources:

https://www.zigbee2mqtt.io/guide/adapters/zstack.html
https://smlight.tech/flasher/#other_cc
https://www.youtube.com/watch?v=4eYnURcDrWw&t=39s
TawfikDaim commented 1 day ago

Target 18/9/2024 1- setup the 2 dongle-p as routers (erase current firmware if needed) 2- connect both as router on Z2mqtt 3- document all steps in details below

TawfikDaim commented 1 day ago

Coordinator
Objective: you will need to update first the coordinator firmware steps shown below..

To fix this error"warning 2024-09-11 14:34:51Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see https://github.com/Koenkk/zigbee2mqtt/discussions/21462"

Firmware from here https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_3.x.0/bin/CC1352P2_CC2652P_launchpad_coordinator_20240710.zip

Tool https://github.com/TawfikDaim/home_automation/issues/85

https://darkxst.github.io/silabs-firmware-builder/

https://github.com/darkxst/silabs-firmware-builder?tab=readme-ov-file

Supported devices: Sonoff ZBDongle-E (this is what we have as coordinator)