evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.58k stars 661 forks source link

Mercedes login error - 0.115 #7156

Closed Macrisu closed 1 year ago

Macrisu commented 1 year ago

Describe the bug

I've just made the upgrade to 0.115 I try to login for my Mercedes EQC and I get on the page this:

Internal Server Error
Login error

And the returned URL is like this:

https://ssoalpha.dvb.corpinter.net/v1/callback?error_description=The+requested+scope+is+invalid%2C+unknown%2C+malformed%2C+or+exceeds+that+which+the+client+is+permitted+to+request.&state=xxxx&error=invalid_scope#.

No problem in 0.114.1

Nothing was change in the config file!

Steps to reproduce

just upgrade

Configuration details

x

Log details

./evcc --log trace
[main  ] INFO 2023/04/01 18:54:02 evcc 0.115.0
[main  ] INFO 2023/04/01 18:54:02 using config file: /volume1/docker/evcc/evcc.yaml
[main  ] INFO 2023/04/01 18:54:02 starting ui and api at :7070
[db    ] INFO 2023/04/01 18:54:03 using sqlite database: /root/.evcc/evcc.db
[db    ] TRACE 2023/04/01 18:54:03 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2023/04/01 18:54:03 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2023/04/01 18:54:03 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2023/04/01 18:54:03 SELECT * FROM `settings` 7 <nil>
[modbus] TRACE 2023/04/01 18:54:03 modbus: send 00 01 00 00 00 06 f0 03 9c 40 00 02
[modbus] TRACE 2023/04/01 18:54:03 modbus: recv 00 01 00 00 00 07 f0 03 04 53 75 6e 53
[modbus] TRACE 2023/04/01 18:54:03 modbus: send 00 02 00 00 00 06 f0 03 9c 42 00 02
[modbus] TRACE 2023/04/01 18:54:03 modbus: recv 00 02 00 00 00 07 f0 03 04 00 01 00 41
[modbus] TRACE 2023/04/01 18:54:03 modbus: send 00 03 00 00 00 06 f0 03 9c 85 00 02
[modbus] TRACE 2023/04/01 18:54:04 modbus: recv 00 03 00 00 00 07 f0 03 04 00 d5 00 7c
[modbus] TRACE 2023/04/01 18:54:04 modbus: send 00 04 00 00 00 06 f0 03 9d 03 00 02
[modbus] TRACE 2023/04/01 18:54:04 modbus: recv 00 04 00 00 00 07 f0 03 04 ff ff 00 00
[modbus] TRACE 2023/04/01 18:54:04 modbus: send 00 05 00 00 00 06 f0 03 9c 44 00 42
[modbus] TRACE 2023/04/01 18:54:04 modbus: recv 00 05 00 00 00 87 f0 03 84 46 72 6f 6e 69 75 73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 6d 61 72 74 20 4d 65 74 65 72 20 54 53 20 35 6b 41 2d 33 00 00 00 00 00 00 00 00 00 00 00 00 33 2e 32 35 2e 32 2d 31 00 00 00 00 00 00 00 00 31 2e 35 00 00 00 00 00 00 00 00 00 00 00 00 00 33 30 31 39 35 37 31 36 39 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 00 d5
[modbus] TRACE 2023/04/01 18:54:04 modbus: send 00 06 00 00 00 06 01 03 9c 40 00 02
[modbus] TRACE 2023/04/01 18:54:05 modbus: recv 00 06 00 00 00 07 01 03 04 53 75 6e 53
[modbus] TRACE 2023/04/01 18:54:05 modbus: send 00 07 00 00 00 06 01 03 9c 42 00 02
[modbus] TRACE 2023/04/01 18:54:05 modbus: recv 00 07 00 00 00 07 01 03 04 00 01 00 41
[modbus] TRACE 2023/04/01 18:54:05 modbus: send 00 08 00 00 00 06 01 03 9c 85 00 02
[modbus] TRACE 2023/04/01 18:54:05 modbus: recv 00 08 00 00 00 07 01 03 04 00 71 00 3c
[modbus] TRACE 2023/04/01 18:54:05 modbus: send 00 09 00 00 00 06 01 03 9c c3 00 02
[modbus] TRACE 2023/04/01 18:54:05 modbus: recv 00 09 00 00 00 07 01 03 04 00 78 00 1a
[modbus] TRACE 2023/04/01 18:54:05 modbus: send 00 0a 00 00 00 06 01 03 9c df 00 02
[modbus] TRACE 2023/04/01 18:54:06 modbus: recv 00 0a 00 00 00 07 01 03 04 00 79 00 1e
[modbus] TRACE 2023/04/01 18:54:06 modbus: send 00 0b 00 00 00 06 01 03 9c ff 00 02
[modbus] TRACE 2023/04/01 18:54:06 modbus: recv 00 0b 00 00 00 07 01 03 04 00 7a 00 2c
[modbus] TRACE 2023/04/01 18:54:06 modbus: send 00 0c 00 00 00 06 01 03 9d 2d 00 02
[modbus] TRACE 2023/04/01 18:54:06 modbus: recv 00 0c 00 00 00 07 01 03 04 00 7b 00 18
[modbus] TRACE 2023/04/01 18:54:06 modbus: send 00 0d 00 00 00 06 01 03 9d 47 00 02
[modbus] TRACE 2023/04/01 18:54:06 modbus: recv 00 0d 00 00 00 07 01 03 04 00 a0 00 30
[modbus] TRACE 2023/04/01 18:54:06 modbus: send 00 0e 00 00 00 06 01 03 9d 79 00 02
[modbus] TRACE 2023/04/01 18:54:07 modbus: recv 00 0e 00 00 00 07 01 03 04 ff ff 00 00
[modbus] TRACE 2023/04/01 18:54:07 modbus: send 00 0f 00 00 00 06 01 03 9c 44 00 42
[modbus] TRACE 2023/04/01 18:54:07 modbus: recv 00 0f 00 00 00 87 01 03 84 46 72 6f 6e 69 75 73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 79 6d 6f 20 32 30 2e 30 2d 33 2d 4d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 2e 32 35 2e 32 2d 31 00 00 00 00 00 00 00 00 30 2e 33 2e 32 39 2e 31 00 00 00 00 00 00 00 00 33 32 36 33 32 38 34 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 71
[alfen ] TRACE 2023/04/01 18:54:07 modbus: send 00 01 00 00 00 06 01 03 01 32 00 06
[alfen ] TRACE 2023/04/01 18:54:07 modbus: recv 00 01 00 00 00 0f 01 03 0c 43 6d 99 99 43 6d 21 47 43 6c c2 8f
[alfen ] DEBUG 2023/04/01 18:54:07 detected 3p alfen
[alfen ] TRACE 2023/04/01 18:54:07 modbus: send 00 02 00 00 00 06 02 03 01 32 00 06
[alfen ] TRACE 2023/04/01 18:54:07 modbus: recv 00 02 00 00 00 0f 02 03 0c 43 6d a8 f5 43 6d 30 a3 43 6d 11 eb
[alfen ] DEBUG 2023/04/01 18:54:07 detected 3p alfen
[tesla ] TRACE 2023/04/01 18:54:07 POST https://auth.tesla.com/oauth2/v3/token
[tesla ] TRACE 2023/04/01 18:54:07 client_id=ownerapi&grant_type=refresh_token&refresh_token=***
--
{"access_token":xxxxx","expires_in":28800,"token_type":"Bearer"}
[tesla ] TRACE 2023/04/01 18:54:07 GET https://owner-api.teslamotors.com/api/1/vehicles
[tesla ] TRACE 2023/04/01 18:54:08 {"response":[{"id":xx,"vehicle_id":xxx,"vin":"xxx","display_name":"Red Fury","option_codes":null,"color":null,"access_type":"OWNER","tokens":["x","x"],"state":"asleep","in_service":false,"id_s":"x","calendar_enabled":true,"api_version":54,"backseat_token":null,"backseat_token_updated_at":null,"ble_autopair_enrolled":false}],"count":1}
[lp-1  ] WARN 2023/04/01 18:54:08 poll interval '30m0s' is lower than 1h0m0s and may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK.
[lp-2  ] WARN 2023/04/01 18:54:08 poll interval '30m0s' is lower than 1h0m0s and may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK.
[db    ] TRACE 2023/04/01 18:54:08 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="transactions" -1 <nil>
[db    ] TRACE 2023/04/01 18:54:08 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="sessions" -1 <nil>
[db    ] TRACE 2023/04/01 18:54:08 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "sessions" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2023/04/01 18:54:08 SELECT * FROM `sessions` LIMIT 1 -1 <nil>
[db    ] TRACE 2023/04/01 18:54:08 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="transactions" -1 <nil>
[db    ] TRACE 2023/04/01 18:54:08 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="sessions" -1 <nil>
[db    ] TRACE 2023/04/01 18:54:08 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "sessions" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2023/04/01 18:54:08 SELECT * FROM `sessions` LIMIT 1 -1 <nil>
[site  ] WARN 2023/04/01 18:54:08 vehicle 'EQC' does not support automatic detection
[site  ] INFO 2023/04/01 18:54:08 site config:
[site  ] INFO 2023/04/01 18:54:08   meters:      grid ✓ pv ✓ battery ✗
[site  ] INFO 2023/04/01 18:54:08     grid:      power ✓ energy ✓ currents ✓
[site  ] INFO 2023/04/01 18:54:08     pv 1:      power ✓ energy ✗ currents ✗
[site  ] INFO 2023/04/01 18:54:08   vehicles:
[site  ] INFO 2023/04/01 18:54:08     vehicle 1: range ✓ finish ✓ status ✓ climate ✗ wakeup ✗
[site  ] INFO 2023/04/01 18:54:08     vehicle 2: range ✓ finish ✗ status ✗ climate ✗ wakeup ✗
[lp-1  ] INFO 2023/04/01 18:54:08 loadpoint 1:
[lp-1  ] INFO 2023/04/01 18:54:08   mode:        pv
[lp-1  ] INFO 2023/04/01 18:54:08   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-1  ] INFO 2023/04/01 18:54:08   meters:      charge ✓
[lp-1  ] INFO 2023/04/01 18:54:08     charge:    power ✓ energy ✓ currents ✓
[lp-2  ] INFO 2023/04/01 18:54:08 loadpoint 2:
[lp-2  ] INFO 2023/04/01 18:54:08   mode:        pv
[lp-2  ] INFO 2023/04/01 18:54:08   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-2  ] INFO 2023/04/01 18:54:08   meters:      charge ✓
[lp-2  ] INFO 2023/04/01 18:54:08     charge:    power ✓ energy ✓ currents ✓
[cache ] TRACE 2023/04/01 18:54:08 siteTitle: MT Lab
[lp-1  ] DEBUG 2023/04/01 18:54:08 phase timer inactive
[lp-1  ] DEBUG 2023/04/01 18:54:08 pv timer inactive
[cache ] TRACE 2023/04/01 18:54:08 gridConfigured: true
[cache ] TRACE 2023/04/01 18:54:08 pvConfigured: true
[cache ] TRACE 2023/04/01 18:54:08 batteryConfigured: false
[cache ] TRACE 2023/04/01 18:54:08 bufferSoc: 0
[cache ] TRACE 2023/04/01 18:54:08 prioritySoc: 0
[cache ] TRACE 2023/04/01 18:54:08 residualPower: 0
[cache ] TRACE 2023/04/01 18:54:08 smartCostLimit: 0
[cache ] TRACE 2023/04/01 18:54:08 currency: RON
[lp-1  ] DEBUG 2023/04/01 18:54:08 guard timer inactive
[cache ] TRACE 2023/04/01 18:54:08 savingsSince: 2023-04-01 18:51:59 +0300 EEST
[cache ] TRACE 2023/04/01 18:54:08 vehicles: [Model Y EQC]
[cache ] TRACE 2023/04/01 18:54:08 lp-1/title: MT-1
[cache ] TRACE 2023/04/01 18:54:08 lp-1/minCurrent: 6
[cache ] TRACE 2023/04/01 18:54:08 lp-1/maxCurrent: 16
[cache ] TRACE 2023/04/01 18:54:08 lp-1/phasesConfigured: 0
[cache ] TRACE 2023/04/01 18:54:08 lp-1/phasesEnabled: 0
[cache ] TRACE 2023/04/01 18:54:08 lp-1/phasesActive: 3
[cache ] TRACE 2023/04/01 18:54:08 lp-1/phaseAction: inactive
[cache ] TRACE 2023/04/01 18:54:08 lp-1/phaseRemaining: 0s
[alfen ] TRACE 2023/04/01 18:54:08 modbus: send 00 03 00 00 00 06 01 03 04 ba 00 02
[cache ] TRACE 2023/04/01 18:54:08 lp-1/pvAction: inactive
[cache ] TRACE 2023/04/01 18:54:08 lp-1/pvRemaining: 0s
[cache ] TRACE 2023/04/01 18:54:08 lp-1/guardAction: inactive
[cache ] TRACE 2023/04/01 18:54:08 lp-1/guardRemaining: 0s
[cache ] TRACE 2023/04/01 18:54:08 lp-1/chargerFeatureIntegratedDevice: false
[cache ] TRACE 2023/04/01 18:54:08 lp-1/chargerIcon: <nil>
[cache ] TRACE 2023/04/01 18:54:08 lp-1/mode: pv
[cache ] TRACE 2023/04/01 18:54:08 lp-1/targetSoc: 100
[cache ] TRACE 2023/04/01 18:54:08 lp-1/minSoc: 0
[cache ] TRACE 2023/04/01 18:54:08 lp-1/vehicleDetectionActive: false
[alfen ] TRACE 2023/04/01 18:54:08 modbus: recv 00 03 00 00 00 07 01 03 04 00 00 00 00
[cache ] TRACE 2023/04/01 18:54:08 lp-2/title: MT-2
[cache ] TRACE 2023/04/01 18:54:08 lp-2/minCurrent: 6
[cache ] TRACE 2023/04/01 18:54:08 lp-2/maxCurrent: 16
[lp-2  ] DEBUG 2023/04/01 18:54:08 phase timer inactive
[cache ] TRACE 2023/04/01 18:54:08 lp-2/phasesConfigured: 0
[cache ] TRACE 2023/04/01 18:54:08 lp-2/phasesEnabled: 0
[cache ] TRACE 2023/04/01 18:54:08 lp-2/phasesActive: 3
[cache ] TRACE 2023/04/01 18:54:08 lp-2/phaseAction: inactive
[cache ] TRACE 2023/04/01 18:54:08 lp-2/phaseRemaining: 0s
[cache ] TRACE 2023/04/01 18:54:08 lp-2/pvAction: inactive
[cache ] TRACE 2023/04/01 18:54:08 lp-2/pvRemaining: 0s
[lp-2  ] DEBUG 2023/04/01 18:54:08 pv timer inactive
[lp-2  ] DEBUG 2023/04/01 18:54:08 guard timer inactive
[cache ] TRACE 2023/04/01 18:54:08 lp-2/guardAction: inactive
[cache ] TRACE 2023/04/01 18:54:08 lp-2/guardRemaining: 0s
[cache ] TRACE 2023/04/01 18:54:08 lp-2/chargerFeatureIntegratedDevice: false
[cache ] TRACE 2023/04/01 18:54:08 lp-2/chargerIcon: <nil>
[cache ] TRACE 2023/04/01 18:54:08 lp-2/mode: pv
[cache ] TRACE 2023/04/01 18:54:08 lp-2/targetSoc: 100
[cache ] TRACE 2023/04/01 18:54:08 lp-2/minSoc: 0
[cache ] TRACE 2023/04/01 18:54:08 lp-2/vehicleDetectionActive: false
[alfen ] TRACE 2023/04/01 18:54:08 modbus: send 00 04 00 00 00 06 02 03 04 ba 00 02
[alfen ] TRACE 2023/04/01 18:54:08 modbus: recv 00 04 00 00 00 07 02 03 04 00 00 00 00
[cache ] TRACE 2023/04/01 18:54:08 version: 0.115.0
[cache ] TRACE 2023/04/01 18:54:08 sponsor: Macrisu
[main  ] TRACE 2023/04/01 18:54:08 GET https://api.github.com/repos/evcc-io/evcc/releases/latest
[cache ] TRACE 2023/04/01 18:54:08 sponsorTokenExpires: 0s
[main  ] INFO 2023/04/01 18:54:08 ensure the oauth client redirect/callback is configured for EQC: https://xxxxxx.ro:7070/oauth/vehicles/1/callback
[cache ] TRACE 2023/04/01 18:54:08 auth: {map[EQC:0xc0007420e0]}
[site  ] DEBUG 2023/04/01 18:54:08 ----
[alfen ] TRACE 2023/04/01 18:54:08 modbus: send 00 05 00 00 00 06 01 03 01 58 00 02
[main  ] TRACE 2023/04/01 18:54:08 {"url":"https://api.github.com/repos/evcc-io/evcc/releases/97723604","assets_url":"https://api.github.com/repos/evcc-io/evcc/releases/97723604/assets","upload_url":"https://uploads.github.com/repos/evcc-io/evcc/releases/97723604/assets{?name,label}","html_url":"https://github.com/evcc-io/evcc/releases/tag/0.115.0","id":97723604,"author":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"node_id":"RE_kwDODX4bUs4F0yTU","tag_name":"0.115.0","target_commitish":"master","name":"0.115.0","draft":false,"prerelease":false,"created_at":"2023-04-01T08:32:49Z","published_at":"2023-04-01T09:14:25Z","assets":[{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/101874641","id":101874641,"node_id":"RA_kwDODX4bUs4GEnvR","name":"checksums.txt","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"text/plain; charset=utf-8","state":"uploaded","size":754,"download_count":0,"created_at":"2023-04-01T09:28:33Z","updated_at":"2023-04-01T09:28:33Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.115.0/checksums.txt"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/101874635","id":101874635,"node_id":"RA_kwDODX4bUs4GEnvL","name":"evcc_0.115.0_amd64.deb","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":17785966,"download_count":5,"created_at":"2023-04-01T09:28:32Z","updated_at":"2023-04-01T09:28:33Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.115.0/evcc_0.115.0_amd64.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/101874637","id":101874637,"node_id":"RA_kwDODX4bUs4GEnvN","name":"evcc_0.115.0_arm64.deb","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":16291782,"download_count":2,"created_at":"2023-04-01T09:28:32Z","updated_at":"2023-04-01T09:28:33Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.115.0/evcc_0.115.0_arm64.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/101874634","id":101874634,"node_id":"RA_kwDODX4bUs4GEnvK","name":"evcc_0.115.0_armhf.deb","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"application/vnd.debian.binary-package","state":"uploaded","size":16931140,"download_count":1,"created_at":"2023-04-01T09:28:31Z","updated_at":"2023-04-01T09:28:32Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.115.0/evcc_0.115.0_armhf.deb"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/101874625","id":101874625,"node_id":"RA_kwDODX4bUs4GEnvB","name":"evcc_0.115.0_linux-amd64.tar.gz","label":"","uploader":{"login":"andig","id":184815,"node_id":"MDQ6VXNlcjE4NDgxNQ==","avatar_url":"https://avatars.githubusercontent.com/u/184815?v=4","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"content_type":"application/gzip","state":"uploaded","size":17118431,"download_count":5,"created_at":"2023-04-01T09:28:28Z","updated_at":"2023-04-01T09:28:29Z","browser_download_url":"https://github.com/evcc-io/evcc/releases/download/0.115.0/evcc_0.115.0_linux-amd64.tar.gz"},{"url":"https://api.github.com/repos/evcc-io/evcc/releases/assets/101874632","id":101874632,"node_id":"RA_kwDODX4bUs4GEnvI","name":"evcc_0
[alfen ] TRACE 2023/04/01 18:54:08 modbus: recv 00 05 00 00 00 07 01 03 04 00 00 00 00
[lp-1  ] DEBUG 2023/04/01 18:54:08 charge power: 0W
[alfen ] TRACE 2023/04/01 18:54:08 modbus: send 00 06 00 00 00 06 02 03 01 58 00 02
[cache ] TRACE 2023/04/01 18:54:08 lp-1/chargePower: 0
[alfen ] TRACE 2023/04/01 18:54:08 modbus: recv 00 06 00 00 00 07 02 03 04 00 00 00 00
[lp-2  ] DEBUG 2023/04/01 18:54:08 charge power: 0W
[cache ] TRACE 2023/04/01 18:54:08 lp-2/chargePower: 0
[modbus] TRACE 2023/04/01 18:54:08 modbus: send 00 10 00 00 00 06 01 03 9c 87 00 3c
[modbus] TRACE 2023/04/01 18:54:09 modbus: recv 00 10 00 00 00 7b 01 03 78 40 11 47 ae 3f 42 8f 5c 3f 40 00 00 3f 42 8f 5c 43 cc b3 33 43 cb cc cd 43 cc 4c cd 43 6c 80 00 43 6b cc cd 43 6b 80 00 44 06 80 00 42 47 e1 47 44 06 80 3d 40 00 00 00 c2 c7 ff a5 4b b3 25 b8 7f c0 00 00 7f c0 00 00 44 0d 13 23 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 04 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:09 pv power: 538W
[cache ] TRACE 2023/04/01 18:54:09 pvPower: 538
[cache ] TRACE 2023/04/01 18:54:09 pv: [{538}]
[modbus] TRACE 2023/04/01 18:54:09 modbus: send 00 11 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:09 modbus: recv 00 11 00 00 00 fb f0 03 f8 40 c4 a3 d7 40 91 eb 85 bf 03 d7 0a 40 06 66 66 43 6d 4c cd 43 6d cc cd 43 6d 19 9a 43 6d 00 00 43 cd 77 77 43 ce a6 66 43 cc 33 33 43 cd 8c cd 42 47 99 9a 44 64 f3 33 44 2a d3 33 c2 94 33 33 43 99 59 9a 44 cb dc cd 44 85 73 33 42 f5 99 9a 43 dc 33 33 43 cb 19 9a 44 4d 13 33 c2 c3 cc cd c3 9e 00 00 bf 6a 3d 71 bf 23 d7 0a bf 14 7a e1 3f 32 b0 21 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 82 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:09 grid power: 916W
[modbus] TRACE 2023/04/01 18:54:09 modbus: send 00 12 00 00 00 06 f0 03 9c 87 00 7c
[cache ] TRACE 2023/04/01 18:54:09 gridPower: 915.7999877929688
[modbus] TRACE 2023/04/01 18:54:09 modbus: recv 00 12 00 00 00 fb f0 03 f8 40 c4 a3 d7 40 91 eb 85 bf 03 d7 0a 40 06 66 66 43 6d 4c cd 43 6d cc cd 43 6d 19 9a 43 6d 00 00 43 cd 77 77 43 ce a6 66 43 cc 33 33 43 cd 8c cd 42 47 99 9a 44 64 f3 33 44 2a d3 33 c2 94 33 33 43 99 59 9a 44 cb dc cd 44 85 73 33 42 f5 99 9a 43 dc 33 33 43 cb 19 9a 44 4d 13 33 c2 c3 cc cd c3 9e 00 00 bf 6a 3d 71 bf 23 d7 0a bf 14 7a e1 3f 32 b0 21 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 82 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[modbus] TRACE 2023/04/01 18:54:09 modbus: send 00 13 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:10 modbus: recv 00 13 00 00 00 fb f0 03 f8 40 c4 a3 d7 40 91 eb 85 bf 03 d7 0a 40 06 66 66 43 6d 4c cd 43 6d cc cd 43 6d 19 9a 43 6d 00 00 43 cd 77 77 43 ce a6 66 43 cc 33 33 43 cd 8c cd 42 47 99 9a 44 64 f3 33 44 2a d3 33 c2 94 33 33 43 99 59 9a 44 cb dc cd 44 85 73 33 42 f5 99 9a 43 dc 33 33 43 cb 19 9a 44 4d 13 33 c2 c3 cc cd c3 9e 00 00 bf 6a 3d 71 bf 23 d7 0a bf 14 7a e1 3f 32 b0 21 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 82 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[modbus] TRACE 2023/04/01 18:54:10 modbus: send 00 14 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:10 modbus: recv 00 14 00 00 00 fb f0 03 f8 40 c5 06 25 40 91 eb 85 bf 00 c4 9c 40 06 66 66 43 6d 44 44 43 6d cc cd 43 6d 19 9a 43 6c e6 66 43 cd 77 77 43 ce a6 66 43 cc 33 33 43 cd 8c cd 42 48 00 00 44 66 a0 00 44 2b 00 00 c2 8b 33 33 43 9a 19 9a 44 cb e0 00 44 85 a3 33 42 f0 66 66 43 dc d9 9a 43 cb 99 9a 44 4d 66 66 c2 c3 cc cd c3 9e 33 33 bf 6a 7e fa bf 23 d7 0a bf 14 39 58 3f 32 f1 aa 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 82 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:10 grid powers: [683 -74 308]W
[modbus] TRACE 2023/04/01 18:54:10 modbus: send 00 15 00 00 00 06 f0 03 9c 87 00 7c
[cache ] TRACE 2023/04/01 18:54:10 gridPowers: [683.2999877929688 -74.0999984741211 308.20001220703125]
[modbus] TRACE 2023/04/01 18:54:10 modbus: recv 00 15 00 00 00 fb f0 03 f8 40 c5 06 25 40 91 eb 85 bf 00 c4 9c 40 06 66 66 43 6d 44 44 43 6d cc cd 43 6d 19 9a 43 6c e6 66 43 cd 77 77 43 ce a6 66 43 cc 33 33 43 cd 8c cd 42 48 00 00 44 66 a0 00 44 2b 00 00 c2 8b 33 33 43 9a 19 9a 44 cb e0 00 44 85 a3 33 42 f0 66 66 43 dc d9 9a 43 cb 99 9a 44 4d 66 66 c2 c3 cc cd c3 9e 33 33 bf 6a 7e fa bf 23 d7 0a bf 14 39 58 3f 32 f1 aa 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 82 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[modbus] TRACE 2023/04/01 18:54:10 modbus: send 00 16 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:11 modbus: recv 00 16 00 00 00 fb f0 03 f8 40 c5 06 25 40 91 eb 85 bf 00 c4 9c 40 06 66 66 43 6d 44 44 43 6d cc cd 43 6d 19 9a 43 6c e6 66 43 cd 77 77 43 ce a6 66 43 cc 33 33 43 cd 8c cd 42 48 00 00 44 66 a0 00 44 2b 00 00 c2 8b 33 33 43 9a 19 9a 44 cb e0 00 44 85 a3 33 42 f0 66 66 43 dc d9 9a 43 cb 99 9a 44 4d 66 66 c2 c3 cc cd c3 9e 33 33 bf 6a 7e fa bf 23 d7 0a bf 14 39 58 3f 32 f1 aa 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 82 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[modbus] TRACE 2023/04/01 18:54:11 modbus: send 00 17 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:11 modbus: recv 00 17 00 00 00 fb f0 03 f8 40 c4 ed 91 40 91 eb 85 bf 01 89 37 40 06 66 66 43 6d 4c cd 43 6d e6 66 43 6d 19 9a 43 6c e6 66 43 cd 7b bc 43 ce b3 33 43 cc 33 33 43 cd 8c cd 42 48 00 00 44 67 26 66 44 2b 20 00 c2 8c 00 00 43 9b 0c cd 44 cc 36 66 44 85 a9 9a 42 f1 cc cd 43 dd b3 33 43 ca f3 33 44 4d 60 00 c2 c5 00 00 c3 9e 73 33 bf 6a 3d 71 bf 23 d7 0a bf 14 39 58 3f 31 eb 85 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 82 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:11 grid currents: [4.56 -0.503 2.1]A
[modbus] TRACE 2023/04/01 18:54:11 modbus: send 00 18 00 00 00 06 f0 03 9c 87 00 7c
[cache ] TRACE 2023/04/01 18:54:11 gridCurrents: [4.559999942779541 -0.503000020980835 2.0999999046325684]
[modbus] TRACE 2023/04/01 18:54:11 modbus: recv 00 18 00 00 00 fb f0 03 f8 40 c4 ed 91 40 91 eb 85 bf 01 89 37 40 06 66 66 43 6d 4c cd 43 6d e6 66 43 6d 19 9a 43 6c e6 66 43 cd 7b bc 43 ce b3 33 43 cc 33 33 43 cd 8c cd 42 48 00 00 44 67 26 66 44 2b 20 00 c2 8c 00 00 43 9b 0c cd 44 cc 36 66 44 85 a9 9a 42 f1 cc cd 43 dd b3 33 43 ca f3 33 44 4d 60 00 c2 c5 00 00 c3 9e 73 33 bf 6a 3d 71 bf 23 d7 0a bf 14 39 58 3f 31 eb 85 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 82 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:11 site power: 916W
[alfen ] TRACE 2023/04/01 18:54:11 modbus: send 00 07 00 00 00 06 01 03 01 40 00 06
[cache ] TRACE 2023/04/01 18:54:11 gridEnergy: 5.979969e+06
[cache ] TRACE 2023/04/01 18:54:11 lp-1/mode: pv
[alfen ] TRACE 2023/04/01 18:54:12 modbus: recv 00 07 00 00 00 0f 01 03 0c 00 00 00 00 00 00 00 00 00 00 00 00
[lp-1  ] DEBUG 2023/04/01 18:54:12 charge currents: [0 0 0]A
[cache ] TRACE 2023/04/01 18:54:12 lp-1/chargeCurrents: [0 0 0]
[cache ] TRACE 2023/04/01 18:54:12 lp-1/chargeCurrent: 0
[cache ] TRACE 2023/04/01 18:54:12 lp-1/chargedEnergy: 0
[alfen ] TRACE 2023/04/01 18:54:12 modbus: send 00 08 00 00 00 06 01 03 01 76 00 04
[cache ] TRACE 2023/04/01 18:54:12 lp-1/chargeDuration: 0s
[alfen ] TRACE 2023/04/01 18:54:12 modbus: recv 00 08 00 00 00 0b 01 03 08 41 07 dc 68 00 00 00 00
[lp-1  ] DEBUG 2023/04/01 18:54:12 charge meter total import: 195.469kWh
[alfen ] TRACE 2023/04/01 18:54:12 modbus: send 00 09 00 00 00 06 01 03 04 b1 00 05
[cache ] TRACE 2023/04/01 18:54:12 lp-1/chargeTotalImport: 195.469
[alfen ] TRACE 2023/04/01 18:54:12 modbus: recv 00 09 00 00 00 0d 01 03 0a 45 00 00 00 00 00 00 00 00 00
[lp-1  ] DEBUG 2023/04/01 18:54:12 charger status: E
[alfen ] TRACE 2023/04/01 18:54:12 modbus: send 00 0a 00 00 00 06 01 03 01 76 00 04
[alfen ] TRACE 2023/04/01 18:54:12 modbus: recv 00 0a 00 00 00 0b 01 03 08 41 07 dc 68 00 00 00 00
[lp-1  ] DEBUG 2023/04/01 18:54:12 charge start energy: 195kWh
[lp-1  ] INFO 2023/04/01 18:54:12 car connected
[lp-1  ] DEBUG 2023/04/01 18:54:12 pv timer elapse
[cache ] TRACE 2023/04/01 18:54:12 lp-1/chargedEnergy: 0
[cache ] TRACE 2023/04/01 18:54:12 lp-1/connectedDuration: 0s
[cache ] TRACE 2023/04/01 18:54:12 lp-1/pvAction: inactive
[lp-1  ] DEBUG 2023/04/01 18:54:12 pv timer inactive
[lp-1  ] DEBUG 2023/04/01 18:54:12 charger: guard elapse
[cache ] TRACE 2023/04/01 18:54:12 lp-1/pvRemaining: 0s
[cache ] TRACE 2023/04/01 18:54:12 lp-1/guardAction: inactive
[cache ] TRACE 2023/04/01 18:54:12 lp-1/guardRemaining: 0s
[lp-1  ] DEBUG 2023/04/01 18:54:12 guard timer inactive
[alfen ] TRACE 2023/04/01 18:54:12 modbus: send 00 0b 00 00 00 06 01 03 01 76 00 04
[alfen ] TRACE 2023/04/01 18:54:12 modbus: recv 00 0b 00 00 00 0b 01 03 08 41 07 dc 68 00 00 00 00
[lp-1  ] DEBUG 2023/04/01 18:54:12 charge meter total import: 195.469kWh
[cache ] TRACE 2023/04/01 18:54:12 lp-1/chargeCurrent: 0
[cache ] TRACE 2023/04/01 18:54:12 lp-1/connected: false
[cache ] TRACE 2023/04/01 18:54:12 lp-1/charging: false
[alfen ] TRACE 2023/04/01 18:54:12 modbus: send 00 0c 00 00 00 06 01 03 04 ba 00 02
[cache ] TRACE 2023/04/01 18:54:12 lp-1/enabled: false
[alfen ] TRACE 2023/04/01 18:54:12 modbus: recv 00 0c 00 00 00 07 01 03 04 00 00 00 00
[cache ] TRACE 2023/04/01 18:54:12 homePower: 1453.7999877929688
[cache ] TRACE 2023/04/01 18:54:12 greenShare: 0.3700646612445941
[cache ] TRACE 2023/04/01 18:54:12 tariffGrid: 0.7
[cache ] TRACE 2023/04/01 18:54:12 tariffFeedIn: 0.25
[cache ] TRACE 2023/04/01 18:54:12 tariffEffectivePrice: 0.5334709024399326
[cache ] TRACE 2023/04/01 18:54:12 savingsTotalCharged: 0
[cache ] TRACE 2023/04/01 18:54:12 savingsGridCharged: 0
[cache ] TRACE 2023/04/01 18:54:12 savingsSelfConsumptionCharged: 0
[cache ] TRACE 2023/04/01 18:54:12 savingsSelfConsumptionPercent: 0
[cache ] TRACE 2023/04/01 18:54:12 savingsEffectivePrice: 0.7
[cache ] TRACE 2023/04/01 18:54:12 savingsAmount: 0
[modbus] TRACE 2023/04/01 18:54:16 modbus: closing connection due to idle timeout: 5.000524597s
[alfen ] TRACE 2023/04/01 18:54:17 modbus: closing connection due to idle timeout: 5.001016718s

[site  ] DEBUG 2023/04/01 18:54:23 ----
[alfen ] TRACE 2023/04/01 18:54:23 modbus: send 00 0d 00 00 00 06 01 03 01 58 00 02
[alfen ] TRACE 2023/04/01 18:54:23 modbus: recv 00 0d 00 00 00 07 01 03 04 00 00 00 00
[lp-1  ] DEBUG 2023/04/01 18:54:23 charge power: 0W
[alfen ] TRACE 2023/04/01 18:54:23 modbus: send 00 0e 00 00 00 06 02 03 01 58 00 02
[cache ] TRACE 2023/04/01 18:54:23 lp-1/chargePower: 0
[alfen ] TRACE 2023/04/01 18:54:23 modbus: recv 00 0e 00 00 00 07 02 03 04 00 00 00 00
[lp-2  ] DEBUG 2023/04/01 18:54:23 charge power: 0W
[cache ] TRACE 2023/04/01 18:54:23 lp-2/chargePower: 0
[modbus] TRACE 2023/04/01 18:54:23 modbus: send 00 19 00 00 00 06 01 03 9c 87 00 3c
[modbus] TRACE 2023/04/01 18:54:24 modbus: recv 00 19 00 00 00 7b 01 03 78 40 0c cc cc 3f 3a e1 47 3f 3a e1 47 3f 3d 70 a4 43 cd 4c cd 43 cb 66 67 43 cc 33 33 43 6c 99 9a 43 6b e6 67 43 6b 66 67 44 02 40 00 42 47 e1 47 44 02 40 10 3f 80 00 00 c2 c7 ff e7 4b b3 25 b8 7f c0 00 00 7f c0 00 00 44 08 c2 6e 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 04 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:24 pv power: 521W
[cache ] TRACE 2023/04/01 18:54:24 pvPower: 521
[cache ] TRACE 2023/04/01 18:54:24 pv: [{521}]
[modbus] TRACE 2023/04/01 18:54:24 modbus: send 00 1a 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:24 modbus: recv 00 1a 00 00 00 fb f0 03 f8 40 c5 06 25 40 91 eb 85 bf 00 c4 9c 40 06 66 66 43 6d 55 55 43 6d cc cd 43 6d 4c cd 43 6c e6 66 43 cd 84 44 43 ce c0 00 43 cc 40 00 43 cd 8c cd 42 47 99 9a 44 68 b3 33 44 2b 39 9a c2 88 99 9a 43 9d 19 9a 44 cc 53 33 44 85 89 9a 42 f0 00 00 43 df 0c cd 43 ca 33 33 44 4c f9 9a c2 c5 66 66 c3 9e 59 9a bf 6a c0 83 bf 24 18 93 bf 11 a9 fc 3f 34 39 58 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 86 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:24 grid power: 931W
[modbus] TRACE 2023/04/01 18:54:24 modbus: send 00 1b 00 00 00 06 f0 03 9c 87 00 7c
[cache ] TRACE 2023/04/01 18:54:24 gridPower: 930.7999877929688
[modbus] TRACE 2023/04/01 18:54:25 modbus: recv 00 1b 00 00 00 fb f0 03 f8 40 c5 06 25 40 91 eb 85 bf 00 c4 9c 40 06 66 66 43 6d 55 55 43 6d cc cd 43 6d 4c cd 43 6c e6 66 43 cd 84 44 43 ce c0 00 43 cc 40 00 43 cd 8c cd 42 47 99 9a 44 68 b3 33 44 2b 39 9a c2 88 99 9a 43 9d 19 9a 44 cc 53 33 44 85 89 9a 42 f0 00 00 43 df 0c cd 43 ca 33 33 44 4c f9 9a c2 c5 66 66 c3 9e 59 9a bf 6a c0 83 bf 24 18 93 bf 11 a9 fc 3f 34 39 58 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 86 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[modbus] TRACE 2023/04/01 18:54:25 modbus: send 00 1c 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:25 modbus: recv 00 1c 00 00 00 fb f0 03 f8 40 c5 06 25 40 91 eb 85 bf 00 c4 9c 40 06 66 66 43 6d 55 55 43 6d b3 33 43 6d 4c cd 43 6d 00 00 43 cd 84 44 43 ce b3 33 43 cc 4c cd 43 cd 8c cd 42 47 99 9a 44 68 b3 33 44 2b 39 9a c2 88 99 9a 43 9d 19 9a 44 cc 53 33 44 85 89 9a 42 f0 00 00 43 df 0c cd 43 ca 33 33 44 4c f9 9a c2 c5 66 66 c3 9e 59 9a bf 6a c0 83 bf 24 18 93 bf 0f 1a a0 3f 33 f7 cf 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 86 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[modbus] TRACE 2023/04/01 18:54:25 modbus: send 00 1d 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:25 modbus: recv 00 1d 00 00 00 fb f0 03 f8 40 c5 06 25 40 91 eb 85 bf 00 c4 9c 40 06 66 66 43 6d 55 55 43 6d b3 33 43 6d 4c cd 43 6d 00 00 43 cd 84 44 43 ce b3 33 43 cc 4c cd 43 cd 8c cd 42 47 99 9a 44 68 b3 33 44 2b 39 9a c2 88 99 9a 43 9d 19 9a 44 cc 53 33 44 85 89 9a 42 f0 00 00 43 df 0c cd 43 ca 33 33 44 4c f9 9a c2 c5 66 66 c3 9e 59 9a bf 6a c0 83 bf 24 18 93 bf 0f 1a a0 3f 33 f7 cf 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 8c 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:25 grid powers: [685 -68 314]W
[modbus] TRACE 2023/04/01 18:54:25 modbus: send 00 1e 00 00 00 06 f0 03 9c 87 00 7c
[cache ] TRACE 2023/04/01 18:54:25 gridPowers: [684.9000244140625 -68.30000305175781 314.20001220703125]
[modbus] TRACE 2023/04/01 18:54:26 modbus: recv 00 1e 00 00 00 fb f0 03 f8 40 c5 06 25 40 91 eb 85 bf 00 c4 9c 40 06 66 66 43 6d 55 55 43 6d b3 33 43 6d 4c cd 43 6d 00 00 43 cd 84 44 43 ce b3 33 43 cc 4c cd 43 cd 8c cd 42 47 99 9a 44 68 b3 33 44 2b 39 9a c2 88 99 9a 43 9d 19 9a 44 cc 53 33 44 85 89 9a 42 f0 00 00 43 df 0c cd 43 ca 33 33 44 4c f9 9a c2 c5 66 66 c3 9e 59 9a bf 6a c0 83 bf 24 18 93 bf 0f 1a a0 3f 33 f7 cf 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 8c 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[modbus] TRACE 2023/04/01 18:54:26 modbus: send 00 1f 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:26 modbus: recv 00 1f 00 00 00 fb f0 03 f8 40 c6 24 dd 40 91 eb 85 be fe f9 db 40 08 51 ec 43 6d 4c cd 43 6d b3 33 43 6d 4c cd 43 6c e6 66 43 cd 7b bc 43 ce b3 33 43 cc 40 00 43 cd 80 00 42 47 99 9a 44 69 66 66 44 2b 66 66 c2 84 33 33 43 9d 0c cd 44 cc 70 00 44 85 c9 9a 42 ec cc cd 43 df 59 9a 43 cb 00 00 44 4d 79 9a c2 c4 66 66 c3 9e c0 00 bf 6b 02 0c bf 24 18 93 bf 10 62 4e 3f 34 7a e1 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 8c 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[modbus] TRACE 2023/04/01 18:54:26 modbus: send 00 20 00 00 00 06 f0 03 9c 87 00 7c
[modbus] TRACE 2023/04/01 18:54:26 modbus: recv 00 20 00 00 00 fb f0 03 f8 40 c6 24 dd 40 91 eb 85 be fe f9 db 40 08 51 ec 43 6d 4c cd 43 6d b3 33 43 6d 4c cd 43 6c e6 66 43 cd 7b bc 43 ce b3 33 43 cc 40 00 43 cd 80 00 42 47 99 9a 44 69 66 66 44 2b 66 66 c2 84 33 33 43 9d 0c cd 44 cc 70 00 44 85 c9 9a 42 ec cc cd 43 df 59 9a 43 cb 00 00 44 4d 79 9a c2 c4 66 66 c3 9e c0 00 bf 6b 02 0c bf 24 18 93 bf 10 62 4e 3f 34 7a e1 4b 7f a7 12 7f c0 00 00 7f c0 00 00 7f c0 00 00 4a b6 7e 8c 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00 00 00 00 00 00
[site  ] DEBUG 2023/04/01 18:54:26 grid currents: [4.56 -0.498 2.13]A
[modbus] TRACE 2023/04/01 18:54:26 modbus: send 00 21 00 00 00 06 f0 03 9c 87 00 7c
[cache ] TRACE 2023/04/01 18:54:26 gridCurrents: [4.559999942779541 -0.49799999594688416 2.130000114440918]

What type of operating system are you running?

Linux

Version

No response

andig commented 1 year ago

Seems the switch to ne mercedes API didn‘t work. Will consult with MB developer support.

andig commented 1 year ago

Probably caused by https://github.com/evcc-io/evcc/pull/6894. According to MB, mb:vehicle:mbdata:payasyoudrive does not require additional contracting. We'll need to double-check.

andig commented 1 year ago

Reverted 31201a9 for time being (in ebff68aa2d4de9d5dc4ab0179313e4008d2fdc79). Waiting for feedback from MB.

HiroP77 commented 1 year ago

BTW: MB just confirmed, that they have an issue with their API anyway (contacted them because of https://github.com/evcc-io/evcc/issues/7465

" Sebastian Schempp commented:

Dear NAME , thank you for reaching out to us.

Unfortunately we detected a general issue for the BYOCAR API. Our developer team is on it. We will come back to you as soon as this issue has been resolved .

We apologize for the inconvenience

BR,

Sebastian

Sebastian Schempp changed the status to Under investigation.

View request · "

HiroP77 commented 1 year ago

Seems to be solved, according to MB: :

Hello NAME , thank you for your patience.

We got informed that the incident has been resolved, the API should now work again.

Please check and provide your feedback if this is not the case.

Thank you in advance

BR,

Sebastian (mercedes Benz Devop)

markus76 commented 1 year ago

Login works again. SoC is also displayed Target soc is adjustable

it seems to work fine at the moment... Thx.

andig commented 1 year ago

Ahh, thanks for letting us know!

Sweti934 commented 1 year ago

Hei,

still get the refresh token error .- where to put this ?

https://developer.mercedes-benz.com/content-page/oauth-documentation#

According to mercedes there might be something missing with "Please note that you will have to request an additional scope offline_access to receive a refresh token." - is this done in this integration? Because I still receive this error...

andig commented 1 year ago

It is done:

oc := &oauth2.Config{
    ClientID:     id,
    ClientSecret: secret,
    Endpoint:     provider.Endpoint(),
    Scopes: []string{
        oidc.ScopeOpenID,
        oidc.ScopeOfflineAccess, // <---
        "mb:vehicle:mbdata:evstatus",
    },
}

If you need help troubleshooting please provide login details for info@evcc.io.

andig commented 1 year ago

Seems MB had API issues that have been resolved. If we want to have odometer support (which is the reverted https://github.com/evcc-io/evcc/pull/6894) I would need help:

Does anyone want to try that?

HiroP77 commented 1 year ago

Unfortunaletly, I did no screenshots when I registered the API, but it was pretty straightforward. only strange thing is, that MB lists it under "insurances"

image

But: I cannot see any Odometer-Information in the charging history, but probably because I haven't driven any yet:)

andig commented 1 year ago

@HiroP77 inwiefern bezieht sich das auf https://github.com/evcc-io/evcc/issues/7156#issuecomment-1518037542? Hast Du den PR selbst gebaut und probiert?

HiroP77 commented 1 year ago

Ich habe wie du oben geschrieben hast, "

andig commented 1 year ago

Ich habe wie du oben geschrieben hast,

Ahh, jetzt check ichs- Du hast den PR getestet indem Du die 115 installiert hast? Super. Heisst also: wir könnten Odometer einbauen, es müssten aber alle Mercedesnutzer ihren Client im Developerportal aktualisieren. Bin mir nicht sicher, ob es das wert ist...

HiroP77 commented 1 year ago

genau. den echten Mehrwert sehe ich auch nicht, zumal das "insurance pay-as-you-go"-anmelden für simple Odometer-werte bei MB echt kontraintuitiv ist. Vielleicht eher was für spätere Versionen, mit einer optionalen Aktivierung?

Chair-for-Processor-Design-TU-Dresden commented 1 year ago

I am happy to test this feature. It should be possible to integrate it, since it does seem to work in my Openhab binding (with payasyoudrive for free). Alternatively, is it an option to use http based odometer value? One could then use the openhab Restapi to get the value.