Git Product home page Git Product logo

parmaster / rpid Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 4.1 MB

Raspberry Pi temperature (fan) control systemd service. Frontend with nice charts and endpoints for monitoring services, logging CPU temps, fan RPM, environmental data (Ambient temperature, Relative humidity, Atmospheric pressure) from external sensors connected to Raspberry Pi GPIO.

License: MIT License

Go 67.57% Makefile 1.83% HTML 17.53% Dockerfile 0.15% JavaScript 12.91%
bmp280 gpio htu21 periphio raspberry-pi rpi-gpio rpi4 systemd raspberry raspberrypi

rpid's Introduction

RPId

Go Report Card Go License GitHub go.mod Go version

Raspberry Pi temperature (fan) control systemd service. Frontend with nice charts and endpoints for monitoring services, logging CPU temps, fan RPM, system info (load averages, cpu time in frequencies). Additional modules available to collect environmental data (Ambient temperature, Relative humidity, Atmospheric pressure) from external sensors connected to Raspberry Pi GPIO.

Setup

  • for step-by-step installation instructions, see dist/README.md
  • pi user must be added to the same group as /dev/gpiomem in (source).
  • i2c interface should be enabled using Interface Options menu in raspi-config. Installing i2c-tools could be beneficial as well, to run i2cdetect -y for example.
  • systemd service is supposed to be easily deployable by make deploy
  • config/config.yml obviously must be changed, accordingly to the specific GPIO configuration - modules can be disabled or even sections deleted.

Real life usage example

Latest revision is running on a Raspberry Pi 4 4Gb with a 50mm 12v fan installed on top, connected to 5v power through a npn-transistor.

  • /charts endpoint displaying data since system startup
  • /view endpoint displaying some of the data that was collected to the database since the feature was developed in version v0.2.0
  • /status endpoint for monitoring software

It could be down if there is a blackout caused by another russian missile strike on Ukraine power grid.

Credits

rpid's People

Contributors

gustoua avatar parmaster avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gustoua

rpid's Issues

Read-only mode for storage

Make an option in config so storage can be used into read-only mode for debug reasons. So I can run debug instance on custom port parallel to deployed instance and it wouldn't screw up a database, but /view endpoint is still working

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.