ESPHome: MQTT over Websockets?

This page summarizes the projects mentioned and recommended in the original post on /r/Esphome

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • paho.mqtt.python

    paho.mqtt.python

  • Esphome uses the Paho Mqtt client in python that requires specifying websocket transport: https://github.com/eclipse/paho.mqtt.python

  • async-mqtt-client

    📶 An Arduino for ESP8266 asynchronous MQTT client implementation (by OttoWinter)

  • That library in turn lives here: https://github.com/OttoWinter/async-mqtt-client

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • async-mqtt-client

    📶 An Arduino for ESP8266 asynchronous MQTT client implementation

  • Good insight! Thanks for digging into the embedded code. Indeed, the library from which async-mqtt-client was forked has an outstanding issue to add wsMQTT support.

  • home-assistant.io

    :blue_book: Home Assistant User documentation

  • Thanks for digging into this! Based on your response and the response from u/antirobot, it appears neither the ESPHome server nor the embedded client support wsMQTT (makes sense because I was looking in vain for an option to specify the connection type). It appears HA only recently added support for wsMQTT, so I'm not too surprised.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts