alandtse / tesla

Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.
Apache License 2.0
555 stars 99 forks source link

Powerwall & Car Issue: Values appear to not be updating unless integration is reloaded #922

Closed monkga1 closed 2 months ago

monkga1 commented 3 months ago

Is there an existing issue for this?

Version of the Tesla component

v3.20.4

Version of the Powerwall Gateway software

24.4.0

Model

2

Current Behavior

Some time today (but after charge % being not available) sensor values (also for car) do not appear to be updating.

Expected Behavior

Updated as per polling interval (660s)

Debug logs

Not sure how to do this.

Anything else?

Example...

Screenshot 2024-03-22 165342

skipishere commented 3 months ago

I can see on my stats that this also stopped getting updated at the same time as the %age issue arose (for powerwall) #919

hogsterbogster commented 3 months ago

Seeing the same behaviour here. Also using the controls like changing the Backup Reserve or changing the Operation Mode (Self-Powered, Time-Based Control, etc) aren’t working at all 😢

IMG_2231

Are there any known workarounds for this?

Many thanks,

David

EDIT: Ok it seems to be working now, at least my overnight automations which set the operation mode and backup reserve are working ... not sure why using the controls in real-time didn't work, but I'm not going to touch anything now in case it breaks again 😆

tj1816 commented 3 months ago

Same issue here

barryperfect commented 3 months ago

I have the same issue.

As far as a I can tell commands that are sent are actioned, but the status is not being updated in response to these commands or any changes made via the Tesla App, unless you reload the integration.

e.g. I can set my Powerwall to Self Powered Mode, either using the integration, or the Tesla App but this change is not reflected in the integration status, it still says Time Based.

As above this seems to have happened since my Powerwall had a firmware update last Thursday (to 24.4.0 0fe780c9)

barryperfect commented 3 months ago

I have the same issue.

As far as a I can tell commands that are sent are actioned, but the status is not being updated in response to these commands or any changes made via the Tesla App, unless you reload the integration.

e.g. I can set my Powerwall to Self Powered Mode, either using the integration, or the Tesla App but this change is not reflected in the integration status, it still says Time Based.

As above this seems to have happened since my Powerwall had a firmware update last Thursday (to 24.4.0 0fe780c9)

It may be early days but I think the workaround from here

https://github.com/alandtse/tesla/issues/919#issuecomment-2015548967

Seems to make my data update again

monkga1 commented 3 months ago

Seems that car part is updating again correctly but not PW part still. I haven't made any changes.

sdrake001 commented 3 months ago

I also have the same issue, none of the sensors appear to be working, battery, battery remaining, load power, solar power etc This seems to have happened since installing HA core 2024.3.1 to 2024.3.3 yesterday.

barryperfect commented 3 months ago

I also have the same issue, none of the sensors appear to be working, battery, battery remaining, load power, solar power etc This seems to have happened since installing HA core 2024.3.1 to 2024.3.3 yesterday.

Not sure if you saw my post further up, but doing this workaround seems to have resolved the values not updating for me.

I decided to move over to the HA inbuilt Powerwall Integration for monitoring the battery level and reserve until the custom integration is updated and works again.

https://github.com/alandtse/tesla/issues/922#issuecomment-2019693873

sdrake001 commented 3 months ago

Thanks Barry! I too have also installed the HA Tesla Powerwall integration and I have some data appearing but it doesn't match what is showing in the Tesla app. I am a complete novice at HA and have to be honest I can't follow all the suggestions that are being made to edit .yaml 😬 Looks like I will have to keep my fingers crossed for a fix.


