An Open-Source prototype for collecting, working with and displaying sensor data from MQTT enabled IoT devices. https://wiki.curious.bio/de/Projekte/IoT-Plattform
Find a file
2023-06-19 14:35:24 +02:00
.reuse first commit 2023-01-25 12:21:02 +01:00
docs added csv data source 2023-02-24 15:50:24 +01:00
hardware added initial kicad design based on esp32 2023-06-19 14:34:44 +02:00
LICENSES first commit 2023-01-25 12:21:02 +01:00
nix updated nix based backend image generation 2023-06-19 14:35:24 +02:00
software updated nix based backend image generation 2023-06-19 14:35:24 +02:00
.dockerignore first commit 2023-01-25 12:21:02 +01:00
.editorconfig updated dev env 2023-02-07 16:55:21 +01:00
.envrc added a nixos configuration to build and deploy the gateway 2023-02-20 23:03:41 +01:00
.gitignore added kicad and nix file and folder excludes 2023-06-19 14:32:41 +02:00
flake.lock added a nixos configuration to build and deploy the gateway 2023-02-20 23:03:41 +01:00
flake.nix updated nix based backend image generation 2023-06-19 14:35:24 +02:00
mkdocs.yml updated dev env 2023-02-07 16:55:21 +01:00
okh.toml first commit 2023-01-25 12:21:02 +01:00
README.md Link to mqtt explorer 2023-02-27 18:15:46 +01:00

IoT Platform

Docker

First install DockerDesktop and docker-compose:

Then you can export a path to mount as a volume and spin up the containers:

export DATA_DIR = /some/path/to/mount
docker-compose --file software/container/docker-compose.yml up

Mosquitto

mosquitto_sub -h localhost -t '#' -p 1883
mosquitto_pub -h localhost -p 1883 -t '/' -m $(date --utc +%s)

There is also a very usefuly tool to debug MQTT: MQTT Explorer, that is also available at mqtt-explorer.com.

Node-RED

NodeRed is running here: http://localhost:1880/

A simple introduction to Node-RED can be found - along with the nodes / the code - in this repository, please have a look!

InfluxDB

InfluxDb is running here: http://localhost:8086/

Grafana

You can login to Grafana: http://localhost:3000/login (admin:admin)

Have a look at the HowTo in this repository.

Hardware

We are using HelTec Automation Wirelsess Sticks ESP32 Dev-Boards.

See the documentation in this repository.

Hardware sensors