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

node-red-contrib-promosnt-connector

v1.0.3

Published

A node-red library for the ProMoS NT Scada.

Downloads

7

Readme

node-red-contrib-promosnt-connector

NODE-RED ProMoS NT library by MST-Systemtechnik AG.

Logo

Overview

This node allows Node-RED developers to quickly build a connection to the ProMoS NT.

Installation and Usage

npm i node-red-contrib-promosnt-connector

  1. You can look for "node-red-contrib-promosnt-connector" in "manage palette", or go to your Node-RED users directory and run the npm install-command above
  2. Start Node-RED
  3. Drag-in a Handler-Node or a Subscribe-Node and create a server-configuration
  4. When you run the node-red-server on another machine, enable the ip in the DMS_JSON_IPS.cfg of your ProMoS NT project
  5. Deploy and check the status
  6. When the connection is established, then it's ready to use

Nodes

  • DMS-Handler
  • DMS-Subscribe
  • DMS-Write
  • DMS-Value

DMS-Handler

Full controll of the JSON-Exchange API.

DMS-Subscribe

Subscribe variables to get the actual data.

DMS-Write

Write a specific datapoint.

DMS-Value

Filter the response-object of a DMS-Handler-node or DMS-Subscribe-node.

Example flow

Simple Example

Example flow img

[{"id":"b456f519.151108","type":"tab","label":"ProMoS NT Example","disabled":false,"info":" * Create a server\n * Select the server-instance in each node where a server is required\n * Deploy it\n * Check the debug-window"},{"id":"e983a29c.3367d","type":"dms-subscribe","z":"b456f519.151108","name":"DMS-Subscribe","server":"f88721d9.a78e","subscribedEvent":"onChange","payload":"[\"System\"]","x":300,"y":160,"wires":[["98833042.af094"]]},{"id":"98833042.af094","type":"dms-value","z":"b456f519.151108","action":"subscribe, event","key":"value","path":"System:Time","x":600,"y":160,"wires":[["8ff321fe.5723e"]]},{"id":"8ff321fe.5723e","type":"debug","z":"b456f519.151108","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":890,"y":160,"wires":[]},{"id":"58257c3d.dc7d24","type":"dms-handler","z":"b456f519.151108","name":"","server":"f88721d9.a78e","payload":"{\"whois\":\"MyServiceName\",\"user\":\"\",\"subscribe\":[{\"path\":\"System\",\"event\":\"onChange\",\"query\":{\"maxDepth\":0}}]}","x":300,"y":260,"wires":[["1e3fe47b.3689ec"]]},{"id":"1e3fe47b.3689ec","type":"dms-value","z":"b456f519.151108","action":"subscribe, event","key":"value","path":"System:Time","x":600,"y":260,"wires":[["8ff321fe.5723e"]]},{"id":"f88721d9.a78e","type":"dms-server","z":"","host":"localhost","port":"9020","path":"/json_data"}]

Authors

License

This project is licensed under the ISC License - see the LICENSE.md file for details