this post was submitted on 03 Jul 2023
3 points (80.0% liked)

homeassistant

11833 readers
8 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

So i got an ikea on/off switch, i i have it connected via zigbee2mqtt, it says there is newer firmware, but when i try to update to it, it doesn't do anything, i tried pressing the buttons on it while updating, because the zigbee2mqtt documentation for the switch said that but it still doesn't update

top 10 comments
sorted by: hot top controversial new old
[–] looping@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

Hi,

See if it's a firmware version problem like on the styrbar. Another clue: on bulbs of the same model, I had an upgrade error via z2m blocked at 4%, I had to turn off the power completely, wait for the timeout and restart the upgrade for it to work.

If that's not it either, the logs are a good lead.

[–] Oliper202020@lemmy.world 1 points 1 year ago (1 children)

Here are my logs from what i can tell nothing is wrong in there it doesn't even give me a percentage

[–] finn_der_mensch@discuss.tchncs.de 1 points 1 year ago (3 children)

In those logs it states 'available' as if the update if found but not triggered. Did you send a manual trigger message like described here in the docs? Neither is "Device didn't respond to OTA request" in the log, further suggesting that. Sadly the file is cut off in your screenshot though so it's hard to tell. Could you upload and share the complete log?

[–] Oliper202020@lemmy.world 1 points 1 year ago

I went in to the Z2M OTA menu and it had an update(i just got the switch) and it just didn't show anything about it updating even after a while, so I pressed it again and it just said that it was already updating, so i waited a while more and still nothing pressed it again and it didn't say anything so I waited a bit and then restarted home assistant, but it was just the same, i dont know how to send a manual trigger message, and didn't see anything about it when i skimmed the link you sent, i dont know how to upload the logs

[–] Oliper202020@lemmy.world 1 points 1 year ago

I went in to the Z2M OTA menu and it had an update(i just got the switch) and it just didn't show anything about it updating even after a while, so I pressed it again and it just said that it was already updating, so i waited a while more and still nothing pressed it again and it didn't say anything so I waited a bit and then restarted home assistant, but it was just the same, i dont know how to send a manual trigger message, and didn't see anything about it when i skimmed the link you sent, i dont know how to upload the logs

[–] Oliper202020@lemmy.world 1 points 1 year ago (1 children)

So apparently my suggestion was wrong and the update request is sent, it is just not received properly. You said you also tried pressing the ikea button meanwhile to prevent it from going to sleep mode, so I'm kinda clueless here too. Maybe it helps to re-pair the switches? or just waiting for the update to be loaded by the switches themselves, which can take some days. zigbee2mqtt seems at least otherwise correctly configured to serve an ota update.

[–] looping@lemmy.world 1 points 1 year ago

Maybe a lead here : https://github.com/Koenkk/zigbee2mqtt/issues/10666

If that doesn't help, it would be great if you could give more info about your switch model, its version, and more logs if you can.

[–] looping@lemmy.world 1 points 1 year ago

Device didn't respond to ota request. Have you tried deleting the z2m switch and then reinstating it by pressing the button 4 times?

If that's not enough, you're really going to have to go further in the debugging process.

[–] CmdrShepard@lemmy.one 1 points 1 year ago* (last edited 1 year ago)

I just updated my on/off switches and fyrtur shades last week (also running on a Pi). For the switches, I clicked a button on them yo make sure they were awake and then ran to my computer to initiate the update immediately and it worked. The "update initiated pass/fail" message should appear in a small pop-up card on the upper right of the Z2M window before disappearing a few seconds later.

What I haven't been able to update is the open/close switches no matter what I've tried.

load more comments
view more: next ›