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.
-
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.
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.
If you go to the /widaq/ssh route of the device the broker node will server you a psuedo terminal in the browser.