Open raptr55 opened 2 months ago
Hey there @balloob, @bieniu, @thecode, @chemelli74, @bdraco, mind taking a look at this issue as it has been labeled with an integration (shelly
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
shelly documentation shelly source (message by IssueLinks)
What is the IP address of the new PI?
some of your devices doesn't have unicast configured and some are configured to 192.168.1.187:5683
, I assume that if you changed the hardware the server received a new IP.
What is the IP address of the new PI?
some of your devices doesn't have unicast configured and some are configured to
192.168.1.187:5683
, I assume that if you changed the hardware the server received a new IP.
no, same ip for the new raspberry. 100% sure about this
this is the log of one of the shellys that goes on timeout:
527217820 mgos_sys_config.c:323 Saved to conf9.json 527338316 mgos_http_server.c:180 0x3ffef824 HTTP connection from 192.168.1.22:62583 527378325 mgos_mongoose.c:66 New heap free LWM: 33632 530535160 shelly_sntp.c:441 minute tick at 14:26:00 530627362 mgos_http_server.c:180 0x3ffef824 HTTP connection from 192.168.1.187:55866 531727693 mgos_http_server.c:180 0x3fff227c HTTP connection from 192.168.1.187:55872 531943687 mgos_http_server.c:180 0x3fff227c HTTP connection from 192.168.1.22:62589 531965011 json.c:428 RAM: 51688 total, 37680 free 532856618 mgos_http_server.c:180 0x3fff227c HTTP connection from 192.168.1.187:50118 532873358 json.c:428 RAM: 51688 total, 38236 free 536949522 mgos_http_server.c:180 0x3fff227c HTTP connection from 192.168.1.22:62590 536974138 json.c:428 RAM: 51688 total, 38004 free 541934566 mgos_http_server.c:180 0x3fff1a84 HTTP connection from 192.168.1.22:62591 541954475 json.c:428 RAM: 51688 total, 38372 free 545262240 mgos_http_server.c:180 0x3fff1afc HTTP connection from 192.168.1.22:62593
192.168.1.22 is my pc refreshing the logs 192.168.1.187 its home assistant
Do you need any other info?
After quite some time the devices connect to home assistant. After a reboot the problem occurs again.
If the devices connect(even after hours) there’s no problem on network side… I think there’s an issue on homeassistant side.
How can i help in order to solve this problem?
I too am seeing this, I have my home assistant running on a dedicated PC and have noticed over the last few days that my shellys have stopped working with connection errors, the only change has been updating home assistant
Could be the same issue as https://github.com/home-assistant/core/issues/115354
See the section Enabling asyncio debug mode at run time (preferred)
in https://community.home-assistant.io/t/2024-5-tracking-down-instability-issues-caused-by-integrations/724441
Could be the same issue as #115354
See the section
Enabling asyncio debug mode at run time (preferred)
in https://community.home-assistant.io/t/2024-5-tracking-down-instability-issues-caused-by-integrations/724441
ok something strange happened. right after activating the indicated setting the shelly connected...
look for the device [192.168.1.17
]. i enabled the settings at:
2024-05-08 18:06:33.626 CRITICAL (MainThread) [homeassistant.components.profiler] Setting asyncio debug to True
home-assistant_2024-05-08T16-09-54.657Z.log
maybe the timeout time is too tight and when you enable the setting it slows down the system and the response comes before the timeout?
@raptr55 can you confirm if issue is resolved after updating to core 2024.6.0
?
@raptr55 can you confirm if issue is resolved after updating to core
2024.6.0
?
Nope… same problem.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Same problem on 2024.6.3
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
I am still seeing this on 2024.7
Matt Rayner http://www.mattrayner.co.uk/
On Fri, 5 Jul 2024 at 13:08, issue-triage-workflows[bot] < @.***> wrote:
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/115313#issuecomment-2210761665, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2XGNXDQHJIFZFGLIBW2LLZK2EEVAVCNFSM6AAAAABI6F7G3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQG43DCNRWGU . You are receiving this because you commented.Message ID: @.***>
The problem
after upgrading from a raspberry pi3b to a raspberry pi 5 some shelly devices cant connect to home assistant
What version of Home Assistant Core has the issue?
core-2024.4.0 and core-2024.4.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Shelly
Link to integration documentation on our website
https://www.home-assistant.io/integrations/shelly
Diagnostics information
home-assistant_shelly_2024-04-09T21-24-31.340Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2024-04-10 10:19:48.451 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.1.15: error: DeviceConnectionError(TimeoutError())
Additional information
in the raspberrypi upgrade i loaded a previous snapshot where everything worked. the shelly ip's did not change as well as nothing changed but the board. even the home assistant ip remained the same.
this morning after many hours the shellys connected but the even stranger thing is that all the automations disappeared even though they were written in the automation.yaml file. following a reboot the automations became available again but the shellys will not connect again
all shellys are reachable and usable via http link from browser