chrisys / background-radiation-monitor Goto Github PK
View Code? Open in Web Editor NEWMonitor and record background radiation levels with a cheap detector and a Raspberry Pi.
License: Apache License 2.0
Monitor and record background radiation levels with a cheap detector and a Raspberry Pi.
License: Apache License 2.0
Hi,
Since I already have an environment with InfluxDB / Grafana running, I am trying to add your counter container to it. However, when I build it using the provided Dockerfile (successfully), and then run the image using Docker Compose (not Balena) with the service snippet from your docker-compose.yml
file, I'm getting this error:
Traceback (most recent call last):
File "counter.py", line 45, in <module>
spi.open(0, 0)
FileNotFoundError: [Errno 2] No such file or directory
I'm using "standard" docker buildx to build the image via docker compose
, and the HW/OS I am using is Raspberry Pi 4 / DietPi v8.18.2 ("Debian GNU/Linux 12 (bookworm)").
I separately installed the prereqs onto the barebones OS and tried to run the Python file (with sudo
); same error occurs.
Any ideas on how I can fix this?
Note - when I deploy the whole thing via Balena on the same hardware, it works well, but I'd like to run it outside Balena on a RPi device that is doing some other things as well, as not to have to dedicate an entire SBC to this
Thanks!
I think most of the other balena projects I've seen have been released under Apache 2.0; I'm happy to submit a PR if this will help.
Was wondering where in the code I would need to change settings to have this send the info to my remote influxDB server as opposed to writing the data on the SD card.
typing in the local IP address does not bring up Grafana. The only way to view the dashboard is to enable the public device URL and use that.
I've been trying to follow your tutorial but it does not build successfully in Balena.
`fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/armhf/APKINDEX.tar.gz
ERROR: unable to select packages:
influxdb (no such package):
required by: world[influxdb]
Removing intermediate container 4d7e364b85d6
The command '/bin/sh -c apk add influxdb' returned a non-zero code: 1`
How do I fix this issue? I'm using a Raspberry Pi Zero W.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.