SHT1x Sensor

From Wiren Board
This is the approved revision of this page, as well as being the most recent.
Sensirion SHT1x (SHT10, SHT11, SHT15) sensors.

Package: wb-mqtt-sht1x Source codes:https://github.com/contactless/wb-mqtt-sht1x

Startup: daemon wb-mqtt-sht1x, which sends results in MQTT:

service wb-mqtt-sht1x stop
service wb-mqtt-sht1x start
service wb-mqtt-sht1x status

Daemon config:

/etc/wb-mqtt-sht1x.conf
MQTT Address:
Default MQTT topics are:

/devices/sht1x/meta/name SHT1x Sensor
/devices/sht1x/controls/temperature/meta/type temperature
/devices/sht1x/controls/humidity/meta/type rel_humidity

Sensor data:

/devices/sht1x/controls/temperature
/devices/sht1x/controls/humidity

Example:

$ mosquitto_sub -h 192.168.0.102 -t '/devices/sht1x/#' -v
/devices/sht1x/controls/temperature 28.5
/devices/sht1x/controls/temperature/meta/type temperature
/devices/sht1x/controls/humidity 31.7
/devices/sht1x/controls/humidity/meta/type rel_humidity
/devices/sht1x/meta/name SHT1x Sensor

Configuration in Zabbix:

mqtt.value[/devices/sht1x/controls/humidity]
mqtt.value[/devices/sht1x/controls/temperature]