Lock/Unlock and Climate switch
13robin37 opened this issue · 3 comments
In my opinion it would be more user friendly to convert the climate and lock/unlock entity to buttons instead of switches.
The API reports wrong data/doesn't report at all sometimes.
Example: I tried to use the climate entity - without experimental features though. So disabling it via the switch would be useless anyway. Also once you switched it on it doesn't switch back to off after 15 minutes or once you enter the car.
In addition to it my Fiat also has connectivity issues sometimes (I don't know if this is a general issue with the 500e) so it doesn't execute climate commands sometimes. Maybe we are able to wait for successful execution and send the command again after some waiting period? At least it works within the app (couldn't enable A/C on first try, just wait for error popup and press climate again - works 90% of the time).
so for example instead of a switch for lock/unlock just 2 buttons ? 1 unlock 1 lock. yes its true the status is inconsistent when the api has timeouts or ignores commands 😩 my 500e has the same problems. the api do not report any errors. so the addon does not know if the command was successful or not.
i think the app gets these error messages from the car over an aws iot mqtt connection. the architecture of the app and the web service is really weird sometimes. just last week i figured out how to connect to the mqtt service that the app uses. im planing to integrate this in the next few weeks. then the addon could receive errors from the car and reissue the command or set the switch to off again.
when you login with uconnect via browser you can see the 2 mqtt connections in the network tab of the developer tools. maybe you can help with capture the error ? keep browser open and try reproduce the error in the app and then look in the browser if a mqtt message arrived on one of the two connections. would be good to know how the response looks. i hope they use some uniform json format for all error messages.
After I wasn't able to login to Uconnect for a couple days I was finally able to check to find... nothing. Could you point me to the webpage where I'm able to control the car with my browser? On https://myuconnect.fiat.com/de/de/manage-subscriptions/my-remote I can only check out which services are offered within the app.
Despite entering the correct pin in the configuration, when trying to open the door, turn on the lights, air conditioning, this type of message appears:
[00:30:41 INF] SEND COMMAND HBLF:
[00:30:42 ERR] Command: HBLF ERROR. Maybe wrong pin?