Mercedes Me Binding

Hi

A Debug log

2022-06-30 04:56:32.418 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@dedc79::DecryptedEndPoint@67170e{l=/192.168.0.101:58030,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1284288/0}
2022-06-30 04:56:32.420 [INFO ] [desme.internal.server.CallbackServer] - Token expired - start refreshing
2022-06-30 04:56:32.677 [INFO ] [g.mercedesme.internal.AccountHandler] - 8090 received new Access Token AccessTokenResponse [accessToken=YEzaprTUNCWiikraVG78boV-DcLM5J5Y2CcLGkngY6l_Hy4PY8lDTt3J1-BzJQokSt4qhe3hU-CQ3S3nx70Ioe7xgQCdA.qUqghjU-Q0IsBtXaVwbSRb9ogRwGjTD-iGF-DIWMuds, tokenType=Bearer, expiresIn=7199, refreshToken=Jk5PVY2ql8kN876zrl2cC2QshnJG6vlaMxzehQpvF8, scope=null, state=null, createdOn=2022-06-30T04:56:32.671589]
2022-06-30 04:56:32.679 [INFO ] [g.mercedesme.internal.AccountHandler] - 8090 store token in mercedesme:account:7000:token
2022-06-30 04:56:33.137 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 04:56:33.340 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 04:56:33.444 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 04:56:33.657 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 05:17:47.300 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@5f0696::DecryptedEndPoint@4c7fd9{l=/192.168.0.101:58054,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1273637/0}
2022-06-30 05:17:47.762 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 05:17:47.959 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 05:17:48.102 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 05:17:48.290 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 05:39:02.176 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@1e8ae90::DecryptedEndPoint@3fdef6{l=/192.168.0.101:58074,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1273884/0}
2022-06-30 05:39:02.489 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 05:39:02.705 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 05:39:02.807 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 05:39:02.980 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 06:00:27.299 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@33f75e::DecryptedEndPoint@dd4726{l=/192.168.0.101:58090,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1284314/0}
2022-06-30 06:00:27.708 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 06:00:27.930 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 06:00:28.040 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 06:00:28.236 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 06:21:52.420 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@78abd7::DecryptedEndPoint@11fae6{l=/192.168.0.101:58108,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1284178/0}
2022-06-30 06:21:52.898 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 06:21:53.101 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 06:21:53.222 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 06:21:53.387 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 06:43:07.297 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@3a8d30::DecryptedEndPoint@131adf3{l=/192.168.0.101:58148,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1273907/0}
2022-06-30 06:43:07.697 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 06:43:08.004 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 06:43:08.165 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 06:43:08.356 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 07:04:32.419 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@1620485::DecryptedEndPoint@1643943{l=/192.168.0.101:58164,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1284058/0}
2022-06-30 07:04:32.422 [INFO ] [desme.internal.server.CallbackServer] - Token expired - start refreshing
2022-06-30 07:04:32.799 [INFO ] [g.mercedesme.internal.AccountHandler] - 8090 received new Access Token AccessTokenResponse [accessToken=A1T7TAqY1K7Z7lf82xudl-sHle1lfnniVwCNX1mnzQgTAKCDI0AysM-7aQXfUKAKFRMD5xl412OzouP7gErySs00SSkQWZeQ.nx0V1nqGJ1UCdhRmDROQJ9FqR7KPxvrh0lmQzSUr1Jw, tokenType=Bearer, expiresIn=7199, refreshToken=kiqZQzSkN89uNYZ7BfVKhitRc4jIU7GVYebyYZnRv6, scope=null, state=null, createdOn=2022-06-30T07:04:32.793045]
2022-06-30 07:04:34.567 [INFO ] [g.mercedesme.internal.AccountHandler] - 8090 store token in mercedesme:account:7000:token
2022-06-30 07:04:35.217 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 07:04:35.397 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 07:04:35.518 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 07:04:35.725 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 07:25:57.539 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@19682f2::DecryptedEndPoint@15a515c{l=/192.168.0.101:58186,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1281809/0}
2022-06-30 07:25:57.830 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 07:25:58.467 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 07:25:58.576 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 07:25:58.781 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 07:47:22.658 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@18fe6be::DecryptedEndPoint@1472196{l=/192.168.0.101:58204,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1283873/0}
2022-06-30 07:47:23.228 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 07:47:23.431 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 07:47:23.565 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 07:47:23.942 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 08:08:47.779 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@1debc74::DecryptedEndPoint@298aaf{l=/192.168.0.101:58228,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1283833/0}
2022-06-30 08:08:48.285 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"100","timestamp":1656547565000}},{"rangeelectric":{"value":"58","timestamp":1656547446000}}]
2022-06-30 08:08:48.501 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 08:08:48.607 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656520996000}},{"doorstatusfrontright":{"value":"false","timestamp":1656521021000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656521030000}},{"readingLampFrontRight":{"value":"false","timestamp":1656521030000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656493397000}}]
2022-06-30 08:08:49.020 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656521022000}},{"doorlockstatusgas":{"value":"false","timestamp":1656521022000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656521022000}},{"positionHeading":{"value":"100.2","timestamp":1656520992000}}]
2022-06-30 08:30:12.898 [WARN ] [g.mercedesme.internal.VehicleHandler] - Error getting data java.io.EOFException: HttpConnectionOverHTTP@4b3f02::DecryptedEndPoint@9ee70c{l=/192.168.0.101:58244,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1283873/0}
2022-06-30 08:30:13.774 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"soc":{"value":"99","timestamp":1656570399000}},{"rangeelectric":{"value":"57","timestamp":1656570306000}}]
2022-06-30 08:30:13.777 [INFO ] [g.mercedesme.internal.VehicleHandler] - range last update 2022-06-30T08:26:39.000+0200
2022-06-30 08:30:14.241 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 204 
2022-06-30 08:30:14.356 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656570437000}},{"doorstatusfrontright":{"value":"false","timestamp":1656570292000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656570446000}},{"readingLampFrontRight":{"value":"false","timestamp":1656570446000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656570282000}}]
2022-06-30 08:30:14.361 [INFO ] [g.mercedesme.internal.VehicleHandler] - doors last update 2022-06-30T08:27:17.000+0200
2022-06-30 08:30:14.365 [INFO ] [g.mercedesme.internal.VehicleHandler] - lights last update 2022-06-30T08:27:26.000+0200
2022-06-30 08:30:14.740 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656570438000}},{"doorlockstatusgas":{"value":"false","timestamp":1656570438000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656570438000}},{"positionHeading":{"value":"354.4","timestamp":1656570427000}}]
2022-06-30 08:30:14.743 [INFO ] [g.mercedesme.internal.VehicleHandler] - lock last update 2022-06-30T08:27:18.000+0200
2022-06-30 08:30:14.747 [INFO ] [g.mercedesme.internal.VehicleHandler] - location last update 2022-06-30T08:27:07.000+0200

