skodaconnect / homeassistant-myskoda

Homeassistant integration for MySkoda.
89 stars 15 forks source link

Charge limit on Superb IV #336

Closed kiteman44 closed 2 days ago

kiteman44 commented 4 days ago

It is impossible to change the charge limit on Superb IV. I saw PR #178 and installed version 1.7.2. I also have "unknow" value like issue #166. In the integration "https://github.com/skodaconnect/homeassistant-skodaconnect" it is a numeric value in ampere but on this integration it is a value in %. In the new MySkoda application, I can change the charge limit (max or reduced).

Do you think it is possible to put this functionality back by modifying?

dvx76 commented 4 days ago

178 just disables entities which are specific to MEB cars (like Enyaq) on cars which are not (like Suberb iV).

I think setting charge limit and/or power for Suberb iV and similar cars is just not implemented yet. I can't find an existing issue tracking that so we can use this one for that purpose.

but on this integration it is a value in %

Where do you see that? You might be mixing up charge limit (in %, defining up to what SoC to charge) and charge power (how fast to charge, I believe indeed in Amps on MQB/hybrid models like Suberb iV, and just a boolean reduced/not-reduced on MEB/Enyaq)

prvakt commented 4 days ago

I have Superb iV and charge limit for my car works as expected.. State is available trough switch.skoda_superb_combi_reduced_current

If you enable the switch, it will use full power available from the charger. If you disable the switch, it will charge with 6A (reduced)

Unfortunately they have removed option to set own charging current in new API so you can actually just go with "no charge limit"=MAXIMUM or "6A"=REDUCED. In old API there was a possibility to set via service any amperage from 2A until the max available

The number you are talking about is the charge limit - % of battery when charging will be automatically stopped.. This is also not supported in Superb iV

prvakt commented 4 days ago

just looks like they have unified the parameters between PHEV and EV

In old API it was possible to set value=1-255 or "Maximum" or "Reduced"

PHEV were using 1-255 where 252 was used for reduced and 254 for max EV were using only "Maximum" or "Reduced"

Now only Maximum/Reduced is supported in the request.. I have already tried to send a number but I got invalid response

kiteman44 commented 4 days ago

Thanks prvakt and dvx76 for your answer

prvakt, you are right ;)

Hope they add this "old" functionnality it's convenient to charge with my solar panels ;)

prvakt commented 4 days ago

yeah, I'm also missing this functionality as I have solar panels too and I was utilizing my charging as much as possible from sun :)

in case it will appear in new API in future (even I doubt about that ), I will implement it into this integration ASAP ;)

kiteman44 commented 4 days ago

👍 thanks

dvx76 commented 3 days ago

Thanks @prvakt for the background. Is there any point keeping this issue open then? If it's not in the API there's nothing we can do. If it ever does get added in the API we can open a new enhancement issue.

prvakt commented 2 days ago

yes this can be closed as there is nothing we can do because of API not supporting this feature