I tried to use the “Repair” Button, I’m getting somehow redirected (I do see that the title on top changes) but I never see any content to authenticate/login. Any tipps how to fix this? Redirect URL hast been set to https://callback.athom.com/oauth2/callback and of course I’ve generated a new secret.
EDIT: I’ve just reinstalled the test app, but the same. I don’t see the login webpage. It’s just white
EDIT2: Ok got it, I’ve disabled my WLAN connectivity and used my mobile connection, there I got the mercedes dev login screen. It seems to work now.
@Adrian_Rockall I’ve a small request, I’m polling the Mercedes REST API on another application every 60s (which should still be below the allowed max polling rate). I do have a car with a pretty small battery, what is the current polling rate? Would it be possible that you either change the default or allow us to set the polling interval withing the app settings?
Make sense that every service uses it’s own polling interval.
On mercedes dev it‘s called „Electric Vehicle Status BYOCAR“. I‘m using it to read battery percentage of my car to display it within the application EVCC.
The problem is, if I charge my old hybrid car with full power it is fully loaded after 2h, so there are huge percentage steps in the app if we check the state only twice an hour.
I know the mercedes documentation tells us that the min interval is 120s per REST Calls, but are you sure that this is by car and not by service?
In my other application I’m querying only BYOCAR service, but with 60s interval and I don’t see any warnings or errors…
An other option would probably be to generate separate REST API access keys per service. I don’t think that mercedes really limits the REST API calls per car… either by project or by service. But of course this would have to be tested first…
Unfortunately, I can only go by the documentation as I no longer have a Mercedes to test any changes.
I’m not sure of anything but the document says per vehicle.
It does however appear that Mercedes have reduce the interval since I wrote that section as it is now 2 minutes instead of 30 minutes, so I would be happy to reduce it to that. However, that could mean the combination of the two apps polling might cause a problem.
When I get a bit of time I will added Advanced Options to allow the polling of each service to be set.
Perfectly fine, if we can set the polling of each service within the advanced settings by ourself we can test shorter intervals - log of your app will tell us what’s going on. Thanks a lot in advance
Eg. the odometer has been updated 2 hours ago, as well as more or less all the other parameters, but NOT the HV battery. It’s the same values since 12 days, which is not possible. I tried to restart the app as well as to repair the device. It doesn’t update. The issue is only here in the homey app, the mercedes app as well as my other application evcc.io (which polls the same rest api but with other credentials) works as expected. Do you have any clue what’s going on? Of course I can remove the car but that’s only the worst case scenario…
Hmm, OK, that’s not what I expected. For some reason it is showing the EV access is forbidden.
I will have to check to see if Mercedes have changed anything.
Have you ever got the EV data from my app? I’m just wondering if you missed a permission when you setup the connection in the Mercedes poral.