Thx, that’s what I meant.

Two things to highligt.

From call sequence this is fuel for your plugin-hybrid. Setup is fine but you simply get no data.

Seems to be the odo call but I’m quite curios why this fails all the time. I saw this error too but in very rare occasions

In the neweset version I placed a fallback API call if the first call isn’t successful. Please give it a try!

@AndrewFG

2 Likes

If you move this topic to the Marketplace Bundles category. People will be able to install the binding directly from within openHAB main ui marketplace bindings. (Note: there are instructions on how your topic content should be presented. When you normally would open a new topic in the market place bundles you get a template text with all that information. Best to click on new topic in the marketplace bundles category and use that instructions to modify this topic to have the right content. After that just discard that new topic)

Good morning @weymann

i have installed the new version of the binding.

is it normal that there’s 625 lines of "MercedesMe"debug log when starting openhab ?
well i skipped the startup debug log.

This is what i got later on.

2022-07-01 06:41:24.067 [DEBUG] [g.mercedesme.internal.AccountHandler] - Token migration successful
2022-07-01 06:41:24.076 [DEBUG] [desme.internal.server.CallbackServer] - Start Callback Server for port 8090
2022-07-01 06:41:24.466 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:payasyoudrive Response 200 [{"odo":{"value":"23876","timestamp":1656595033000}}]
2022-07-01 06:41:24.603 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:electricvehicle Response 200 [{"soc":{"value":"100","timestamp":1656597171000}},{"rangeelectric":{"value":"56","timestamp":1656599014000}}]
2022-07-01 06:41:24.713 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:fuelstatus Response 204 
2022-07-01 06:41:24.813 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:vehiclestatus Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656517440000}},{"windowstatusrearright":{"value":"0","timestamp":1656517440000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656595313000}},{"doorstatusfrontright":{"value":"false","timestamp":1656595313000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656595189000}},{"readingLampFrontRight":{"value":"false","timestamp":1656595189000}},{"windowstatusfrontright":{"value":"2","timestamp":1656391626000}},{"doorstatusrearleft":{"value":"true","timestamp":1656391353000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656391626000}},{"decklidstatus":{"value":"false","timestamp":1656570282000}},{"doorstatusrearright":{"value":"false","timestamp":1656595136000}}]
2022-07-01 06:41:24.929 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:vehiclelockstatus Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656597037000}},{"doorlockstatusgas":{"value":"false","timestamp":1656597037000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656597037000}},{"positionHeading":{"value":"92.0","timestamp":1656595095000}}]
2022-07-01 06:41:25.090 [INFO ] [d.internal.WorxLandroidBridgeHandler] - Start retrieving AWS certificate

