self.error_stream("Communication with the OPC-UA server %s:%d failed. Reconnecting. Trace: %s"%(self.OPC_Server_Name,self.OPC_Server_Port,traceback.format_exc()))
self.error_stream("Communication with the OPC-UA server %s:%d failed. Reconnecting. Trace: %s"%(self.OPC_Server_Name,self.OPC_Server_Port,traceback.format_exc()))
self.set_state(DevState.FAULT)
self.Fault()
self.opcua_connector.reconnect()
self.opcua_connector.reconnect()
returnNone
returnNone
...
@@ -352,7 +352,7 @@ class RCUSCC(Device):
...
@@ -352,7 +352,7 @@ class RCUSCC(Device):
self.debug_stream("Mapping OPC-UA MP/CP to attributes done.")
self.debug_stream("Mapping OPC-UA MP/CP to attributes done.")