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

22.18.6 Flashing Powerflow Animation #88

Open
cwagz opened this issue Sep 28, 2022 · 4 comments
Open

22.18.6 Flashing Powerflow Animation #88

cwagz opened this issue Sep 28, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@cwagz
Copy link
Contributor

cwagz commented Sep 28, 2022

This morning I noticed my Powerflow animation is just flashing on the dashboard. I checked my firmware version, and it looks like I got updated to 22.18.6. Is anyone else noticing this issue?

Navigating to port 8675 shows the same behavior. The page just keeps reloading making the animation "flicker"

@jasonacox
Copy link
Owner

Yes, it looks like they updated the javascript for the animation. I have dashboards that didn't refresh so they are still working, but a refresh and they start flashing as you mention.

It will likely require an upgrade to the pypowerwall proxy to do the new translation (opened jasonacox/pypowerwall#23). I won't have time to work on it until later today. If anyone has time to debug the JS, please do. :)

Reference:

image

image

image

@jasonacox
Copy link
Owner

Ok, the fix is easy! The issue is that pypowerwall proxy caches the responses from the Powerwall, including the setup JS. You just need to restart pypowerwall and refresh your browser:

docker restart pypowerwall

Please let me know if this fixes the issue for you too @cwagz.

I'll have to look to see if there is an easy way to have the proxy detect version upgrades and flush the cache.

@cwagz
Copy link
Contributor Author

cwagz commented Sep 29, 2022

@jasonacox - I restarted pypowerwall and it is no longer flashing. Is that what you were expecting or did Tesla change something back to the way it was?

@jasonacox
Copy link
Owner

Awesome! Thanks for opening the issue and confirming the fix.

Tesla didn't change anything back. Restarting the pypowerwall proxy clears the local cache of Javascript that contained the old firmware version of the animation. Once cleared, pypowerwall rebuilds the cache with the new firmware version.

I'm looking to see if we can detect and auto-clear the pypowerwall proxy cache anytime the firmware upgrades the animation.

@jasonacox jasonacox added the bug Something isn't working label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants