Hi, firstly I’m quite a noob at all things HA so apologies in advance.
I have HA container running on my Synology NAS.
Have previously been using a Harmony Hub and had scripts setup in HA to run activities / add to Apple shortcuts for single button automations.
Have just purchased a SofaBaton X2 remote and setup all devices and activities. Wanting to now also add this to HA using my existing HA container / docker but appears there is no option for add ons (MQTT) and I would prefer not to setup a VM on my Synology (lacking RAM).
After some research I have installed HACS and from there the SofaBaton add on.
Next I have installed theEclipse Mosquitto container and set that up (without username and password).
My issue is when I now go into HA to add the SofaBaton hub, the MQTT pop up, I add my LAN IP, MQTT default port, leave username / password blank but then I get an error.. and can’t progress from here.
Not sure if this log means anything or too general to diagnose? Thanks in advance
This error originated from a custom integration.
Logger: custom_components.sofabaton_hub.config_flow
Source: custom_components/sofabaton_hub/config_flow.py:208
Integration: Sofabaton Hub (documentation, issues)
First occurred: 12:30:06 (3 occurrences)
Last logged: 12:48:37
Unexpected exception during validation
Traceback (most recent call last):
File “/config/custom_components/sofabaton_hub/config_flow.py”, line 208, in async_step_zeroconf_confirm
info = await validate_mqtt_connection(self.hass, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/sofabaton_hub/config_flow.py”, line 73, in validate_mqtt_connection
if not mqtt.is_connected(hass):
~~~~~~~~~~~~~~~~~^^^^^^
File “/usr/src/homeassistant/homeassistant/components/mqtt/_init_.py”, line 687, in is_connected
mqtt_data = hass.data[DATA_MQTT]
~~~~~~~~~^^^^^^^^^^^
KeyError: ‘mqtt’