Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
125 stars 25 forks source link

New endpoints in Energy API #181

Closed FireWizard52 closed 1 month ago

FireWizard52 commented 3 months ago

@Dielee,

Hi Linus,

For your information!

  1. Volvo actually activated 2FA, today at approx. 11 h. If you log-out from your Volvo Cars app and log-in afterwards a Volvo ID-verification code has to be submitted. This code you receive by email ( maybe sms as well ??).

  2. New endpoints for new functionality in the Energy API. See the Energy API, but new are:

However, these new endpoints have also new "scopes" (energy:charging_current_limit and energy:target_battery_level) These scopes are not in the list of scopes and so I have not been able to test already.

Regards

Dielee commented 3 months ago

Yeah, thanks for this information.

  1. I already developed the 2FA login for my plugin. Are you able to test the changes ?

  2. I will take a look the the new endpoints tomorrow. If they work, I will add two new sensors.

FireWizard52 commented 3 months ago

Hi Linus, you said:

I already developed the 2FA login for my plugin. Are you able to test the changes ?

I saw it, and that you wanted also testers, but as you maybe know I do not use Home Assistant and I'm not a big fan of Docker either. So I'm afraid I will not be of much help.

I work with Node RED and all my automation's are done with that, but as I push them to MQTT, more or less all Home Automation system can be used. Regarding this 2FA I currently work in a little bit different direction.

  1. Check the output from the Volvo Server and in case the Volvo ID verification code is requested, I
  2. Check my email and
  3. Parse the verification code
  4. Put it into the verification flow on the right place.

But cannot test it yet, as Volvo ID server is not working

But let me know if the new sensors work, as my PHEV is still not supported.

Regards

Dielee commented 3 months ago

Check the output from the Volvo Server and in case the Volvo ID verification code is requested, I Check my email and Parse the verification code Put it into the verification flow on the right place

This is what I have done with my last changes.

BertilJ commented 3 months ago

I'm happy to support with testing if needed.

schrej-zz commented 3 months ago

@FireWizard52, I am also using this Tool without HA and without Docker. I just used the folder src and entered my data manually in the const file. Not a big issue.

schrej-zz commented 2 months ago

I'm also happy to Support.

Dielee commented 2 months ago

The new endpoint scopes are currently not working. Sorry guys, we have to wait.

The requested scope is invalid, unknown, malformed, or exceeds that which the client is permitted to request.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.

schrej-zz commented 2 months ago

Keep it open.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.