Comments (15)
@devbis Thank You!
OTA update went without issues and i was able to pair sensor using OpenMQTT over bluetooth.
Thanks again.
For others - to downgrade from latest fw to BT, You need to create local ota index file with following definition, replace url with path to file downloaded from https://github.com/devbis/z03mmc/blob/master/assets/db15-0203-99993001-ATC_v46.zigbee
[
{
"force" : true,
"manufacturerCode": 56085,
"imageType": 515,
"url": "/etc/zigbee2mqtt/ota/db15-0203-99993001-ATC_v46.zigbee"
}
]
from z03mmc.
Hi
Could you explain how you did this upgrade ?
Thanks
Phil
from z03mmc.
@maaad Yes, it is the expected result. I will use Manufacturer ID 0xdb15 from now on to reduce errors because of confusions when using firmware from other forks. Image type should not have changed, should be 0x0203
from z03mmc.
Hi Could you explain how you did this upgrade ? Thanks Phil
https://www.zigbee2mqtt.io/guide/usage/ota_updates.html#local-ota-index-and-firmware-files
from z03mmc.
Thank you but which file did you use ?
I tried one from z2m but it does not generate new OTA for the thermometer
Thanks
Philippe
from z03mmc.
this one: https://github.com/devbis/z03mmc/releases/download/1.1.0/1141-0203-11003001-z03mmc.zigbee
from z03mmc.
For some reason, image type is 0xff. Investigating
from z03mmc.
this one: https://github.com/devbis/z03mmc/releases/download/1.1.0/1141-0203-11003001-z03mmc.zigbee
Thanks
I could upgrade 2 devices
One device dead at the end .... no more screen
I will try direct upload
Phil
from z03mmc.
@pbranly please wait until i fix the image type issue
from z03mmc.
Will updating to the new manufacturer id also fix the issue on the current release of z2m where some functionality for an alternative firmware got merged and now spamming my log with errors?
from z03mmc.
@pbranly please wait until i fix the image type issue
Hi too late ! 2 of my 3 devices work fine with the latest f/W.
As soon as your new one will be available, I will re-OTA
I will also try to reanimate the third one with direct upload
Thanks for your work
Phil
from z03mmc.
My investigation showed that it wasn't an issue. New SDK from Telink works this way. Default value is 0xffff but when update is in progress it shows correct values. Will leave it as is.
from z03mmc.
I have the same issue. After latest update in z2m i'm getting
Read result of 'genOta': {"imageTypeId":65535,"manufacturerId":56085}
And when trying to go back to BT version i can see
Debug 2024-02-20 21:52:18 Received Zigbee message from 'Xiaomi sensor', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":285224961,"imageType":515,"manufacturerCode":56085}' from endpoint 1 with groupID 0
Debug 2024-02-20 21:52:18 Got OTA request '{"fieldControl":0,"manufacturerCode":56085,"imageType":515,"fileVersion":285224961}'
Debug 2024-02-20 21:52:18 ZigbeeOTA: downloaded main index
Debug 2024-02-20 21:52:18 ZigbeeOTA: Loading override index /etc/zigbee2mqtt/ota_xiaomi.json
Debug 2024-02-20 21:52:18 ZigbeeOTA: getting local firmware file /etc/zigbee2mqtt/ota/1141-0203-99993001-ATC_v46.zigbee
Debug 2024-02-20 21:52:18 getNewImage for '0xa4c13849c85d6bd0', meta {"fileVersion":2576953345,"url":"/etc/zigbee2mqtt/ota/1141-0203-99993001-ATC_v46.zigbee","force":true}
Debug 2024-02-20 21:52:18 ZigbeeOTA: getting local firmware file /etc/zigbee2mqtt/ota/1141-0203-99993001-ATC_v46.zigbee
Debug 2024-02-20 21:52:18 getNewImage for '0xa4c13849c85d6bd0', image header {"otaUpgradeFileIdentifier":{"type":"Buffer","data":[30,241,238,11]},"otaHeaderVersion":256,"otaHeaderLength":56,"otaHeaderFieldControl":0,"manufacturerCode":4417,"imageType":515,"fileVersion":2576953345,"zigbeeStackVersion":2,"otaHeaderString":"Telink OTA BLE device\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000","totalImageSize":82674}
Debug 2024-02-20 21:52:18 Update of 'Xiaomi sensor' failed (AssertionError [ERR_ASSERTION]: Manufacturer code mismatch)
@devbis Do You have any idea how to fix this issue?
The best would be without flashing by uart - i don't have it yet setup, also i have a few devices to handle.
from z03mmc.
@PabloPL Thanks for the report. I uploaded revert OTA firmware with updated manufacturer code: https://github.com/devbis/z03mmc/blob/master/assets/db15-0203-99993001-ATC_v46.zigbee Please, use it to revert to BLE.
from z03mmc.
For local ota only url and force are required.
from z03mmc.
Related Issues (20)
- Stuck during OTA flashing HOT 1
- LYWSD03MMC version 2.1.1_0159 HOT 1
- Problem with LYWSD03MMC and Zigbee2Mqtt HOT 1
- Add support for Ruuvi Tags (bluetooth) ?? HOT 3
- Зависают устройства если выключить хаб на несколько часов (Яндекс.станция)
- Bricked 2 devices w no reason HOT 1
- high battery consumption HOT 10
- LYWSD03MMC HW revision going blank after fw reset HOT 2
- Cannot discover Zigbee after flashing HOT 2
- Can't add to HA zigbee2mqtt after successful Flash HOT 2
- Temperature is reported once every 4 hours. What's wrong? HOT 2
- Crashed sensors HOT 6
- Wired Values HOT 2
- Devices using a non existent konverter HOT 1
- Flash via UART? HOT 3
- Device showing up weird cluster endpoints on ZHA HOT 1
- zigbee change offsets of humidity and temp? HOT 4
- Is it normal devices only connect directly to a coordinator, they won't switch to any repeater? HOT 1
- Device stop reporting since july 2nd HOT 15
- Can't seem to see Temp & Humidity in Alexa
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from z03mmc.