EDIT: is it possible to change language ?
image

Saved by “fallback API call”

2022-07-01 08:07:06.488 [WARN ] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:payasyoudrive Error getting data java.io.EOFException: HttpConnectionOverHTTP@1a2cf19::DecryptedEndPoint@8fe94c{l=/192.168.0.101:42526,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1285955/0}
2022-07-01 08:07:06.490 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Perform fallback call
2022-07-01 08:07:07.104 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:payasyoudrive Response 200 [{"odo":{"value":"23882","timestamp":1656654574000}}]
2022-07-01 08:07:07.479 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:electricvehicle Response 200 [{"soc":{"value":"89","timestamp":1656654650000}},{"rangeelectric":{"value":"51","timestamp":1656654516000}}]
2022-07-01 08:07:07.652 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:fuelstatus Response 204 
2022-07-01 08:07:07.755 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:vehiclestatus Response 200 [{"windowstatusrearleft":{"value":"2","timestamp":1656651882000}},{"windowstatusrearright":{"value":"2","timestamp":1656651882000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656654689000}},{"doorstatusfrontright":{"value":"false","timestamp":1656654700000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656654710000}},{"readingLampFrontRight":{"value":"false","timestamp":1656654710000}},{"windowstatusfrontright":{"value":"2","timestamp":1656651882000}},{"doorstatusrearleft":{"value":"false","timestamp":1656651867000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656651882000}},{"decklidstatus":{"value":"false","timestamp":1656654732000}},{"doorstatusrearright":{"value":"false","timestamp":1656595136000}}]
2022-07-01 08:07:08.151 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:vehiclelockstatus Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656654735000}},{"doorlockstatusgas":{"value":"false","timestamp":1656654735000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656654735000}},{"positionHeading":{"value":"192.8","timestamp":1656654673000}}]

Regarding missing data from fuel API, maybe its not updated because the gasoline engine don’t start ?

Thanks @Mads_Bloch for testing - I highly appreciate!

Sadly yes, but 80% isn’t in my code - these are logs from the general openHAB classes when starting / stopping the binding. But as I see your posts you find the crucial points.

1st great to see that token migration works. I store the token now in different location so I wrote a migration funtion and it works so you don’t have to authorize again
2nd the first odo call works without fallback
3rd fallback as I see works too - can you check the logs if the fallback is applied everytime or just sporadic?

Here I’m clueless. For my bindings I add a german translation file which shall be applied if your regional settings are set to language german. I set my language to English and even after rebooting I’ve the same effect that german language is shown. Never observed that before.
@hilbrand - any explanation for this language behaviour?

HI @weymann

Í just had a look at the log file, the fallback is applied every time from 1015 until now.

2022-07-01 19:10:52.098 [WARN ] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:payasyoudrive Error getting data java.io.EOFException: HttpConnectionOverHTTP@7d45::DecryptedEndPoint@bdfbd5{l=/192.168.0.101:44598,r=api.mercedes-benz.com/159.122.71.196:443,OPEN,fill=-,flush=-,to=1282123/0}
2022-07-01 19:10:52.100 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Perform fallback call
2022-07-01 19:10:52.628 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:payasyoudrive Response 200 [{"odo":{"value":"23919","timestamp":1656687757000}}]
2022-07-01 19:10:52.927 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:electricvehicle Response 200 [{"soc":{"value":"62","timestamp":1656687500000}},{"rangeelectric":{"value":"39","timestamp":1656688173000}}]
2022-07-01 19:10:53.195 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:fuelstatus Response 200 [{"rangeliquid":{"value":"144","timestamp":1656687816000}},{"tanklevelpercent":{"value":"22","timestamp":1656687816000}}]
2022-07-01 19:10:53.318 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:vehiclestatus Response 200 [{"windowstatusrearleft":{"value":"0","timestamp":1656666812000}},{"windowstatusrearright":{"value":"2","timestamp":1656667862000}},{"doorstatusfrontleft":{"value":"false","timestamp":1656688800000}},{"doorstatusfrontright":{"value":"false","timestamp":1656688752000}},{"readingLampFrontLeft":{"value":"false","timestamp":1656688809000}},{"readingLampFrontRight":{"value":"false","timestamp":1656688809000}},{"windowstatusfrontright":{"value":"2","timestamp":1656651882000}},{"doorstatusrearleft":{"value":"false","timestamp":1656651867000}},{"windowstatusfrontleft":{"value":"2","timestamp":1656651882000}},{"decklidstatus":{"value":"false","timestamp":1656688567000}},{"doorstatusrearright":{"value":"false","timestamp":1656595136000}}]
2022-07-01 19:10:53.513 [DEBUG] [g.mercedesme.internal.VehicleHandler] - Mercedes A250e:vehiclelockstatus Response 200 [{"doorlockstatusvehicle":{"value":"2","timestamp":1656688802000}},{"doorlockstatusgas":{"value":"false","timestamp":1656688802000}},{"doorlockstatusdecklid":{"value":"false","timestamp":1656688802000}},{"positionHeading":{"value":"96.0","timestamp":1656687817000}}]

As you can see the fuel data is coming
through, took the car for a spin in sports mode = Electric + Gasoline engine

From log file i noticed there around 20min between updates, things is configured with 5min.

Thanks Mads

Hello, thans for that. It is working.
I would like ask you whether I can switch binding to english? Because I have all labels in German.

Thanks
Jirka

Nice to see it works for you!

For translation I’m a bit clueless right now. I definitely had a naming issue in the translation file which is fixed now. But I’m not able to get the english version running on my system changing

  • openHAB language settings and / or
  • raspi Locale change

Both performed with clean-cache and reboot. Please give the new version a try and give some feedback!

Hi,

Partial success :slightly_smiling_face:

  1. Things are translated - this is OK
  2. Channales not translated

Thanks
Jirka

As said I’m still a bit confused regarding translations
@laursen In my last Pull Request for MyBMW binding you said translations are now handled via Crowdin. Shall the german translation file be removed from this binding?

No, the process is described here:

Please let me know if you still have specific doubts so I can try to clarify this description.

In short:

  • Default translations are provided with PR.
  • These are imported automatically into Crowdin.
  • Translations are then exported automatically from Crowdin into a PR.

Oh, you mean from this PR?

Ideally it should. It does not introduce risk of conflicts since the default translations doesn’t exist in Crowdin yet, but it does still short-circuit the proof-reading process and may require manual upload.

I got data once for a couple of days but know there is an issue with authentification:

2022-08-01 16:13:02.229 [ERROR] [oauth2client.internal.OAuthConnector] - grant type refresh_token to URL https://id.mercedes-benz.com/as/token.oauth2 failed with error code invalid_grant, description unknown, invalid, or expired refresh token
2022-08-01 16:13:02.229 [WARN ] [desme.internal.server.CallbackServer] - Error refreshing token null

Can anybody help me how to resolve this?

A token was available but unfortunately refreshing the token fails. Reason I cannot identify - just be aware that parallel access e.g. with the available scripting onto the same Mercedes Developer project will not work - they cannot share the token!

Resolve this issue with a new manual authorization run:

  • go to you your MercedesMe account bridge and copy the callbackUrl from Thing Properties - see readme
  • paste thes link into a new browser tab. Click on link Start Authorization. You should receive some feedback status ok

After this procedure bridge and vehicle shall run again.

Perform one additional check if the token is stored properly. Check in %USER_DATA%/jsondb if a mercedesme.json is present. At this location the token is stored

1 Like

Works out again. But have changed nothing now? Only confirmed up to the point where i received “status OK”.

A mercedesme.json has been stored. Thanks for your support. Will further observe this.

As said I cannot tell why the origin problem occurred. There’s no change in the binding itsself but of course after these steps are performed you received a new fresh token. You can see in the callbackUrl page scope offline_access is requested so in principle the authorization will never expire.

image

  • during runtime every refresh token call will renew the token plus the token is stored in /var/lib/openhab/jsondb/mercedesme.json
  • if you restart openHAB token is restored from mercedesme.json and it shall work fine
  • if you e.g. restore a openHAB backup from several days ago it might be possible the token is obsolete - manual request of new token is necessary

I know this isn’t convienent but currently I don’t have a better way of handling.