Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
127 stars 25 forks source link

Configuration Issues #95

Closed julian-kemp closed 10 months ago

julian-kemp commented 10 months ago

Describe the bug Volvo2mqtt starts....... but is then stopped a few seconds later.

The MQTT service has found 1 device, and 39 entries

The VIN number is displayed correctly - so I assume its loggig into my Volvo account correctly, and found my VIN number

All the devices are showing as "Unavailable"

Screenshots:
I

Screenshot 2023-09-03 at 17 54 34 Screenshot 2023-09-03 at 17 56 26

Logs:
Enable the debug option and upload your logfile here.
If you are using the HA Addon the log location is \\<Your HA Host IP>\addons\volvo2mqtt\log\volvo2mqtt.log

How do I enable debug option?

julian-kemp commented 10 months ago

OK - I found the log......

Looks like it receives confirmation from Volvo that the various features are supported - but its not receiving any data

Screenshot 2023-09-03 at 18 04 21
Dielee commented 10 months ago

Please send the full debug log, not only a screenshot. On the screenshot, there is no issue visible.

julian-kemp commented 10 months ago

That's it - there is nothing else in the log - it just repeats (probably each time I restart the service) There seems to be a gap after each "Sending mqtt update.." That's possibly when it stops

What I dont know is why the service is stopping - or why I am not getting any data!

julian-kemp commented 10 months ago

Looking at the Home-Assistant.log

When I start the service - I see messages, and it appears to be working, but then after a few seconds it goes "offline" and the service stops..

Screenshot 2023-09-03 at 19 12 57
Dielee commented 10 months ago

You didn't enable the debug logging. Please toggle the "debug" switch inside the config. Also there should be a log from the addon directly. Please share this also.

julian-kemp commented 10 months ago

Thanks for your help everyone - I found the problem and its now working!!

I had made a mistake in the "locale" setting.

When I viewed the log in the Volvo2Mqtt page in Home Assistant, I could see the error - looking at the log directly I couldn't see it!

Anyway - all good now, and I'm getting data from the car (and can lock and unlock it!)

Thanks again!