You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-red-contrib-device-stats

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-device-stats

Node-RED nodes for Device Statistics

1.0.0
Source
npmnpm
Version published
Weekly downloads
8.1K
-5.76%
Maintainers
1
Weekly downloads
 
Created
Source

Device Statistics Node-RED node

GitHub release master Build Status License MIT

Linux and MacOS only

This node creates statistics information according to the node settings on the editor. The statistics will be embedded into msg.payload and emitted to the output port.

This node emits the statistics information when a msg payload arrives via its input port. Otherwise, the node doesn't do anything.

Here is a typical example using this node. This flow will emit the statistics information every 3 seconds.

Flow Example

The left Inject node generates a message payload every 3 seconds. Its settings are as follows.

Inject Node

This Device Statistics node doesn't care of the incoming message payload content but just use it as a trigger to emit the statistics information.

You can configure the content of the statistics information in the following dialog.

Device Statistics Node

When this Device Statistics node emit the stats info, you can see the following status indicator with dup status text.

Status Indicator

Prior to building

$ npm install

Build

$ npm run build

will generate ES5 js files.

Test

$ npm run test

Revision History

  • 1.0.0
    • Initial public release

The project is released under MIT License. See LICENSE for detail.

Keywords

node-red

FAQs

Package last updated on 24 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts