Comments (11)
In PR #32 I just submitted I changed PW_PROXY_CACHE
to PW_BROWSER_CACHE
as I believe that more accurately describes what we are doing her (controlling the browser cache settings, not the proxy's). I edited my original post above to reflect that I implemented with that variable name.
The PR includes update to README.md file, but not RELEASE.md file as I don't know if you plan anything else for next release.
David
from pypowerwall.
Just tested this and it's working great. Thanks!
from pypowerwall.
Yes the update is now available as jasonacox/pypowerwall:latest
Thank you. I just realized that I needed to run the upgrade.sh
script. I did that and it now flys. Loading the power flow graphic is so much faster now that it is cached.
from pypowerwall.
I notice that server-r.py
is very similar but does not include the (buggy) attempt to set Cache-Control. But this proposed fix should probably be applied to that file as well?
from pypowerwall.
Also having this same problem. It's breaking other applications on the same host until I clear the bad cookie. Looks like this is blamed on 76a2344. I like the solution from @dkerr64.
from pypowerwall.
Brilliant @dkerr64 !! I love it. Do you want to submit the Pull Request? I'm happy to make the changes but prefer to make sure you get credit.
As for server-r.py
, that was a prototype that has fallen behind a bit. It was attempt to add a simple auth cookie restriction to help with public access. It's a bit clunky and frankly not very secure. If it worked, the functionality would have been ported to server.py
. Long way to say: don't worry about adding the updates to server-r.py
. 😉
from pypowerwall.
Thank you, yes I'll do a pull request.
from pypowerwall.
Thanks David! This is great. I updated release to t25 and will test and push to latest on dockerhub soon.
from pypowerwall.
@jasonacox is this on docker hub yet? I need it there to easily update my Powerwall-Dashboard server.
Thanks
David
from pypowerwall.
Yes the update is now available as jasonacox/pypowerwall:latest
from pypowerwall.
Awesome! Thanks for your help and contribution @dkerr64 !!
from pypowerwall.
Related Issues (20)
- set-reserve ERROR gives Missing access token parameter. Auth token expired? HOT 3
- Ran upgrade.sh but it does not pull all new files HOT 2
- New PW firmware seems to break vitals - 23.44.0 HOT 17
- INFO: Alerts displayed when one Powerwall is defective HOT 1
- Critical Bug - 404 HTTP Status Code Handling
- python3 set-reserve.py --read error HOT 15
- Missing ? energy_sites/grid_import_export HOT 3
- Powerwall not reachable ever since January 26th HOT 1
- Set Reserve via Proxy API HOT 8
- pyPowerwall [0.8.3] Proxy Server [t53] testing HOT 28
- Change the path .auth & .site files are saved to HOT 2
- Slow charge speed from grid? HOT 2
- Cannot set reserve lower than 5% HOT 14
- Changing Battery Configuration State Via GET HOT 2
- PyPowerwall stopped connecting HOT 9
- Extra connection created? HOT 4
- Issues with POST HOT 3
- Possible FleetAPI bug in __main__.py HOT 1
- Powerwall 3 Local Access via TEDAPI HOT 30
- FleetAPI Setup Bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypowerwall.