I have multiple devices setup in NHaystack service and I need to extract devices that are just tagged as 'ahu' [ Direct marker tag] using rest endpoint. I tried the following but it gives me all the devices including Chillers, Rooftop. I do I filter on a specific device within a site.
NHaystack Team, Could you please provide information with regards to this question?
Thanks you!
Chris BreederveldMon 13 Apr 2020
Hi, have you tried ?filter=siteRef and ahu
Ramamurthi IyerMon 13 Apr 2020
Hi Chris,
I tried that and I got the following output. What I need is filter by Equipment so that I can read all the point associated with the Equipment. This is required to build our analytics platform as this is the basic telemetry data to build any dashboards, KPI's and advance ML models. I somehow need to get the following filter to work. ?filter=equipRef and ahu if something like that is supported by the API. Any thoughts?
Could you please let me know how this would be feasible on equipRef?
Thank you!
Chris BreederveldTue 14 Apr 2020
Hi Ramamurthi, I am not sure if I understand you correctly, but I think that you are trying to get all points associated to a specific equipment or some equipment filter? You can use the following options depending on your needs:
?filter=point and equipRef->siteMeter and equipRef->ahu if you want all points for any ahu sitemeter.
?filter=point and equipRef->id == <some-id> if you want all points belonging to a specific equipment.
Ramamurthi IyerTue 14 Apr 2020
Thanks a lot Chris.This worked. Appreciate your help!
Ramamurthi Iyer Fri 10 Apr 2020
Hello Team,
I have multiple devices setup in NHaystack service and I need to extract devices that are just tagged as 'ahu' [ Direct marker tag] using rest endpoint. I tried the following but it gives me all the devices including Chillers, Rooftop. I do I filter on a specific device within a site.
https://localhost/haystack/read?filter=siteRef&ahu
Your help will be greatly appreciated.
Thank you!
Ramamurthi Iyer Sun 12 Apr 2020
NHaystack Team, Could you please provide information with regards to this question?
Thanks you!
Chris Breederveld Mon 13 Apr 2020
Hi, have you tried
?filter=siteRef and ahu
Ramamurthi Iyer Mon 13 Apr 2020
Hi Chris,
I tried that and I got the following output. What I need is filter by Equipment so that I can read all the point associated with the Equipment. This is required to build our analytics platform as this is the basic telemetry data to build any dashboards, KPI's and advance ML models. I somehow need to get the following filter to work. ?filter=equipRef and ahu if something like that is supported by the API. Any thoughts?
}
Ramamurthi Iyer Mon 13 Apr 2020
Hi Chris,
Could you please let me know how this would be feasible on equipRef?
Thank you!
Chris Breederveld Tue 14 Apr 2020
Hi Ramamurthi, I am not sure if I understand you correctly, but I think that you are trying to get all points associated to a specific equipment or some equipment filter? You can use the following options depending on your needs:
?filter=point and equipRef->siteMeter and equipRef->ahu
if you want all points for any ahu sitemeter.?filter=point and equipRef->id == <some-id>
if you want all points belonging to a specific equipment.Ramamurthi Iyer Tue 14 Apr 2020
Thanks a lot Chris.This worked. Appreciate your help!