Skip to main content

Why does HUB data look different from API data?

This article explains why consumption data shown in the Smartvatten HUB may appear different from the data you receive through the API.

Written by Katri

If you notice that the timestamps in Smartvatten HUB do not exactly match those returned by the API, the difference is usually caused by time zone settings.

The Smartvatten API always returns timestamps in UTC, while Smartvatten HUB displays data according to the local time zone of the premise.
​

Example

If a premise is located in a time zone that is UTC+2, a reading that appears in the API as 10:00 UTC will be displayed in Smartvatten HUB as 12:00.

Source

Time Zone

Example Reading Time

API

UTC

10:00

HUB

Local premise time

12:00 (UTC+2)

Things to Keep in Mind

  • Always ensure that you are comparing data using the same time zone.

  • The API uses UTC timestamps for all data.

  • Smartvatten HUB automatically displays timestamps in the local time zone of the premise.

  • If you need to compare or combine HUB and API data, convert both datasets to the same time zone before comparing values.

Need Help?

For more information about data integrations and available integration options, please explore the other articles in this section.
​

If you need assistance with the Smartvatten API or integrations, contact integrations@smartvatten.com.
​

For issues related to devices, connectivity, or missing data, please contact your local Smartvatten Support Team.

Did this answer your question?