Comments (10)
There is a good chance that GoodWe is reporting bad data back to you. I have had issues with them in the past not having the total for a day available. That said, the code here has some problems with the --date option which I put in a pull request to correct. See issue #14 and #23 and pull request #25. You may want checkout my fork if you would like to use the --date option regularly. I believe I have it working well now. https://github.com/Steve-Wax/gw2pvo
from gw2pvo.
Should be fixed by 4b97b7a, can you please confirm?
from gw2pvo.
Doesn't appear to be, unfortunately - getting this error:
WARNING HTTPSConnectionPool(host='semsportal.com', port=443): Read timed out. (read timeout=10) ERROR Failed to call GoodWe API WARNING 2020-06-11 - Received bad data {}
from gw2pvo.
@tsbkelly, just to be sure, did you install the commit 4b97b7a? I've just released it as a new package:
pip3 install https://github.com/markruys/gw2pvo/releases/download/1.3.1/gw2pvo-1.3.1-py3-none-any.whl
from gw2pvo.
I hadn't, no, but I'm now getting this error:
Traceback (most recent call last): File "/usr/local/bin/gw2pvo", line 6, in <module> from gw2pvo.__main__ import run File "/usr/local/lib/python3.7/dist-packages/gw2pvo/__main__.py", line 9, in <module> from astral import LocationInfo ImportError: cannot import name 'LocationInfo' from 'astral' (/usr/local/lib/python3.7/dist-packages/astral.py)
When run as a service, systemctl reports:
● gw2pvo.service - Read GoodWe inverter and upload data to PVOutput.org Loaded: loaded (/etc/systemd/system/gw2pvo.service; enabled; vendor preset: e Active: activating (auto-restart) (Result: exit-code) since Sun 2020-06-28 19 Process: 21018 ExecStart=/usr/local/bin/gw2pvo --gw-station-id ****** Main PID: 21018 (code=exited, status=1/FAILURE)
from gw2pvo.
What does /usr/local/bin/gw2pvo --version
say?
It looks like you're using the wrong Astral package. You might try to reinstall using sudo
:
sudo pip3 install https://github.com/markruys/gw2pvo/releases/download/1.3.2/gw2pvo-1.3.2-py3-none-any.whl
Note I've fixed another issue in the just release 1.3.2 wrt --date
.
from gw2pvo.
/usr/local/bin/gw2pvo --version
says gw2pvo 1.3.0
I probably do have the wrong Astral version - when I first installed the package it failed due to not being able to import Astral from astral
- downgraded to a previous Astral package following someone's suggestion, and it worked. I'll try installing 1.3.2 and see if it works.
from gw2pvo.
Okay, I've updated the installer to enforce Astral 2. Can you please try:
sudo pip3 install https://github.com/markruys/gw2pvo/releases/download/1.3.3/gw2pvo-1.3.3-py3-none-any.whl
from gw2pvo.
That's solved the import Astral from astral
problem - now running as a service properly, but running with the --date
option produces this error:
WARNING 400 Client Error: Bad Request for url: https://pvoutput.org/service/r2/addbatchstatus.jsp ERROR Failed to call PVOutput API
from gw2pvo.
Well, this is actually a completely different issue. This part of the source code hasn't been changed for some time. Could you please create a new ticket and add the console output when you call it with --log debug
? FYI, I can't reproduce the problem yet.
from gw2pvo.
Related Issues (20)
- problem with config file HOT 5
- Consumption not showing with Goodwe HomeKiy HOT 11
- time.tzset() not working on Synology python 3.7/3.8 HOT 1
- Domoticz errors
- Add Temperature to the upload data HOT 3
- Error by Using gw2pvo HOT 1
- gw2pvo[850]: Bad config file, missing Defaults section HOT 1
- gw2pvo.service error status=1/FAILURE HOT 1
- Is GoodWe API still working? HOT 3
- Add State Of Charge to get Battery Info HOT 1
- Custom script at intervals
- Retry on connection error to GW API HOT 1
- docker compose HOT 2
- Is repo still maintained? HOT 8
- syntax error HOT 3
- 403 Client Error: Forbidden for url HOT 5
- SCRIPT IS OUTDATED - CHECK MY FORK!
- Docker file cannot be installed on Synology Docker
- Issue with darksky api? HOT 1
- did sems portal data change? HOT 4
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 gw2pvo.