ph_webdschg PowerHome formula function
Description
Generates a JSON string containing all Device Status changes that occurred after the specified timestamp 
Syntax
ph_webdschg ( dt_timestamp )
Argument Description
dt_timestamp Datetime. The reference datetime from which all Device Status changes will be included in the JSON output
Return value
String. Returns a JSON string containing all Device Status changes that occurred after the datetime in the dt_timestamp parameter 
Usage
This function is used by the web based Device Status screen to update status changes periodically after they occur using AJAX. Typically would not be call by a user but included for those who may want to write their own status screens 
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_webdschg(datetime(date("2020-05-17"),time("17:00:00"))) - Returns JSON data containing all Device Status changes that have occurred since May 17th, 2020 at 5:00 pm