This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

CSV Export details
#5
Hi,

See this article on how to set start - end range on trend fetching by using UNIX format timestamps:

http://www.openrb.com/docs/trends-new.htm

I don't think you can fetch smaller data set then 1 day, you have to get the values from the result yourself, when the trend resolution is 5 minutes you get a set of 288 points, then each 12 points are equal to 1 hour, so the points from 15:00 to 16:00 will be data[180] to data[191], when the trend resolution is set to 1 hour the point will be data[15]

BR,

Erwin
Reply


Messages In This Thread
CSV Export details - by Domoticatorino - 13.02.2018, 00:02
RE: CSV Export details - by admin - 13.02.2018, 08:00
RE: CSV Export details - by Domoticatorino - 13.02.2018, 09:06
RE: CSV Export details - by Domoticatorino - 19.02.2018, 22:04
RE: CSV Export details - by buuuudzik - 19.02.2018, 22:06
RE: CSV Export details - by Domoticatorino - 20.02.2018, 11:37
RE: CSV Export details - by buuuudzik - 20.02.2018, 11:53
RE: CSV Export details - by buuuudzik - 21.02.2018, 07:45

Forum Jump: