Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can only see "Comfort to MQTT" in devices and services, devices.
#1
Unable to see Comfort II Ultra (MQTT client), Comfort2MTTBridge (MQTT client).
I am using a Mosquitto broker on another device. I can see the messages at the MQTT broker but not in HA.
I am a newbie to HA.
I have reinstalled from scratch and arrived at the same problem.

Reply

#2
Solved it, I switched to using the internal MQTT broker and it works.
Reply

#3
Good to hear you solved it. But which is the internal MQTT Broker? is it in Integrations? I wonder why that makes a difference
Reply

#4
I got this reply from Gemini;
In Home Assistant, the MQTT integration and the Mosquitto Broker add-on serve distinct but related roles in enabling communication with MQTT devices. Here\'s a breakdown of their differences:

Mosquitto Broker Add-on

    What it is: The Mosquitto Broker is an MQTT server (also known as a broker) that runs directly within your Home Assistant instance as an add-on. Think of it as a central hub for all your MQTT communications.
    Function: Its primary function is to receive MQTT messages published by devices or other services and forward those messages to any subscribed clients (including Home Assistant itself or other MQTT-enabled applications).   

Installation: It is installed through the Home Assistant Supervisor\'s add-on store, making it very easy to set up and manage within the Home Assistant interface.  
Purpose: It provides the necessary infrastructure for MQTT communication if you don\'t already have an MQTT broker running on your network. It\'s the recommended and easiest way to get started with MQTT in Home Assistant for most users.
Key features:

    Provides a local MQTT broker.
    Easy to install and manage through the Home Assistant UI.
    Can manage user authentication for MQTT connections.   

        Supports TLS encryption for secure communication.
        Can be configured with access control lists (ACLs) for more granular security.

Example: Imagine you have a Tasmota-flashed smart plug that communicates via MQTT. The Mosquitto Broker add-on will be the server that the smart plug connects to and sends its state updates (e.g., on/off).

MQTT Integration

    What it is: The MQTT integration is a component within Home Assistant that allows Home Assistant to connect to an MQTT broker. This broker could be the Mosquitto Broker add-on running locally, or it could be a separate MQTT broker running on another device on your network or even a cloud-based MQTT service.
    Function: The MQTT integration enables Home Assistant to:
        Subscribe to specific MQTT topics to receive messages from devices and services. When a message is received on a subscribed topic, the MQTT integration can update the state of Home Assistant entities (like sensors, switches, lights, etc.).   

Publish MQTT messages to specific topics to control devices or send data to other MQTT clients. For example, Home Assistant can publish a command to turn on an MQTT-controlled light.  
Discover MQTT devices and entities automatically if they are configured to use MQTT discovery protocols.  

Installation: It is configured through the Home Assistant UI under Settings > Devices & Services > Add Integration (search for \"MQTT\").  
Purpose: It acts as the bridge between Home Assistant\'s internal event system and the external MQTT network. Without the MQTT integration configured and connected to an MQTT broker, Home Assistant cannot directly communicate with MQTT devices.
Key features:

    Allows Home Assistant to connect to any MQTT broker (local or remote).
    Enables subscription to MQTT topics to receive data.   

Enables publishing to MQTT topics to send commands.
Supports MQTT discovery for automatic device and entity setup.  
Allows manual configuration of MQTT entities (sensors, switches, etc.) in YAML.
Supports features like \"Birth\" and \"Last Will and Testament\" (LWT) messages for better device status management.  

Example: Continuing the smart plug example, once the Mosquitto Broker add-on is running, you would configure the MQTT integration in Home Assistant to connect to it (usually using localhost or the IP address of your Home Assistant server as the broker address). Then, you would configure the MQTT integration to subscribe to the topics that the smart plug publishes its state to, and you could also configure it to publish commands to control the plug.
Key Differences Summarized
Feature    Mosquitto Broker Add-on    MQTT Integration
Type    MQTT Server (Broker)    Home Assistant Integration (Client)
Function    Receives and forwards MQTT messages    Connects Home Assistant to a broker, subscribes and publishes messages
Installation    Installed as a Home Assistant add-on    Configured as a Home Assistant integration
Purpose    Provides the MQTT infrastructure    Enables Home Assistant to use MQTT
Broker    Is an MQTT broker    Connects to an MQTT broker (can be the Mosquitto add-on or another)
Necessity    Not strictly necessary if you have another MQTT broker    Necessary for Home Assistant to interact with MQTT devices
Relationship

The Mosquitto Broker add-on provides the MQTT broker, and the MQTT integration is the tool that allows Home Assistant to communicate with that broker (or any other MQTT broker). You typically need both to have MQTT devices fully integrated with Home Assistant if you don\'t have an external MQTT broker already.

    Scenario 1: Using the Mosquitto Broker add-on: You install the add-on, start it, and then configure the MQTT integration to connect to localhost (or 127.0.0.1) as the broker.
    Scenario 2: Using an external MQTT broker: You don\'t need to install the Mosquitto Broker add-on. Instead, you configure the MQTT integration with the IP address or hostname of your external MQTT broker, along with any necessary credentials.   

In essence, the Mosquitto Broker is the \"what\" (the MQTT server), and the MQTT integration is the \"how\" (how Home Assistant talks to an MQTT server).in Home Assistant, the MQTT integration and the Mosquitto Broker add-on serve distinct but related roles in enabling communication with MQTT devices. Here\'s a breakdown of their differences:Mosquitto Broker Add-on

    What it is: The Mosquitto Broker is an MQTT server (also known as a broker) that runs directly within your Home Assistant instance as an add-on. Think of it as a central hub for all your MQTT communications.
    Function: Its primary function is to receive MQTT messages published by devices or other services and forward those messages to any subscribed clients (including Home Assistant itself or other MQTT-enabled applications).   

Installation: It is installed through the Home Assistant Supervisor\'s add-on store, making it very easy to set up and manage within the Home Assistant interface.  
Purpose: It provides the necessary infrastructure for MQTT communication if you don\'t already have an MQTT broker running on your network. It\'s the recommended and easiest way to get started with MQTT in Home Assistant for most users.
Key features:

    Provides a local MQTT broker.
    Easy to install and manage through the Home Assistant UI.
    Can manage user authentication for MQTT connections.   

        Supports TLS encryption for secure communication.
        Can be configured with access control lists (ACLs) for more granular security.

Example: Imagine you have a Tasmota-flashed smart plug that communicates via MQTT. The Mosquitto Broker add-on will be the server that the smart plug connects to and sends its state updates (e.g., on/off).
MQTT Integration

    What it is: The MQTT integration is a component within Home Assistant that allows Home Assistant to connect to an MQTT broker. This broker could be the Mosquitto Broker add-on running locally, or it could be a separate MQTT broker running on another device on your network or even a cloud-based MQTT service.
    Function: The MQTT integration enables Home Assistant to:
        Subscribe to specific MQTT topics to receive messages from devices and services. When a message is received on a subscribed topic, the MQTT integration can update the state of Home Assistant entities (like sensors, switches, lights, etc.).   

Publish MQTT messages to specific topics to control devices or send data to other MQTT clients. For example, Home Assistant can publish a command to turn on an MQTT-controlled light.  
Discover MQTT devices and entities automatically if they are configured to use MQTT discovery protocols.  

Installation: It is configured through the Home Assistant UI under Settings > Devices & Services > Add Integration (search for \"MQTT\").  
Purpose: It acts as the bridge between Home Assistant\'s internal event system and the external MQTT network. Without the MQTT integration configured and connected to an MQTT broker, Home Assistant cannot directly communicate with MQTT devices.
Key features:

    Allows Home Assistant to connect to any MQTT broker (local or remote).
    Enables subscription to MQTT topics to receive data.   

Enables publishing to MQTT topics to send commands.
Supports MQTT discovery for automatic device and entity setup.  
Allows manual configuration of MQTT entities (sensors, switches, etc.) in YAML.
Supports features like \"Birth\" and \"Last Will and Testament\" (LWT) messages for better device status management.  

Example: Continuing the smart plug example, once the Mosquitto Broker add-on is running, you would configure the MQTT integration in Home Assistant to connect to it (usually using localhost or the IP address of your Home Assistant server as the broker address). Then, you would configure the MQTT integration to subscribe to the topics that the smart plug publishes its state to, and you could also configure it to publish commands to control the plug.
Key Differences Summarized
Feature    Mosquitto Broker Add-on    MQTT Integration
Type    MQTT Server (Broker)    Home Assistant Integration (Client)
Function    Receives and forwards MQTT messages    Connects Home Assistant to a broker, subscribes and publishes messages
Installation    Installed as a Home Assistant add-on    Configured as a Home Assistant integration
Purpose    Provides the MQTT infrastructure    Enables Home Assistant to use MQTT
Broker    Is an MQTT broker    Connects to an MQTT broker (can be the Mosquitto add-on or another)
Necessity    Not strictly necessary if you have another MQTT broker    Necessary for Home Assistant to interact with MQTT devices
Relationship

The Mosquitto Broker add-on provides the MQTT broker, and the MQTT integration is the tool that allows Home Assistant to communicate with that broker (or any other MQTT broker). You typically need both to have MQTT devices fully integrated with Home Assistant if you don\'t have an external MQTT broker already.

    Scenario 1: Using the Mosquitto Broker add-on: You install the add-on, start it, and then configure the MQTT integration to connect to localhost (or 127.0.0.1) as the broker.
    Scenario 2: Using an external MQTT broker: You don\'t need to install the Mosquitto Broker add-on. Instead, you configure the MQTT integration with the IP address or hostname of your external MQTT broker, along with any necessary credentials.   

In essence, the Mosquitto Broker is the \"what\" (the MQTT server), and the MQTT integration is the \"how\" (how Home Assistant talks to an MQTT server).

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.