esphome / esphome/feature-requests

Websocket transport option in MQTT client

Open
#2,787 7 comments 6 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

I've created the cloudflare tunnel for my local mqtt broker, so I can access it from internet. Unfortunately it works only through websocket transport. Can the MQTT client configuration be extendend with websocket transport option?

**Please describe your use case for this integration and alternatives you've tried:**

This will enable nicely the access to local mqtt broker from esphome devices running outside of local HA network (second flat, summer house etc).

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or implementation entry points are identified in the request. Start by locating the MQTT client configuration and existing transport handling, then determine the scope of adding websocket transport; done means ESPHome devices can connect to the described broker through the Cloudflare tunnel.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.