• Recent
    • Tags
    • Popular
    • Register
    • Login

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Custom Timestamp in HTTP Receiver

    User help
    2
    5
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vinayakshukl
      last edited by

      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: 
      1 Reply Last reply Reply Quote 0
      • JoelHaggarJ
        JoelHaggar
        last edited by

        What version of Mango and the HTTP Data Source are you using?

        1 Reply Last reply Reply Quote 0
        • V
          vinayakshukl
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • JoelHaggarJ
            JoelHaggar
            last edited by

            No problem, we have a forum for discussion regarding earlier versions of Mango: http://forum.infiniteautomation.com/forum/forums/show/1.page you might get more assistance if you post it there.

            Also, the most recent version of Mango Automation has been optimized for low power computers and for small applications runs quite well on the Raspberry Pi so might be worth giving it a try.

            Thanks,

            Joel.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post