We are thinking of using MQTT and I was wondering if there was a standard for topic dictionaries a sensors/devices - kind of like a MIB file for SNMP?
Are these topic dictionaries published to a central repository?
Internet of Things Stack Exchange is a question and answer site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors. It only takes a minute to sign up.
Sign up to join this communityWe are thinking of using MQTT and I was wondering if there was a standard for topic dictionaries a sensors/devices - kind of like a MIB file for SNMP?
Are these topic dictionaries published to a central repository?
Short answer: NO
The only standard topic structure is the $SYS/
prefix that shows internal state of the broker and then the content differs between brokers.
Agree with hardillb's answer. There is no central repository. To add:
MQTT is just the transport on top of which you can layer any other protocol. This is very immature, we only know of a couple of somewhat standard protocols:
Sparkplug https://s3.amazonaws.com/cirrus-link-com/Sparkplug+Topic+Namespace+and+State+ManagementV2.1+Apendix++Payload+B+format.pdf being de-facto standardized by Eclipse https://projects.eclipse.org/proposals/eclipse-tahu
LWM2M-MQTT https://wiki.eclipse.org/images/e/e1/LWM2M_MQTT_EclipseIoTDaysGrenoble.pdf
Each of the cloud IoT platforms (AWS, Azure, etc) has their own topic namespace and protocol.
many ad-hoc implementations. Just subscribe to # on any of the public MQTT brokers (iot.eclipse.org, broker.hivemq.com, etc).