Jump to content

HomeAssistant freezes after 24-48hrs of uptime - Pi4

19_blackie_73

Hello everyone,

I'm currently trying to get HomeAssitant running. I'm using a 4GB Pi4 in a argus neo case with a Sonoff Zigbee Dongle, original Pi USB C Power Supply and an Intenso 120GB SSD. I've set it up on Wednesday, and since then two times my sensors (atm only 2 aquara thermostats) first were unavailable and then the whole gui didn't do anything - you could go to the various pages, but he didn't react to anything pressed that triggers an action. Zigbee stick shows up as initializing, but can't complete that.

After removing power for a while, it will restart and you need to press reconfigure on the aquaras to work again.

I'm new to this whole stuff and a bit lost, googling didn't bring much to the table atm that sounds about right.


Probably worth mentioning, I had to retry 2 times to get homeassistant finally to boot after installation (had to do the whole Pi imager thing 3 times).
Are any components faulty, are there things to look out for, maybe misconfigured?


Things I'm currently investigating:

- integrated the Pi cpu temperature sensor, so far only 1-2°C difference between start of logging in the morning and now.

- maybe backup and reinstallation on an sd card for testing?

- other usb extension for the sonoff dongle

 

Thanks for any hints and tricks and tips.

 

 

EDIT: for reference, here's the temperature graph of the CPU - small creep:

image.png.1f5e7e318ded22eadaa3128b8d007565.png

GUITAR BUILD LOG FROM SCRATCH OUT OF APPLEWOOD

 

- Ryzen Build -

R5 3600 | MSI X470 Gaming Plus MAX | 16GB CL16 3200MHz Corsair LPX | Dark Rock 4

MSI 2060 Super Gaming X

1TB Intel 660p | 250GB Kingston A2000 | 1TB Seagate Barracuda | 2TB WD Blue

be quiet! Silent Base 601 | be quiet! Straight Power 550W CM

2x Dell UP2516D

 

- First System (Retired) -

Intel Xeon 1231v3 | 16GB Crucial Ballistix Sport Dual Channel | Gigabyte H97 D3H | Gigabyte GTX 970 Gaming G1 | 525 GB Crucial MX 300 | 1 TB + 2 TB Seagate HDD
be quiet! 500W Straight Power E10 CM | be quiet! Silent Base 800 with stock fans | be quiet! Dark Rock Advanced C1 | 2x Dell UP2516D

Reviews: be quiet! Silent Base 800 | MSI GTX 950 OC

 

Link to comment
Share on other sites

Link to post
Share on other sites

26 minutes ago, 19_blackie_73 said:

Probably worth mentioning, I had to retry 2 times to get homeassistant finally to boot after installation (had to do the whole Pi imager thing 3 times).

Would try another SD card.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Kilrah said:

Would try another SD card.

currently using an ssd, but yeah, will try it with an sd card as a next step 🙂

GUITAR BUILD LOG FROM SCRATCH OUT OF APPLEWOOD

 

- Ryzen Build -

R5 3600 | MSI X470 Gaming Plus MAX | 16GB CL16 3200MHz Corsair LPX | Dark Rock 4

MSI 2060 Super Gaming X

1TB Intel 660p | 250GB Kingston A2000 | 1TB Seagate Barracuda | 2TB WD Blue

be quiet! Silent Base 601 | be quiet! Straight Power 550W CM

2x Dell UP2516D

 

- First System (Retired) -

Intel Xeon 1231v3 | 16GB Crucial Ballistix Sport Dual Channel | Gigabyte H97 D3H | Gigabyte GTX 970 Gaming G1 | 525 GB Crucial MX 300 | 1 TB + 2 TB Seagate HDD
be quiet! 500W Straight Power E10 CM | be quiet! Silent Base 800 with stock fans | be quiet! Dark Rock Advanced C1 | 2x Dell UP2516D

Reviews: be quiet! Silent Base 800 | MSI GTX 950 OC

 

Link to comment
Share on other sites

Link to post
Share on other sites

Oh missed that.

 

And you're using Home Assistant OS, right?

 

I've been using it on an official HA Yellow box with an SSD and I believe there was some trick required for SSD install, but don't remember...

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

13 minutes ago, Kilrah said:

Oh missed that.

 

And you're using Home Assistant OS, right?

 

I've been using it on an official HA Yellow box with an SSD and I believe there was some trick required for SSD install, but don't remember...

yes, from the official Pi Imager.

 

AFAIK and I'Ve found out, you just have to insert a SD Card first with an image that tells the pi to boot from the usb / SSD. That's what I've done for now.
Using also an USB to SSD that was recommended by several HA / Pi Forums.

GUITAR BUILD LOG FROM SCRATCH OUT OF APPLEWOOD

 

- Ryzen Build -

R5 3600 | MSI X470 Gaming Plus MAX | 16GB CL16 3200MHz Corsair LPX | Dark Rock 4

MSI 2060 Super Gaming X

1TB Intel 660p | 250GB Kingston A2000 | 1TB Seagate Barracuda | 2TB WD Blue

be quiet! Silent Base 601 | be quiet! Straight Power 550W CM

2x Dell UP2516D

 

- First System (Retired) -

Intel Xeon 1231v3 | 16GB Crucial Ballistix Sport Dual Channel | Gigabyte H97 D3H | Gigabyte GTX 970 Gaming G1 | 525 GB Crucial MX 300 | 1 TB + 2 TB Seagate HDD
be quiet! 500W Straight Power E10 CM | be quiet! Silent Base 800 with stock fans | be quiet! Dark Rock Advanced C1 | 2x Dell UP2516D

Reviews: be quiet! Silent Base 800 | MSI GTX 950 OC

 

Link to comment
Share on other sites

Link to post
Share on other sites

Yeah USB/SSD boot needs the RPi's EEPROM to be up to date, installing another basic Pi OS on a card then using that to update the EEPROM might help.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

On 12/10/2023 at 5:03 PM, Kilrah said:

Yeah USB/SSD boot needs the RPi's EEPROM to be up to date, installing another basic Pi OS on a card then using that to update the EEPROM might help.

today it happened again early in the morning. I was able to grab some screenshots of the log, but wasn't able to download it:

 

image.thumb.png.8e497a82b2ad7898b3e73a948b7a55e1.png

image.thumb.png.1a6858b5018e2b38e44c74ad792a3108.png

image.thumb.png.f8efbe3b461ed608bdfab172701c7225.png

 

 

in the log.1 file was only one entry:

 

2023-12-11 07:27:56.072 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547463421120] Error handling message: length of value must be at least 1 for dictionary value @ data['statistic_ids']. Got [] (invalid_format) <me>  from 192.168.178.20 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.7 (io.robbie.HomeAssistant; build:2023.471; iPadOS 16.6.0) Mobile/HomeAssistant, like Safari)
2023-12-11 07:29:18.409 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547463421120] Error handling message: length of value must be at least 1 for dictionary value @ data['statistic_ids']. Got [] (invalid_format) <me>  from 192.168.178.20 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.7 (io.robbie.HomeAssistant; build:2023.471; iPadOS 16.6.0) Mobile/HomeAssistant, like Safari)


everything else seems to be lost to time. I first unplugged the power, plugged it back in, nothing, then again unplug and back in and then it worked.

GUITAR BUILD LOG FROM SCRATCH OUT OF APPLEWOOD

 

- Ryzen Build -

R5 3600 | MSI X470 Gaming Plus MAX | 16GB CL16 3200MHz Corsair LPX | Dark Rock 4

MSI 2060 Super Gaming X

1TB Intel 660p | 250GB Kingston A2000 | 1TB Seagate Barracuda | 2TB WD Blue

be quiet! Silent Base 601 | be quiet! Straight Power 550W CM

2x Dell UP2516D

 

- First System (Retired) -

Intel Xeon 1231v3 | 16GB Crucial Ballistix Sport Dual Channel | Gigabyte H97 D3H | Gigabyte GTX 970 Gaming G1 | 525 GB Crucial MX 300 | 1 TB + 2 TB Seagate HDD
be quiet! 500W Straight Power E10 CM | be quiet! Silent Base 800 with stock fans | be quiet! Dark Rock Advanced C1 | 2x Dell UP2516D

Reviews: be quiet! Silent Base 800 | MSI GTX 950 OC

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×