Skip to content

[Config Support]: MQTT over websocket #14166

Closed Answered by hawkeye217
x-real-ip asked this question in Config Support
Discussion options

You must be logged in to vote

Frigate's mqtt client does not use websockets, it uses the default tcp. See the code:

self.client = mqtt.Client(

We don't have plans to change this, but you can either fork the code or just add transport='websockets' to the connect call, according to the paho mqtt docs. https://eclipse.dev/paho/files/paho.mqtt.python/html/client.html#paho.mqtt.client.Client.connect

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@NickM-27
Comment options

NickM-27 Oct 5, 2024
Collaborator Sponsor

Answer selected by NickM-27
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment