Hi,
I updated from 0.74 to 0.83.2
And now nothing works (I’m using hass to aggregate data from mqtt and maybe control switches - that never worked reliable thought)
These are errors in log:
Unable to find service mqtt/publish
Unable to prepare setup for platform sensor.mqtt: Could not set up all dependencies.
Unable to set up dependencies of sensor.mqtt. Setup failed for dependencies: mqtt
Unable to prepare setup for platform switch.mqtt: Could not set up all dependencies.
Unable to set up dependencies of switch.mqtt. Setup failed for dependencies: mqtt
Error doing job: Task exception was never retrieved
… AttributeError: ‘TopicTabooPlugin’ object has no attribute ‘topic_config’
googling errors did not help in other way then that there is log of people with same issue, most relevant is this one Embedded MQTT broker broken with 0.78 · Issue #16708 · home-assistant/core · GitHub
So I added
topic-check: enabled: True plugins: - topic_taboo
, but obviously it did not help with most of the errors, BTW - i think there should be easily findable info about this topic-check section to config, but maybe i’m using hass all wrong
So I left only
mqtt:
embedded:
in my config. Still errors. https://i.imgur.com/hzp9at9.png core.py setup.py etc.
So I tried as mentioned in that github issue
homeassistant@DietPi:/root$ pip freeze | grep hbmqtt
homeassistant@DietPi:/root$
root@DietPi:~# pip freeze | grep hbmqtt
root@DietPi:~#
Ok, so i guess hbmqtt is now separated from hass, no issue.
pip install hbmqtt
…
Using cached https://files.pythonhosted.org/packages/4b/c6/026da2eeed75a49dd0b72a0c7ed6ee5cb2943e396ca9753eabff7359b27b/websockets-5.0.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-install-Q0CFUJ/websockets/setup.py”, line 24, in
raise Exception(“websockets requires Python >= 3.4.”)
Exception: websockets requires Python >= 3.4.
homeassistant@DietPi:/root$ python3 --version
Python 3.5.3
same running it under root.
root@DietPi:~# pip -V
pip 18.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
So I guess I need something like pip3?
So now I apt remove python3-pip, installed again
Successfully installed docopt-0.6.2 hbmqtt-0.9.5 passlib-1.7.1 pyyaml-3.13 six-1.11.0 transitions-0.6.9 websockets-7.0
root@DietPi:~# pip freeze | grep hbmqtt
root@DietPi:~#
root@DietPi:~# pip3 freeze | grep hbmqtt
hbmqtt==0.9.5
still same errors