Our great sponsors
-
async-mqtt-client
📶 An Arduino for ESP8266 asynchronous MQTT client implementation (by OttoWinter)
-
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.
Esphome uses the Paho Mqtt client in python that requires specifying websocket transport: https://github.com/eclipse/paho.mqtt.python
That library in turn lives here: https://github.com/OttoWinter/async-mqtt-client
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.
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.
Related posts
- Simplest Guide to DIY Your Own LLM Toy in 2024
- How to P2V (Win 10 machine) into TrueNAS Scale?
- Contracting an UpWork dev to make me an open source website - they want to build it with Wordpress
- Having the rules and mechanics easily accessible in a webpage/site.
- How do you get mdns working in kubernetes pods?