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

Nexarian/re work proxy #130

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
0fffceb
Beginning work on refactoring the proxy.
Nexarian Jan 8, 2025
f527031
WIP
Nexarian Jan 9, 2025
290da83
WIP
Nexarian Jan 9, 2025
e52bfaf
Create proxy stats type
Nexarian Jan 10, 2025
29319d2
Continue to refactor
Nexarian Jan 10, 2025
9a90606
Continuing to work on refactoring
Nexarian Jan 10, 2025
bd1fb0c
Continuing to refactor
Nexarian Jan 10, 2025
ce4b80d
Nearly done with initial refactor
Nexarian Jan 10, 2025
5ddf1d9
More refactoring
Nexarian Jan 10, 2025
5c7b27b
More refactoring
Nexarian Jan 11, 2025
d0ed440
Working on multiple pypowerwalls
Nexarian Jan 11, 2025
46c5672
A bit more refactoring
Nexarian Jan 11, 2025
8c4e473
Continuing to refactor
Nexarian Jan 12, 2025
5d43a77
Restore missing functions
Nexarian Jan 12, 2025
9dc5d50
WIP on configuration loading
Nexarian Jan 12, 2025
55ef8a4
Add configuration file.
Nexarian Jan 12, 2025
449201c
Add ability to load multiple configurations from environment variables
Nexarian Jan 12, 2025
6beda4f
Sort
Nexarian Jan 12, 2025
5de1c83
Finishing configuration
Nexarian Jan 12, 2025
b48c26c
Minor fixes
Nexarian Jan 12, 2025
ae196cb
Fixing proxystats
Nexarian Jan 13, 2025
0b88120
Startup tweaks
Nexarian Jan 13, 2025
900b652
Fixing startup bugs
Nexarian Jan 14, 2025
099141f
Working proxy
Nexarian Jan 14, 2025
a04be08
Removing normalization
Nexarian Jan 14, 2025
5751d31
Fix missing config types
Nexarian Jan 15, 2025
d2241b6
Fixing some of the static content
Nexarian Jan 15, 2025
4344252
Fixes to URL parsing
Nexarian Jan 15, 2025
b8628fe
Remove hardcoded port in URL
jasonacox Jan 15, 2025
19fd3b2
Remove hardcoded port from version URL
jasonacox Jan 15, 2025
1904725
Update static content type handling and disable /networks URL
jasonacox Jan 15, 2025
84543b3
Move DISABLED to status code 200
jasonacox Jan 15, 2025
86d82e7
Remove double set content type
Nexarian Jan 16, 2025
a57bcb3
Add networks to disabled
Nexarian Jan 16, 2025
4fd8e5e
Separate out strings
Nexarian Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM python:3.10-alpine
FROM python:3.13-alpine
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
CMD ["python3", "server.py"]
EXPOSE 8675
EXPOSE 8675
EXPOSE 8685
6 changes: 5 additions & 1 deletion proxy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
pypowerwall==0.12.2
pypowerwall==0.12.3
bs4==0.0.2
beautifulsoup4==4.12.3
requests==2.32.3
protobuf==5.29.3
teslapy==2.9.0
Loading
Loading