Конфиг
{
"path": "/dev/ttyRS485-2",
"devices": [
{
"slave_id": "255",
"name": "RTM-2000",
"id": "RTM2000",
"enabled": true,
"protocol": "modbus",
"poll_interval": 2000,
"channels": [
{
"name": "OsadCh1",
"type": "value",
"reg_type": "holding",
"address": "90",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "WaterCh1",
"type": "value",
"reg_type": "holding",
"address": "0x5C",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "TST01_1",
"type": "temperature",
"reg_type": "holding",
"address": "0x0",
"format": "s16",
"scale": 0.1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "TST01_1_10",
"type": "value",
"reg_type": "holding",
"address": "0x01",
"format": "s16",
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "TST01_1_mult",
"type": "value",
"reg_type": "holding",
"address": "0x02",
"format": "s16",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "TST01_1_check",
"type": "value",
"reg_type": "holding",
"address": "0x03",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "Relay0State",
"type": "value",
"reg_type": "holding",
"address": "176",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "Relay1State",
"type": "value",
"reg_type": "holding",
"address": "177",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "Relay2State",
"type": "value",
"reg_type": "holding",
"address": "178",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "Relay3State",
"type": "value",
"reg_type": "holding",
"address": "179",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "Relay4State",
"type": "value",
"reg_type": "holding",
"address": "180",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "Relay5State",
"type": "value",
"reg_type": "holding",
"address": "181",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": true
},
{
"name": "Manual_Auto_Teploskat",
"type": "range",
"reg_type": "holding_multi",
"address": "0x153",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": false,
"max": "1"
},
{
"name": "Manual_Control_Relay_1",
"type": "range",
"reg_type": "holding_multi",
"address": "0x9F",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": false,
"max": "1"
},
{
"name": "Addres_Teploskat_Air_Min",
"type": "value",
"reg_type": "holding_multi",
"address": "0x012F",
"format": "s16",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": false,
"max": "65536"
},
{
"name": "Addres_Teploskat_Air_Max",
"type": "value",
"reg_type": "holding_multi",
"address": "0x0130",
"scale": 1,
"poll_interval": 1000,
"channel_readonly": false,
"max": "40"
}
],
"device_max_fail_cycles": 1000
}
],
"baud_rate": 9600,
"parity": "N",
"data_bits": 8,
"stop_bits": 1,
"poll_interval": 10,
"enabled": true
}