API Token for SmartPi Expansion Modules

To control the module in Node-RED, you need an API token, which is entered in the corresponding Node-RED module.
The module can only be controlled from Node-RED if the API token exists and has been entered.
You can create API tokens for a single module or for several modules. 
If the API token is deleted, all permissions are revoked from the module that uses it. In that case, you must create a new API token and enter it in the module in Node-RED.
Creating an API token:

  • Click the plus symbol.
  • Give the token a name so that you know what you are using it for.
  • Activate the permissions the API token should have (for the 4-20mA OUT module, for example, Analogue output 4-20mA must be activated).
  • Copy the API token so that you can enter it in Node-RED.

Read more here: Source link