Fix: ping Miotiq command=0x02 pour retrocompat avec capteurs deployés (byte 9 = 0x01)
Les capteurs en production envoient 0x01 sur le byte 9 (ancien protocol_version). Cote serveur: 0x00 et 0x01 = data normal, 0x02 = ping test. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@ import sqlite3
|
||||
MIOTIQ_IP = "192.168.0.20"
|
||||
MIOTIQ_PORT = 4242
|
||||
PAYLOAD_SIZE = 100
|
||||
COMMAND_PING = 0x01
|
||||
COMMAND_PING = 0x02
|
||||
LISTEN_TIMEOUT = 15 # seconds to wait for downlink response
|
||||
|
||||
# --- Load device_id from SQLite ---
|
||||
|
||||
Reference in New Issue
Block a user