@azeti/node-red-contrib-azeti-iot 0.1.1
Connect to azeti Cloud on Node-RED
node-red-contrib-azeti-iot
node-red-contrib-azeti-iot is a collection of nodes that allow you to connect Node-RED to azeti Cloud services, allowing you to collect, visualize and analyze sensor data, as well getting notified under customizable circumstances.
Requirements
To use these nodes, you should have:
- Node-RED v1.0+
- An azeti account (you can register your free account here)
Installation
The recommended way to install these nodes is by using the Node-RED palette, you can access it on the top-right menu | Manage Palette.
Alternatively, you can manually install it with the commands:
cd ~/.node-red
npm install @azeti/node-red-contrib-azeti-iot
Nodes
- sensor id setter
- Set the topic of a message as the Sensor ID, useful to label several data sources connected to one historical data and event nodes
- historical data
- Convert primitive JavaScript data types in historical data objects
- event
- Creates an event object, according to a message payload or a node properties
- cloud publisher
- Collects historical data and event messages, and delivers them to azeti Cloud
Usage
A good starting point is by using the provided example in the repository, under examples/basic_example.json
. For that you need to do the following steps:
- Start Node-RED and open the web interface
- Open the provided example by clicking on the top-right menu | Import | Examples | node-red-contrib-azeti-iot | basic_example and click Import
- Double click on the cloud publisher node
- Setup the broker settings with the parameters obtained on your azeti Cloud interface
- Click Update/Add and Done to update the node
- Click in the Deploy button to deploy the nodes in the running flow
- You can click in the inject nodes to create the respective historical data and events
- In azeti Cloud you can see the events and historical data received by clicking in the configured Site
License
Copyright (c) 2020 azeti GmbH
Release under the Apache License, Version 2.0