-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find device in TelinkMiFlasher.html after flashing with Zigbee 0.1.0.5 #4
Comments
After changing the firmware to ZigBee, you lose the ability to communicate with the device via Bluetooth. If a device with fw 3001-0105 is visible in Z2M, it means that it has been uploaded correctly. |
Thanks for the comment but I am not quite understanding.
All the links in this comment show the Telelink html page that uses BT, I'm not sure what you mean in order to
I will need to search more about this, but yes it looks promising as a method.
Agreed, the firmware appears to have updated correctly. But My Z2M shows no data for the temp/humidity, I simply get an lqi and nothing else. |
To restore to BLE, use the Zigbee OTA file with the same number from: https://github.com/pvvx/ATC_MiThermometer/tree/master/zigbee_ota After running Zigbee OTA, be sure to delete this file or files from the update directories for Zigbee OTA and completely restart z2m/zha. Otherwise, with the new Zigbee firmware, this update in BLE will work again. To update Zigbee, use the following files: ZHA and fw v0.1.0.5: |
I believe there is nothing wrong with the firmware, something goes wrong with the inspection when the sensor joins the zigbee network. It worked first time but then stopped sending updates immediately, and removal and re-join now results in messages regarding invalid format. Before the move to zigbee, the battery was reported as 100% (99% on display, 100% via BLE to Home Assistant) so I don't think it is that. |
Sorry pvvx but I have no idea what you're trying to show me there :) I've not been successful with pushing the BLE firmware OTA using Zigbee2MQTT - in every attempt, I receive the message Z2M uses a local database of the OTA files, and attempts to push an arbitrary FW appear to first require the database to recognise that there is a later firmware available to push. If I can find a way to simply send the OTA file to the device without having to trick the Z2M database first, it might be successful. I haven't found a way to do that yet, and I'm not sure Z2M provides such a method or if I need to find an alternate tool. (Side note: I'm starting to wonder if some of the issue relates to the |
While the firmware options are in beta testing, I will not post them in the general lists of automatic updates for all Zigbee devices. |
I understand. I have made progress over the past few hours and now have Z2M showing an available update for the device. (Unfortunately Z2M does not offer a mechanism to upload an arbitrary file to a device, which would make this process much easier..) I am now encountering two different errors that are blocking the OTA mechanism - one is a generic timeout which I believe is somewhat expected given the nature of Zigbee and this device (LYWSD03MMC). The other appears to be a coding error with an unhandled exception in the node.js components of Z2M ("Attempt to access memory outside buffer bounds") - I'm just gathering info now to open an issue in the Z2M repo. Closing as this is definitely not a problem with any components from this repo. |
@pvvx I have resolved my problems with returning to BLE using Z2M. I have upgraded my LYWSD03MMC to v0106. Is there anything specific you want as feedback for the beta firmware? |
Version 0.1.0.7 is currently being tested. |
Should I be able to still find the device via BT scan, or is this function lost?
I have tried removing battery, and shorting GND/RST pins - this results in
- - -
being displayed and allows to to pair to a Zigbee controller, but does not allow me to find the device using a BT scan.How do I flash the next version of firmware once it is released, or return to factory or BLE-based custom firmware? Is this only available via a USB connection now?
(Note I am not 100% sure of the Zigbee firmware version applied, Z2M shows firmware
3001-0105
with build date20231116
)The text was updated successfully, but these errors were encountered: