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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@inmation/node-red-contrib-inmation

v1.5.5

Published

inmation Node-RED Node

Downloads

189

Readme

inmation Node-RED Node

This Node-RED Node connects to Inmation System via the Inmation Web API.

Disclaimer

AspenTech Inmation is a registered trademark of Aspen Technology, Inc. further referred to as AspenTech.

This application, is provided for convenience purposes only and is not an official product of AspenTech. While every effort has been made to ensure its functionality and reliability, it is important to note that this tool has not undergone formal quality assurance testing or approval by AspenTech.

The creators of this application have developed it to facilitate easy and powerful configuration of inmation platforms. However, AspenTech does not endorse or guarantee the accuracy, completeness, or suitability of this application for any particular purpose.

Users of this application should understand that it is provided on an "as-is" basis, and AspenTech shall not be held liable for any direct, indirect, incidental, special, or consequential damages arising from its use.

By using this application, you acknowledge and agree that you do so at your own risk. While efforts have been made to minimize errors and bugs, AspenTech cannot guarantee that the application will be free from defects or that it will meet your specific requirements.

This disclaimer is subject to change without notice. Please review the latest version of this disclaimer regularly.

Thank you for your understanding.

Installation

To install inmation Node just change into your node-red user directory and install like so:

cd ~/.node-red/
npm install @inmation/node-red-contrib-inmation

Topics

Read an Item value property

  • Topic: read
  • Payload:
[ { "p": "/System/Core/TestItem" } ]

Write to an Item value property

  • Topic: write
  • Payload:
[ { "p": "/System/Core/TestItem", "v": 200 } ]

Read Historical Data

  • Topic: readhistoricaldata
  • Payload:
{
    "items":[ { "p": "/System/Core/TestItem", "aggregate": "AGG_TYPE_RAW" } ],
    "startTime": "2017-12-01T12:00:00.000Z",
    "endTime": "2017-12-01T12:05:00.000Z",
    "numberOfIntervals": 1
}
  • Payload with options:
{
    "items":[ { "p": "/System/Core/TestItem", "aggregate": "AGG_TYPE_RAW" } ],
    "startTime": "2017-12-01T12:00:00.000Z",
    "endTime": "2017-12-01T12:05:00.000Z",
    "numberOfIntervals": 1,
    "options": {
        "percentage_good": 100,
        "percentage_bad": 100,
        "treat_uncertain_as_bad": false,
        "slopped_extrapolation": false,
        "partial_interval_treatment": "UASTANDARD"
    }
}

Read Historical Data At Time

  • Topic: readhistoricaldataattime
  • Payload:
{
    "items":[ { "p": "/System/Core/TestItem" } ],
    "timestamp": "2017-12-01T12:00:00.000Z",
}

Read Raw Historical Data By Query

  • Topic: readrawhistoricaldatabyquery
  • Payload:
{
    "query": {
        "start_time": "2019-07-25T00:00:00.000Z",
        "end_time": "2019-07-26T00:00:10.000Z",
        "items": [
            {
                "p": "/System/Core/Examples/Demo Data/Process Data/DC4711"
            }
        ],
        "bounds": true,
        "fields": "ALL",
        "filter": [
            {
                "$match": {
                    "v": {
                        "$gte": 42
                    }
                },
                "$limit": 300
            }
        ]
    }
}

Execute Function

  • Topic: execfunction
  • Payload:
{
    "ctx": { "p": "/System/Core/TestFolder" },
    "lib": "my-library-name",
    "func": "calculate",
    "farg": { "a": 10, "b": 20 }
}

or

{
    "context": { "p": "/System/Core/TestFolder" },
    "libraryName": "my-library-name",
    "functionName": "calculate",
    "functionArg": { "a": 10, "b": 20 }
}

Subscribe to DataChanges

  • Topic: subscribe2dc
  • Payload:
[ { "p": "/System/Core/TestItem" } ]

Subscribe to ChildrenCountChanges

  • Topic: subscribe2ccc
  • Payload:
[ { "p": "/System/Core/TestItem" } ]

Subscribe to ConfigurationVersionChanges

  • Topic: subscribe2cvc
  • Payload:
[ { "p": "/System/Core/TestItem" } ]

Subscribe to UserStateChanges

  • Topic: subscribe2usc
  • Payload:
[ { "p": "/System/Core/TestItem" } ]

Run Script

  • Topic: runscript
  • Payload:
{
    "context": { "p": "/System/Core/TestItem" },
    "script": "return inmation.getself().ObjectName"
}

inmation

inmation is a vendor-independent industrial system-integration specialist. Dedicated to modern technologies such as OPC UA (Unified Architecture) and document-oriented schema-less repositories, inmation opens up new horizons for enterprise real-time data management.

More information on inmation.com