node-red-contrib-device-stats 1.0.3

Node-RED nodes for Device Statistics

npm install node-red-contrib-device-stats

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

Installation

cd ~/.node-red
npm install node-red-contrib-device-stats

Prior to building

$ npm install

Build

$ npm run build

will generate ES5 js files.

Test

$ npm run test

Revision History

  • 1.0.3

    • Remove redundant dependency
  • 1.0.2

    • Fix an issue where message resources aren't shown properly
  • 1.0.1

    • Fix deployment error
  • 1.0.0

    • Initial public release

Copyright and License

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

Node Info

Version: 1.0.3
Updated 3 months, 2 weeks ago
License: MIT

Downloads

3 in the last day
33 in the last week
163 in the last month

Keywords

  • node-red
  • OS
  • memory
  • network statistics
  • cpu usage
  • load average
  • system information
  • CANDY RED

Maintainers

  • dbaba