Well, I must be the lucky one to uncover things. Seems the most recent hub update may have caused this one? Not entirely sure though. I haven’t updated code since our last conversation. Attached is what I get when trying to call any function of the device driver.
@das.heil I'm using the same code as you, the latest on Github. I have not been seeing any issues. I just did an Unlock, Refresh, and Lock without any errors. Based upon the logs you posted, it looks like your driver data has gotten corrupted. It needs to send commands to the App (where all of the work is done) and the errors you are seeing are happening when it tries to send the commands to the App. Try deleting the driver and then go into the App and do a discover again, which should recreate the driver with a fresh connection to the App. Let me know how it goes.
As for your offer, thanks but I'm good. I do this stuff to give back for help I've gotten over the years. Pay it forward.
Dang it - I should have been able to catch that. It's not like I don't have years of experience in IT ::sigh:: Anyways, thanks so much for checking and it's working like a charm. Seems it was building to this failure because now I'm getting my app push notifications almost instantly - could be wholly unrelated too.
And you're welcome - I shall continue to work on paying it forward.
This was working for at least a year, then I noticed it was no longer working. So as suggested above I deleted driver, when into app and discover registered vehicles, but nothing happpend. I reimported driver and app code. I still don't have any registered vehicles. I have entered correct credentials into app.
@jack4 I just checked and it's working for me. Please turn up logging (to debug) on the app and driver and send me the logs via PM for when you do a discover. Don't post them, as your personal information can be exposed.
I'm not at home for few days but I can at least tell you what I did. I scheduled a forceRefresh every 60 minutes (20 minutes when charging) and on my dashboard I have a button to click if needed. On my dashboard I also added buttons to start the heating or clim or change the required percentage for the charge.
Regarding the 12v battery I have no idea I will have to look at when I have time.
Just dicovered this after 2 years of having an Ioniq 5. Hyundai's Android widgets drive me crazy as they don't update unless you login every time so you might as well just use the app.
Can't find a seprate thread fosupport so I'll post my questions here
The temps in the app are in F not C. I know, I can do the math
Favourites seem to be predefined as 1, 2, 3 in the device drop down but in the device attributes there are only 1 - Winter and 2 - Warm Up. What happoened to the pre-defined Summer and Profile3?
Where do you change the name and settings for the favourites? I can update them in a WebCore piston but I thought they would show in the device page and update when you save the Preferences.
Sorry for the picky questions, I am very happy you have done this.
Merci, C'est magnifique
Wow, thanks. I updated hubitat with your revised code and a new attribute now displays a value, so something is definitely changed and working. The value is not what I expected as it is showing 84 rather than what I would have assumed a 12 V battery to read (12-14 ish volts). Perhaps its supposed to be a percent value? I'll do some research and see if my theory makes sense.