Create example code for ESP32-S3 (send and receive data via MQTT QoS 1)

Job ID: 35236147

Budget: €30 – €250 EUR

Initial situation: ESP32-S3-WROOM-1 is to send and receive data via MQTT QoS 1.

WiFi: Entry of credentials in the web portal via initial access point (no hard coding of credentials)
Protocoll: MQTT with "Quality of Service" 1
MQTT Broker: HiveMQ (access data available)

Data to be sent Publisher 1 (topic: /chip-id/stat/....)
1. temperature value e.g. 22.3°C
2. temperature setpoint e.g. 25°C
3. configuration parameter in piece e.g.: 1,0,-5,2,50,8

Data to be sent Publisher 2 (can be done via MQTT Explorer, topic: /chip-id/cmd/....)
1. temperature set point e.g. 24.0°C
2. configuration parameter in piece e.g.: 1,0,-5,2,23,7

If the Publisher 2 sends changed data, these are to be taken over from Publisher 1.

MCU: ESP32-S3-WROOM-1
IDE: PlatformIO VS code
Framework: Arduino/RTOS

The freelancer should be familiar with ESP32, WiFi, MQTT, SSL/TLS and WebSocket. Knowledge in Home Assitant for later projects is an advantage.
Related categories: Embedded Software Arduino MQTT WiFi SSL