#There might be an attribute on the Aqara

1 messages · Page 1 of 1 (latest)

dark copper
#

i think it's better to make a thread so as not to fill up an othwerise useful channel

cursive quarry
#

What’s the image id / file you installed?

dark copper
#

0x42 == 66 and apparently it's not for the b1nacn02, but for the b2nacn02

cursive quarry
#

Yeah, well. Looks like those are one of the few Aqara devices that do not work, as they have a "modelId" defined in the repo.
I’ll check if we can flash the other firmware again in a minute

dark copper
#

thank you!

cursive quarry
#

That’s why Aqara doesn’t have an OTA provider by default 😄

dark copper
#

yeah, but apparently now it does if you just leave OTA files in there for years 😛

cursive quarry
#

But you clicked "install" though, right? Like, the firmware files would already install before. Just only when a device requests the image (can be triggered by image notify)

#

Current file version is 0x42 in HA?

dark copper
#

Yes

#

Hm, actually no

cursive quarry
#

hm, can you read the current_file_version on the OTA cluster through the clusters UI?

dark copper
#

But the update succeeded (on the second attempt) with version 0x42

cursive quarry
#

also, what does the firmware entity show as a version now (when you click on it)?

dark copper
#

Cluster attribute says 66 (=0x42)

#

Update entity says 0x3e

#

I just restarted HA before you asked (for different reasons) if that makes any difference

cursive quarry
#

hm, I think the HA registry is just outdated then

#

okay, so we can try flashing back the correct firmware, but we need to "circumvent" the "downgrade protection" of ZHA and of the device. This trick might not work for your device (but has worked for EU Xiaomi plugs for example).
So, before I send you the modified file, to make you aware: this could permanently brick your device. You understand?

dark copper
#

I'll check if i have a spare

#

i don't, but i have several 2-gang available. and i can always buy another 1-gang

cursive quarry
#

So, you wanna try? 😄

#

I doubt it's gonna brick, but idk, so

dark copper
#

it's useless as it is, so...

#

teach me, master