Hello all, I want to gather data from niagara framework in order to use third party software. Our ultimate purpose optimize HVAC performance. However when I try to run this code it gives me error grid:
/haystack/hisRead?filter=pressure&range=today
If I specify its id as mentioned in examples i can get his data why not using filters?
Mike JarmyMon 22 Jun 2015
The hisRead op reads the history for one point at a time, as specified in the docs. So when you call hisRead you have to supply an id for one point.
For what you are trying to do, you would call read from the client side with your filter. Then iterate through the resulting records and call hisRead on them one at a time.
ilgaz somer Mon 22 Jun 2015
Hello all, I want to gather data from niagara framework in order to use third party software. Our ultimate purpose optimize HVAC performance. However when I try to run this code it gives me error grid:
/haystack/hisRead?filter=pressure&range=today
If I specify its id as mentioned in examples i can get his data why not using filters?
Mike Jarmy Mon 22 Jun 2015
The
hisRead
op reads the history for one point at a time, as specified in the docs. So when you callhisRead
you have to supply an id for one point.For what you are trying to do, you would call
read
from the client side with your filter. Then iterate through the resulting records and callhisRead
on them one at a time.ilgaz somer Wed 24 Jun 2015
Thank you Mike for your efforts and this reply.