webCoRE for Hubitat Updates

So in the latest webCoRE there is a report for in use global variables.

How it works

  • as pistons run they update a list of global variables they use

  • to see this report, you need on the main webCoRE application to have FULL logging enabled on the main webcore process, then you will see an option to dump global variables in use (HE console -> apps -> webcore (main) -> Settings)


What if you don't see a piston listed that is using a global variable?

  • this means the piston has not run or not has not accessed the variable since the hub has been booted.
    • typically pause/resume or test run the piston should show it.

      • it is possible if the piston only accesses the variable in limited cases (ie use is limited to a specific if clause), it may not show. ie the report entry is added when a piston accesses a global variable.

The list is reset each time the hub is rebooted, and populates as pistons run and access global variables.

  • paused pistons will not add to the list until they run and access the global variables
4 Likes