You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I used this package since months, but since yesterday it stopped working. I am using the latest version py-smart-gardena-0.7.10. OS: Raspbian GNU/Linux 9 (stretch)
The exception I get is:
File "/usr/local/sbin/GardenaInterfaceService.py", line 31, in initSmartSystem
smart_system.update_locations()
File "/usr/local/lib/python3.8/site-packages/gardena/smart_system.py", line 209, in update_locations
response_data = self.__call_smart_system_get(f"{self.SMART_HOST}/v1/locations")
File "/usr/local/lib/python3.8/site-packages/gardena/smart_system.py", line 180, in __call_smart_system_get
if self.__response_has_errors(response):
File "/usr/local/lib/python3.8/site-packages/gardena/smart_system.py", line 159, in __response_has_errors
r = response.json()
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.8/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)
Did Garadena change the interface?
The text was updated successfully, but these errors were encountered:
Hi,
I used this package since months, but since yesterday it stopped working. I am using the latest version py-smart-gardena-0.7.10. OS: Raspbian GNU/Linux 9 (stretch)
The exception I get is:
File "/usr/local/sbin/GardenaInterfaceService.py", line 31, in initSmartSystem
smart_system.update_locations()
File "/usr/local/lib/python3.8/site-packages/gardena/smart_system.py", line 209, in update_locations
response_data = self.__call_smart_system_get(f"{self.SMART_HOST}/v1/locations")
File "/usr/local/lib/python3.8/site-packages/gardena/smart_system.py", line 180, in __call_smart_system_get
if self.__response_has_errors(response):
File "/usr/local/lib/python3.8/site-packages/gardena/smart_system.py", line 159, in __response_has_errors
r = response.json()
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.8/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)
Did Garadena change the interface?
The text was updated successfully, but these errors were encountered: