python-thermia-online-api
python-thermia-online-api copied to clipboard
Genesis to Online/classic Update (Genesis broken)
Hi,
So had issue after Thermia "updated to v2" for my genesis access. It seems like that genesis has been moved to online/classic (or both being updated, dont know).
I was thrown the following error, but after changing to classic it works correct with my pump as well. Didnt know whether or not to post this as an issue, but now its here as info at least. Please close accordingly. Maybe genesis should be removed entirely if this is the case for everyone?
Regards, Gjorret
Exception has occurred: JSONDecodeError
Expecting value: line 1 column 1 (char 0)
StopIteration: 0
During handling of the above exception, another exception occurred:
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
File "C:\Scripts\Thermia\ThermiaOnlineAPI\api\ThermiaAPI.py", line 513, in __fetch_configuration
return request.json()
^^^^^^^^^^^^^^
File "C:\Scripts\Thermia\ThermiaOnlineAPI\api\ThermiaAPI.py", line 77, in __init__
self.configuration = self.__fetch_configuration()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Scripts\Thermia\ThermiaOnlineAPI\__init__.py", line 14, in __init__
self.api_interface = ThermiaAPI(username, password, api_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Scripts\Thermia\example.py", line 27, in <module>
thermia = Thermia(USERNAME, PASSWORD, api_type=API_TYPE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)