I have pushed a some code to the master branch. Could you check with your cars if the climate control now sets the right timing?
@jruoho: Thank you for your code!
BR
Rene
I have pushed a some code to the master branch. Could you check with your cars if the climate control now sets the right timing?
@jruoho: Thank you for your code!
BR
Rene
Hi @ReneNulschDE,
Early testing:
Two minor issues:
< now = self._round_current_time()
---
> now = self._round_time()
393c393
< if self._execute_car_action(CAR_CLIMATE_ON_URL(URL_VHS_API(self.region)), car_id.get('car_id'), 'climate_on', None, post_data):
---
> if self._execute_car_action(CAR_CLIMATE_ON_URL, car_id.get('car_id'), 'climate_on', None, post_data):
398c398
< self._execute_car_action(CAR_CLIMATE_CONF_URL(URL_VHS_API(self.region)), car_id.get('car_id'), 'climate_conf', None, post_data2)
---
> self._execute_car_action(CAR_CLIMATE_CONF_URL, car_id.get('car_id'), 'climate_conf', None, post_data2)
(Edited: removed error message, and replaced with diff to fix the issue)
Thank you again
@ReneNulschDE: Thanks a lot! I tried quite a few times, first try seemed to work great, setting the departure time to some 15min to the future. Since that rolled back to the "Pre-entry climate control: Set, Departure time: 00:00, Pre-entry climate control At the time of departure: True ". Hey, hey, hey, hold onā¦
I mark the 3 parameters as A, B and C (A= Pre-entry climate control etc. as above)
Now on the last try:
āStarting pointā
A: Deactivated, B: 00:00, C: False
ā> trigger from HA
A: Set, B: Set, C: True
āafter few secondsā
A: Set, B: 00:00, C: True
āafter a minute or twoā
A: Activated, B: 00:00, C: True
ā¦I need that couple of minutes patienceā¦ I had it only because I was writing here and left my mobile on the desk unattended. Might be that itās working now! Though I still donāt understand what the app is trying to tell me with that 00:00 - which is one of the reasons Iād like to rather control it from HA . I wonder what that first setting to 15min to the future was - havenāt been able to reproduce.
I scheduled it now to tomorrow morning, with the same starting point as on the last try. Acid test.
No.
Itās a:
A: Set
B: 00:00
C: True
ā¦i.e. waiting for midnight.
Hi all. New time member of the community but a long time reader.
I have been following the developing of the Mercedes Me component for Home Assistant closely, and @ReneNulschDEās fantastic work in particular.
I have the component up and running, connecting it to a 2019 CLA. As per the Mercedes Me portal I am able to not only lock and unlock the doors, but also open and close the windows and sunroof. Is this something that the plugin can (or is planned to) do as well?
In any case, I am happy to help testing / debug / etc. in order to help the community as a whole!
Hi Arjan,
Happy travelling. Let me know when you are back.
BR
Rene
Hello! I have recently installed the Mercedes Me component on a Raspberry Pi, and it looks really good! I have a hybrid C Class 300 De and want to log for example the charges that I do in the database.
Two questions;
And, is it possble to have the charge power logged somehow? In the app it says if the charge as this moment is in 3,4 Kw
best regards Tobias, Sweden
Hi @TobiasBlo,
Time format is minutes from midnight. Hours you get by dividing by 60 and round down (floor), and minutes is modulo 60 (% operand).
If the app is showing the charge power, then it should be possible to get it form Mercedes Me component too. This info is not available in B250E, so I cannot check it.
You could also estimate charge power with the remaining charge time and current SOC. Errors would include charger losses and heatingsā¦
Thanks alot!
If someone else can find the charge power to be logged it would be great.
regards <tobias
I have a GLC 350e, and trying to have tre preheat working. Seems like I have the same result as @jake.
It it possible to do anything about it or is it overridden by the car?
And yes @ReneNulschDE great job with the component!
Could somebody be so kind to share their configuration and images?
I tried all the previously posted, but they are all incomplete (mostly images missing).
Thanks!
hello, am using the following in my config.yaml file, but get the following error
"Setup failed for mercedesmeapi: Integration not found.
2:59 PM setup.py (ERROR)"
any ideas ?
mercedesmeapi:
username: YOUR_USERNAME
password: YOUR_PASSWORD
Hi,
please give us some more details? How did you install the mercedesme component? Do you use HACS or did you copied the github code directly in your custom_components directory?
BR
Rene
Hi, Iām very busy from an work life perspective currently. Please give me some weeks to check this out.
BR
Rene
Have this component up and running well, but I have no access to warning light or window sensors. Windows is not surprising as not available on android app but warning light attributes are. Have I done something wrong or just Mercedes adding and taking by model? Car is Sept 2019 E Class Estate.
Thanks
Hi @henwick2144,
Could you enable/add the save to file option in the config and share your files via private message. Please add a screenshot from your android app too.
Thanks
Rene
thanks for the tip, installed HACS and added, works now
now need to figure out how to make a card with all the info
Hi,
Long time user of this wonderful component. Iām moving to Hass.io after been using Ubuntu installation and would like to set this up in HACS. What is the proper way of doing it?
I tried like this but nothing happens:
Suggestions?
Hi, do anyone know what this charge power entity name can be?
regards Tobias