tillsteinbach / WeConnect-python

Python API for the Volkswagen WeConnect Services
MIT License
109 stars 29 forks source link

isOnline no longer provided by API? #91

Closed pplucky closed 1 year ago

pplucky commented 1 year ago

Describe the bug Attribute 'isOnline' (usually under [readiness] / [readinessStatus] / Connection State) doesn't seem to be provided anymore (since 1 or 2 weeks)

To Reproduce In the past, running weconnect-cli used to return something like:

[readiness] Elements: 1 items
        [readinessStatus]
                Connection State:
                        Is online: True
                        Battery power level: comfort
                        Daily Power Budget Available: True
                Connection Warning:
                        Insufficient Battery Level Warning: False
                        Daily Power Budget Warning: False

If I run it now, it only shows:

[readiness] Elements: 1 items
    [readinessStatus]
        Connection State: 
            Battery power level: comfort
            Daily Power Budget Available: True 
        Connection Warning: 
            Insufficient Battery Level Warning: False
            Daily Power Budget Warning: False 

Using library volkswagen_we_connect_id, noticed that the provided sensor is always off (default when either false or absent information?), but this seems to be an issue with this library instead.

Expected behavior Attribute "isOnline" is available and provided by the library (as the app does).

Screenshots NA

Logs NA

Additional context NA

Was there any change in the API that could be causing this issue, as the app is still reporting it properly?

pplucky commented 1 year ago

All of a sudden, seems to working again. API temporary failure?