Aqara Cube | modelID not recognized with Firmware 20180815
Just flashed firmware 20180815 to my CC2531 and the cube doesn't work anymore. The cube worked fine under 20180705 no matter which docker images has been used. How can it be?
db entry of the paired and previous working cube under firmware 20180705: https://pastebin.com/raw/xRPQYxTc
db entry of the paired and previous working cube under firmware 20180815: https://pastebin.com/raw/EUNYTe4t
You know it's necessary to re-pair a device after updating the firmware?
sure, I repaired all my devices, that's why I'm so confused as my cube is not working anymore
seems like the modelID can not be recognized with new firmware. When I edit devices.js and replace modelID 'lumi.sensor_cube' with "0x656275635f726f736e65732e696d756c" the cube is working as before.
@AnhDuc85 In relation to this I just received my Aqara cube (ordered an Xiaomi but I'm guessing they are the same) but I cannot get the tap function to work. All other functions are being seen in terminal except this.
Any ideas?
Also how can you update the firmware of the cube without an original hub and Xiaomi app? It is possible?
@aptonline tap is working out of the box, some samples: payload: '{"battery":"98.33","voltage":2995,"linkquality":105,"action":"tap","side":0}' payload: '{"battery":"98.33","voltage":2995,"linkquality":107,"action":"tap","side":5}'
As far as I know, there is no other way to update the cube firmware except via xiaomi hub and app.
No for me @AnhDuc85, I've double checked and not getting any tap payload exposed in terminal. All other functions are there. Running [email protected]
do you get the "tap" via Mi Home app?
seems like the modelID can not be recognized with new firmware. When I edit devices.js and replace modelID 'lumi.sensor_cube' with "0x656275635f726f736e65732e696d756c" the cube is working as before.
Here the same. As a workaround it's fine, but I hope it will be fixed.
I have the Mi cube.
@wilfredsmit @AnhDuc85 are you sure this is because of the firmware update and not because a zigbee2mqtt update?
(when you revert to the old firmware, does it work again?)
It stopped working after I updated my firmware and re-paired the cube. Also, I tried with old zigbee2mqtt image but still same.
Within the next days, I will get another CC2531, will flash old firmware and double check. Don't want to use my current stick and re-pair the devices again :-)
The same for me. I updated my firmware and re-paired the cube. Btw I use the docker image.
@Koenkk Firmware 20180507: https://pastebin.com/raw/iiQW0K5d Firmware 20180815: https://pastebin.com/raw/ZwdPtEeV Now it's 100%, there is an issue with the firmware
@AnhDuc85 could you trigger some actions when running both firwmare?
You 20180815 has some more events:
zigbee2mqtt:debug 2018-9-25 19:25:06 Recieved zigbee message of type 'attReport' with data '{"cid":"genBasic","data":{"modelId":"lumi.sensor_cube.aqgl01"}}' of device '0x656275635f726f736e65732e696d756c' (0x00158d0002791e60)
zigbee2mqtt:warn 2018-9-25 19:25:06 Device with modelID '0x656275635f726f736e65732e696d756c' is not supported.
zigbee2mqtt:warn 2018-9-25 19:25:06 Please see: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices
zigbee2mqtt:debug 2018-9-25 19:25:07 Recieved zigbee message of type 'devInterview' with data '"0x00158d0002791e60"'
same with all events (tap, rotate, flip, ...). Only the presentValues changes: https://pastebin.com/raw/QefxNYT3
And how does it look like when running with the 20180507 firmware? (with the same cube)
Seems like I mixed up something. Problem is not relating to Firmware. However, it's not possible to pair the cube with stable and latest-dev BUT it's possible to pair with 0.1.3. Once the cube is paired, switch back to latest-dev or stable and everything seems fine. @wilfredsmit can you try that?
I am experiencing the same error. Maybe there is a clue here: 0x656275635f726f736e65732e696d756c in ascii spells ebuc_rosnes.imul (lumi.sensor_cube reversed...)
@AnhDuc85 I'm afraid I don't have the time to test this the coming days, as I'm not at home.
So then it seems to be a problem of the new zigbee2mqtt version.
I just paired 2 brand new cubes (with newer firmware, I guess). These are not recognised: "Device with modelID '0x656275635f726f736e65732e696d756c' is not supported.". Older cubes still work, so I'm not sure the problem is caused by zigbee2mqtt.
As @JaapBraam mentioned before, when decoding this modelID hex string, we get the normal model id but reversed...?