To the makers of this plugin (creasol @psubiaco?):
First thanks for the nice plugin!
I want to use the plugin to automate the charging process of my kia via domoticz.
In the Niro EV settings in the car it is possible to set the current supplied by the AC charging to 60%, 90% 100%.
So, setting the AC current to 60% will take a longer charging time, but I can use this setting to use my available solar power as efficient as possible and minimize net delivery.
Can the selection of the AC current settings also be implemented in the plugin?
Domoticz Hyundai Kia connect plugin – 2.1
Moderator: leecollings
-
- Posts: 37
- Joined: Saturday 28 March 2020 13:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Domoticz Hyundai Kia connect plugin – 2.1
- Attachments
-
- Kia limit AC current
- kia-charging.png (56.64 KiB) Viewed 1423 times
Raspberry PI 2 & 3 & 4 | RFlink | MySensors | ESP32 | Homebridge | Tasmota Sonoff | Zigbee2Mqtt | ADS-B
-
- Posts: 628
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: Domoticz Hyundai Kia connect plugin – 2.1
The plugin is the connection between Domoticz and the API.
The API code is here
https://github.com/Hyundai-Kia-Connect/ ... onnect_api
In order to include the "charge current" setting in the plugin, it has to be present in the API first. I have not found the corresponding field in the API (yet). However, I see there is a function in the APi called "set charging current".
So it might be possible, but it will take some time to investigate further.
The API code is here
https://github.com/Hyundai-Kia-Connect/ ... onnect_api
In order to include the "charge current" setting in the plugin, it has to be present in the API first. I have not found the corresponding field in the API (yet). However, I see there is a function in the APi called "set charging current".
So it might be possible, but it will take some time to investigate further.
-
- Posts: 37
- Joined: Saturday 28 March 2020 13:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Domoticz Hyundai Kia connect plugin – 2.1
I found indeed this in the api code of hyundai_kia_connect_api/ApiImpl.py:
Does this mean that this setting is already coded but not used?
Code: Select all
def set_charging_current(self, token: Token, vehicle: Vehicle, level: int) -> str:
"""Sets charge current level (1=100%, 2=90%, 3=60%). Returns the tracking ID"""
pass
Raspberry PI 2 & 3 & 4 | RFlink | MySensors | ESP32 | Homebridge | Tasmota Sonoff | Zigbee2Mqtt | ADS-B
-
- Posts: 628
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: Domoticz Hyundai Kia connect plugin – 2.1
It is available in the API but not coded into the plugin so not available yet from domoticz.DiaDomo wrote: ↑Sunday 04 August 2024 14:27 I found indeed this in the api code of hyundai_kia_connect_api/ApiImpl.py:Does this mean that this setting is already coded but not used?Code: Select all
def set_charging_current(self, token: Token, vehicle: Vehicle, level: int) -> str: """Sets charge current level (1=100%, 2=90%, 3=60%). Returns the tracking ID""" pass
The plugin was originally developed by Creasoltech / @psubiaco and I got co-development permission and added some fields,
but I am reluctant to make large changes until I full understand the code.
I will look into it but it might take some time.
What I can see so far is that the API provides a function that can set the "charge_current" value but it does not read it back into a field that can be picked up by the plugin.
Who is online
Users browsing this forum: No registered users and 0 guests