novant-io / jasper-ax

JSON Data Access for Niagara AX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Japser AX

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.

Installation

To setup Jasper on your JACE:

  1. Install the latest jasper.jar module onto your system
  2. Open the jasper palette
  3. Drag the JasperService into your Services component
  4. Let the index build and Done! 🏁

About

$ curl host/jasper/v1/about -u username:password

{
  "vendor": "Tridium",
  "model": "Niagara AX",
  "version": "3.8.41",
  "moduleName": "jasper",
  "moduleVersion": "0.2"
}

Points

$ 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": "%"
    }
  ]
}

Values

$ 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 }
  ]
}

About

JSON Data Access for Niagara AX

License:MIT License


Languages

Language:Java 100.0%