Open bentolor opened 1 year ago
Why are you running this in Docker? batmon supports all mayor operating systems.
And whats the reason building this from homeassistant/amd64-base:latest
? Batmon doesn’t use any HA specific binaries.
minimal alpine linux should be just fine. Whats the size of homeassistant/amd64-base:latest
?
The Dockerfile is meant to be for HA add-on interface. HA chooses the right base image, see https://developers.home-assistant.io/docs/add-ons/configuration/
I don't recommend running batmon in Docker anyway. Better to run this directly on the host, it doesn't open any port. Docker is often unnecessary.
Why are you running this in Docker?
All my production workloads are portable, decoupled from host environment, using isolated environments and lightweight.
And whats the reason building this from homeassistant/amd64-base:latest
Obviously I tried to adopt the existing blueprint. I remember some weird dependencies to S7 and it seemshomeassistant/amd64-base:latest
provides that.
While I failed to get the setup running for me (I have a SmartSolar and it seems it uses a different approach, See https://community.victronenergy.com/questions/187303/victron-bluetooth-advertising-protocol.html. And my LifePO4 BMS seems to be out of bluetooth reach), I still documented the necessary steps for clarity.
Watch out my change in
run.sh
. No clue how this is supposed to run.