Giter Site home page Giter Site logo

danclimasevschi / balena-sense Goto Github PK

View Code? Open in Web Editor NEW

This project forked from balena-labs-projects/balena-sense

0.0 0.0 0.0 12.07 MB

Take readings from a BME680 or similar sensor on a Raspberry Pi, store with InfluxDB and view with Grafana

Home Page: https://balena.io/blog/balenasense-v2-updated-temperature-pressure-and-humidity-monitoring-for-raspberry-pi/

License: MIT License

Shell 69.89% Dockerfile 30.11%

balena-sense's Introduction

logo

Starter project that lets anyone start monitoring envrionmental sensor data from a beautiful, remotely accessible dashboard.

Highlights

  • Monitor temperature, humidity, and air quality: Supports a variety of I2C sensors to build your own monitoring system for your environment.
  • Visualize data from one remote dashboard: Access your customizable environmental data dashboard from anywhere.
  • Compatible with other automation tools: Integrate balenaSense with home automation tools, such as Home Assistant.

Setup and configuration

Run balenaSense quickly by deploying it to a balenaCloud application. Log in and deploy the application with just one click by using the button below:

Or add your device to the balenaSense Open Fleet to try the project out without a balenaCloud account.

Documentation

Head over to our docs for detailed installation and usage instructions, customization options and more!

Or, check out our detailed build guide on the balena blog.

Motivation

balenaSense is a Raspberry Pi balenaCloud starter project that takes readings from a supported sensor (such as the Bosch BME680), stores them using InfluxDB and generates a dashboard using Grafana. The Bosch BME680 is recommended as it includes sensors for temperature, humidity, pressure and gas content and is available on a breakout board from a few different places for around $10-$20.

We want to create a project that motivates users to build their own environmental sensor project whether for home or for professional use with privacy and customization in mind.

What changed?

Version 2 of balenaSense is built using blocks, which are intelligent, drop-in chunks of functionality. This is a major change from earlier versions of balenaSense which used a number of configuration files to tie together the InfluxDB database, Grafana dashboards and sensor readings. Blocks are designed to work together and use auto-discovery (which can be overridden) to pass data amongst themselves.

How it works

The task of reading data from the sensors is now handled by our new sensor block. Instead of installing separate drivers and using custom code for each type of sensor, the sensor block utilizes Industrial IO (IIO) and relies on the variety of sensor drivers already included in the Linux kernel itself. (You can learn more about the sensor block and its use of IIO in this recent blog post.) This means balenaSense now supports a wider variety of sensors as well as multiple connected sensors.

Currently, only I2C sensors that are not mounted on a HAT are supported by the sensor block. This means 1-wire sensors, the Raspberry Pi Sense-HAT, and Pimoroni Enviro+ Air Quality HAT are no longer supported by balenaSense.

The indoor air quality (IAQ) readings in previous versions of balenaSense were dependent on propriatery software that had recurring breaking changes. On multiple occasions, the entire project was broken while new changes were investigated and merged. In addition, to obtain accurate air quality readings on the BME680, specific burn in procedures are required that balenaSense did not support. For these reasons, air quality readings are no longer a part of balenaSense.

balenaBlocks and extensibility

balenaBlocks are open source and extendable! We're looking into non-proprietary ways to support air quality readings and sensors on HATs: PRs are welcome! We believe that this block-based balenaSense is a more flexible solution overall, and a better base for adding more features as time goes on. If there is a feature that you want to see reinstated, please add an issue on the repo.

Contributing

Do you want to help make balenaSense better? Take a look at our Contributing Guide. Hope to see you around!

Getting Help

If you're having any problem, please raise an issue on GitHub and we will be happy to help. You can also find help on the balenaForums, in a special section dedicated to balenaSense.

Setup guides

A full guide covering the initial setup of this project is available on our blog.

Become a balena poweruser

Want to learn more about what makes balena work? Try one of our masterclasses. Each lesson is a self-contained, deeply detailed walkthrough on core skills you need to be successful with your next edge project.

balena-sense's People

Contributors

chrisys avatar balena-ci avatar alanb128 avatar maggie44 avatar tmigone avatar nucleardreamer avatar imgrant avatar andrewnhem avatar iamsolankiamit avatar dimitrisnl avatar sradevski avatar dfunckt avatar rahul-thakoor avatar nazrhom avatar shaunmulligan avatar

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.