fix(envea): increase sensor response wait time to 1.5s

Some readings were returning 0 because the sensor hadn't fully
responded within 1 second. Increased to 1.5s for more reliable reads.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
PaulVua
2026-01-23 17:30:44 +01:00
parent 80fcd8bf37
commit 042b2efa93

View File

@@ -115,7 +115,7 @@ try:
debug_print(f" → Sent command: {command.hex()}")
# Wait for complete sensor response (sensor needs time to process and reply)
time.sleep(1.0)
time.sleep(1.5)
# Read all available data from buffer
bytes_available = serial_connection.in_waiting