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.