{ "debug": false, "ports": [ { "port_type" : "serial", "path" : "/dev/ttyNSC0", "baud_rate": 9600, "parity": "N", "data_bits": 8, "stop_bits": 2, "enabled": true, "devices" : [ { "device_type" : "MSU34", "slave_id": 2, "enabled": true, "channels": [ { "name" : "Illuminance", "read_period_ms": 300 }, { "name": "Pressure", "read_rate_limit_ms": 10000 } ] }, { "device_type" : "MSU24", "name": "MSU24", "id": "msu24", "slave_id": 34, "enabled": true //"channels": [ // here we can add new channel // { // "name" : "New channel", // "reg_type" : "input", // "address" : 3, // "type": "text" // } //] } ] }, { "path" : "/dev/ttyNSC1", "baud_rate": 9600, "parity": "N", "data_bits": 8, "stop_bits": 1, "enabled": true, "devices" : [ { "device_type" : "WB-MRGB", "id" : "wb-mrgb", "slave_id" : 2, "channels" : [ { "name" : "RGB", "type" : "rgb", "read_period_ms" : 102, "consists_of" : [ { "reg_type" : "holding", "address" : 1 }, { "reg_type" : "holding", "address" : 0 }, { "reg_type" : "holding", "address" : 2 } ] }, { "name" : "Button 1 counter", "reg_type" : "holding", "readonly" : true, "address" : 32, "type" : "value" } ] }, { "device_type" : "WB-M1W2 DI", "slave_id" : 3, "in1_mode": 1 } ] } ] }