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

Raspberry PI arm build #2

Closed
wmandra opened this issue Oct 6, 2021 · 3 comments
Closed

Raspberry PI arm build #2

wmandra opened this issue Oct 6, 2021 · 3 comments

Comments

@wmandra
Copy link

wmandra commented Oct 6, 2021

This is really great work! I've rebuilt the docker image for arm so that it can run on a Raspberry Pi which can be found here https://hub.docker.com/r/wmandra/sense-collector

A few issues I ran into:
copying in jq binary didn't work, just added jq to the apt-get install
had to grab arm version of websocat (either the build script should just grab this, or download within the Dockerfile)
had to disable health check as the script was missing
for some reason $delay was being calculated as a negative number causing sleep to treat the value as an option, added "| awk -F- '{print $NF}'" to ensure it is always a positive number

Also noticed some items in Grafana dashboards hardcoded and removed those on my installation.

@lux4rd0
Copy link
Owner

lux4rd0 commented Mar 23, 2022

@wmandra - Will build an ARM version of this project. I had done some for my WeatherFlow Collector but haven't tested this on my own Pi. Appreciate you outlining your steps above as well as my sleep delay calculation bug.

@wmandra
Copy link
Author

wmandra commented Dec 7, 2022

@lux4rd0 just another quick note. While I did have this running on arm for the Pi, I've since migrated to M1 Mac Mini's. Unfortunately none of the websocat arm64 binaries are compatible currently (I believe due to page size difference on the M1).

@lux4rd0
Copy link
Owner

lux4rd0 commented Jun 21, 2024

Hello! The new V2 release now includes both ARM and X86 docker images. Let me know how it works out for you! Thanks!

@lux4rd0 lux4rd0 closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants