[APP][Pro] DataVista

Yes, that will likely be added to the widget as well. For now, I’m only using the exact datasets that expose both the current and previous resolution as provided by the Homey API. These contain “today” vs “yesterday”, “this week” vs “last week”, “this month” vs “last month” and “this year” vs “previous year”, hence the current implementation.

While the Homey API also includes data for the “last 7 days,” it doesn’t explicitly offer a “previous 7 days” option, so I’ll need to extract that from the “last 14 days” dataset. My focus has been on getting the basic implementation of the widget stable first, rather than immediately working on extracting custom timeframes from the available datasets.

2 Likes