Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Dear all,
I am having an issue that the Thing's QueryPropertyHistory function does not return data if no data in the specified time period. But InfluxDB itself has the fill(previous) which can find the most recent value. So to resolve my issue, I have to run the InfluxDB to query data to ThingWorx. May I know if anyone know how to run InfluxQL in ThingWorx?
Solved! Go to Solution.
In short, you will need to query data separately via the ContentLoader snippets (POST etc) to be able to construct a custom HTTP request that's using the fill parameter.
It's a simple task and the InfluxDB query capabilities are listed here: https://docs.influxdata.com/influxdb/v1.8/guides/query_data/
In short, you will need to query data separately via the ContentLoader snippets (POST etc) to be able to construct a custom HTTP request that's using the fill parameter.
It's a simple task and the InfluxDB query capabilities are listed here: https://docs.influxdata.com/influxdb/v1.8/guides/query_data/
Thanks a lot for your help.