Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline usage #244

Open
slundell opened this issue Jul 22, 2024 · 2 comments
Open

Offline usage #244

slundell opened this issue Jul 22, 2024 · 2 comments

Comments

@slundell
Copy link

When the addon starts, it checks if it needs to install a new bleak or influxdb using pip. This requires internet connection. If possible, this package should be cached, or preinstalled - or should maybe continue to run but with default package versions.

@fl4p
Copy link
Owner

fl4p commented Jul 22, 2024

Yes, I am working on this. batmon uses an older bleak fork that has a proper pairing agent, and the environment files in the Docker will be reset every time the container starts, so it needs to re-download bleak every time. I am about to create a 2nd virtual env for the older version.

Influxdb should be added to the Dockerfile .

If you remove influxdb from the batmon settings and disable install_newer_bleak, it will work offline

@fl4p
Copy link
Owner

fl4p commented Jul 22, 2024

Also, batmon should probably just continue even if pip fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants