Wiren Board NETMON-1
Датчик температуры и влажности
Датчик Sensirion SHT10.
Пакет: 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]
Передняя панель
порты | функция |
и1 | dry input |
и2 | Debug |
и3 | dry input |
и4 | RS-232 |
и5 | dry input |
и6 | RS-485 |
и7 | dry input |
и8 | RS-485 |
и9 | dry input |
а1 | ADC input |
а2 | ADC input |
а3 | ADC input |
а4 | ADC input |
а5 | ADC input |
а6 | ADC input |
а7 | ADC input |
Ehternet | и1 | и2 | и3 | и4 | и5 | и6 | и7 | и8 | и9 |
1 Y/W | dry input 1 | 5v | dry input 6 | - | Isolated GND | - | Isolated GND | - | Isolated GND |
2 Y | dry input 2 | 5v | dry input 7 | - | dry input 11 | - | dry input 15 | - | dry input 19 |
3 G/W | dry input 3 | Debug TX | dry input 8 | GND | Isolated GND | - | Isolated GND | - | Isolated GND |
4 B | dry input 4 | 1-Wire | dry input 9 | RS-232 TX 1 | dry input 12 | RS-485 a 2 | dry input 16 | RS-485 a 1 | dry input 20 |
5 B/W | dry input 5 | GND | dry input 10 | GND | Isolated GND | rs-485 b 2 | Isolated GND | RS-485 b 1 | Isolated GND |
6 G | Isolated GND | Debug RX | Isolated GND | RS-232 TX 1 | dry input 13 | - | dry input 17 | - | dry input 21 |
7 Br/W | Isolated GND | GND | Isolated GND | - | Isolated GND | - | Isolated GND | - | Isolated GND |
8 Br | Isolated GND | GND | Isolated GND | - | dry input 14 | - | dry input 18 | - | dry input 22 |
Ethernet | а1 | а2 | а3 | а4 | а5 | а6 | а7 |
1 Y/W | 3.3V | - | - | - | - | - | - |
2 Y | 3.3V | - | - | - | - | - | - |
3 G/W | GND | - | - | - | - | - | - |
4 B | ADC input 4 | ADC input 1 | ADC input 6 | ADC input 2 | ADC input 7 | ADC input 3 | ADC input 8 |
5 B/W | GND | GND | GND | GND | GND | GND | GND |
6 G | ADC input 5 | - | - | - | - | - | - |
7 Br/W | 5V | - | - | - | - | - | - |
8 Br | 5V | - | - | - | - | - | - |