I got the message that MQTT could not startup. And my MQTT messages from Homey didn’t come in anymore. I tried to restart HA serveral times but still no succes. I only performed the upgrade and nothing more. This is what the log shows:
Setup failed for mqtt: Integration failed to initialize.
19:47 setup.py (ERROR)
Unable to start embedded MQTT broker
19:47 components/mqtt/init.py (ERROR)
Error initializing MQTT server
19:47 components/mqtt/server.py (ERROR)
Broker startup failed: [Errno 98] error while attempting to bind on address (‘0.0.0.0’, 1883): address in use
You’ve got an external broker running, and are trying to use the built in broker too. You have to pick one (the recommendation is usually the external one).
If I reconnect the mqtt-clients the mqtt-broker responds as aspected, see the log of my MQTT add-on :
1568178910: Saving in-memory database to /data/mosquitto.db.
1568179185: New connection from 192.168.xxx.xxx on port 1883.
[INFO] found Ebel on local database
1568179186: New client connected from 192.168.xxx.xxx as ArielaMQTTClientTest (p2, c1, k60, u’Ebel’).
1568179186: Client ArielaMQTTClientTest disconnected.
1568179344: Socket error on client Homey Beeklust, disconnecting.
1568179354: New connection from 192.168.xxx.xxx on port 1883.
[INFO] found Homey on local database
1568179355: New client connected from 192.168.xxx.xxx as Homey Beeklust (p2, c1, k60, u’Homey’).
Now the stange thing is that the enteties from Ariela does show up and show there messages. The enteties from Homey are still “not available”
I # them out and restarted HA but no succes. Then I rebooted the NUC and now the messages are comming back.
I had those topics added to the ‘configuration.yaml’ file to signal Homey when a restart of HA take place. But I assume this not the right place to do this.