Hi guys,
One more question on HomeAssistant integration..
in HA i get some errors in y log, can't get it to work... Perhaps one of the HA users who can have a look?? I opened 10080 in iptables, but there seems to be a communication issue... although i'm not really a developer myself..! Any help appreciated!
Code: Select all
2017-06-06 21:33:08 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform toon
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 155, in _async_setup_platform
entity_platform.schedule_add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/climate/toon.py", line 34, in setup_platform
config.get(CONF_PORT))])
File "/home/homeassistant/.homeassistant/custom_components/climate/toon.py", line 55, in __init__
self.update()
File "/home/homeassistant/.homeassistant/custom_components/climate/toon.py", line 79, in update
'/happ_thermstat?action=getThermostatInfo'))
File "/home/homeassistant/.homeassistant/custom_components/climate/toon.py", line 66, in do_api_request
return json.loads(req.text)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)