TA2k / ioBroker.vw-connect

ioBroker Adapter for VW We connect and Skoda connect
MIT License
93 stars 23 forks source link

Errors when We Charge not enabled #197

Open okko opened 2 years ago

okko commented 2 years ago

Describe the bug

It's possible to register to We Connect ID but not to We Charge by Elli.

To Reproduce

  1. Sign up for We Connect ID
  2. Don't sign up for We Charge by Elli

Expected behavior
No errors

Requests made

These results as: {"timestamp":"(REDACTED)","result":[]} 404 {"tracing_id":"(REDACTED)","errors":[{"message":"The subscriber was not found","code":"RESOURCE_NOT_FOUND"}]} Failed to get chargeandpay records {"timestamp":"(REDACTED)","limit":25,"offset":0,"total_count":0,"charging_records":[]} Cannot extract empty: wecharge.homecharging.records.latestItem

okko commented 2 years ago

I see you made the change a bit differently, thank you very much. Was it intentional that https://github.com/TA2k/ioBroker.vw-connect/commit/2535e3a80fe533a2b6e6ff8f67c46a23ba1a7d82#diff-58417e0f781b6656949d37258c8b9052ed266e2eb7a5163cad7b0863e6b2916aR736 will now fetch the configured amount on every update? It used to use the default of 25 even if more was configured for the initial load?