-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Shelly 1, 2.5 and Dimmer cant be loaded with 2024.1.1 #107275
Comments
Hey there @balloob, @bieniu, @thecode, @chemelli74, @bdraco, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) shelly documentation |
Any log? Just upgraded from 2023.12.3 to 2024.1.1 and the integration does not load anymore. Got these logs:
I have 2 shelly 2.5 and one Shelly EM on latest firmware. All do not work now. |
yes i had the same log, keyError "gen" |
I have exactly the same issue after upgrading from 2024.1.0 -> 2024.1.1 |
+1 .. OK after downgrading to 2024.1.0 |
Please see my comment in issue 107277 |
Same problem here, since the update, I hope it will be solved soon |
downgrade via ssh "ha core update --version 2024.1.0" worked for now |
Same problem here ... |
Here as well (Shelly 2.5)
Traceback (most recent call last):
|
Same problem here, downgraded to 2024.1.0 |
Thanks, no need for additional "same problem", logs shows the problem, working on a fix |
@thecode, thanks for the info. |
If this helps, in my case only some of my Shelly 2.5 are having this issue, but others work normally. All of them are on the same FW, and I could not see any differences in the (on-device) configuration. |
Yes, if the device was added after we introduced support for Gen2 (although it is Gen1) it will work since we store the Gen. |
The shelly integration didn't have a good start to the new year, first problem with the shelly 2nd gen powered on battery (like shelly smoke), after the 2024.1.1 patch .. total disaster, I restored the 2012.12.4 backup and everything works fine. I hope for a resolution soon since I have more than 30 shellies installed. |
If needed, as a quick workaround, I would be open to manually update some files, if possible, to add the 'gen' value before the next release (but also to align to the current approach those devices added before the support for Gen2 was introduced). |
Will it work again with the pull request after updating from 2024.1 to the next 2024.2 or is this gen lost and can't be recovered? |
I don't know if it helps to solve the problem: With 2024.1.0 a Shelly 2.5 was no longer loaded with a log entry that the firmware version was too old. In reality, the version was too new, I had installed the latest beta of Shelly. After a downgrade to the official Shelly version, the Shelly 2.5 was recognized correctly. I then installed 2024.1.1 with the result that my Shelly 1PM is no longer detected. In my opinion, these also run with a beta firmware |
Don't worry guys, the PR above is being approved and is almost there to fix the problem. ;) |
Thank you! How long the PR takes? Have I to downgrade my Home Assistant or should I wait for the new HA version? |
I downgraded which was easy. There isn't anything in 2024.1.1 that is required for functionality |
The PR will be included in HA 2024.1.2 which is currently scheduled for Jan 12th, but this could always be a bit earlier or later. If you want to solve it now, you can downgrade back to HA 2024.1.0 and wait for HA 2024.1.2 to be ready. Or stay on HA 2024.1.1, remove the shelly integration, restart HomeAssistant, setup the shelly integration again. This will add the missing key in your configuration data and it schould work again. BE WARNED: this will reset the device and entity names and entity IDs, therefore you will need to set those back otherwise your automations may not work anymore. |
I apologise to everyone for this issue, it's my stupid mistake. Thanks to @thecode for the quick fix. |
If you are impatient and don't what to remove/add-back the device or go back to an older HA version, this worked for me. Using the SSH add-on, use the editor of your choice to add Eg,
|
Thanks a lot; this is exactly what I was looking for. |
same here, had to remove and re-add the device. |
Thanks a lot !! Can I add the "gen" key before the update to 2024.1.1 ? |
Yes |
Only for infor other people, in my case, with update to 2024.1.1 all Shelly work fine in Shelly App, and in Home Assistant:
|
see breakchange: https://www.home-assistant.io/blog/2024/01/03/release-20241/ "Shelly You must update your devices to the firmware versions listed or newer. |
It worked for me as well and now I am on 2024.1.1 |
Shelly Dimmer 2 were affected for me, but the workaround from @mclem fixed them. |
I confirm fixed with 2024.1.2 ! Thanks a lot for the quick fix ! It affected 4 of my 7 Shelly devices including also a 3EM. |
isn't fixed for me, i see the below. do you want a new bug report?
|
@fredtj as a general approach you should avoid commenting on a closed issue (as some developers stop following it when it is closed) and create a new issue, this specific case is a different issue anyhow. btw, I checked with the core team they are not charged per issue 😄 |
The problem
I installed 2024.1.1, all shellys 1, 2.5 and dimmer were not loaded, Plug S and RGBW worked.
All my shellys have latest, original, firmware.
Seems Tasmota flashed shellys are working (response from facebook-group).
Also it seems only docker version has a problem.
What version of Home Assistant Core has the issue?
2024.1.1
What was the last working version of Home Assistant Core?
2024.1.0
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Shelly
Link to integration documentation on our website
https://www.home-assistant.io/integrations/shelly/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: