From Hackaday Supercon 2022: Collect sensor data into Grafana from a constellation of BLE remotes.

Overview

BLE Sensor Net

This code is part of a talk given at Hackaday Supercon 2022.

The gist is two parts:

  1. Sensor code, written in CircuitPython 7.x, that runs on an Adafruit Feather Bluefruit Sense, and advertises temp and humidity values in a particular format.
  2. Gateway code, which runs on a Raspberry Pi that also has InfluxDB and Grafana installed. The gateway code listens for the right advertisements, and puts the data in InfluxDB for review in Grafana.

Setup

  1. Download and copy the 'feather' code onto your BLE Feather
  2. Download the 'gateway' code onto a Raspberry Pi 4B+
  3. Install InfluxDB on the Pi (Instructions TBD, sorry)
  4. Install Grafana on the Pi (Instructions TBD, sorry)
  5. Install the gateway code according to the instructions in that directory
  6. Set up your grafana dashboards - this is an exercise left to the user unless I can find a convenient way to save the configuration for your later import.
You might also like...

Observe FastAPI app with three pillars of observability: Traces (Tempo), Metrics (Prometheus), Logs (Loki) on Grafana through OpenTelemetry and OpenMetrics.

Observe FastAPI app with three pillars of observability: Traces (Tempo), Metrics (Prometheus), Logs (Loki) on Grafana through OpenTelemetry and OpenMetrics.

FastAPI with Observability Observe FastAPI application with three pillars of observability on Grafana: Traces with Tempo and OpenTelemetry Python SDK

Nov 22, 2022

Sample implementation of cloudshell centralized logging with Grafana-loki-promtail stack

Sample implementation of cloudshell centralized logging with Grafana-loki-promtail stack

Cloudshell Loki-Grafana Centralized Logging This repo documents a sample implementation of cloudshell centralized logging with the Grafana / Loki / Pr

Sep 4, 2022

A MLOps platform using prefect, mlflow, FastAPI, Prometheus/Grafana und streamlit

A MLOps platform using prefect, mlflow, FastAPI, Prometheus/Grafana und streamlit

MLOps Platform Skeleton This repository contains a simplified MLOps platform (including training, serving and monitoring). The goal of this tutorial w

Nov 14, 2022

Pronounce This' implementation of grafana logging

Pronounce This Grafana Lib Overview To log data we use the standard output of our pros program, which logs to the usb, to tube data to the computer, w

Oct 4, 2022

Grafana - Directory Traversal and Arbitrary File Read

CVE-2021-43798 Grafana - Directory Traversal and Arbitrary File Read https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43798 https://grafana.com

Oct 9, 2022

A repository contains my works in wearable sensor-based human activity recognition (HAR)

HAR A repository contains my works in wearable sensor-based human activity recognition (HAR): IMU, stretch sensors, deep learning Papers N. T. H. Thu

Mar 31, 2022

Collect XSS vulnerable parameters from entire domain.

Collect XSS vulnerable parameters from entire domain.

collector Collect XSS vulnerable parameters from entire domain. _ _ _ | | | | | _

Nov 29, 2022

Bot to collect and plant (abuse) sunflower nft project

sunflower_bot Bot to collect and plant (abuse) sunflower nft project ебашим в консоль pip install -r requirements.txt запускаем бота (python main.py)

Nov 5, 2022

Code for paper: FUTR3D: a unified sensor fusion framework for 3d detection

FUTR3D: A Unified Sensor Fusion Framework for 3D Detection This repo implements the paper FUTR3D: A Unified Sensor Fusion Framework for 3D Detection -

Nov 23, 2022
Owner
Alex Whittemore
Alex Whittemore
Sketches to collect data from opensensemap and send it to stadtpuls (WIP)

Stadtpuls OpenSenseMap Bridges Sketches to collect data from opensensemap and send it to stadtpuls (WIP) Contributors Thanks goes to these wonderful p

Technologiestiftung Berlin 1 May 11, 2022
This repository contains examples of programs I've written that have helped me collect, organize, and analyze data to create machine learning MLB betting models.

MLB-Betting-Model_2022 This program collects and organizes over 6,000 MLB statistics daily. Its purpose is to efficiently gather MLB data for my sport

Dylan Elder 1 Jul 26, 2022
This repository contains examples of programs I've written that have helped me collect, organize, and analyze data to create machine learning NBA betting models.

NBA-Betting-Model_2022.py This program collects and organizes over 6,000 NBA statistics daily. Its purpose is to efficiently gather NBA data for my sp

Dylan Elder 1 Jul 26, 2022
Collect data from Slack like a pro. ⚡️

Slak Slak is a command line tool for collecting data from Slack and makes you look like a pro when using it. ⚡️ Here are the examples: $ slak query-re

Mosky Liu 24 Nov 12, 2022
🔎 Search for specified username(s) across social media sites and collect data about them.

Watson Watson About Note Installation Usage Suported Sites TODO About Watson is a program that can search for specified username(s) across multiple so

null 0 Sep 20, 2022
Using GEE to collect and discover land surface temperature data over European river basins.

Land Surface Temperature - River Basins The app enables discovering land surface temperature data over river basins in Europe. Temporal extent: 2017-0

Mykola Kozyr 27 Nov 5, 2022
Data Cleaning. Data Integration. Data Reduction for 1-Data Quality. 2-Data Transformation. 3-Data Mining. 4-Pattern Evaluation. 5-Representing Knowledge in Data Mining.

Python_application_for_dataMining Oreview: We aim to achieve a prediction model for improving data analysis and reporting. The programming language th

abdelghani 1 Sep 21, 2022
Optional service for the TubeArchivist project to export metrics for users who run prometheus/grafana

Tube Archivist Metrics Provide Tube Archivist metrics in Prometheus/OpenMetrics format This is an optional service as part of the Tube Archivist stack

Tube Archivist 1 Apr 15, 2022
Infrastructure for starting TG bot project. Postgres, Minio, Grafana, Alembic

Telegram bot project template This repo contains boilerplate code and infrastructure provisioning for development of telegram bot. Services Bot: Entry

Bakhteev Vladislav 20 Oct 22, 2022
Telemetry FastAPI application with three pillars of observability: Traces (Tempo), Metrics (Prometheus), Logs (Loki) on Grafana through OpenTelemetry and OpenMetrics.

FastAPI with Observability Telemetry FastAPI application with three pillars of observability on Grafana: Traces with Tempo and OpenTelemetry Python SD

Blueswen 72 Nov 22, 2022