Getting Data on Time X

Hi everyone,
Im currently trying to setup OpenRemote to monitor Power production and consumption and am running into the issue that there seems to be no way to easily read data on every quarter hour
(xx:00,xx:15,xx:30,xx:45) which is required in Germany. I know there are ways to get the values I want using rules, but I would like a simpler way to do so. The main thing I want to ask is wether someone has an idea on how to do it or if it would be worth it to open a pr and build the feature.

Hi!

I’m not sure what your goal is, but the “When-Then rules” and “Flow rules” use current values.
They don’t allow you to read values from the past, like “average power use of the last 15 minutes”
Instead, you’ll need to write a scripted Groovy rule or an external service to achieve that.
.

I know there are ways to get the values I want using rules, but I would like a simpler way to do so.

However it seems you already got that working?
I’m not certain what you’re looking for.

The HTTP API has plenty of ways to retrieve historical data, like this one:

Hi, sorry for explaining my question poorly.

My original goal is to have an agent, for example a modbus tcp one, retrieve data from a device on the quarter hour instead of every 15min. but I think I’ve found a different way to get the data I need.

Thank you very much for replying either way.