skodaconnect / myskoda

Python library for interacting with MySkoda APIs.
MIT License
9 stars 22 forks source link

Enable mqtt logging #133

Closed dvx76 closed 3 weeks ago

dvx76 commented 3 weeks ago

Might help debugging some of the MQTT issues we're seeing.

Note: ha-core mqtt integration does the same thing.

Example (with --verbose / log-level DEBUG):

2024-10-28 09:54:33 WALLY myskoda.mqtt[4123] DEBUG Subscribing to topic: uuid/TMBXXXX/account-event/account-event/privacy
2024-10-28 09:54:33 WALLY paho.mqtt.client[4123] DEBUG Sending SUBSCRIBE (d0, m26) [(b'uuid/TMBXXXX/account-event/account-event/privacy', 0)]
2024-10-28 09:54:33 WALLY paho.mqtt.client[4123] DEBUG Received SUBACK
2024-10-28 09:54:47 WALLY paho.mqtt.client[4123] DEBUG Sending PINGREQ
2024-10-28 09:54:47 WALLY paho.mqtt.client[4123] DEBUG Received PINGRESP