fusion44 / blitz_api

A management backend for the RaspiBlitz project written in Python / FastAPI
MIT License
19 stars 18 forks source link

API doesn't send "installed_app_status" #157

Closed cstenglein closed 2 years ago

cstenglein commented 2 years ago

In the current version of the API, it doesn't send the "installed_app_status" message on a new connection.

Messages:

image

Even after restart they are missing:

image

fusion44 commented 2 years ago

Yes, see https://github.com/fusion44/blitz_api/commit/4408a6a58cb5e5ac94f8cf41e109bb33df58c39c

Will be fixed once #149 is merged. Until then this must stay disabled, otherwise it makes local development a hassle as it'll constantly ask for root password.

fusion44 commented 2 years ago

As a quick fix, you can locally open ./app/repositories/utils.py and uncomment the get_app_status calls.