I’ve managed to make homeassistand addon mqtt server available from the internet using the cloudflare tunnel. Because of tunnel limitations it works only over http so as the result over websocket transport. Unfortunatelly, it looks that mqtt client configuration doesn’t provide an option to connect over ws / websocket. Am I right? Do you know any workaround?
1 Like
I created a feature request related to this; here’s the link if you’d like to support it: MQTT implementation over websocket · esphome · Discussion #3635 · GitHub