-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volvo integration #61785
Comments
Hey there @molobrakos, @decompil3d, mind taking a look at this issue as it has been labeled with an integration ( volvooncall documentation |
I believe that's a different API than what this integration uses. See molobrakos/volvooncall#71 for details. The |
Interesting. As far as I know Volvo has shut down the Volvo on call app. My car is new and i wonder if you can access new cars in the old API. |
Not sure what to tell you -- I have a 2018 XC60 and it works just fine. Try the |
I'm in Sweden. But the thing is that the authorization works. But there is no data. Thx for your help. I will dig a bit deeper in this. |
Im in norway, using the user/password integration. Car is XC40, works as expected. |
@jonare77 which version of XC40 do you have? This seems to be a problem that affects only newer versions (like the Recharge) as far as I've been able to tell. |
Yeah I have C40 recharge. So that's a theory. |
Im sorry but i have to debunk it. I have the XC40 hybrid rechargable. I have never had any problems with the integration. |
I understand "it works for me" is not that helpful, however for me it works (V60 CC -21). I did see this note on the Volvo API page you linked: Looks like there is a difference between BEV and PHEV. |
That's super odd, I have the same here that is not available via the API. It's available in-app and on the Volvo ID webpage, just not via the API used by the volvooncall-library that HomeAssistant uses - regardless of region (which was mentioned earlier in the discussion). What year model is it? |
18 months since I got the car. They may be linking newer cars up againt a new api. |
Yeah I have that feeling to. I picked up my C40 Recharge 2022 this monday |
I was having some issues with this integration but now everything is working fine, just replaced my Volvo ID to my e-mail (was my phone number) Mine is XC40 Recharge (PHEV) MY2022 |
Can you confirm it is working with the XC40 Recharge (all electric) with no issue? Did you have to tweak any settings besides your id? |
I have a XC40 Recharge (all electric) in Brazil, I can use the Volvo Cars app and I can see the car in the EU volvo account website (https://volvoid.eu.volvocars.com/Account/landing-page) However, this integration does not work for me. I get an error 500 when trying to use it on Home Assistant:
Doing further investigations, when I do an HTTP GET request with my username and password to the address used by the integration (https://vocapi.wirelesscar.net/customerapi/rest/v3.0/customeraccounts), I can get my account info but no cars are shown in the response. I get an empty array on
I'm not sure if this is related to the XC40 Recharge all electric, or if it really doesn't work in Brazil. |
@rrlevy did you set the |
@decompil3d I don't think there is a different region for South America. I've tried multiple variations (sa, br, latam, la, etc) but they don't exist. The requests to the API work only at |
Hello @rrlevy, I think the problem is the pure electric because I'm from Brazil and have an R-D MY2022 working using the standard region. |
That's sad... I believe it's because the pure electric uses Android Automotive and is therefore has a completely different OS. I wrote to Volvo anyway to learn more about it. I noticed that the car also won't work with the new API ( https://developer.volvocars.com/volvo-api/connected-vehicle ) |
@rrlevy does your car appear on Volvo's mobile app? Perhaps that can be investigated to see if there is some new API to use. |
Yes, it does. It allows me to open/close the car, turn on or schedule the air conditioning, and to check charging status: |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Unfortunately the bug is still there in version 2022.3:
&
Apparently the unlock endpoint in changed in the api: https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/commands/unlock https://developer.volvocars.com/apis/connected-vehicle/endpoints/doors-windows-locks/#lock-doors |
The underlying |
I have the same issue with my 19 S60. I stumbled across this integration last weekend and it works partially for me. I am in the US and using region na in the config. |
I have a my22 xc60 which works in the Volvo cars app. I’m from the UK and the car uses the new android automotive platform. I have set up the Volvo on call integration with username and password but nothing shows in the integrations page on home assistant and nothing in the log except that Volvooncall is taking longer than 10seconds to start. |
i followed this link - https://www.homeautomationguy.io/blog/docker-tips/configuring-the-mosquitto-mqtt-docker-container-for-use-with-home-assistant - to make my container, i tried with and without password, but last step always with connection failed |
I cannot see the MQTT integration on your screenshot One question did you try to connect to your MQTT Docker Container over the MQTT Explorer to check if the connection works |
Thanks, |
Hello all, |
Looks like USA is not supported: https://developer.volvocars.com/terms-and-conditions/apis-supported-locations/ I had an old api key I generated last year. I tried the addon today and was getting 404 on every request. I deleted and generated a new api key and now i simply get "Error getting vehicles: 401. Access denied due to invalid VCC-API-KEY. Make sure to provide a valid key for an active application." I guess volvo has turned off the api for US.. bummer |
Same deal in Australia unfortunately, was working well even 6 months ago but now getting 404 errors. Very disappointed to see this closed off and no comms other than 'its coming'. |
I've sent several emails to their dev support email, radio silence... |
While my old XC60 worked fine with the Volvo integration, my new C40 is still shown in the On-call App, but no entities are reported to HA, and no errors in log. |
Hi, it's a know issue, there are several projects to bypass that issue, try this one from @Dielee:
|
I'm in the same situation. |
Hello was the old XC60 with Sensus ? Because regrading your post you are using this HA Integration The Volvo on Call app is the same but behind with aaos its a different API and they switch in the background to this communication so you think its the same but its not the same . |
It's a car with AAOS. I've tried now with Volvo2MQTT and got that one working. Thanks! |
@JoaquimPinto could you please be so kind and explain how you managed to install volvo2mqtt on Synology? I don't have too much experience with docker on Synoloy, however use 12 different containers :) This time I have no ide - shall I add github repo somehow? Please excuse if the answer is obvious - rookie level here :) |
Hi, need to creat API aplication ( i don't remember all the steps), to generate the KEYS for the docker configuration You have to activate the SSH service: Then you must connect to your Synology throw SSH service( same linkk should work): Run the command to install the docker Full Credits to @Dielee - describe at middle the page - SETUP: Than as Synology you go to the Container Manager to confirm the result. The rest depends your configuration: I did all based on @Dielee info, and a lot of google for Mosquitto Broker configuration. |
There's a lengthy and detailed thread about this (non-core!) volvo2mqtt add-on and its configuration over in the Home Assistant Community message board. I'd encourage people to post their questions there rather than in this bug thread which was originally about the built-in Volvo On-Call integration. https://community.home-assistant.io/t/volvo2mqtt-connect-your-aaos-volvo/585699 |
Thanks a lot, guys, really appreciated. Will go through other thread, too.
pt., 31 maj 2024, 02:47 użytkownik wixoff ***@***.***>
napisał:
… There's a lengthy and detailed thread about this (non-core!) *volvo2mqtt*
add-on and its configuration over in the Home Assistant Community message
board. I'd encourage people to post their questions there rather than in
this bug thread which was originally about the built-in Volvo On-Call
integration.
https://community.home-assistant.io/t/volvo2mqtt-connect-your-aaos-volvo/585699
—
Reply to this email directly, view it on GitHub
<#61785 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXEHYLDWWE5ONKSUVKG33RDZE7CDDAVCNFSM5KAO57KKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJUGEYDKNJUG42Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I've tried emailing developer.portal@volvocars.com multiple times asking if they will allow access to the new API without having to publish an app, but haven't been able to get a reply from them. At the moment you can only access the new Volvo API with either a test token created at https://developer.volvocars.com/apis/docs/test-access-tokens/ which is not really feasible, as it's temporary, or by using client credentials which can only be acquired after publishing an application, and they note: Please also be aware that it can take some time (14-21 days) to review each publication since the process currently is manual. If you want progress on this, try sending them an email like I did - maybe they will update the authorisation process to allow access to unpublished applications at some point, which would make this a lot easier. |
Yeah, I've tried to register an App with them before and it not only can take 14 - 21 days, it might also happen that they never respond. It's a real pity how Volvo (and other old-established companies) treat their APIs. |
Have you tried emailing them? |
Not yet. Can surely do so. |
You should be able to use this add-on https://github.com/Dielee/volvo2mqtt |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
Hello
I'm trying to use the Volvo integration. It doesn't work for me. When i'm reading the api documentation there is a OAuth 2.0 authorization with tokens. The only thing you can use in the integration is user and password. I don't understand how that is supposed to work?
https://developer.volvocars.com/volvo-api/connected-vehicle/
What version of Home Assistant Core has the issue?
2021.12
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Volvo On Call
Link to integration documentation on our website
https://www.home-assistant.io/integrations/volvooncall/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: