# \[APP\]\[Pro\] Mercedes Me App (Release 1.0.3)

**URL:** <https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414>\
**Category:** Apps\
**Tags:** homey-pro\
**Created:** [April 18, 2021, 5:18pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414 "2021-04-18T17:18:48Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [November 2, 2022, 6:43pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/163 "2022-11-02T18:43:13Z")

</div>

OK, so @Kai_Engvik is now up and running. So, there were two things:

1. Check the Redirect URL in the Mercedes portal is set to [https://callback.athom.com/oauth2/callback](https://callback.athom.com/oauth2/callback)
2. Use the repair option in the Homey app to reauthenticate the app.

Hopefully that should get it working again.

---

<div class="post-metadata">

**Author:** ![RobFlu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robflu/32/33083_2.png) [@RobFlu](https://community.homey.app/u/RobFlu)\
**Post date:** [November 2, 2022, 7:23pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/164 "2022-11-02T19:23:34Z")

</div>

Can confirm that it is woking again after running repair. Thank you!

---

<div class="post-metadata">

**Author:** ![Kai\_Engvik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kai_engvik/32/48687_2.png) [@Kai\_Engvik](https://community.homey.app/u/Kai_Engvik)\
**Post date:** [November 2, 2022, 7:28pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/165 "2022-11-02T19:28:37Z")

</div>

> [@Adrian\_Rockall](#):
>
> Thanks for the heads up on those changes, that saved me a lot of time searching the documents.

Glad I could be useful ✌🏻

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [November 3, 2022, 9:12pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/166 "2022-11-03T21:12:39Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [November 3, 2022, 9:31pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/167 "2022-11-03T21:31:58Z")

</div>

Have you entered the new Tokens into the Configure App screen?

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [November 3, 2022, 9:34pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/168 "2022-11-03T21:34:02Z")

</div>

Of course yes :-), However it works now, check my “EDIT2” above.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [November 3, 2022, 9:35pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/169 "2022-11-03T21:35:31Z")

</div>

Are you using the phone app or the web app?  
I have seen issue in the phone app before with display external web pages.

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [November 3, 2022, 9:36pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/170 "2022-11-03T21:36:37Z")

</div>

It was exactly such an issue, with the mobile connection on my phone it does work. before I’ve used it always with WLAN.

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [January 3, 2023, 10:10pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/171 "2023-01-03T22:10:12Z")

</div>

@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?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [January 3, 2023, 10:29pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/172 "2023-01-03T22:29:21Z")

</div>

The polling rate is different for each service so nothing exceeds the limit. Do you know which services your other application is using?

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [January 3, 2023, 11:23pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/173 "2023-01-03T23:23:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [January 4, 2023, 8:55am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/174 "2023-01-04T08:55:07Z")

</div>

The Homey app polls the electricvehicle container 2 times per hour. This is based on the documentation:

> ### Technical limitations
> 
> A minimum time span of 120 seconds between API calls has to be observed per vehicle.

As this is already a low rate it might be a better solution if I have an option to exclude it from the Homey app.

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [January 4, 2023, 9:44am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/175 "2023-01-04T09:44:30Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [January 4, 2023, 9:47am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/176 "2023-01-04T09:47:06Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [January 4, 2023, 11:27am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/178 "2023-01-04T11:27:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [January 4, 2023, 1:15pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/179 "2023-01-04T13:15:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [January 30, 2023, 12:32pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/180 "2023-01-30T12:32:33Z")

</div>

I’ve a strange issue, everything works except the status of my HV Battery. Please check my screenshot.

 ![IMG_0902](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/0/d020d424517775e1126fc57243c4fca5b44369cd.png)

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](http://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…

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [January 30, 2023, 1:22pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/181 "2023-01-30T13:22:47Z")

</div>

Could you send the log. It’s probably not being sent across for some reasons but I can check that with the log.

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [January 30, 2023, 1:27pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/182 "2023-01-30T13:27:33Z")

</div>

Done (1de5bafe-29c1-46bf-90ab-2b9be1a9d90f)

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [January 30, 2023, 2:21pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/183 "2023-01-30T14:21:43Z")

</div>

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.

[Previous page](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414.md?page=8)

[Next page](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414.md?page=10)
