npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/opto22_groov

v3.0.0

Published

DataFire integration for groov View Public API

Downloads

2

Readme

@datafire/opto22_groov

Client library for groov View Public API

Installation and Usage

npm install --save @datafire/opto22_groov
let opto22_groov = require('@datafire/opto22_groov').create({
  api_key: ""
});

.then(data => {
  console.log(data);
});

Description

Revised: 2019-11-21

Overview

groov View Public API revision 1.

Actions

groovInfo

Get information about groov View. No authorization required.

opto22_groov.groovInfo(null, context)

Input

This action has no parameters

Output

listDevices

List devices available in the data store. Authorized for admins and editors.

opto22_groov.listDevices(null, context)

Input

This action has no parameters

Output

listDeviceTags

List tags of the given device. Authorized for admins and editors.

opto22_groov.listDeviceTags({
  "id": 0
}, context)

Input

  • input object
    • id required number: ID of the device to use.

Output

batchReadTags

Read selected tags from the data store. Authorized for admins and editors.

opto22_groov.batchReadTags({
  "tags": []
}, context)

Input

Output

readTag

Read the current value of a single tag. Authorized for admins and editors.

opto22_groov.readTag({
  "id": 0
}, context)

Input

  • input object
    • id required number: ID of the tag to read.
    • index number: Table index to start reading at.
    • count number: Number of elements to read from a table.

Output

listAllTags

List all data store tags defined in the project. Authorized for admins and editors.

opto22_groov.listAllTags(null, context)

Input

This action has no parameters

Output

writeTag

Writes a new value to the given tag. Authorized for admins and editors.

opto22_groov.writeTag({
  "id": 0,
  "value": ""
}, context)

Input

  • input object
    • id required number: ID of the tag to write.
    • value required string: Value to write to the tag. Must be a string, number, or boolean.
    • index number: For array tags, the index to write the value to.

Output

downloadLogJson

Downloads the complete groov View log in JSON format. Added in groov View R4.2a.

opto22_groov.downloadLogJson({}, context)

Input

  • input object
    • minimum-log-level string (values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL): How verbose the log should be.
    • last-timestamp number: The earliest time to include in the log. Value is milliseconds since January 1, 1970 UTC.
    • filter string: Optional string to search for in the log.

Output

  • output string

downloadLogText

Downloads the complete groov View log. Added in groov View R4.2a.

opto22_groov.downloadLogText({}, context)

Input

  • input object
    • minimum-log-level string (values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL): How verbose the log should be.
    • last-timestamp number: The earliest time to include in the log. Value is milliseconds since January 1, 1970 UTC.
    • filter string: Optional string to search for in the log.

Output

  • output string

whoAmI

Get information about the user you are authenticated as. Authorized for admins, editors, operators, and kiosk.

opto22_groov.whoAmI(null, context)

Input

This action has no parameters

Output

Definitions

User

  • User object
    • apiKey required string
    • email required string
    • groups required array
      • items number
    • id required number
    • needsPasswordChange required boolean: True if your password is expired
    • role required string
    • username required string

booleanArrayValue

  • booleanArrayValue
    • valueType required string
    • value required array
      • items boolean

booleanValue

  • booleanValue
    • valueType required string
    • value required boolean

dataStoreDevice

  • dataStoreDevice: A Data Store device within a groov View project
    • deviceType required string
    • id required number
    • name required string

device

  • device object: A generic device within a groov View project
    • deviceType required string

errorValue

  • errorValue
    • valueType required string
    • errorCode required string
    • errorMessage required string

floatArrayValue

  • floatArrayValue
    • valueType required string
    • value required array
      • items number

floatValue

  • floatValue
    • valueType required string
    • value required number

groovInfo

  • groovInfo object
    • currentApiVersion required number: The current API version number
    • groovAdminVersion required string: The groov Admin version number if running on a groov hardware box
    • groovBoxDescription required string: The groov box type (GROOV-AT1, GROOV-AR1, or GRV-EPIC-PR1)
    • groovNodeRedVersion required string: The node red version number if running on a GROOV-AR1 which has node red installed
    • isGroovBox required boolean: True if running on a groov hardware box
    • isGroovBoxSetup required boolean: True if running on a groov hardware box which has been setup or true if running on groov Server for Windows
    • isLicenseValid required boolean: True if a license is installed, valid, and not expired
    • licenseType required string: The license type (NONE, MAINTENANCE_EXPIRED, or VALID)
    • minimumApiVersion required number: The minimum supported API version number
    • shouldShowTrialDialog required boolean: True if the trial dialog pops up when logging into groov View
    • timezoneName required string: The server's timezone
    • timezoneOffset required number: The server's timezone offset from UTC in minutes
    • trialPeriodExpiration required number: Milliseconds until trial period is expired
    • warVersion required string: The version number of the war

integerArrayValue

  • integerArrayValue
    • valueType required string
    • value required array
      • items number

integerValue

  • integerValue
    • valueType required string
    • value required number

stringArrayValue

  • stringArrayValue
    • valueType required string
    • value required array
      • items string

stringValue

  • stringValue
    • valueType required string
    • value required string

tagDefinition

  • tagDefinition object
    • dataType required string (values: boolean, integer, float, string, booleanArray, integerArray, floatArray, stringArray)
    • deviceId required number
    • id required number
    • length number
    • name required string

tagReference

  • tagReference object
    • count number: For array tags, the number of elements to read, starting at index.
    • id required number: Unique id for the tag.
    • index number: For array tags, the index to start reading at.

tagValue

  • tagValue object
    • valueType required string