-
Notifications
You must be signed in to change notification settings - Fork 33
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
Issue with HA 2024.7 #5
Comments
Same here. App on smartphone works fine. I've got this debug log:
I'm available for further debugging... |
I can confirm, some logs like @ilwalti |
Hey! Same problem here since Update to HA2024.7. |
yep, me to. |
Same here. |
the irony that I had installed this only a few days ago and now it doesn't work anymore |
+1 |
An update, but I don't know if it is somewhat related tho this issue... today I've received on the official app an advice Bye |
Same. Downgraded to 2024.6 |
I can confirm core 2024.7.1 doesn't work either. Same error. Downgraded to core 2024.6.4 and everything works fine again. If I can be of any help testing something, let me know |
shit... same story here; probably this project is not supported anymore, so downgrade to 2024.6 is not an option for longer time |
Same issue for me. |
Same issue for me. I’m not a dev but it seems like HA apis have changed. For example the following API calls exist in the code found here https://developers.home-assistant.io/blog/2024/04/13/deprecate_async_track_state_change/. Also calls exist for async_forward_entry_setups. Are there any devs here that know about the deprecated calls and how to get round them? |
This is for sure. At the moment, I can't find what is changed, unfortunately... @runDMCA , are you still on this project? |
Funny thing is that the first API requests are successful, but theres a time-out when sending a POST request to remoteServices/getVecBaseInfos/v4
|
I did try upping line 57 of file init.py timeout from 30 seconds to 60 seconds and reboot HA but it still didn’t pull in anything on 2024.07 |
Did the same, no joy... |
same problem here.. tryied to find the function that throw the error but my limited programming skill are a problem lol |
Found the cause of the issue !!! In 2024.7.x the Now searching for a solution ... |
Use the built-in timeout with aiohttp instead by setting
https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientTimeout |
Thanks for suggestions. What I did:
But still getting error:
|
Anyone able to fork this project and fix the code? |
Sorry guys, I have limited knowledge here but looks like possibly the API calls have changed -- I probably spent 4 hours last night working on this --- debug showed it was failing on this controller.py async def get_vec_base_infos(self): # noqa: D102
return await self.connection.api_request(
"POST",
"remoteServices/getVecBaseInfos/v4",
body_dict={"internaluserid": "__INTERNAL_ID__"},
needs_keys=True,
needs_auth=True,
) Logs:
|
@SethCalkins if the API calls have changed I wouldnt expect previous HA version to still work? Thank you for your effort though, it is appreciated |
Anyone tried this with the 2024.7.3 release? |
Yes, still doesn't work. Based on the comments in here, it looks like there is a potential fix but it needs to be merged and released. |
@Valdorama if you are on 2024.7.3 you can try the fix documented at main...SethCalkins:home-assistant-mazda:main. Just update the code in the file in your instance, reboot HA and see what happens |
Thanks a lot, I was able to set it for the first time.
|
@jdobes thank you very much for your efforts on this. Working perfectly on HA 2024.11.4 for me. Any chance you can add 2 additional sensors? @fano0001 implementation has 2 additional sensors ( |
@townsmcp I see @fano0001 is about to add the fix to his fork as well fano0001#7. It'll be probably better to wait for it than copying his BEV work to my fork. |
Hi, just added your fix to my fork. thank you. |
Hello. Thank you very much for your fork. I have installed it and it works perfect. Just a doubt. The colleague @Townsmc has mentioned that with your previous fork you had 2 new sensors to control the battery situation: remaining_charging_time_ac and remaining_range_bev, really interesting and very useful, but after installing your fork they do not appear. Thank you. |
Oh!!! Here's what I got now: "Mazda integration has been removed Error ⸱ Reported by Mazda Connected Services Mazda integration has been removed from Home Assistant. Mazda is forcing the retirement of the library that Home Assistant uses to connect to its services. To resolve this issue, please remove the (now defunct) integration entries from your Home Assistant settings. Click here to view your existing Mazda integration entries." |
@fano0001 thanks for the update. It is working for me 👍 @wackla33 the entities are there: To install fano0001 integration:
|
@wackla33 i guess that would be it. My CX-60 is a PHEV. If the Mazda app doesn’t show charge level this integration won’t show it |
Thanks, just catching up on this. I’ll redo when I have a bit of time. Huge shoutout to all those who’ve worked to fix this |
Thank you very much everyone for all your efforts and clear technical skill in this area. I have fano0001 integration working well. I am still keeping my 2024.6.4 docker container image ready in case it's needed again. |
I'm trying to find a work around to remote start my Mazda without subscribing to the dang app! |
No, I enrolled in the app when I got the car and my pypython integration worked fine. I did check to see if there was some sort of update to the app that I missed to keep it from working, was met with an "enroll" option, which I declined because I don't care to pay for anything in the MyMazda app, and it took me to my regular screen with the information about my Mazda and unlock/lock, etc features. So, I have to assume it isn't that. Plus, this integration took my email and password for MyMazda just fine.... |
It should work exactly the same as the python integration so if that detects it something else is off. Are you perhaps logged in using the same account? That seems to throw off the server side. |
No, the pypython version I have on my server quit returning most data (except VIN, model) a couple months ago so I shut that server. Plus, when I was in the MyMazda app on my phone and I connected via this integration, I was booted out of the MyMazda app, which should happen. All this said, I just noticed what MyMazda wants me to enroll in is “Mazda Connected Services” and noticed this integration is for “Mazda Connected Services”, I’m guessing my refusal to pay Mazda $10 per month for something I used to get for free is my roadblock here? |
As an alternative to removing one/installing another integration, you can download the merge request in this repo from github as a patch file and apply it to the existing integration in Terminal. Done in 5..
|
Thanks fvant. |
@jdobes your a hero! |
Thank you very much for the update and the explanations on how to do it! I was already despairing until I finally looked it up here 👍 |
Thank you very much. This should be merged asap. |
Hey all, the integration seems to be working again randomly…anyone with the integration seeing the same? I’m on 2025.1.2 |
Yeah same for me, since Friday 1pm CET. Bot nothing changed in the HA installation. HA is running with 2025.1.1 |
i’m still on 2024.12.5 ... and it works :) |
Since yesterday 7pm again not working. Nothing changed on my side, no update, no reboot. Not sure how often Mazda changed something on their side. |
@marcus250281 same here, frustrating... |
I think it’s a Mazda issue again. For the last week most update requests via HA integrations and even the Mazda app have failed to update. Maybe 1 request in 20 is actually updating |
Same here, stopped working since a few days. Anyone found a fix ? |
Thanks for you work! I really love this integration. No issues so far untill last night ... upgraded HA to 2024.7.0 and since then, the integration keeps initializing. Anyone else experiencing the same problem?
The text was updated successfully, but these errors were encountered: