WHITE PAPER
The Most Trusted MQTT Platform for loV and Connected Cars →

Integrate EMQX MQTT Cloud with Home Assistant

EMQX Cloud Team
May 26, 2021

In recent years, as people's demand for home security, convenience, comfort and artistry has increased, home automation has become more and more popular. Home Assistant, a popular open-source home automation platform, provides a secure and convenient central control system. In this article, we will introduce you to how to use EMQX Cloud MQTT Broker to connect with Home Assistant.

What is MQTT Broker

MQTT is a lightweight, publish-subscribe network protocol that transports messages between devices. An MQTT broker is a server that receives all messages from the clients and then routes the messages to the appropriate destination clients.

Why EMQX Cloud?

EMQX Cloud is an MQTT messaging middleware product for the IoT domain from EMQ. As the world's first fully managed MQTT 5.0 public cloud service, EMQX Cloud provides a one-stop O&M colocation and a unique isolated environment for MQTT messaging services. It serves dozens of countries and regions around the world, providing low-cost, secure, and reliable cloud services for 5G and Internet of Everything applications.

EMQX Cloud is available in three plans: Basic, Professional, and Unlimited, which offers a variety of flexible product specifications to support the deployment of fully managed MQTT services exclusively for you on the world's leading public clouds. Need more information with EMQX Cloud's product plan? Click here.

Such a powerful product is a great choice to integrate with Home Assistant. You could check out the EMQX Cloud documentation to get more information regarding EMQX Cloud.

Set up Home Assistant with EMQX Cloud

If it's your first time using EMQX Cloud, don't worry. We will guide you through connecting Home Assistant with EMQX Cloud.

  1. Create a EMQX Cloud Account.

  2. Login to EMQX Cloud Console and start a new deployment.

    For first-time EMQX Cloud customers, we have an opportunity for you to create a free trial deployment of up to 30 days in length. The free trial deployment is an ideal way for you to learn and explore the features of EMQX Cloud.
    
  3. After the new deployment is created and the status is running, add the client authentication information (you could choose to add manually or import from the file.

    add authentication

  4. Go to Home Assistant's configuration to add integration.

  5. Select MQTT and fill in the deployment information

    Add MQTT Broker to Home Assistant

    EMQX MQTT Cloud deployment information

    You should enter the Connect Address for Broker and the Connect Port (mqtt) for Port. Enter the username and password you created on the authentication page.

  6. Click the Submit button

  7. Your EMQX Cloud deployment is now integrating with Home Assistant, congratulations!

    Successfully integrating with Home Assistant

Try EMQX Cloud for Free
No credit card required
Get Started →

Related Posts

Jul 27, 2021EMQX Cloud Team
Introducing EMQX Cloud on Microsoft Azure

EMQ, the leader of open-source and cloud-native distributed MQTT broker for IoT, is pleased to announce that EMQX Cloud is now available on Microsoft Azure.

Jun 3, 2023Saiteng You
How to Use MQTT on Raspberry Pi with Paho Python Client

The Paho Python Client provides a client class with support for both MQTT v3.1 and v3.1.1 on Python 2.7 or 3.x. This article introduces how to use the Paho MQTT client library in the Python project.