Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Interfacing Mango with Digi RM
-
Heya,
Wondering if anyone has had any experience interfacing Mango with Digi RM (https://remotemanager.digi.com/)? I am trying to use either a HTTP Json receiver or retriever but haven't had much luck yet. Just wondering if it possible (good or bad experience) before I recreate a middleware app I used for another similar project.
Thanks
Ian -
Hi Ian,
You maybe could do it with an HTTP JSON retriever or receiver - you link does not explain the protocol you're trying to interface with. If you have an authentication token you can probably do it with the retriever, and if you can configure it to push messages to your Mango at the /httpds URL
you may be able to use the receiver.Given that it brings a login screen, you may be better off using a scripting data source with the HttpBuilder doing the HTTP, as you can do more arbitrary things, such as logging into the service. This thread has an HttpBuilder integration with an API: https://forum.infiniteautomation.com/topic/2999/intesis-integration/2
You may also need to use something like
var response = JSON.parse(content);
in the response function.Documentation here: https://help.infiniteautomation.com/about-mango-java-script