Mqtt and endNode

I am trying to pull data from endNode (4 4-20mA AI) using a Mega Modem.

When I send a request to pull data from endNode, through tcp, mega modem replies on tcp, as well as publishes the same data on the mqtt topic. This to me indicates that they are compatible.

What I need help with is, sending the request through mqtt. I would appreciate if someone could share the syntax for the request to be sent to mega modem.


You will need to publish a message to the MQTT Topic the Mega Modem is subscribed to containing a JSON object with the key sendCommand. This sendCommand key is the full DigiMesh API frame that needs to be sent to the endNode device. For example:


1 Like

The API Calculator can also help you generate command frames:

1 Like

Thank you, that did it.

1 Like