I'm currently using Mango M2M 1.12.4 as it offers unlimited data points. I know this is an Infinite Automation forum, but I'm hoping to get some help here.
Posts made by vinayakshukl
-
RE: Custom Timestamp in HTTP Receiver
-
Custom Timestamp in HTTP Receiver
I have a Mango installation on setup on a server which is being fed data over HTTP by a script running on a RasPi (reading from modbus).
The Mango installation has a HTTP receiver data source configured with around 30 data points, all running perfectly fine. :-)However, I have a problem with the way Mango manages its timestamps. The time-stamp it uses is the actual time at which the POST message was received. This however, poses a problem as the data that was read over modbus might be older (due to network delays, or caching, or network down time etc) than the time it actually reaches Mango.
I tried using this: "http://192.168.1.xx:8080/httpds?__time=yyyyMMddHHmmss&item1=val1&item2=val2" and sent ```
time.strftime("%Y%m%d%H%M%S")P.S.: I tried installing Mango on RasPi but it had performance issues, couldn't read modbus as fast as the python script I wrote. However, the HTTP Publisher was a blessing with its auto-caching etc. :wink:
-
RE: Custom Timestamp in HTTP Receiver
I have a Mango installation on setup on a server which is being fed data over HTTP by a script running on a RasPi (reading from modbus).
The Mango installation has a HTTP receiver data source configured with around 30 data points, all running perfectly fine. :-)However, I have a problem with the way Mango manages its timestamps. The time-stamp it uses is the actual time at which the POST message was received. This however, poses a problem as the data that was read over modbus might be older (due to network delays, or caching, or network down time etc) than the time it actually reaches Mango.
I tried using this: "http://192.168.1.xx:8080/httpds?__time=yyyyMMddHHmmss&item1=val1&item2=val2" and sent ```
time.strftime("%Y%m%d%H%M%S")P.S.: I tried installing Mango on RasPi but it had performance issues, couldn't read modbus as fast as the python script I wrote. However, the HTTP Publisher was a blessing with its auto-caching etc. :wink:
-
How to make Mango server online. Currently localhost.
I'm running a Mango server on my machine which has a HTTP Receiver data source which collects data from my Apache web server (local) about CPU usage, temp etc. I would now like to collect data from other machines which are not on the network, i.e, get data from other machines via the Internet.
My local web server is currently sending data to localhost:8080/httpds, so I'd like it to be something like xxx.xxx.xxx.xxx:8080/httpds, where xxx is my IP. I already have a static IP address. -
RE: How to make Mango server online. Currently localhost.
I'm running a Mango server on my machine which has a HTTP Receiver data source which collects data from my Apache web server (local) about CPU usage, temp etc. I would now like to collect data from other machines which are not on the network, i.e, get data from other machines via the Internet.
My local web server is currently sending data to localhost:8080/httpds, so I'd like it to be something like xxx.xxx.xxx.xxx:8080/httpds, where xxx is my IP. I already have a static IP address.