sibbl / hass-lovelace-kindle-screensaver

This tool generates a png from a Home Assistant Lovelace view, which can be displayed on a Kindle device which has the Online Screensaver plugin installed.
MIT License
315 stars 71 forks source link

Compatibility with ARM architecture #3

Closed chargedneutrino closed 3 years ago

chargedneutrino commented 3 years ago

Hi guys, first of all let me say that you are doing a wonderful job with this :) Just what I wanted for sometime now.

I have tried to install it on my home assistant machine, which is an Odroid N2 (AMR v8, running Ubuntu 20.04), and I get an error. I have tried both directly using docker pull, as well as using docker-config up. I believe the error is due to platform architecture mismatch. Here is the log:

_Starting hass-lovelace-kindle-screensaver_app_1 ... done Attaching to hass-lovelace-kindle-screensaver_app_1 app_1 | standard_init_linux.go:219: exec user process caused: exec format error hass-lovelace-kindle-screensaver_app1 exited with code 1

Any ideas are greatly appreciated. Thanks

sibbl commented 3 years ago

That's a very good point! I'll try to find some time to create a GitHub action which automates building the docker images for multiple platforms soon.

Pattern91 commented 3 years ago

I have the same issue on a pi 3.

A home assistant add-on would be the most convenient solution. Are you planning this?

sibbl commented 3 years ago

@chargedneutrino there are Docker images for arm64 and arm/v7 now available as well. They'll be automatically built and updated on each push to the main branch.

@Pattern91 I wouldn't say no and already posted this idea in the issue #1 - help would be appreciated.

chargedneutrino commented 3 years ago

Wow, thank you so much for the quick reply and for the fix. It works perfectly 👍