forked from curious.bio/iot-backend
| .reuse | ||
| docs | ||
| hardware | ||
| LICENSES | ||
| nix | ||
| software | ||
| .dockerignore | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| mkdocs.yml | ||
| okh.toml | ||
| README.md | ||
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)
Grafana
You can login to Grafana: http://localhost:3000/login (admin:admin)
Have a look at the HowTo in this repository.
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!
Hardware
We are using HelTec Automation Wirelsess Sticks ESP32 Dev-Boards.
See the documentation in this repository.