Saudin Dizdarevic
Published © GPL3+

Sensecap S2103, MQTT and reTerminal

In this post I am going to show how to integrate Sensecap S2103 and display collected data on reTerminal display.

AdvancedFull instructions provided3 hours598
Sensecap S2103, MQTT and reTerminal

Things used in this project

Hardware components

reTerminal
Seeed Studio reTerminal
×1
Seeed Studio SenseCAP S2103
×1

Software apps and online services

Home Assistant
Home Assistant
MQTT
MQTT

Story

Read more

Schematics

Architecture

Architecture of project

Code

MQTT JSON

JSON
MQTT JSON Sensor configuration
mqtt:
  sensor:
    - name: "Air Temperature"
      state_topic: "/device_sensor_data/<orgID>/<DeviceEUI>/1/+/4097"
      unit_of_measurement: "℃"
      value_template: "{{ value_json.value }}"
    - name: "Air Humidity"
      state_topic: "/device_sensor_data/<orgID>/<DeviceEUI>/1/+/4098"
      unit_of_measurement: "%RH"
      value_template: "{{ value_json.value }}"
    - name: "Air CO2"
      state_topic: "/device_sensor_data/<orgID>/<DeviceEUI>/1/+/4100"
      unit_of_measurement: "ppm"
      value_template: "{{ value_json.value }}"

Credits

Saudin Dizdarevic

Saudin Dizdarevic

8 projects • 24 followers

Comments