-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Can't update Ikea Styrbar 1.0.024 to latest version #18515
Comments
I've found someone having the same issues as me.
I've entered |
I've also tried (and failed) to force update Styrbar by downloading the file locally and using local index.json. It seems that zigbee2mqtt ignores local index.json for those devices which are found in online feed, like IKEA. @Koenkk can you confirm this? |
It's only used when
external_converters:
- ext_converter.js
|
Thanks! I was able to update to 2.4.5 with the external converter. I opened a pull request to get this information to the official docs. |
Great, assuming this can be closed now. |
I've tried it in several ways and couldn't get it to work. I've created the .js-file, I've changed the config, I've restarted Z2M from within Home Assistant numerous times and I can't get the button to update. I've added my my_index.json to the config and then I got the message that 1.0.024 is newer than 2.4.5. |
@crispy78 this is the index.json I used for successful OTA (I downloaded the file from IKEA feed to the /app/data directory): |
I'm about to quit this struggle. I can't find the app/data directory, so I've placed the file in the Zigbee2MQTT config-directory. I've changed the my_index.json-file, changed the config-file and still no luck. I'm thinking of changing to ZHA temporarily, the device seems to be updating on that platform with less hassle. I might be wrong. |
I've just managed to start the update, maybe I can help... My problem was that I didn't know that GUI settings override the settings I've put in config files by hand. I've used simple-web-server from GitHub on my PC, and put 10078031-zingo_kt_styrbar_remote-2.4.5.ota.ota.signed and my_index.json files in the root directory. Then in Z2M\Settings\OTA Updates I've unchecked "IKEA TRADFRI OTA use test url" and put url to my_index.json file on web server - in my case it was http://192.168.1.100/my_index.json Contents of my my_index.json: and last thing was ext_converter.js which I've uploaded with File Editor to the zigbee2mqtt directory. Contents were taken from the link that koenkk provided above. Then i just entered converter filename in Z2M\Settings\External Converters |
@tishcufksips thanks for your instructions, it finally got to the point that it found an update and it's currently updating. |
There is no need to run a server or anything like that. zigbee2mqtt is perfectly capable of serving the file. The firmware file and my_index.json can both go in the data directory, which is the same directory that zigbee2mqtt configuration.yaml is located.
[ { "manufacturerCode": 4476,
"imageType": 4555,
"fileVersion": 581,
"url": "10078031-zingo_kt_styrbar_remote-2.4.5.ota.ota.signed",
"force": true } ]
external_converters:
- ext_converter.js
ota:
zigbee_ota_override_index_location: my_index.json
|
Hi y'all: I'm pretty sure I've done all the steps here correctly, and have tried both using a web server and putting the necessary files on the HA instance directly, but I'm getting errors (see below) that seem to point to another problem. The buttons are working correctly, so I'm not sure these errors really mean what they say. Any help or pointers is appreciated! Info 2023-10-04 18:30:39MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Failed to check if update available for 'IKEAButton2' (Device didn't respond to OTA request)","meta":{"device":"IKEAButton2","status":"check_failed"},"type":"ota_update"}' with DEBUG on, these errors appear: Error 2023-10-04 19:13:07Failed to check if update available for 'IKEAButton2' (Device didn't respond to OTA request) |
Did you press button on the remote to wake it up immediately after clicking Check for updates? |
I did. I've reverted all the changes to force an OTA update and reset the devices and configs. And even then I get the same error :( EDIT: Finally got it to work. I, like [tishcufksips], found that I had to add the converter and index entries into the GUI for it to work. Also, pulling the batteries from the buttons seems to help the process along, as it checks for an update immediately after power-on. |
After flashing the firmware, the buttons stopped working, action commands are no longer sent, 3 buttons were flashed and they all stopped working. What have I done wrong? |
You have to remove the external converter and restart zigbee2mqtt to get all functionality back. |
Thank you, everything returned after completely stopping the container and starting it, restarting did not help. |
Hi, i did the update from #18515 (comment) and now only got device_announce messages when i insert battery. |
I alas seem to experience the same problem, even after restarting z2m/the whole system: both of my buttons stopped working after flashing the new firmware. No action commands are sent from them and I also can't seem to remove them. They do however seem to pair perfectly again when factory resetting them, but the result is the same: no functionality whatsoever. |
I think something worked here. |
I was about to do this, when I suddenly realized one of the two buttons worked. The only thing I had been doing (repeatedly) was removing the device, pairing it again and rebooting my entire system, to no avail. After leaving the button many hours, it suddenly worked. The second button I had still didn't work, but worked immediately after re-pairing it. I can't really pinpoint what suddenly changed... |
I've seen this behavior before. Mostly with IKEA shortcut button. It paired well, but sent no actions. Sometimes it started to work after multiple factory reset, sometimes I left it on the table and started to work after some hours by itself. |
same here - after the FW update it did not work anymore. Pairing was fine, just didn't trigger any action. I took out the batteries and replaced the remote with an old FW-level. After two days I wanted to do further tests and after inserting the batteries, the Styrbar worked just normal. So maybe it helps to take out the batteries over night... thanks @jkl1337 for the above manual!! |
same issue , tried to pair, it pairs ok ( long process of interview but finally pairs) but no actions triggered , also You can force a update for the firmware by pairing with hub and letting it update and then unpairing , but still when i connect to HA there is no trigger or binds working |
Since it is fixed (in container installation) by completely removing the container, it must be that the external converter gets somehow included in some other directory than data. Is it somehow cached or compiled in under files in dist? |
Few days ago something strange happened. Styrbar started to light up the bulbs on 1% of brightness no matter the previous state (not by automation but through binding). I had no such problem before. During my experiments I've excluded the fault of bulbs (they remembered brightness on power outage) and automations. It was Styrbar that was a culprit. And so I found this topic and decided to upgrade it. Thx @jkl1337 for great instruction! Upgrade didn't help. The bulbs are still turned on with 1% brightness no matter what (I can move brightness up, but after I turn off the lights they forget previous value). No gain here. Update breaks single arrow press. To recover from it I had to delete the device from z2m and re-pair anew. After that the new binding to Coordinator appeared - Scenes which fixes lack of single press as explained in this topic #15725 I still have to find the fix for this 1% brightness.. |
Same here 😞 |
Hi @Redominus As for the Styrbar remote it is not worth it to update. With firmware 1.0.024 the remote could be bound with Lidl bulbs ( https://www.zigbee2mqtt.io/devices/HG06492B.html#lidl-hg06492b ). After update the remote works only with original IKEA ones. |
external converter? If I remove and re-insert batteries, last seen gets updated. But it still says offline and no response from buttons |
And you restarted Z2M also? If so, I am clueless here. :( |
Just tried this:
Stil "Offline" and no response |
Edit: Log: Read further up in this thread...some buttons looks to have started working after just leaving them for a day or two... |
that other thread was ZHA...so not applicable...other than it looks to be problems there as well |
My updated styrbar does not react on any button after update to 2.4.11 and excluded and re-joined to the network. Tried to bind it to a bulb according to your post above, but it fails to bind: Error 2024-05-05 23:08:53Frame changeSourceRouteHandler parsing error: RangeError: Attempt to access memory outside buffer bounds at new NodeError (node:internal/errors:405:5) at boundsError (node:internal/buffer:86:11) at Buffer.readUInt16LE (node:internal/buffer:245:5) at Buffer.readUIntLE (node:internal/buffer:182:17) at Function.deserialize (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/types/basic.ts:19:67) at new EZSPFrameData (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:180:54) at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:154:23 at Array.every () at Function.createFrame (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:148:15) at Ezsp.onFrameReceived (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:439:35) |
Did You checked following checkboxes on bulbs? OnOff, genPollCtrl |
For the STYRBAR on 1.0.024, genPollCtrl and PowerCfg is bound to coordinator, but for the one on 2.4.11 it's only bound to genPollCtrl....and I can't get it to bind to PowerCfg When it's possible to bind both functions for up down to go directly via coordinator, but Zigbee2MQTT does not react at all for those buttons....is there something incompatible with this new firmware...? I don't think I will wait for to long...think I'll try to take the stuff to IKEA and see if they exchange it. It's just half a year old They use to have a very customer friendly approach... |
If you are having issues with the color temperature controls on this remote, do the following: This answer should be added to Styrbar remotes in zigbee2mqtt documentation as well imo, as it just worked for me FINALLY !!! 1- Create a group called ikea_lights (or any name) with ID 65289 (the ID is important) Topic: {"scene_add":{"ID":1,"name":"Cold temp","transition":1,"color_temp":250}} Then you should be able to switch through the scenes via the 'left/right click' on the remote !!! |
My control doesn't report |
I planned taking my STYRBAR back to IKEA this afternoon and see if they accept to swap it under warranty as it stopped working...they use to have a very friendly customer service, but than that might not help. I don't think I tested it after updating Z2MQTT the other day before I updated the firmware of the STYRBAR. I really hope some skilled enthusiast here can manage to update some driver so we can get our STYRBARs to work again!!! |
Have you tried to upgrade to 2.4.5 then to 2.4.11 though ? I was in the same boat, then I went thru the update process described above (for 2.4.5) then updated thru regular OTA. Since then, only the 2 arrows were not working same as you, for which I described the fix above (right and left arrow are color temperature controls):
|
I updated directly to 2.4.11, so I can't try via 2.4.5 |
I have exactly the same issue with version 2.4.11 as well as 2.4.5.. updated zigbee2mqtt recently, might be an issue with zigbee2mqtt. All other buttons work as expected! |
I can confirm that after updating firmware to 2.4.11 both left/right long press don't work anymore. Any fixes for this (since I use both long presses for different lights toggling)? |
For me, waiting a couple of days made them working again. |
https://community.home-assistant.io/t/ikea-styrbar-e2001-2002-ultimate-zigbee2mqtt-z2m/625090 |
In my case, the problem was resolved after upgrade zigbee2mqtt to the 1.37.1 version AND Home assistant to the 2024.5.2 version |
for me helped to reconfigure device (the orange icon with arrows) |
I had the same problem, removing the noise once and retraining solved the problem. |
Any way of achieving this with ZHA? |
Same problem, left and right buttons stopped working after firmware update. When you remove the battery and add it back, they start working again until it happens again. So the only way for now is reset via battery. |
So I followed all suggestions and managed to update to 2.4.5 then even update to 2.4.11. I followed @devWaves instructions above also no luck, I did notice one difference though. Destination endpoint for me is 0 rather than 1. |
@yarafie you can create a new binding. Use source endpoint = 1 , destination endpoint = 1, and destination = coordinator. Try creating a new one, then do the same bind process (take batteries out, fill out bind settings, put batteries back, press bind) if that works then do an unbind on the original messed up one. or try unbind first |
I had 2 spare STYRBAR not updated yet so used those for the time being will get back to the other ones, one at 2.4.5 and the other at 2.4.11 and will post my trials here later when I get the chance. I'm using a SLZB-06 as a coordinator and am at z2m 1.37.1 |
I updated to 2.4.11, and then discovered the device is not working properly anymore (no left / right click). So, I ended up here in hope of how I can restore 1.0.024. But, can not find the answer here, and ticket is already closed. Am I missing something? |
What happened?
When using the OTA functionality Zigbee2MQTT concludes that the version 1.0.024 is newer than the firmware available online 2.4.5, so it won't update the device.
I've tried forcing the update, but that didn't work. To accomplish that I've renamed the index.json from pull request Koenkk/zigbee-OTA#340 to my_index.json and put it in \config\zigbee2mqtt in Home Assistant and entered /config/zigbee2mqtt/my_index.json in Zigbee2MQTT as the OTA index override file name.
What did you expect to happen?
I would have liked the device to update to the latests firmware.
How to reproduce it (minimal and precise)
Press "Check for new updates" on a Ikea Styrbar in the OTA-menu.
Zigbee2MQTT version
1.32.2-dev commit: 68ec507
Adapter firmware version
20220928
Adapter
CC2652RB
Debug log
info 2023-08-03 22:04:53: Checking if update available for 'Drukknop voordeur'
info 2023-08-03 22:04:53: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Checking if update available for 'Drukknop voordeur'","meta":{"device":"Drukknop voordeur","status":"checking_if_available"},"type":"ota_update"}'
debug 2023-08-03 22:04:53: Check if update available for '0x540f57fffe8f81f0' (Remote Control N2)
debug 2023-08-03 22:04:53: Using endpoint '1'
debug 2023-08-03 22:04:54: Received Zigbee message from 'Drukknop voordeur', type 'commandOff', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:54: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":"off","battery":100,"last_seen":"2023-08-03T22:04:54+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
info 2023-08-03 22:04:54: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":"","battery":100,"last_seen":"2023-08-03T22:04:54+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
info 2023-08-03 22:04:54: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur/action', payload 'off'
debug 2023-08-03 22:04:54: Received Zigbee message from 'Drukknop voordeur', type 'commandOff', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:54: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":null,"battery":100,"last_seen":"2023-08-03T22:04:54+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
debug 2023-08-03 22:04:56: Received Zigbee message from 'Drukknop voordeur', type 'commandTradfriArrowSingle', cluster 'genScenes', data '{"value":256,"value2":13}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:56: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":"arrow_right_click","battery":100,"last_seen":"2023-08-03T22:04:56+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
info 2023-08-03 22:04:56: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":"","battery":100,"last_seen":"2023-08-03T22:04:56+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
info 2023-08-03 22:04:56: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur/action', payload 'arrow_right_click'
debug 2023-08-03 22:04:56: Received Zigbee message from 'Drukknop voordeur', type 'commandTradfriArrowSingle', cluster 'genScenes', data '{"value":256,"value2":13}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:56: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":null,"battery":100,"last_seen":"2023-08-03T22:04:56+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
debug 2023-08-03 22:04:57: Received Zigbee message from 'Drukknop voordeur', type 'commandTradfriArrowSingle', cluster 'genScenes', data '{"value":257,"value2":13}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:57: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":"arrow_left_click","battery":100,"last_seen":"2023-08-03T22:04:57+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
info 2023-08-03 22:04:57: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":"","battery":100,"last_seen":"2023-08-03T22:04:57+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
info 2023-08-03 22:04:57: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur/action', payload 'arrow_left_click'
debug 2023-08-03 22:04:57: Received Zigbee message from 'Drukknop voordeur', type 'commandTradfriArrowSingle', cluster 'genScenes', data '{"value":257,"value2":13}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:57: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":null,"battery":100,"last_seen":"2023-08-03T22:04:57+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
debug 2023-08-03 22:04:57: Received Zigbee message from 'Drukknop voordeur', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":65572,"imageType":4555,"manufacturerCode":4476}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:57: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":null,"battery":100,"last_seen":"2023-08-03T22:04:57+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
debug 2023-08-03 22:04:57: Got OTA request '{"fieldControl":1,"manufacturerCode":4476,"imageType":4555,"fileVersion":65572}'
debug 2023-08-03 22:04:58: Received Zigbee message from 'Drukknop voordeur', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:58: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":"on","battery":100,"last_seen":"2023-08-03T22:04:58+02:00","linkquality":32,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
info 2023-08-03 22:04:58: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":"","battery":100,"last_seen":"2023-08-03T22:04:58+02:00","linkquality":32,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
info 2023-08-03 22:04:58: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur/action', payload 'on'
debug 2023-08-03 22:04:58: Received Zigbee message from 'Drukknop voordeur', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
info 2023-08-03 22:04:58: MQTT publish: topic 'zigbee2mqtt/Drukknop voordeur', payload '{"action":null,"battery":100,"last_seen":"2023-08-03T22:04:58+02:00","linkquality":36,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":false}'
debug 2023-08-03 22:04:58: Is new image available for '0x540f57fffe8f81f0', current '{"fieldControl":1,"manufacturerCode":4476,"imageType":4555,"fileVersion":65572}', latest meta '{"fileVersion":581,"url":"http://fw.ota.homesmart.ikea.net/global/GW1.0/01.20.065/bin/10078031-zingo_kt_styrbar_remote-2.4.5.ota.ota.signed"}'
debug 2023-08-03 22:04:58: Update available for '0x540f57fffe8f81f0': NO
warn 2023-08-03 22:04:58: Firmware on '0x540f57fffe8f81f0' is newer than latest firmware online.
info 2023-08-03 22:04:58: No update available for 'Drukknop voordeur'
The text was updated successfully, but these errors were encountered: