A smart energy monitor to measure the power consumption
https://wiki.curious.bio/de/Projekte/IoT-Plattform
.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
Grafana
You can login to Grafana: http://localhost:3000/login (admin:admin)
NodeRed
NodeRed is running here: http://localhost:1880/
Hardware
Arduino IDE
We are using HelTec Automation Wirelsess Sticks ESP32 Dev-Boards. Their GitHub repo can be found here: https://github.com/HelTecAutomation/Heltec_ESP32
If you are using Arduino IDE (just to try them out) you can add their Repo to the library managers URLs: https://github.com/HelTecAutomation/Heltec_ESP32/blob/master/library.json and/or find them in the IDE (Sketch -> Include Library -> Manage Libraries... Search for "heltec esp32").
Find the port
esptool.py write_flash_status --non-volatile 0