node-red-contrib-flow-statistics 0.1.0

A Node-RED node that generates a flow statistic

npm install node-red-contrib-flow-statistics

flow-statistic

A simple node that outputs flow-statistics:

  • node-types
  • node-quantity

Installation

Run the following command in your Node-RED user directory - typically ~/.node-red

$ npm install node-red-contrib-flow-statistics

Example

fow-statistics

You can import the corresponding flow:

[
    {
        "id": "2a8bb9bd.7806f6",
        "type": "flow-statistics",
        "z": "eb273ea8.d5d53",
        "name": "",
        "x": 300,
        "y": 60,
        "wires": [
            [
                "f8c7193.19d86e8"
            ]
        ]
    },
    {
        "id": "f8c7193.19d86e8",
        "type": "debug",
        "z": "eb273ea8.d5d53",
        "name": "",
        "active": true,
        "console": "false",
        "complete": "false",
        "x": 530,
        "y": 60,
        "wires": []
    },
    {
        "id": "ea41b5ea.44d918",
        "type": "inject",
        "z": "eb273ea8.d5d53",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "x": 100,
        "y": 60,
        "wires": [
            [
                "2a8bb9bd.7806f6"
            ]
        ]
    }
]

A JavaScript object is displayed in the sidebar debug tab.

{
    "Total": 590,
    "catch": 8,
    "change": 16,
    "comment": 33,
    "debug": 65,
    "delay": 3,
    "e-mail": 1,
    "exec": 1,
    "file": 2,
    "file in": 1,
    "flow-statistics": 1,
    "function": 62,
    "http in": 2,
    "http request": 4,
    "http response": 2,
    "hue-bridge": 1,
    "hue-set": 5,
    "hue-state": 1,
    "inject": 79,
    "join": 1,
    "json": 12,
    "link in": 32,
    "link out": 45,
    "mqtt in": 22,
    "mqtt out": 22,
    "mqtt-broker": 7,
    "netatmo-config-node": 1,
    "netatmo-dashboard": 1,
    "profile": 5,
    "ramp-thermostat": 7,
    "rbe": 12,
    "rpi-dht22": 1,
    "rpi-ds18b20": 1,
    "schedex": 3,
    "subflow": 3,
    "subflow:12064036.6833f": 32,
    "subflow:c72ea31a.28c6e": 5,
    "subflow:db8d1db3.23b4e": 3,
    "switch": 19,
    "tab": 7,
    "template": 17,
    "time-range-switch": 4,
    "trigger": 6,
    "ui_chart": 10,
    "ui_group": 4,
    "ui_slider": 2,
    "ui_switch": 4,
    "ui_tab": 2,
    "ui_text": 16,
    "wunderground": 1,
    "zwave-controller": 1,
    "zwave-in": 1,
    "zwave-out": 1
}

Node Info

Version: 0.1.0
Updated 3 weeks ago

Downloads

0 in the last day
3 in the last week
43 in the last month

Nodes

  • flow-statistics

Keywords

  • node-red
  • flow
  • statistic
  • analyse

Maintainers

  • cflurin