Skip to main content

Kilvington Comms Room Temperature Sensor

TheA Sonoff TH10 switch and SI7021 sensor are located in the Kilvington comms room temperaturefor sensormonitoring receivesthe temperature, humidity. 

The device has a DHCP addressreservation fromon the .134 subnet.

A reservation is currently in place for theIt's IP address is 192.168.134.127

image.png

This sensor sends MQTT messages to Thingsboard sensor running on the server pbr-iot-1.pbr.org.au

The sensor is configured via the HTTP interface.

The sensor resides on the Special wifi network

image.png

The set up for the temperature and humidity module is below:

image.png

The MQTT setting is below:

image.png

A custom rule is used for sending MQTT messages to the Thingsboard. 

The command for the rule is below. This rule pushes an MQTT message whenever new sensor data 

This can be copied and pasted into the 

Rule1
ON Tele-SI7021#TEMPERATURE DO PUBLISH v1/devices/me/telemetry {"Temperature":%VALUE%} ENDON
ON Tele-SI7021#HUMIDITY DO PUBLISH v1/devices/me/telemetry {"Humidity":%VALUE%} ENDON
ON Tele-SI7021#DEWPOINT DO PUBLISH v1/devices/me/telemetry {"DewPoint":%VALUE%} ENDON
Rule1 1

This can be copied and pasted into the device console.

The console is accessaccessed through the main menu:

image.png