-
Notifications
You must be signed in to change notification settings - Fork 4
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
Comments
@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. |
@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). |
Hello! The new V2 release now includes both ARM and X86 docker images. Let me know how it works out for you! Thanks! |
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.
The text was updated successfully, but these errors were encountered: