ESP-Nodes/ESP32_Temperture-Node
Alexandre B 1314e98e3b .
2024-07-03 23:34:30 -04:00
..
.vscode . 2024-05-11 23:52:19 -04:00
assets MQTX 2024-03-07 15:10:11 -05:00
include ESP32 Temperature Node 2023-12-17 12:01:42 -05:00
lib ESP32 Temperature Node 2023-12-17 12:01:42 -05:00
src SSL & nodes names 2024-06-18 18:23:09 -04:00
test ESP32 Temperature Node 2023-12-17 12:01:42 -05:00
.gitignore ESP32 Temperature Node 2023-12-17 12:01:42 -05:00
ESP32_Temperture-Node.code-workspace . 2023-12-17 12:03:56 -05:00
platformio.ini i2c 2023-12-17 15:59:01 -05:00
README.md . 2024-07-03 23:34:30 -04:00

ESP32 MQTT SSL Temperature Node

MQTT Mosquito Broker

Mosquitto broker can be easily deployed using Docker compose file shown below. In the example below, MQTT broker listens to the ports 1883 (unecrypted) and 8883 (encrypted SSL).

Note

Compose file below declares two volumes (config and data) to persistantly store Mosquitto configuration and data.

version: "3.8"
services:
  mosquitto-esp32:
    image: eclipse-mosquitto:latest
    volumes:
      - /srv/dev-disk-by-label/docker/volumes/mosquitto/config:/mosquitto/config
      - /srv/dev-disk-by-label/docker/volumes/mosquitto/data:/mosquitto/data
    networks:
      - IoT
    ports:
      - 1883:1883
      - 8883:8883
      - 9001:9001
    restart: unless-stopped
networks:
  IoT:
    external: true