feat: implement Contec CMS7000PLUS TCP server and dashboard routing with deployment configuration
This commit is contained in:
@@ -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)})")
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user