Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

n the system, in order to get data from mangOH you need to enter the following:

  • Server: eu.airvantage.net port 1883
  • Topic : IMEI/messages/json
  • QoS: 0 (Default)
  • Name: {Any desired text string} This is a text identifier for the MQTT Input Node

 

Image Removed 

Match your input values for the following screen

Image Removed  

Image Added

Image RemovedImage Added

  • User name : IMEI# of your module (you got that from CM info command) 359377060016085
  • password: SWI

 

Image Added

 

Some users have reported problems consuming the payload once it is in Node-RED.  The javascript below should help to avoid a couple of pitfalls.

var msgStr = '{"payload": "{\\\"arduino.water\\\": true}"}';
var msgObj = JSON.parse(msgStr);
var payloadStr = msgObj["payload"];
var payloadObj = JSON.parse(payloadStr);
alert(payloadObj["arduino.water"]);

 

For direct response to questions, please register on the forum at  mangoh.iohttp://forum.mangoh.io/

...