Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleMake the configuration more robust by trimming the white space from the list of prefixes

This means refining the APPidList function.

That would involve looping through the list and removing white space from each ID:

Concepts:

Expand
titleCustomize the logging using iguana.log*

Add intuitive Custom Logging for your component to increase visibility into processing and adding meaningful messages to help with troubleshooting.

You can see an example of this in main.lua on line 25:

Code Block
languagelua
iguana.log("Polling every "..Polltime.." seconds");

Try it for yourself!

See Concatenating strings for a quick explanation on the double-dot notation.

Expand
titleCustomize the status using component.setStatus{data="Text"}

Add Custom Status for your component to have it display real time updates at the bottom of the component card as its running.

This component already creates custom status on lines 31-36 of main.lua.

Try it for yourself!

...