-
Notifications
You must be signed in to change notification settings - Fork 27
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
FiatChamp Refresh Interval always 15 minutes #55
Comments
Hi [AndyBowden], seems no move from wubbl0zr for some weeks now. !!!! i ve remove some "useless" (for me) option.
What i ve done in "my" version :
and last , but not least , |
Hi AirBeeSee, |
Thanks for 9.0.0, AirBeeSee. |
AuroDeepRefresh can be use , it only calls "deep" command if the car is plugged, so , no problem of "wake up" the car or draining the 12v batt. but , i think it shoulb interresting to have a another "interval" for deep , so we can have lower interval for standard refresh , and a bigger (15 min) for the deep. |
@AirBeeSee I tried your version (I have a 500e). It's a huge upgrade. AutoDeepRefresh is perfect |
I've been using FiatUConnect for a couple of weeks now without problems and it solves the big problem of the FiatChamp's refresh rate being stuck at 15 minutes. |
Hi Andy, Some note :
|
1 are you sure about that? I'm only going on basis of information posted by wubbl0rz that the URL for Alfa is https://myalfaconnect.alfaromeo.com/ instead of https://myuconnect.fiat.com/. I'm not in a position to test things yet as my current Alfa Giulia doesn't have UConnect. I'm expecting that my new Giulia will be added by the dealer to my current MyAlfa account and not to my MyFiat one. I'll give you an update in late-July. Note Alfa Romeo not Alpha. ALFA = Anonima Lombarda Fabbrica Automobili |
PS : Alpha -> autocorrect from my phone. Edit : i ve push a new version (9.0.4) with "AutoDeepInterval" param, and an auto call to deep refresh when the status goes from not charging to charging. I ve add that because I see a lot that the first "timing" the car send is always larger than it should (12 hours instead of 3 ...) so a this call force to get the first "valid" values. |
The correct URL for me to be able to control my Stelvio in the US is https://www.alfaromeoconnect.com/en-us/my-vehicle/dashboard.html I would be willing to pay anyone who can get this working $50. |
I suspect that the url for Alfa Romeo does differ from Fiat's as julianrinaldi suggests. |
As is said : in the original code from wubbl0rz , Fiat and Alfa use the same parameters :
except for Fiat US :
|
@julianrinaldi : |
So it seems to have fixed the login issue, but the vehicle array is empty.
Any ideas? |
@julianrinaldi |
Oh, I put that. Wasn't sure if putting my userid or tokens was safe. |
Was just trying to show that the Vehicles [] was empty even though it seemed to be connecting ok. |
@julianrinaldi PS: if u can code , may be fork my version. ? |
Everything comes back with status code 200 except vehicleResponse which just shows this:
|
version: "10.0.14" short in time (my wife is waiting for me to go to the restaurant), but I think we ll need to dump the vehicle response, something wrong with parser ... |
Whilst wubbl0rz's code does have the one FIAT url hard coded, he does declare in his Readme that the url for Alfa Romeo's is: https://myalfaconnect.alfaromeo.com/ He also declares Alfa Romeo functionality as 'unknown' in the readme. It seems that he never had the opportunity to test FiatChamp with an Alfa Romeo and thus we have no way of telling from his work what the right url is. I have both the Fiat App, to which my 500e is linked, and the MyAlfaConnect apps on my iPhone. |
@AndyBowden : yes , inspect / debug myuconnect source page give infos , token and url ...
But , next part , get vehicle infos return empty array. FIAT / ALFA / JEEP use the same url except for login. @julianrinaldi : could u use web inspector on ur alfa my connect dashboard . and have a look at XHR |
There wasn't a "vehicle" one, but there was one named getProfile
and one named getVehicles
|
Is there anything else I can provide? The $50 offer still stands. I'd even be willing to give temporary access to my account as a last resort if that would help. |
I have now taken delivery of my new Alfa Romeo Giulia and I can get data from it and control it from my iPhone 'My Alfa Connect' app. Being realistic however, the Giulia is an ICE not an EV. I can do everything I need for the Giulia from the iPhone app and viewing the Giulia's data or controlling it from HA would add nothing for me. |
I've looked more closely at the FiatUconnect logs, and discovered, whether I set Fiat or AlfaRomeo in the configuration, that some FiatUconnect entities relate to my 500e and others relate to my Giulia. So it would seem that the single url does covers both marques. |
It looks as if all the FiatUconnect attributes relating to my Alfa are suffixed '_2'. Though the 'friendly names' are common to the 500e and Giulia entities. However there is some inconsistency: So it would seem that FiatUconnect is obtaining valid data from the fca api, though interpreting the data may not prove easy. Finally, I would observe that my cars are in UK. I would guess that FiatUconnect will function similarly for cars in the EU. North America is another matter. |
I have same issue: update interval is 15 minutes. Independent from whatever I set in configuration dialog... |
I have changed to FiatUConnect, instead of FiatChamp, to overcome its 15 minute update interval limitation. |
Okay, I see. What to do to solve it for me. Car is Fiat500e. |
Just replace FiatChamp in Home Assistant by FiatUConnect which can be found at : https://github.com/AirBeeSee/FiatUconnect FiatUConnect is based on FiatChamp and they are very similar. FiatUConnect has certain improvements, not least ability to control update interval. I also have a 500e. |
I have two FIAT 500e registered. One seems to be OK, the second just shows the sensors, no controls. |
Whatever Refresh Interval I set in the FiatChamp AddOn Configuration, the actual refresh interval is always 15minutes and the log always includes:
"Fetching COMPLETED. Next update in 15 minutes."
It is important not to send a Refresh Command to a Fiat 500e frequently as each refresh takes significant energy from the car's 12V battery.
Thus my practice is to ensure that Force Refresh Battery Status is false in FiatChamp configuration and to rely on an HA Automation to issue a Refresh command to the car when needed.
The FiatChamp Refresh Interval being stuck at 15 minutes means that there can be a significant delay of car data being updated in HA. For me, 15minutes delay is common and in extreme situations can be near 30minutes.
Ideally, I would wish set the FiatChamp Refresh Interval to 1 minute so that data is rarely more than a minute stale
The text was updated successfully, but these errors were encountered: