Hass.io stops connecting to the network

Hi, I may have had the same problem. Did you try to disable the Bluetooth BCM43xx? I have gone from constant reconnecting (10 x / hour) to zero reconnects in two weeks…

If Spaceman Spiff’s suggestion doesn’t help I’d be beginning to suspect the Raspi board. It’s easy enough to check the RJ45 socket for dry solder joints as it is a through hole component but it could also be faulty integrated magnetics (there are common mode chokes inside the socket) or the PCB traces or etc… Might be easier to try another board.

Don’t give up. HA is a great platform. I’ve had rock solid stability since I started last December. Just bad luck you have a bad part somewhere.

I’ve been running into this a bunch myself lately. So taking the time tonight to backup my instance and try it on another pi. I have mine hardwired to my home’s alarm system so the the output is about 2.5-3amps and worked fine for a while. the only automation I have running is the presence detection for lights and an auto backup at 3 am. I hope we find a solution for this soon because I have seen this come up a lot laely.

Ralph - 100% I bet this is an SD-Card issue. You need a better more reliable card. I originally used a Noobs card I got with the Pi flashed for Hassio and it did exactly the same every day or so and was maddening. Changed to a Samsung EVO Plus 32gb - end of problem. I am now running off a USB stick but it was the card causing the issue - even what I thought was a good card.

Just take a snapshot, use a new card and restore and it won’t do this anymore.

Hi all,

Thanks for all the replies. @DavidFW1960: I will try replace the SD in time. Need to do that anyway because of the size.
Another thing is the system is up and running for more than a week now. Changed nothing to the system. No hardware and no software. Not even a config change. But… i have Monit looking over my critical hardware from another Pi. I decided to add the HA Pi to this system, basically to be able to look at router logs etc. when HA goes down. And guess what. The system runs eversince. The only thing Monit does is pinging the HA Pi. I will keep it running for a whlie, see what happens. But I still think its something with preconfigured image for HA running on the RPi 3 causing this.
Keep you all posted!

Ralph

If your using HASS.IO I’d recommend making a back up and reinstalling the base OS then restore your back up as sounds like a base OS issue to me. Either that or your storage medium like @DavidFW1960 said.

I did all that. Flashed a fresh SD card, started it up in the RPi and restored the config. Initially that did not change anything. Same behaviour until I had Monit watching over it.

Ralph

Do you have some sort of power saving set on your router, sounds like the connection is going to sleep from that end rather than anything wrong with the Pi or your setup, especially figuring your Monit experience into the equation.

Not that i’m aware off. I use a Netgear R7000…

I have an R7000 too but run AsusWRT on it rather than the rubbish it comes with, don’t remember seeing any mention of it being a standard feature on this model though.

Perhaps @tom_l is closest to the mark, have you tried a different cable, different port in whatever you’ve plugged it into?

He eliminated that (replaced the cable). It is sounding like the Pi’s LAN port is going to sleep. However the Pi does not have a sleep mode. I’d be more inclined to go SD card or hardware fault (in that order).

I will second XVortex’s Asuswrt-Merlin on the Netgear R7000. Well worth installing. AiMesh doesn’t work reliably yet though (I have hope it will be improved).

Missed that, doh.

@Ralph_Bisschops, have you tried plugging it directly into your router, there’s a lot of switches out there that have an auto eco mode.

No did not try that, but it happens that there are two more Pi’s and an arduino (with a rather primitive ethernet breakout board) on the same switch. So does not feel like a routing issue is causing this. I will exchange the SD one more time. I’ve got a spare sandisk avail. After that I will terminate monit to see what happens.

Ralph, did you try to check what I posted about?

Since I disabled Bluetooth on my Hassio, stability increased enormously.

@SpacemanSpiff Did not try that yet. i’m not that much into hass.io and ResinOS. Is there a guide somewhere on how to disable the Bluetooth and the Wifi? Could not find it in the linked post.

Thx

I only have experience with hassio. In there, you just disable the bluetooth addin (Bluetooth BCM43xx)

Aha, so when I did not install the bluetooth add-on, there is nothing to disable :-). In that case we can conclude this is not the root cause. Is it the same for the Wifi?

For reference, I only have the basic ones enabled: Samba, SSH and Duck DNS.

Thx,

Ralph

No, wifi is not an add-on. It has to be configured after you burn the image to your SD card. You have to mount the card on your computer and edit the file: /system-connections/resin-sample.

When I used duckdns, every time I had a power break the interface stoped working. So I had to manually reset my pi for it to work again. When I removed the duckdns addon it worked perfectly.

All,

This seems to be very simular to what I have reported.
https://community.home-assistant.io/t/hassio-keeps-going-offline/29548/16
I stopped working with HA for a while. Recently picked it up again, this time with the latest version using hassio. Worked fine for a while, now two downs in a week time. Everything working, but no access to HA, not visible in the router as well.

Ralph