Join Discord
Powered by
MQTT
# help
s
smolesen
10/31/2022, 8:25 PM
In the MQTT client, is there a way to subscribe to a wildcard topic? Something like TOPIC ::= "acme-$(device.hardware_id)/*" or do I have to make a unique route for each topic?
f
floitsch
11/01/2022, 10:30 AM
You should be able to use MQTT wildcard topics.
floitsch
11/01/2022, 10:31 AM
Here is a description of MQTT wildcards.
https://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices/
Previous
Next