From: barryperfect @.> Sent: Wednesday, March 27, 2024 10:42 AM To: alandtse/tesla @.> Cc: sdrake001 @.>; Comment @.> Subject: Re: [alandtse/tesla] Powerwall & Car Issue: Values appear to not be updating unless integration is reloaded (Issue #922)

I also have the same issue, none of the sensors appear to be working, battery, battery remaining, load power, solar power etc This seems to have happened since installing HA core 2024.3.1 to 2024.3.3 yesterday.

Not sure if you saw my post further up, but doing this workaround seems to have resolved the values not updating. I decided to move over to the HA inbuilt Powerwall Integration for monitoring the battery level and reserve until the custom integration is updated and works again.

922 (comment)https://github.com/alandtse/tesla/issues/922#issuecomment-2019693873

— Reply to this email directly, view it on GitHubhttps://github.com/alandtse/tesla/issues/922#issuecomment-2022443078, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDKYS24CO5LYUURBWS6W7JTY2KH6RAVCNFSM6AAAAABFDVH3WSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRSGQ2DGMBXHA. You are receiving this because you commented.Message ID: @.***>

ziptbm commented 3 months ago

Is this integration going unavailable at all for you? Or is it just not updating?

ZaeGitHub commented 3 months ago

Is this integration going unavailable at all for you? Or is it just not updating?

It doesn't update unless you make the changes listed above. https://github.com/alandtse/tesla/issues/919#issuecomment-2019693873

ziptbm commented 3 months ago

Is this integration going unavailable at all for you? Or is it just not updating?

It doesn't update unless you make the changes listed above. #919 (comment)

Both. I'm seeing them not update and also all sensors go unavailable after a certain amount of time. I'm catching up and trying to figure out if it's related to this issue, fleet api (I only have powerwall), or something else. I just commented out line 94 per that workaround.

coddipm commented 3 months ago

Same problem here. Powerwall data will only update if the integration is reloaded. Spent an hour with Tesla tech support and they claimed nothing changed on their end, but not sure I buy that.

sdrake001 commented 3 months ago

I also have the same issue, none of the sensors appear to be working, battery, battery remaining, load power, solar power etc This seems to have happened since installing HA core 2024.3.1 to 2024.3.3 yesterday.

My integration worked for me last week following a Tesla update, however, since I applied the HA core update yesterday all values are now greyed out, current Tesla firmware is 23.36.3 aa269d35, HA core is now 2024.4.0

ziptbm commented 3 months ago

I've seen this consistently now for the last week and half, but wasn't sure if it was related to this issue per my comments above since I only have Powerwalls and do not have cars. Either way, https://github.com/alandtse/tesla/issues/937 confirmed this is the same issue.

Commenting out line 94 did not work for me as the sensors report values after a reload/reboot, but then stop after a period of time and become unavailable.

Does this mean it needs to use the FleetAPI? Even though there are no cars?

gdotp01 commented 3 months ago

I also have the same issue, none of the sensors appear to be working, battery, battery remaining, load power, solar power etc This seems to have happened since installing HA core 2024.3.1 to 2024.3.3 yesterday.

I think I’ve seen this as well. I updated HA yesterday and the sensors have stopped reporting. It looks like changing the battery reserve is however still working . For reference I only have a powerwall no car.

gdotp01 commented 3 months ago

As per above

“It doesn't update unless you make the changes listed above. https://github.com/alandtse/tesla/issues/919#issuecomment-2019693873

this did not work for me. The values do update once when it’s reloaded but don’t refresh after that.

skipishere commented 2 months ago

Is this still an issue? There have been some changes around this area that might have resolved it.

monkga1 commented 2 months ago

It seems to be resolved. I will try and close it.

Regards Gav


From: Stephen Jones @.> Sent: Monday, April 29, 2024 2:33:12 PM To: alandtse/tesla @.> Cc: monkga1 @.>; Author @.> Subject: Re: [alandtse/tesla] Powerwall & Car Issue: Values appear to not be updating unless integration is reloaded (Issue #922)

Is this still an issue? There have been some changes around this area that might have resolved it.

— Reply to this email directly, view it on GitHubhttps://github.com/alandtse/tesla/issues/922#issuecomment-2082766640, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5DS2AYZP4QNJJGOGEDTKE3Y7ZDZRAVCNFSM6AAAAABFDVH3WSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSG43DMNRUGA. You are receiving this because you authored the thread.Message ID: @.***>

monkga1 commented 2 months ago

Now resolved by recent integration updates.