Author: HCA Central Version: 1 Added to Library: 11-Nov-23 HCAVersion needed: 17.0.56 Keywords: Utility
Package Description: Creates a state-change log for one or more named objects
Program Description: Accepts as the single parameter a text string. Makes sure it doesn't contain any invalid Windows filename characters. If so, change them to underscores.
Return value: The valid filename
Parameters:
Name | Type | Description | Default |
---|---|---|---|
text | Value | Possible Windows filename to be made into a valid filename |
Program Description: Triggered on a state change.
In the tags on this program are tags named "Name1", "Name2", "Name3", etc.
The tag values are the name of a HCA object, for example "Kitchen-Lamp"
When this program runs in response to a state change of that object - device, program, or group - it creates a log entry in an external file with the filename of the object name. The time of the state change, the object name, and the percent are in the file line added.
The idea is to supplement the HCA log but specifically for a single object. This allows you later to know on what day and time an object changed state long after the data in the HCA log has been lost.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
Object | Object | Object whose state changed | |
Percent | Value | New percent of that object |