github ReneNulschDE/mbapi2020 v0.28.0

latest releases: v0.29.4, v0.29.3, v0.29.2...
one month ago

🔄 Backup Mode: Pull Fallback

  • When the connection to the Mercedes-Benz data pipeline (WebSocket) is blocked — even after a re-login — the component will now switch to a backup mode, falling back from push to pull operation. (Should happen not that often anymore as other optimisation were done in the background.)
  • During backup mode, data is pulled every 3 minutes to maintain updates.
  • This fallback mechanism is also applied during restarts of HA or the integration. If the WebSocket is still blocked, the component starts in pull mode.
    • Note: In this case, startup may take approximately 30 seconds.

🔁 Automatic Recovery to Push Mode

  • Once the blocking by MB ends and the WebSocket connection becomes available again, the component will automatically switch back to push mode — no user interaction required.

🛰️ New Sensor: Data Mode

  • A new diagnostic sensor named data mode has been introduced. It indicates the current data transfer method:
    • push → Standard mode using the WebSocket connection.
    • pull → Fallback mode when WebSocket is blocked.

⚠️ Limitations in Pull Mode

Important: When the component is in pull mode, it is not possible to execute actions (e.g., locking/unlocking or sending commands), as these require an active WebSocket connection.

It can take up to 24 hours until these changes are fully effective. Means that 429 errors on day 1 are normal.

Special thanks to all the new or old sponsors (a, b), everyone who starred the repository, and all contributors in the beta phase - you helped a lot!

Don't miss a new mbapi2020 release

NewReleases is sending notifications on new releases.