Bitpool Edge Awair
A Node-RED node to communicate with Awair devices via their cloud API
Last updated
Was this helpful?
A Node-RED node to communicate with Awair devices via their cloud API
Last updated
Was this helpful?
This is a standard Node.js module developed specifically to function within the Node-RED ecosystem.
Use the following procedure to install this module to your Node-RED instance, or download the pre-themed Bitpool-Edge Docker image that contains all our favourite nodes pre-installed.
Log into your Bitpool-Edge instance and click the Hamburger
icon, in the top-right corner.
Select Manage Palette
from the drop down menu then click the Pallete->Install
tabs to install.
Using the search bar type @bitpoolos/edge-awair
and install the module once displayed.
Finally, use the left most navigation menu to scroll down to the heading Bitpool Awair
to reveal available nodes.
This Awair module and many other Bitpool developed nodes have been pre-installed for your convenience in a Bitpool themed Node-RED application.
Go here for how to install Bitpool-Edge.
The Awair library contains a single node / functional block.
Awair Device
- Allows for the connection to a device in the Awair Cloud and returns the latest available air data for that device.
The image above is an example of a linked Awair Device node on a Flow tab. This is the basic flow of data.
The ‘Trigger’ node injects a simple timestamp into the Awair Device
node.
The Awair Device
node contains an API configuration along with a device selection which is used to retireve the latest air data for the device.
Finally, the Output
node prints the payload to the debug tab for the user to see.
Now that your Bitpool-Edge is up and running, we have included simple example flows to demonstrate how to create a basic solution.
Log into your Bitpool-Edge instance and click the Hamburger
icon, in the top-right corner.
Select Manage Palette
from the drop down menu then click the Import->Examples
tabs to see this node.
Navigate the ‘Examples flows’ tree and select @bitpoolos/edge-awair
to reveal the preconfigured examples.
Click the example you would like to test then click the Import
button.
Place the example nodes on a flow and review the configuration of each node. You will need to make suitable changes for your system.
Finally, click the Save
to test.
Additionally, there is basic helper documentation on each node. Just select a target node and click the
Help
tab found at the top right corner of Bitpool-Edge.Hint - the icon looks like a book!