smart-energy-monitor/README.md

1.5 KiB

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