1.0.2 • Published 5 months ago

node-red-contrib-iot4h v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
5 months ago

IoT4H GrovePI Nodes

This project was developed and tested on Raspberry Pi 4 with GrovePi+ on Bullseye (Rasperry Pi OS 11), Node 18.19.1 and npm 10.2.4.

Package on npm

Installation

  1. npm install node-red-contrib-iot4h (in /home/pi/.node-red/node_modules/)
  2. node-red-restart

Nodes

msg Properties

See https://nodered.org/docs/user-guide/messages

Usually, the "value" of a message is stored in its payload field. To make integration with other nodes easy, the payload of a sensor message only contains its values, all additional information is stored in other properties.

If a sensor returns multiple values (e.g. temperature and humidity), msg.payload is an array of these values.

In addition to that, msg.valueTypes is an array of value type specifications {unit: ..., name: ..., type: ...}.

This additional information is used for displaying sensor values on the LCD and when sending datapoints to the OpenDash platform.

Code Replacement Nodes

  1. Save Variable
  2. Load Variable
  3. Timestamp
  4. Comparison Filter
  5. Threshold Filter
  6. Variable Comparison Filter
  7. Moving Average
  8. Array Index
1.0.2

5 months ago

1.0.1

10 months ago

1.0.0

10 months ago