- This topic has 9 replies, 3 voices, and was last updated 8 years, 7 months ago by
uRADMonitor.
-
AuthorPosts
-
January 1, 2016 at 9:27 pm #2643
cristianst85 (nox)
ModeratorHow fast the data is available via uRADMonitor API after it was sent to the server?
The data between two timestamps is averaged?
Also, the timestamp is in UTC?I ask these questions because when I query the API for my unit (http://data.uradmonitor.com/api/v1/devices/41000006/temperature) the latest reading that I’ve got is from 1451671853 which is 01/01/2016 @ 6:10pm (UTC) (localtime is 01/01/2016 11:23pm UTC+2).
-
This topic was modified 9 years, 9 months ago by
cristianst85 (nox).
January 2, 2016 at 11:46 am #2651uRADMonitor
Keymaster1. Instantly
2. No (but will be soon. Server holds 10 min interval data, with only the last measurement being recorded, while the devices send data every 1 min. Instead of holding only the 10th measurement, an average will be implemented for all 10 values).
3. YesI suspect this is related to the other issue you’ve observed. I’ll need to investigate it further and report back.
Thanks!
June 7, 2016 at 7:42 pm #3002cristianst85 (nox)
ModeratorHi, @radhoo.
I found that some city names have bad encoding in the JSON data published here:
“id”:”1100000E”, “city”:”Timi?oara” (this also occurs for other ids)
“id”:”12000045″,”city”:”KC4%97dainiai”.-
This reply was modified 9 years, 4 months ago by
cristianst85 (nox).
June 10, 2016 at 10:17 am #3013uRADMonitor
KeymasterThank you for this report.
I just fixed the issue and the names should be correctly encoded now.
March 25, 2017 at 12:00 pm #4144SaltoUYStation
ModeratorHi Radu, I’m trying to figure out the actual time of the timestamp in data reports… For example I downloaded data at 08:49 on 25 March 2017 and it reads:
1490410770 -31.381897 -57.951878 35 27.5 11 377 350
How do I decipher this? 1490410770 is there a table showing time stamps and real time? Like a celsius to fahrenheit conversion table. Thanks!
March 25, 2017 at 12:38 pm #4145SaltoUYStation
ModeratorAt 09:49 I’ll do another download to help me figure out the time correlation… but, I’ll probably still need some guidance, not knowing at what time the data capture is in relationship to the download time… thought I could help myself by capturing the joined date/time, but it reflect today’s info… 25 March.. my uptime is 253080s (that’s seconds, right?)
March 25, 2017 at 12:42 pm #4146cristianst85 (nox)
ModeratorHi @SaltoUYStation,
Those are standard Unix timestamps (seconds from the beginning of Unix calendar, 1970-01-01T00:00:00Z).
Using this online converter the timestamp1490410770translates to03/25/2017 @ 2:59am (UTC).March 25, 2017 at 12:48 pm #4147SaltoUYStation
ModeratorSweet! Thanks so much, Christian, really appreciate it, never was good at math, makes my head hurt… lol. ~ Pia
March 25, 2017 at 12:59 pm #4148SaltoUYStation
Moderatoroops… something’s up (or back) with my timestamps…
Attachments:
March 27, 2017 at 1:13 pm #4163uRADMonitor
KeymasterThe uptime is just the number of seconds since the device was turned on.
The timestamps in the data exports (via API calls or the Dashboard Data tab) are true unix timestamps and can be converted as NOX explained.
-
This topic was modified 9 years, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
