16 343
правки
Строка 161: | Строка 161: | ||
== Настройка == | == Настройка == | ||
=== Как настраивать === | |||
Датчик можно настраивать в SprutHub и в zigbee2mqtt с версии 1.24.0. | |||
При использовании zigbee2mqtt нужно записывать JSON-команды в mqtt-топики устройства, сделать это можно с помощью [[MQTT Explorer]] или [[wb-rules]], о том как настраивать датчик в SprutHub, читайте в его документации. | При использовании zigbee2mqtt нужно записывать JSON-команды в mqtt-топики устройства, сделать это можно с помощью [[MQTT Explorer]] или [[wb-rules]], о том как настраивать датчик в SprutHub, читайте в его документации. | ||
Строка 210: | Строка 211: | ||
"read": { | "read": { | ||
"cluster": "msOccupancySensing", | "cluster": "msOccupancySensing", | ||
"options": {" | "options": {"manufacturerCode":26214}, | ||
"attributes": [ | "attributes": [ | ||
" | "sprutOccupancySensitivity" | ||
] | ] | ||
} | } | ||
Строка 222: | Строка 223: | ||
"write": { | "write": { | ||
"cluster": "msOccupancySensing", | "cluster": "msOccupancySensing", | ||
"options": {" | "options": {"manufacturerCode": 26214}, | ||
"payload": { | "payload": { | ||
" | "sprutOccupancySensitivity": 50 | ||
} | } | ||
} | } | ||
Строка 250: | Строка 251: | ||
"write": { | "write": { | ||
"cluster": "msRelativeHumidity", | "cluster": "msRelativeHumidity", | ||
"options": { | "options": {"manufacturerCode": 26214}, | ||
"payload": { | "payload": { | ||
"sprutHeater": 1 | "sprutHeater": 1 | ||
Строка 277: | Строка 276: | ||
"write": { | "write": { | ||
"cluster": "msTemperatureMeasurement", | "cluster": "msTemperatureMeasurement", | ||
"options": { | "options": {"manufacturerCode": 26214}, | ||
"payload": { | "payload": { | ||
"sprutTemperatureOffset": 1 | "sprutTemperatureOffset": 1 | ||
Строка 307: | Строка 304: | ||
"write": { | "write": { | ||
"cluster": "msCO2", | "cluster": "msCO2", | ||
"options": { | "options": {"manufacturerCode": 26214}, | ||
"payload": { | "payload": { | ||
"sprutCO2AutoCalibration": 1 | "sprutCO2AutoCalibration": 1 | ||
Строка 334: | Строка 329: | ||
"write": { | "write": { | ||
"cluster": "msCO2", | "cluster": "msCO2", | ||
"options": { | "options": {"manufacturerCode": 26214}, | ||
"payload": { | "payload": { | ||
"sprutCO2Calibration": 1 | "sprutCO2Calibration": 1 |