home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.3k stars 30.26k forks source link

HA Core 20222.7 issue with boot time on RPi4 in Geekworm NASPi case & X-C1 board #74708

Closed Docrob9 closed 2 years ago

Docrob9 commented 2 years ago

The problem

On upgrading to 2022.7.0 and 2022.7.1 on a RPI4 using HA OS 8.2 the boot time is prolonged significantly compared to 2022.6.7. The issue seems to be with loading raspberry_pi integration which takes 1302s in the log. Thereafter the "restart" functions in developer tools & settings no longer works. The RPi4 is in a Geekworm NASPi case with a X-C1 board and HA OS is on a SSD. This was not an issue with 2022.6.7 - the integration startup time for raspberry_pi in 2022.6.7 is 198.93s

What version of Home Assistant Core has the issue?

2022.7.0 and 2022.7.1

What was the last working version of Home Assistant Core?

2022.6.7

What type of installation are you running?

Home Assistant OS

Integration causing the issue

raspberry_pi

Link to integration documentation on our website

"Page not found"

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

raspberry-pi load time 1302s

Additional information

No response

Docrob9 commented 2 years ago

SOLVED: The issue was with the integration "Raspberry Pi GPIO PWM custom integration" used to control the case fan as a light entity. The integration has now been updated to be compatible with 2022.7.0 - NOTE: the configuration yaml has changed from the previous version (see documentation). Now a much faster boot and running speed.