Files
thermo_sensor_v2/thermo_sensor_v2.things
T
2022-09-07 23:11:20 +03:00

7 lines
360 B
Plaintext

Bridge modbus:tcp:SENSOR_NAME [ host="192.168.0.24", port=15000, id=1 ] {
Bridge poller D[start = 0, length = 2, type = "holding", refresh = 500] {
Thing data SENSOR_NAME_t[readStart = "0", readValueType = "int16", readTransform="JS(divide100.js)"]
Thing data SENSOR_NAME_h[readStart = "1", readValueType = "int16", readTransform="JS(divide100.js)"]
}
}