-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
When I try to use api.mix_info, I get this:
Traceback (most recent call last):
File "D:\XPS_8700 Extended Files\Users\RowanB\Documents\Inetpub\www.sylvesterbradley.org\public_html\growattxxx.py", line 57, in <module>
mix_info = api.mix_info(mix_id)
^^^^^^^^^^^^^^^^^^^^
File "c:\python311\Lib\site-packages\growattServer\__init__.py", line 273, in mix_info
data = json.loads(response.content.decode('utf-8'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\python311\Lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\python311\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
D:\XPS_8700 Extended Files\Users\RowanB\Documents\Inetpub\www.sylvesterbradley.org\public_html>
What am I doing wrong?
Thanks - Rowan
Metadata
Metadata
Assignees
Labels
No labels