Forum Discussion

TePe's avatar
TePe
Helper IV
7 months ago
Solved

MQTT Events debugging

Hi, I have a MQTT Broker (HiveMQ) which is receiving data from Home Assistant (Mosquitto). I see data flowing into the MQTT source, at least in the "Data Insights" the chart shows events arriving...
  • svelde's avatar
    svelde
    7 months ago

    Hello TePeBox ,

     

    Welcome to this Microsoft Fabric community forum.

     

    Your messages are passed on by the HiveMQ MQTT broker to Eventstream (as a subscriber).

     

    Can you get a client like MQTT Explorer or MQTTX connected to the same topics on the HiveMQ MQTT Broker?

     

    If so, you should be able to peek at the messages being generated and it should look like JSON.

     

    If this is also the case, copy one or more of these messages and test them online (it the messages do not contain sensitive data) like https://jsonlint.com/ 

     

    This will check the JSON format of your messages. 

     

    Next to that, do you know Azure is offering a great MQTT broker, part of Azure Event Grid Namespace? Notice that security is based on certificates. Check out this blog post for details.

    --

    If this answer helps you, a thumbs-up or marking it as accepted answer is appreaciated.