Skip to content

Commit

Permalink
Refactoring the proxy.
Browse files Browse the repository at this point in the history
- Enable ability to handle multiple gateways.

Fixing aggregates and problems with grid status

Improvements in accuracy and functionality

Changing alerts to be consistent with the -3 suffix
  • Loading branch information
Nexarian committed Feb 10, 2025
1 parent d7815c9 commit 3716e1f
Show file tree
Hide file tree
Showing 9 changed files with 1,047 additions and 717 deletions.
13 changes: 9 additions & 4 deletions proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
FROM python:3.10-alpine
FROM python:3.13-alpine
WORKDIR /app
COPY requirements.txt /app/requirements.txt
COPY ./proxy/requirements.txt /app/requirements.txt
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt
COPY . .
COPY pypowerwall /app/pypowerwall/pypowerwall/
COPY setup.py requirements.txt README.md /app/pypowerwall/
RUN pip3 install /app/pypowerwall
COPY ./proxy .
CMD ["python3", "server.py"]
EXPOSE 8675
EXPOSE 8675
EXPOSE 8685
8 changes: 8 additions & 0 deletions proxy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
pypowerwall==0.12.5
bs4==0.0.2
beautifulsoup4==4.12.3
requests==2.32.3
protobuf==5.29.3
teslapy==2.9.0
urllib3==2.3.0
setuptools==75.8.0
wheel
urllib3
Loading

0 comments on commit 3716e1f

Please sign in to comment.