Hello all,
I am currently running HA Core (2023.6.1) as a container on a Zimaboard with CasaOS. Additionally I have MQTT and Frigate containers that are correctly communicating between each other.
I installed the HACS integration and within HACS was able to add the Frigate integration. After a restart I want to then add/configure the integration get an error:
Settings> Devices and Services> Add integration> Frigate
Error: Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble
In the log I have:
homeassistant.requirements.RequirementsNotFound: Requirements for frigate not found: [‘pytz==2022.7’].
Frigate Documentation
Other items to note:
In HA I already have MQTT configured
Frigate is connected to MQTT (within MQTT Explored I see the frigate topics)
In Frigate I see the live IP Camera output
Any thoughts on this error?
Thanks!
nickrout
(Nick Rout)
June 22, 2023, 8:14pm
4
This is your problem, but unsure why pytz can’t or hasn’t been loaded. You have restarted home assistant?
Fixed by adding the environment variables to my HA docker container as mentioned in:
DOCKER_MODS=linuxserver/mods:universal-package-install
INSTALL_PIP_PACKAGES=pytz==2022.7
opened 12:24PM - 09 Jun 23 UTC
closed 07:49PM - 12 Jun 23 UTC
build
<!-- Before you open a new issue, search through the existing issues to see if o… thers have had the same problem.
Issues not containing the minimum requirements will be closed:
- Issues without a description (using the header is not good enough) will be closed.
- Issues without debug logging will be closed.
- Issues without configuration will be closed
-->
## Version of the custom_component
<!-- If you are not using the newest version, download and try that before opening an issue
If you are unsure about the version check the const.py file.
-->
4.0.0
Hi, as of HA 2023.06 python was upgraded to 3.11
I am using the linuxserver/homeassistant container which did not load your integration due to the wrong pytz version.
Within my container pytz is 2023.3 and as I changed this in the manifest.json your integration just loaded without any issues by now ;)
So maybe there is a way to "upgrade" to this new pytz version if needed.
Best
Florie
nickrout
(Nick Rout)
June 22, 2023, 8:18pm
6
Are you using the linuxserver container? If so, why?
@nickrout
@blakeblackshear I believe explains this best in the github thread I posted to.
nickrout
(Nick Rout)
June 22, 2023, 10:12pm
8
He doesn’t explain why someone would use the linuxserver image instead of the supported image.