xsp1989 / zigbeeFirmware

210 stars 22 forks source link

Updating firmware #51

Open brandonb1987 opened 1 month ago

brandonb1987 commented 1 month ago

Is there a method to flash the firmware without using Telnet? Every time and method (OS) I've used just continues to disconnect and doesn't end up uploading the new firmware. I'd prefer to do it over serial if possible.

Is this possible? Or can you point me to something that shows how? Because at this point I'm stuck. I have ESPhome working with 6.7.10 but I am not able to update the firmware no matter what I try.

mvadu commented 1 month ago

Try this.. https://github.com/xsp1989/zigbeeFirmware/issues/49#issuecomment-2137189283

I was able to upgrade to ember firmware without having to repair any of the devices. Using https://github.com/xsp1989/ZB-GW03_firmware/tree/master/tasmota/v14.0.0/firmware as main tasmota firmware.

brandonb1987 commented 1 month ago

Tried the Tasmota route before posting this. Just continues to fail.

xsp1989 commented 1 month ago

There will be no problem upgrading directly through the tasmota upgrade page. You can try downloading the upgrade file again. Maybe an error occurred when downloading the file, causing the upgrade to fail.

brandonb1987 commented 1 month ago

Just tried other versions, and redownloaded every file. Still get the same thing when trying to upgrade the zigbee firmware.

The last one ended with 392/49K Retry 0: Cancelled

I don't know why this is so. The only thing I can think of is its constantly reseting the Telnet? I don't know why it would be doing that. The esphome code and ZHA integration works totally fine. I just can't do the Telnet firmware upgrade.

Which is why I'm curious if there is software or some sort of guide that can show me how to upload the file by serial and not Telnet. If I can just do it hardwired and by serial, then this shouldn't be an issue anymore. Theoretically.

mvadu commented 1 month ago

If you use Tasmota (from @xsp1989 for gw-03) , it will do serial communication with zigbee microcontroller. You can't stay in Esphome and say you have tried tasmota route.

brandonb1987 commented 1 month ago

Ok...let me spell this out...

I was originally on 14.0 Tasmota "(from @xsp1989 for gw-03)". I upgraded the zigbee firmware to 6.7.10. Worked fine. Decided to try out ESPhome with ZHA instead so I don't have to do the yaml all the time. Settled on ESPhome so I tried doing the zigbee firmware upgrade to 7.4.3. Kept getting the error above.

So the first thing I did before opening this thread was go back onto Tasmota, do the firmware upgrade, with the intent of going back onto ESPhome once the firmware was upgraded. IT DON'T WORK...

Hence why I've posted on here with the question if its possible to do a serial upgrade while on ESPhome. As in, give me some way to do it in a way that is hardwired and not reliant on a remote connection...

I'm not aware of a way to do it over serial with Tasmota either as I've tried doing it the normal route of just simply using the built in firmware upgrade option tab, upgrading the zigbee firmware using the .ota file and being done with it. Which has worked in the past.

So hopefully instead of rehashing things I've already done and tried, someone can see I've tried it all and it still refuses to upgrade, and even downgrade...

Constructive and helpful solutions needed, not telling me to do something I've already done....

xtypebox commented 1 day ago

Try this.. #49 (comment)

I was able to upgrade to ember firmware without having to repair any of the devices. Using https://github.com/xsp1989/ZB-GW03_firmware/tree/master/tasmota/v14.0.0/firmware as main tasmota firmware.

Can you explain how you do it without having to repair?

mvadu commented 1 day ago

Try this.. #49 (comment) I was able to upgrade to ember firmware without having to repair any of the devices. Using https://github.com/xsp1989/ZB-GW03_firmware/tree/master/tasmota/v14.0.0/firmware as main tasmota firmware.

Can you explain how you do it without having to repair?

Please read comments in this page before asking the questions already answered multiple times. e.g. https://github.com/xsp1989/zigbeeFirmware/issues/51#issuecomment-2248681022