Yeah, eventually I can do a refresh that works, there is no way around this ‘delay’?
What I’m trying to do is creating a car dashboard (using hdashboards), that shows the status of the car, and have a couple of buttons to for example start the AC.
This works, but as it doesn’t also do a refresh of the status the dashboard doesn’t show that the AC is now on, and having to wait 15 mins or so before refreshing the status makes it a bit useless as I think the AC I think only runs for 10mins when not connected to a charger
I can understand they would like to discourage it, however, my dashboard doesn’t really poll, when the car is parked it would only be updated (manually) with a refresh status action.
But the issue is (after doing some searching) that you apparently have to get a new stamp/hash or something after issuing a ‘write’ command (like 'start AC) which doesn’t seem to happen. I came across some talk about this in some bluelinky discussions…
@KeesHuizer this implements a workaround. Please test and let me know if it works. Note that there is an extra delay now for the retry when the refresh fails.
I have a e-Niro with the myKia ( Kia Connect) app. I think that version is not supported, is that true?
I’ll know there are some Python scripts to read data using that API.
Yes, SSL issue is a known problem with US/CN servers, in combination with the NodeJS version used in HP2023. Apparently older Homey’s (using an older NodeJS version) do no thave the issue.
A new library package was just released this week. Will implement it in Homey when I have time for it. I hope it addresses the SSL issue.
Edit: nope. I tested it. The new package breaks compatibility with older Homey’s (HP2016/2019).
You just have to move to EU @TheAdrianMc