Skip to content

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

@martinsadler

Description

@martinsadler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions