There seems to be an obscure error with the XMPP library I use. But it only occurs in my fully configured HA setup. Not in a development installation with only the thermostat…
HA 0.88 the climate component isn’t working anymore
Error while setting up platform nefit
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, in wait_for
return fut.result()
File “/config/custom_components/climate/nefit.py”, line 53, in async_setup_platform
device = NefitThermostat(hass, name, serial, accesskey, password)
File “/config/custom_components/climate/nefit.py”, line 62, in init
from aionefit import NefitCore
ModuleNotFoundError: No module named ‘aionefit’
Also getting this problem in Hass.io 0.92.2. None of the answers are working? never had the component running btw. Does anyone know how to get this running?
That’s weird. I am on the same 0.92.2 version and it worked first time after install
What do you see in the log when you set:
logger:
default: error
logs:
aionefit: debug
custom_components.climate.nefit: debug
This morning updated my HA to 0.94. It was an old version and was not working for quite a while.
Changed the nefit.py to climate.py according to the instruction at Github. After that, it still did not work. When I create the manifest.json in the customer_components/nefit it worked again . This might need to be added to the instruction.
Now there is one thing not working yet. That is the sensor part for Gas year total and outdoor temperature. Does anyone else have this issue?
Error while setting up platform nefit
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, in wait_for
return fut.result()
File “/config/custom_components/nefit/climate.py”, line 50, in async_setup_platform
device = NefitThermostat(hass, config)
File “/config/custom_components/nefit/climate.py”, line 59, in init
from aionefit import NefitCore
ModuleNotFoundError: No module named ‘aionefit’
That is your issue
Now, the question is, why didn’t it download when you loaded ha-nefit-ng…
You can use pip install aionefit I guess, but I’m not familiar with hass.io, just home assistant
Adding the manifest.json and restarting HA fixes this issue, but after that it keeps complaining about:
“Platform nefit not ready yet. Retrying in XX seconds.”
It also gives a notification saying: “Timeout while connecting to Bosch cloud. Retrying in the background”
But no luck. The following error is littering my log file now for more than a month. Any suggestions?
Blockquote
2019-07-10 21:14:22 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport
Traceback (most recent call last):
File “uvloop/handles/stream.pyx”, line 827, in uvloop.loop.__uv_stream_on_read_impl
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/xmlstream.py”, line 406, in data_received
self._spawn_event(xml)
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/xmlstream.py”, line 970, in _spawn_event
stanza = self._build_stanza(xml)
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/xmlstream.py”, line 951, in _build_stanza
stanza = stanza_type(self, xml)
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py”, line 1390, in init
ElementBase.init(self, xml, parent)
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py”, line 416, in init
if self.setup(xml):
File “/usr/local/lib/python3.7/site-packages/slixmpp/stanza/stream_features.py”, line 27, in setup
self.values = self.values
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py”, line 615, in _set_stanza_values
self[full_interface] = value
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py”, line 753, in setitem
lang=lang)
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py”, line 959, in _set_sub_text
return self._del_sub(name, lang=lang)
File “/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py”, line 1040, in _del_sub
parent = self.xml.find(parent_path)
File “/usr/local/lib/python3.7/xml/etree/ElementTree.py”, line 299, in find
return ElementPath.find(self, path, namespaces)
File “/usr/local/lib/python3.7/xml/etree/ElementPath.py”, line 307, in find
return next(iterfind(elem, path, namespaces), None)
TypeError: ‘NoneType’ object is not an iterator
have the same problem with version 93.2, 0.94.5 en the latest
Can someone please look into the problem
Don’t I have to give permission to homeassistant to communicate with nefit. For ifttt I have to give permission to ifttt to communicate with my nefit device