0.9.5 • Published 3 years ago
node-red-widaq v0.9.5
Wi DAQ Node-Red nodes (Alpha)
The Rasberry Pi end of the Wi-DAQ control system which make the Pi visible to your Wi-DAQ server and able to send and recieve data and remote control.
Installation
- Navigate to your node-red user folder in your terminal of choice. By default, the user folder is $HOME/.node-red. You can set it to something else by passing the --userDir argument when running node-red from the command line, according to this docs page.
Once you're there run
``` npm i node-red-widaq ``` or ``` yarn add node-red-widaq ``` if you prefer yarn.
Usage
Nodes
The usage of widaq nodes is essentially identical to mqtt nodes. There are in, out, and broker nodes which allow to connect to a MQTT broker connected to a Wi DAQ server. In addition to the default functions of these nodes, you can add a schema, which allows the Wi DAQ website to show users what type of input/output you would like and how you would like it to be formated.
HTTP Routes
If you go to the /widaq/ssh route of the device the broker node will server you a psuedo terminal in the browser.