adjusting enabled sensors and sensor types

This commit is contained in:
Constantin Pascal
2025-12-30 09:18:52 +02:00
parent 8d982dd988
commit 1d0cc328c0
4 changed files with 97 additions and 13 deletions
+2 -2
View File
@@ -226,8 +226,8 @@ class ModbusRTUMonitorHub:
self._writer.close()
await self._writer.wait_closed()
# Wait before reconnecting
await asyncio.sleep(5)
# Wait before reconnecting (30 seconds to prevent DDOS during server outages)
await asyncio.sleep(30)
# Attempt reconnection
try: