Skip to content

MQTT Authentication? #5

Answered by chrivers
konistehrad asked this question in Q&A
Aug 22, 2024 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Hello @konistehrad - and welcome to bifrost :)

Thanks you for saying bifrost looks more robust. That was a big focus during initial development!

In my own case, I'm securing the network z2m is on, instead of z2m itself, so I haven't encountered exactly this problem before.

I didn't implement the low-level websocket logic from scratch - I use a crate called tungstenite, which handles that for me. It's that same crate that parses the url, so... uhm... maybe that would work? 😅

Can you try it, and see if it does?

Also notice that bifrost is actually connecting to z2m not over mqtt (ironically), but rather over the (somewhat undocumented) websocket z2m has, which the z2m ui uses.

I'd imagine t…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@konistehrad
Comment options

@chrivers
Comment options

@Flavien
Comment options

@Flavien
Comment options

@chrivers
Comment options

Answer selected by chrivers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants