diff --git a/config/devices.json b/config/devices.json index 38bb508..690950f 100644 --- a/config/devices.json +++ b/config/devices.json @@ -1,7 +1,7 @@ { "modbus_rtu_devices": [ { - "enabled": true, + "enabled": false, "device_id": "rtu_temp_sensor_lab", "port_path": "/dev/ttyS7", "baud_rate": 9600, @@ -13,14 +13,15 @@ ] }, { - "enabled": false, - "device_id": "water_meter_main_gate", + "enabled": true, + "device_id": "rotary encoder", "port_path": "/dev/ttyS7", "baud_rate": 9600, - "slave_id": 5, - "poll_interval_ms": 10000, + "slave_id": 111, + "poll_interval_ms": 5000, "data_points": [ - {"name": "total_flow", "address": 256, "type": "FLOAT32", "scale": 1.0} + {"name": "count", "address": 1, "type": "INT16", "scale": 1.0}, + {"name": "total_count", "address": 2, "type": "INT16", "scale": 1.0} ] }, {