Skip to content

Commit 3716e1f

Browse files
committed
Refactoring the proxy.
- 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
1 parent d7815c9 commit 3716e1f

File tree

9 files changed

+1047
-717
lines changed

9 files changed

+1047
-717
lines changed

proxy/Dockerfile

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
FROM python:3.10-alpine
1+
FROM python:3.13-alpine
22
WORKDIR /app
3-
COPY requirements.txt /app/requirements.txt
3+
COPY ./proxy/requirements.txt /app/requirements.txt
4+
RUN pip3 install --upgrade pip
45
RUN pip3 install -r requirements.txt
5-
COPY . .
6+
COPY pypowerwall /app/pypowerwall/pypowerwall/
7+
COPY setup.py requirements.txt README.md /app/pypowerwall/
8+
RUN pip3 install /app/pypowerwall
9+
COPY ./proxy .
610
CMD ["python3", "server.py"]
7-
EXPOSE 8675
11+
EXPOSE 8675
12+
EXPOSE 8685

proxy/requirements.txt

+8
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
pypowerwall==0.12.5
22
bs4==0.0.2
3+
beautifulsoup4==4.12.3
4+
requests==2.32.3
5+
protobuf==5.29.3
6+
teslapy==2.9.0
7+
urllib3==2.3.0
8+
setuptools==75.8.0
9+
wheel
10+
urllib3

0 commit comments

Comments
 (0)