-
Install vagrant
-
Install virtual box
-
Prepare the vm. Go to the vms directory
cd vms
-
Create the vm using
vagrant up
(this will take some time since go will be installed in the vm as well) -
SSH into the vm using
vagrant ssh
-
Bootstrap influx db and create the auth token
make up-influx
make influx-initial-setup
-
Stop the running stack using
docker compose down
-
Run the full stack using
make up-all
-
Configure the MQTT broker through the home assistant ui
- Broker host:
mosquitto
- Broker user:
admin
- Broker password:
password
- Broker host:
-
Restart home assistant from the ui
-
Start publishing data either by:
make mqtt-publish-room-temprature
ORcd ./mqtt-sample-app && make publish-data
(you have to have golang installed)