@dontpanic wrote:
Hi,
I’m just trying to follow the initial installation instructions for the mQTT addon. I have installed the addon, and started it.The second part of the instructions for configuration are -
- Navigate in your Home Assistant frontend to Configuration -> Integrations .
- Use the Add button and search for MQTT
- Configure the Broker, Port, Username, Password and Submit.
When I go to Configuration** -> **Integrations there is already MQTT: Mosquito Broker under “Configured”, so I cannot use the Add button, it says you can only have one. So, I select the existing one and under the blue header it says “This integration has no devices”, there seems to be no way that I can see to configure it.In the system options button it just pops up another window that doesn’t allow me to do anything.
Next I tried configuring the /configuration.yaml and adding the MQTT configs in there
mqtt: broker: 192.168.88.66 username: myusername password: mypassword discovery: true discovery_prefix: homeassistant birth_message: topic: 'hass/status' payload: 'online' will_message: topic: 'hass/status' payload: 'offline'
I did a reboot, and looked at the log file and I have this output -
2020-01-11 15:15:24 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=1 from 2020-01-04 08:25:49.190720)
2020-01-11 15:15:31 ERROR (MainThread) [homeassistant.config] Invalid config for [discovery]: expected a dictionary for dictionary value @ data[‘discovery’]. Got True. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/discovery/
2020-01-11 15:15:31 ERROR (MainThread) [homeassistant.setup] Setup failed for discovery: Invalid config.
2020-01-11 15:15:31 ERROR (MainThread) [homeassistant.setup] Setup failed for broker: Integration not found.
2020-01-11 15:15:31 ERROR (MainThread) [homeassistant.setup] Setup failed for will_message: Integration not found.
2020-01-11 15:15:31 ERROR (MainThread) [homeassistant.setup] Setup failed for password: Integration not found.
2020-01-11 15:15:31 ERROR (MainThread) [homeassistant.setup] Setup failed for birth_message: Integration not found.
2020-01-11 15:15:31 ERROR (MainThread) [homeassistant.setup] Setup failed for username: Integration not found.
2020-01-11 15:15:31 ERROR (MainThread) [homeassistant.setup] Setup failed for discovery_prefix: Integration not found.
2020-01-11 15:15:34 ERROR (MainThread) [hbmqtt.broker] Broker startup failed: [Errno 98] error while attempting to bind on address (‘0.0.0.0’, 1883): address in use
2020-01-11 15:15:34 ERROR (MainThread) [homeassistant.components.mqtt.server] Error initializing MQTT serverA couple of questions -
- do you configure the MQTT addon within the hassio web browser, or via the configuration.yaml?
- I have 2 config files, one in /root/config and one in /config. I’m using the hassio installer on a pi3, which is the correct config file to use?
- there is no mosquitto service running, should I see a separate service listed from ps?
Thanks for any suggestions
Posts: 1
Participants: 1