Датчик SHT1x
This is the approved revision of this page, as well as being the most recent.
Датчики Sensirion SHT1x (SHT10, SHT11, SHT15).
Пакет: wb-mqtt-sht1x Исходные коды: https://github.com/contactless/wb-mqtt-sht1x
В автозагрузке демон wb-mqtt-sht1x, отправляющий результаты в MQTT:
service wb-mqtt-sht1x stop service wb-mqtt-sht1x start service wb-mqtt-sht1x status
Конфиг демона:
/etc/wb-mqtt-sht1x.conf
Адреса в MQTT:
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
Настройка в Zabbix:
mqtt.value[/devices/sht1x/controls/humidity] mqtt.value[/devices/sht1x/controls/temperature]