firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Ignore MQTT by default and then don't transmit downlink over LoRa

Open GUVWAF opened this issue 10 months ago • 2 comments

This implements what has been discussed up till now in https://github.com/meshtastic/rfcs/pull/9 and thus needs to be approved first. The "ignore MQTT" LoRa setting will be enabled by default and this now also means if you have MQTT downlink enabled, it doesn't transmit these packets over LoRa. MQTT-only will work as before and if you also want your mesh to receive the downlinks, you have to explicitly disable "ignore MQTT".

Tested both that MQTT downlink works and also ignoring MQTT works as before.

GUVWAF avatar Apr 10 '24 17:04 GUVWAF

Wonderful! I just submitted a feature request with this exact suggestion, and tagged your PR as a probably solution to get it some attention.

tropho23 avatar May 07 '24 01:05 tropho23

with this change, if disabled on the radio connected to the broker, after an mqtt packet makes it's hop from the broker to the radio and gets transmitted to the mesh, will it then continue to hop just like a normal packet, or will it continue relaying on other radios if they have this enabled? Or is it "flagged" in some way as an mqtt packet and wont be relayed?

thespillmonkey avatar Aug 23 '24 21:08 thespillmonkey

Is this still needed after dontMQTTMebro?

fifieldt avatar Sep 17 '24 07:09 fifieldt

This is the other way around: packets from MQTT (downlink) can be controlled to not be transmitted over LoRa. Just like the public MQTT server is currently doing with zero-hopping, but then enforced on the firmware, such that it also holds for private MQTT servers.

GUVWAF avatar Sep 17 '24 12:09 GUVWAF