Skip to main content

ESP32-C3 sensor MQTT Slave

This sensor node collects local readings and publishes them over MQTT. It can be assembled using compatible ESP32-C3 boards from different manufacturers and suitable sensors. A specialised Kincony board is unnecessary.

Purpose and limits​

The release supports its listed I2C sensors and DS18B20 over 1-Wire. Configuration uses a web interface. C3 provides no relay control, is neither a Modbus Slave nor an MQTT broker, and does not run Master's regulators.

Prepare the board​

Check power, available pins and firmware profile. One development board's I2C assignments are not a standard for every C3. BOOT buttons, onboard LEDs and USB may share pins with intended sensors. Confirm the wiring before connecting peripherals.

Configuration​

  1. Configure Wi-Fi and your own administrator access.
  2. Open sensors, scan I2C and select the verified model.
  3. Add the required measurements. One sensor can provide separate temperature, humidity and pressure measurements.
  4. For DS18B20, choose an allowed GPIO and a specific sensor when the bus has several. Use the supported externally powered wiring arrangement.
  5. Check the value, quality and age of every measurement.
  6. Enable MQTT, configure an available broker and save.
  7. Export compatible measurements into a Master profile and import it there.

Do not enable actuator control heartbeat on Master for this sensor-only C3: it accepts no output commands. Assess availability through telemetry.

Verification​

A disconnected sensor must produce an error/unavailable value rather than a fresh zero. Wi-Fi loss must appear on Master as loss of the remote measurement. After reconnection, wait for a new valid reading.

Do not confuse MQTT profile/publication identity with the identifier used to obtain firmware. Use the profile generated by the device itself.