Set channel dashboard status

Verified
Added by iNTERFACEWARE

Use iguana.setChannelStatus{} to set the channel dashboard channel status "light" and message

Source Code
   -- set the status "light" colour and messsage text
   iguana.setChannelStatus{
      color='yellow',
      text='Connection lost: retrying...'
   }
Description
Use iguana.setChannelStatus{} to set the channel dashboard channel status "light" and message
Usage Details

Use iguana.setChannelStatus{} to set the dashboard status “light” and the status message that is shown when you hover mouse over the light. Typical use is to set the “light” colour to yellow to indicate that the channel is waiting and then back to green when the task has completed. For example, retrying a lost connection, waiting for a scheduled task to run, processing some large task etc.

Note: The channel must be running for this code to work, it has no effect in the editor (test mode).

How to use the snippet:

  • Paste the code into your script