<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Custom Timestamp in HTTP Receiver]]></title><description><![CDATA[<p dir="auto">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).<br />
The Mango installation has a HTTP receiver data source configured with around 30 data points, all running perfectly fine.  :-)</p>
<p dir="auto">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.</p>
<p dir="auto">I tried using this: "<a href="http://192.168.1.xx:8080/httpds?__time=yyyyMMddHHmmss&amp;item1=val1&amp;item2=val2" rel="nofollow ugc">http://192.168.1.xx:8080/httpds?__time=yyyyMMddHHmmss&amp;item1=val1&amp;item2=val2</a>" and sent ```<br />
time.strftime("%Y%m%d%H%M%S")</p>
<pre><code class="language-as">

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: </code></pre>
]]></description><link>https://forum.mango-os.com/topic/1364/custom-timestamp-in-http-receiver</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 11:57:29 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1364.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Jul 2013 12:06:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Custom Timestamp in HTTP Receiver on Fri, 05 Jul 2013 20:15:26 GMT]]></title><description><![CDATA[<p dir="auto">No problem, we have a forum for discussion regarding earlier versions of Mango: <a href="http://forum.infiniteautomation.com/forum/forums/show/1.page" rel="nofollow ugc">http://forum.infiniteautomation.com/forum/forums/show/1.page</a> you might get more assistance if you post it there.</p>
<p dir="auto">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.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Joel.</p>
]]></description><link>https://forum.mango-os.com/post/7825</link><guid isPermaLink="true">https://forum.mango-os.com/post/7825</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Fri, 05 Jul 2013 20:15:26 GMT</pubDate></item><item><title><![CDATA[Reply to Custom Timestamp in HTTP Receiver on Fri, 05 Jul 2013 20:10:05 GMT]]></title><description><![CDATA[<p dir="auto">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.</p>
]]></description><link>https://forum.mango-os.com/post/7824</link><guid isPermaLink="true">https://forum.mango-os.com/post/7824</guid><dc:creator><![CDATA[vinayakshukl]]></dc:creator><pubDate>Fri, 05 Jul 2013 20:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to Custom Timestamp in HTTP Receiver on Fri, 05 Jul 2013 20:03:18 GMT]]></title><description><![CDATA[<p dir="auto">What version of Mango and the HTTP Data Source are you using?</p>
]]></description><link>https://forum.mango-os.com/post/7823</link><guid isPermaLink="true">https://forum.mango-os.com/post/7823</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Fri, 05 Jul 2013 20:03:18 GMT</pubDate></item></channel></rss>