Hi,
I’m planing a new plugin to show some data from an external provider in pimatic.
From the external provider I get new dataset every 6 hours, which contains a time series of 10 minute values. These 10 minute values should be saved in pimatic and displayed in a graph.
What is the preferred way to add some timestamped data?
Should I call the saveDeviceAttributeEvent
method of the Database class and manipulate the @history
array of the device?