To run the services, several secrets must be defined in the secrets folder. You can automatically generate them by executing the generate_secrets.sh script:
chmod +x ./generate_secrets.sh
./generate_secrets.shOnce the secrets are in place, start the containers with Docker Compose:
docker compose up --buildTo operate the Arduino, update the configuration in the arduino_controller/config.h file by setting the following parameters:
WIFI_SSIDWIFI_PASSWORDMQTT_SERVER(your server's IP address)MQTT_PASSWORD(located in./secrets/mosquitto_pass.txt)
After configuring, upload arduino_controller/arduino_controller.ino to your ESP8266 board using the provided libraries and a connected DHT11 sensor.