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

processToFiles.py", line 93, in <module> ppvToday_dayAPI = mix_detail_day['chartData']['ppv'][DayOfMonth_i] TypeError: 'NoneType' object is not subscriptable #71

Open
martinsadler opened this issue Aug 14, 2023 · 0 comments

Comments

@martinsadler
Copy link

I get this error or macOS v 11.7.9 when running "$ python3 processsToFiles.py"

It creates growattserver-dashboard_data-yyyy-mm-dd.json and growattserver-mix_data-yyyy-mm-dd.json with what looks like meaningful data but the mix_detail_day, *mix_detail_*mix_status and *mix_totals_ files all only contain the four characters "NULL"

It aborts at this point so no csv files generated.

I get the same issue if I provide a date on the command line.

I had to change the server url as follows: " api.server_url = 'https://server.growatt.com/' " to get a successful login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant