energy164 / gw2pvo-docker Goto Github PK
View Code? Open in Web Editor NEWGoodWe to PVOutput Docker Container
License: MIT License
GoodWe to PVOutput Docker Container
License: MIT License
When running the container as instructed on the readme of this repository or by following the instructions on the Docker Hub page, it get the following error:
gw2pvo: error: argument --gw-account: expected one argument
usage: gw2pvo [-h] --gw-station-id ID --gw-account ACCOUNT --gw-password
PASSWORD --pvo-system-id ID --pvo-api-key KEY
[--pvo-interval {5,10,15}] [--darksky-api-key DARKSKY_API_KEY]
[--log {debug,info,warning,critical}] [--date YYYY-MM-DD]
[--pv-voltage] [--skip-offline] [--city CITY] [--csv CSV]
[--version]
It was fixed after filling in the variables GW_ACCOUNT
and GW_PASSWORD
but the readme doesn't mention this.
Could you please update the information here & on the Docker Hub page?
A newer release is out, could you please update the container? https://github.com/markruys/gw2pvo/releases
Edit: i just made my own image by combining the Dockerfile from gw2pvo and this repository:
FROM python:3.9-slim
RUN pip install gw2pvo
ENV GW_STATION_ID="" \
GW_ACCOUNT="" \
GW_PASSWORD="" \
PVO_SYSTEM_ID="" \
PVO_API_KEY="" \
PVO_INTERVAL="15" \
DARKSKY_API_KEY="" \
LOG="info" \
CITY="Amsterdam" \
TZ="Europe/Amsterdam"
ENTRYPOINT exec gw2pvo \
--gw-station-id ${GW_STATION_ID} \
--gw-account ${GW_ACCOUNT} \
--gw-password ${GW_PASSWORD} \
--pvo-system-id ${PVO_SYSTEM_ID} \
--pvo-api-key ${PVO_API_KEY} \
--pvo-interval ${PVO_INTERVAL} \
--darksky-api-key ${DARKSKY_API_KEY} \
--log ${LOG} \
--city ${CITY} \
--skip-offline
The plot of Energy Generated starts the day with a certain value.
Plot gives a stable horizontal line until the production of the solar system reaches the moment that production is greater the the starting value. From there plot is OK.
It seems the energy value sent is incorrect.
The script can be updated to send v1=-1 and PVOutput will calculate the energy from power v2.
When I don't specify the DARKSKY_API_KEY
environment variable I'm getting an error:
gw2pvo: error: argument --darksky-api-key: expected one argument
That should be optional right?
Since this afternoon, getting the data from the SEMS portal fails, the log shows the following:
I am using the docker container with an interval of 15 minutes.
Any idea what might cause this?
since the end of november the docker container is reporting errors, this is because Goodwe API now only uses the v2 api.
The containter is repoorting:
WARNING
403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
ERROR Failed to call GoodWe API
ERROR 'inverter'
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
ERROR Failed to call GoodWe API
ERROR 'inverter'
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
ERROR Failed to call GoodWe API
ERROR 'inverter'
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
ERROR Failed to call GoodWe API
ERROR 'inverter'
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
ERROR Failed to call GoodWe API
ERROR 'inverter'
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
WARNING 403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId
ERROR Failed to call GoodWe API
ERROR 'inverter'
`
There also an issue in the original gw2pvo, but that one isn't maintained anymore: markruys/gw2pvo#69
Is there any possibility that you can update this one with the new URL, the docker always worked perfectly for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.