Http receiver
-
Hi,
Does anyone know why when data is received on this data source, the timestamp matches the transmission date of the source... like a curl GET but its always 1 sec behind in appearing in mango?
I was hoping to use triggers for instantaneous updates on real time events, but the 1 sec delay negates its usefulness.
Thanks
Skiv
-
Hi Skiv,
I have been asked to present a working use-case for the HTTP receiver data source using the Mango M2M at work.
I am absolutely new to this. I was wondering if you would be able to help me with this or give me some ideas.
Any sort of help would be great!!Thanks,
Anirudh -
Hi anirudhb,
Probably the simplest way to set up an example case would be to start a mango instance on one computer that has a virtual data source making lots of random data, set up an HTTP publisher, then a HTTP receiver on a separate mango instance.
- Make sure you have the virtual data source and HTTP modules installed in your Mango modules folder.
- Create the new virtual data source on the data sources page using the add icon.
- Give that data source a new point that changes randomly or whatever
- Make the publisher on the publisher page with the add icon. Set that publisher to publish the virtual point to the network address of your other mango instance.
- On the second instance, create an HTTP receiver as a data source.
That's kinda the general schema, but I'm not sure what in particular you're looking for.
Good luck,
- Phillip
-
Hi Phillip,
Thank you so much for taking out the time to help me with this. This information will definitely help me get started.
I will give it a shot to this set this up.Thanks again!
Regards,
Anirudh