Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock/Unlock and Climate switch #20

Open
13robin37 opened this issue Nov 23, 2022 · 3 comments
Open

Lock/Unlock and Climate switch #20

13robin37 opened this issue Nov 23, 2022 · 3 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@13robin37
Copy link

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).

@wubbl0rz
Copy link
Owner

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.

image

@wubbl0rz wubbl0rz added help wanted Extra attention is needed question Further information is requested labels Nov 24, 2022
@13robin37
Copy link
Author

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.

@bartekpl87
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants