NOTE: This project is currently not maintained and not up-to-date with the current Jasper specification. See jasper-n4 for Niagara 4 support.
An implementation of the easy-to-use Jasper JSON API for Niagara AX.
To setup Jasper on your JACE:
- Install the latest
jasper.jar
module onto your system - Open the
jasper
palette - Drag the
JasperService
into yourServices
component - Let the index build and Done! 🏁
$ curl host/jasper/v1/about -u username:password
{
"vendor": "Tridium",
"model": "Niagara AX",
"version": "3.8.41",
"moduleName": "jasper",
"moduleVersion": "0.2"
}
$ curl host/jasper/v1/points -u username:password
{
"size": 3,
"points": [
{
"id": "av.1b6b",
"name": "SetpointTemp",
"path": "/PxHome/Graphics/Campus/Building/Floor1/VavZoneC/SetpointTemp",
"unit": "°F"
},
{
"id": "bv.1b75",
"name": "Occupied",
"path": "/PxHome/Graphics/Campus/Building/Floor1/VavZoneC/Occupied"
},
{
"id": "av.1b6d",
"name": "HeatingCoil",
"path": "/PxHome/Graphics/Campus/Building/Floor1/VavZoneC/HeatingCoil",
"unit": "%"
}
]
}
$ curl host/jasper/v1/values -u username:password
{
"size": 3,
"values": [
{ "id":"av.1b6b", "val":72 },
{ "id":"bv.1b75", "val":true },
{ "id":"av.1b6d", "val":25 }
]
}