Niagara4 module to initially allow out-of-band resolute tag import operations, and auto-tagging operations on the Niagara Framework. Also, it could be possible to use as a niagara utility module where all resolute productivity tools are stored and deployed from when working on the workbench, or perhaps even from the browser.
The tag importer component found inside the ResolutTagUtils service on the Niagara Workbench, has a field to reference the file inside the workbench, and the version and current tag set readonly field it populates with data when it reads the import file.
The import file is generated by a Resolute Cloud service and downloaded online, then copied to the station file container from your laptop 's download folder. The import file is formatted as JSON, find the sample import file below.
The tag importer has the action 'tagIt', which finds all dictionaries and searches for matches using the list of Resolute tags applied to every point in the import file. When a dictionary tag matches a resolute tag, the corresponding point has those matching tags applied in Niagara.
/***
- Sample json import file
{ "version": 1.0, "points": [ { "name": "TestBoolPoint0", "metricId": "aadb5fe6-598d-4f72-b5d6-1c72b74a4211./TestBoolPoint0", "tags": ["boiler", "cmd"] }, { "name": "TestNumPoint0", "metricId": "aadb5fe6-598d-4f72-b5d6-1c72b74a4211./TestNumPoint0", "tags": ["discharge", "water", "temp", "sensor"] }, { "name": "TestNumPoint1", "metricId": "aadb5fe6-598d-4f72-b5d6-1c72b74a4211./TestNumPoint1", "tags": ["discharge", "air", "temp", "sensor"] }, { "name": "TestNumPoint2", "metricId": "aadb5fe6-598d-4f72-b5d6-1c72b74a4211./TestNumPoint2", "tags": ["return", "air", "temp", "sensor"] }, { "name": "TestNumPoint3", "metricId": "aadb5fe6-598d-4f72-b5d6-1c72b74a4211./TestNumPoint3", "tags": ["air", "mixed", "temp", "sensor"] }, { "name": "TestBoolPoint1", "metricId": "aadb5fe6-598d-4f72-b5d6-1c72b74a4211./TestBoolPoint1", "tags": ["chiller", "cmd"] }, { "name": "TestEnumPoint0", "metricId": "aadb5fe6-598d-4f72-b5d6-1c72b74a4211./TestEnumPoint0", "tags": ["relief", "fan", "speed", "sp"] }, { "name": "TestStringPoint0", "metricId": "aadb5fe6-598d-4f72-b5d6-1c72b74a4211./TestStringPoint0", "tags": ["building", "zone"] } ], "currentTagSet": ["active\nair\navg\nboiler\nbuilding\nchilled\nchiller\ncirc\ncmd\nco2\ncondenser\ncool\ncooling\ncurrent\ndamper\ndeHumidify\ndelta\ndeviation\ndischarge\ndomestic\neconomize\neffective\nelec\nenable\nenergy\nentering\nexhaust\nfaceBypass\nfan\nfilter\nfinal\nflow\nfreezeStat\nfreq\ngas\nheat\nheating\nhigh\nhisTotalized\nhot\nhru\nhumidifier\nhumidity\nisolation\nleaving\nlevel\nload\nlow\nmag\nmax\nmed\nmin\nmixed\nocc\noccupied\noil\noutside\npf\nphaseA\nphaseAB\nphaseAN\nphaseB\nphaseBC\nphaseBN\nphaseC\nphaseCA\nphaseCN\npower\npre\npressure\npump\nreheat\nrelief\nreturn\nrun\nruntime\nsensor\nsp\nspeed\nsump\ntemp\ntotal\nunocc\nvalve\nvolt\nvolume\nwater\nzone\n"] } * ***/