@hexa-ai/node-red-contrib-hexa-ai 1.1.1

A set of nodes for working with variables (reading, writing, history, alarm).

npm install @hexa-ai/node-red-contrib-hexa-ai

node-red-contrib-hexa-ai

platform NPM version License: MIT

This package provides a set of nodes in Node-RED to manage variables data, history (using warp10) and alarms.

Pre-requisites

The package requires Node-RED to be installed.

Install

To install the stable version use the Menu - Manage palette option and search for node-red-contrib-hexa-ai, or run the following command in your Node-RED user directory - typically ~/.node-red:

npm i node-red-contrib-hexa-ai

Restart your Node-RED instance and you should have the nodes available in the palette and a new Hexa AI tab in the right side panel.

Available nodes

  • :arrow_heading_down: write-variable : A node for storing typed variables
    • Variable value stored in node-red global context
    • Js primitive type and user-friendly unit for display
    • Data historicization (with warp10)
    • Value monitoring and alert trigger
  • :arrow_heading_up: read-variable : A node for receiving values from write variable
    • Value is sent at the initialization of the node (using global context)
    • Value modification sent in real time using event bus
  • :bell: on-alarm : A node for receiving alarms triggered by write variable
    • Two outputs : when an alarm is up, when an alarm is down
  • :link: history-warp10 : A node for sending variables histories into warp10 timeseries
    • Hold a buffer of variable modifications (with timestamp) and flush it into warp10

Available config nodes

  • :link: warp10 : A node for configuring warp10 connections.
    • Specify a HTTP endpoint and write token for the connection

Advanced tips

Variable naming

Use dot notations for variable names such as floor1.vent.speed. Then using read/alarm you can match them by using wildcards, like this : floor1.vent.* (the output message will contain a origin js object containing the matched variable).

Single write-variable and multiple variables

You can omit the variable name into the write-variable node. Instead, put the variable name into the topic alongside the payload containing the value.

Node Info

Version: 1.1.1
Updated 1 year, 7 months ago
Rating: 4.5 2

Categories

Actions

Rate:

Downloads

4 in the last week

Nodes

  • warp10
  • read-variable
  • on-alarm
  • write-variable
  • history-warp10

Keywords

  • node-red
  • warp10
  • hexa-ai
  • variables
  • history
  • alarm

Maintainers

Contributors

  • AnaĆ«l Favre