diff --git a/src/dashboard/api.py b/src/dashboard/api.py index 07a93f8..81942af 100644 --- a/src/dashboard/api.py +++ b/src/dashboard/api.py @@ -718,10 +718,10 @@ async def get_signals(): # Try to use real protocol data for Modbus, fallback for OPC UA try: - from .protocol_clients import ModbusTCPClient + from .protocol_clients import ModbusClient # Create Modbus client - modbus_client = ModbusTCPClient( + modbus_client = ModbusClient( host="localhost", port=502, unit_id=1