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

  • looping@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    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.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          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.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          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

          • finn_der_mensch@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            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
    link
    fedilink
    English
    arrow-up
    1
    ·
    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
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    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.