Skip to content
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

Expose scheduled charge/climate control as sensor #627

Closed
sammort opened this issue Apr 12, 2023 · 11 comments
Closed

Expose scheduled charge/climate control as sensor #627

sammort opened this issue Apr 12, 2023 · 11 comments

Comments

@sammort
Copy link

sammort commented Apr 12, 2023

Hey thanks for the great work on this API and integration with HA, it's really helpful to be able to setup some more advanced automations.

I hoped it might be possible to see the status of scheduled charging/climate control as a binary sensor in HA. My use case is this:

I usually only want my EV to charge during the 'off-peak' tariff, and this mostly works well when scheduled charging is set and enabled in the Bluelink app. However, frustratingly the setting will (seemingly at random) reset and scheduled charging is no longer enabled. This usually results in someone plugging in the car and not noticing that it immediately starts to charge (costing an arm and a leg with the current energy prices!)

It would be great to be able to detect this 'reset' using this API's integration with HA, by exposing this setting as a sensor in the app, would this be possible?

(This is similar to request in Hyundai-Kia-Connect/hyundai_kia_connect_api#18)

@cdnninja
Copy link
Collaborator

What region are you in? I think most of this was added already but may not be all regions.

@sammort
Copy link
Author

sammort commented Apr 13, 2023

I'm in the EU, so I can see things like 1st Scheduled Departure Time, 2nd Scheduled Departure Time and Off Peak Start and End Time are alreayd implemented.

Some things that don't currently seem available, that are in the Bluelink app:

  1. Whether 'Scheduled charging' and 'Scheduled climate control' are enabled/disabled (shows in the Status page of the bluelink app)
  2. Within 'Scheduled for charging' configuration there are options to set off-peak timeframe (already exposed to HA) but also whether 'Prioritisation' is 'Off-peak tariffs prioritised' or 'Off-peak tariffs only'

I find that when the car/API resets my setting to only charge during off-peak hours, the setting 'Scheduled charging' will be disabled. If this was exposed as a binary sensor I could have some automation based on that sensor switching from true to false.

(Let me know if it would be useful to have screenshots from the EU Bluelink app)

@cdnninja
Copy link
Collaborator

Got it. Today we have "EV First Scheduled Departure" and second which I think is related?

@sammort
Copy link
Author

sammort commented Apr 13, 2023

That's correct, in the Scheduled charging configuration is where you are able to set the 1st and 2nd departure schedules

@cdnninja
Copy link
Collaborator

Could you screenshot what it shows in app that is missing? Today we have a binary sensor that should display for first and second departure schedules. This is showing if enabled.

@cdnninja cdnninja transferred this issue from Hyundai-Kia-Connect/hyundai_kia_connect_api Apr 14, 2023
@erelke
Copy link
Contributor

erelke commented Apr 15, 2023

I marked with red missing datas - from my Kia Connect app (Niro EV MY20/EU)
IMG_20230415_105905
IMG_20230415_110021

@erelke
Copy link
Contributor

erelke commented Apr 15, 2023

Charging completion alert settings also missing from HA
Screenshot_2023-04-15-11-07-10-688_com kia connect eu

@kalaws
Copy link
Contributor

kalaws commented Sep 8, 2023

Would it be possible to show the date and/or day of week for which charging has been scheduled?

@DJBenson
Copy link

DJBenson commented Oct 2, 2023

Is it possible to expose the below as controls rather than sensors?

image

@cdnninja
Copy link
Collaborator

All of this is possible just need someone to write and test it. I don't have a Kia anymore so less invested. I also didn't have an EV so hard to test.

@sammort
Copy link
Author

sammort commented Feb 16, 2024

It was possible to build an automation to notify when this value had reset in Bluelink by watching for changes in value of Off Peak End Time and Off Peak Start Time. When both of these values = 00:00:00 then the off-peak charging values had been reset.

Closing this issue as no additional work required to achieve what is intended in this request.

@sammort sammort closed this as completed Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants