diff --git a/envea/read_value_v2.py b/envea/read_value_v2.py index 9b5b801..e5559c0 100755 --- a/envea/read_value_v2.py +++ b/envea/read_value_v2.py @@ -118,12 +118,6 @@ try: time.sleep(0.5) # Read fixed number of bytes (not readline which stops at 0x0A) - # First read to consume any echo/acknowledgment - initial_data = serial_connection.read(serial_connection.in_waiting or 1) - debug_print(f" ← Initial read: {len(initial_data)} bytes") - - # Small delay then read the actual response - time.sleep(0.1) data_envea = serial_connection.read(32) # Read fixed 32 bytes debug_print(f" ← Received {len(data_envea)} bytes: {data_envea.hex() if data_envea else 'empty'}")