tesla-local-control / tesla-local-control-addon

Control your Tesla locally from HomeAssistant
Apache License 2.0
22 stars 2 forks source link

Loss of control and presence #119

Closed etherbrat closed 3 weeks ago

etherbrat commented 3 weeks ago

Until very recently it all worked as expected. When the problems started I upgraded to the latest versions of HA and the Tesla Local Control Addon, but there was no improvement.

Now, with the car in the garage, if I reboot the Raspberry Pi, I get a minute or two of Tesla "Home" before it reverts to "Away". Controls - Charge Rate, Charge Limit, Honk Horn, etc. - have no effect.

I have tried repositioning the Pi in case of a new interference problem. No luck.

  1. A software upgrade came into the Tesla a night or two ago.

  2. I added a Shelly 2-channel meter in the switchboard outside, to measure the actual Tesla charging current - it co-existed quite ok with everything for several days.

Are you aware of other users having similar problems? I'm at my wits end. Not sure how to debug.

TIA, Neil

iainbullock commented 3 weeks ago

Can you advise on which version of HA and the add-on you are using?

Also can you provide logs for the add-on from HA?

etherbrat commented 3 weeks ago

Hi Iain,I found a smoking gun which forced my hand - a worn out SD card which eventually stopped my Pi from booting. So all the evidence is gone, I’m afraid. Sorry :-(I took the opportunity to check the hardware with stock Raspberry Pi OS. It all seems to be working ok.So now I’m rebuilding a new instance of HA on a small SSD. I’ll get back to you later if I’m still having the problem. Thanks, and kind regards,NeilNeil Higgins @. 26 Sep 2024, at 6:14 PM, Iain Bullock @.> wrote: Can you advise on which version of HA and the add-on you are using? Also can you provide logs for the add-on from HA?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

iainbullock commented 3 weeks ago

OK thanks for the update, good luck with the new build. I'll close this issue for now, but you can re-open it if you still have a problem

etherbrat commented 3 weeks ago

Thanks for the quick response!  One question: After installing the Tesla add-on, the Overview shows a slide switch right at the top. What is the effect of this? Does it have to be “on” in normal operation?Cheers,NeilNeil Higgins @. 26 Sep 2024, at 7:20 PM, Iain Bullock @.> wrote: OK thanks for the update, good luck with the new build. I'll close this issue for now, but you can re-open it if you still have a problem

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

iainbullock commented 3 weeks ago

Not sure exactly what you are referring to maybe you can post a screen shot?

etherbrat commented 3 weeks ago

Good news! It’s all working again.

I guess the problem was related to the system being about to fall to pieces completely. The SD card wore out in a about a month. There were lots of warnings about this in the HA community, but until running Home Assistant, I had never worn out an SD card on a Pi, so I ignored the warnings. The system is on an SSD now.

I did get one error message on the Addon log, as follows:

Logger: homeassistant.components.mqtt.mixins Source: components/mqtt/mixins.py:166 integration: MQTT (documentation, issues) First occurred: 18:05:15 (1 occurrences) Last logged: 18:05:15 Error 'Icons should be specified in the form "prefix:name" for dictionary value @ data['icon']' when processing MQTT discovery message topic: 'homeassistant/button/tesla_ble_LRWYHCFS5RC541771/drive/config', message: '{'command_topic': 'tesla_ble/LRWYHCFS5RC541771/command', 'device': {'identifiers': ['tesla_ble_LRWYHCFS5RC541771'], 'manufacturer': 'tesla-local-control', 'model': 'Tesla_BLE', 'sw_version': '0.2.0', 'name': 'Tesla_BLE_LRWYHCFS5RC541771'}, 'icon': 'car-wireless', 'payload_press': 'drive', 'qos': '1', 'unique_id': 'tesla_ble_LRWYHCFS5RC541771_drive', 'name': 'mdi:car-wireless,Remote start car', 'platform': 'mqtt'}'

The switch that I referred to is shown in the attached screen clip. I have not been able to work out its purpose.

Kind regards, and thanks again for your assistance.

Neil

From: Iain Bullock @.> Sent: Friday, 27 September 2024 4:03 PM To: tesla-local-control/tesla-local-control-addon @.> Cc: etherbrat @.>; Author @.> Subject: Re: [tesla-local-control/tesla-local-control-addon] Loss of control and presence (Issue #119)

Not sure exactly what you are referring to maybe you can post a screen shot?

— Reply to this email directly, view it on GitHub https://github.com/tesla-local-control/tesla-local-control-addon/issues/119#issuecomment-2378462901 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKEPQNF2ZRNQW4DUALBS7YTZYTYHVAVCNFSM6AAAAABOYGTI5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZYGQ3DEOJQGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AKEPQNCP3FYFF643HE4TWA3ZYTYHVA5CNFSM6AAAAABOYGTI5CWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUNYR3LK.gif Message ID: @. @.> >