Git Product home page Git Product logo

background-radiation-monitor's Introduction

I'm Chris.

An engineer, technology enthusiast, developer, hacker/maker, and more...

I love to build, prototype and develop new things using skills in design, electronics, fabrication, machining and mechanical & software engineering. I do this both as a hobby and at balena (which is awesome!).

When I get time, I like to travel, ride my bike, play pinball, watch movies and try new beers with friends.

background-radiation-monitor's People

Contributors

chrisys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

background-radiation-monitor's Issues

spi.open(0, 0) FileNotFoundError

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.