Support MQTT v5?

Would it be possible to either update the MQTT interface (if the underlying library already supports v5) or otherwise update the library that provides MQTT support? I'm especially interested in the v5 noLocal option

1 Like

I use MQTT all the time at work, and I didn't even know there was a V5
Looking at the added features - See: MQTT v 5.0 New Features Overview
Some good stuff in there.

Sounds like time to upgrade my local copy of the Eclipse Mosquitto broker on my RPI
Does MQTT explorer support V5 yet?

I'm unclear what MQTT lib, that HE is using - My guess would be Eclipse Paho, given the Java roots, but it would be nice to have one of the staff to explicitly call this detail out, given open source licenscing requirements.

I believe moquitto supports v5, but as I mainly use EMQX (at work and home) I'm not sure.

EDIT: I looked, it does.

2 Likes

Yep, mosquitto and paho both support v5. Hubitat may very well be using a library that supports v5 already, in which case the work is just to update the Driver interface to expose the new option(s).

1 Like

Probably question for @gopher.ny

2 Likes

This topic peeked my interest and has me confused.

Does HE have a mqtt broker or publisher that I’m not aware of? Or is this something that’s only available to app developers?

No built-in clients. But there are several community developed MQTT clients.

https://docs2.hubitat.com/en/developer/interfaces/mqtt-interface

1 Like

And now there is one additional driver, haha (hence the reason I was asking this question)

1 Like