MQTT Sensor Setup

Solved
James_Hawkins
Conversationalist

MQTT Sensor Setup

Hello,

I have a few sensors which I am trying to set up MQTT for. 

 

I have followed the MT MQTT Setup Guide linked below but the sensor data does not seem to be getting to the broker.

 

(https://documentation.meraki.com/MT/MT_General_Articles/MT_MQTT_Setup_Guide)

 

I am using broker.hivemq.com with TCP port 1883 without TLS or user login.

 

Below is one of the topics which should be published to the broker but I do not see any messages.

 

meraki/v1/mt/L_727331339820341184/ble/08:f1:b3:2c:18:f2/temperature

I can publish messages to the broker from MQTT Explorer running on my Mac so the broker seems ok.

Is there anything else I need to do to allow MQTT messages from the sensors to be sent out?

 
1 Accepted Solution
James_Hawkins
Conversationalist

Thanks for the response. I enabled MQTT on the APs but was still not seeing any messages.

I did some packet captures and could see packets being sent to the broker containing topics.

 

What I did notice in the captures was that the letters in the MAC addresses in published topics were in upper case.

When I changed the topic subscriptions in the client to match the messages were received.

 

View solution in original post

2 Replies 2
alemabrahao
Kind of a big deal
Kind of a big deal

MT sensors do not send MQTT messages directly to the broker. Instead, they send data to a gateway device, either an MV camera or MR access point, which then publishes the data to the broker.

 

 

Understanding MQTT in Cisco Meraki Dashboard - Vays Infotech

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
James_Hawkins
Conversationalist

Thanks for the response. I enabled MQTT on the APs but was still not seeing any messages.

I did some packet captures and could see packets being sent to the broker containing topics.

 

What I did notice in the captures was that the letters in the MAC addresses in published topics were in upper case.

When I changed the topic subscriptions in the client to match the messages were received.

 
Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco ID. If you don't yet have a Cisco ID, you can sign up.