Files
MSE-PI-E2EEDA-Plein-de-eeee…/gateway/gateway.py
DjeAvd dd659cbc66 refactor(gateway): switch from GATT connection to passive BLE advertising
Replace active GATT connection with passive BLE advertising scan.
The gateway now listens to advertising packets and decodes the key/value
payload defined in the firmware specification (keys 0x01 to 0x04).

- Remove GATT connection logic (connect_device, BleakClient)
- Add decode_payload method following firmware spec
- Fix mqtt.Client instantiation with callback_api_version keyword argument
- Add window_open field support in MQTT payload

Assisted-by: Claude:claude-sonnet-4-6 — payload decoding implementation
2026-06-04 12:32:46 +02:00

4.7 KiB