feat: implement Contec CMS7000PLUS TCP server and dashboard routing with deployment configuration

This commit is contained in:
2026-07-13 12:58:45 +05:30
parent 84b8acc904
commit 6d0f3237af
8 changed files with 108 additions and 5 deletions
-3
View File
@@ -65,9 +65,6 @@ async def handle_contec_client(reader: asyncio.StreamReader, writer: asyncio.Str
break
buffer += data
# Temporary debug capture of raw binary stream
with open("/home/prathiyuman/Prathiyuman/ContecMonitor/fiveparaminte-main/scratch/raw_contec_stream.bin", "ab") as f:
f.write(data)
logger.debug(f"Received {len(data)} bytes from {client_ip}:{client_port} on port {port} (buf={len(buffer)})")
# ---------------------------------------------------------------