ned-kelly / docker-voltronic-homeassistant

Programmatically read data from your Voltronic, Axpert, Mppsolar PIP, Voltacon, Effekta etc Inverter and send it to Home Assistant via MQTT - Works with RS232 & USB!
GNU General Public License v3.0
270 stars 144 forks source link

Cannot start docker container on Pi Zero W #23

Closed francois-dotnet closed 4 years ago

francois-dotnet commented 4 years ago

Hi All Hopefully someone can help. I got a Pi Zero W to wirelessly send the mqtt state of my inverter so that I can have my Home Assistant Pi 4 elsewhere. I have tried DietPi and Raspbian Lite but the docker-voltronic-homeassistant docker container won't start: "Docker container exits with code 139" I suspect it has something to do with the architecture? Anyone got it to work on a Pi Zero W? Thanks

mdelaossa commented 4 years ago

I managed to get it working by building my own image. You'll have to change debian:stretch in Dockerfile.dev to arm32v5/debian:stretch and then run docker-compose build (which takes forever on a pizerow, just as a heads up).

You also need to edit your docker-compose.yml to comment out the image line, and uncomment all the build lines.

francois-dotnet commented 4 years ago

@mdelaossa thanks that solved it!