API v2.3 Release Notes

This version of the API shipped with Indigo 7.4.1 - check the API Version Chart to see what version of the API is available in which Indigo versions.

* Added sharedProps property and replaceSharedPropsOnServer(sharedProps) method to main object instances (devices, triggers, variables, etc.) allowing for shared (readable and writable) properties across all plugins and scripts. This gives access to the same properties the user can manage on devices via the Global Property Manager plugin. Example usage:

sharedProps = dev.sharedProps
sharedProps["sqlLoggerIgnoreStates"] = "brightnesslevel, onoffstate"
dev.replaceSharedPropsOnServer(sharedProps)

sharedProps = var.sharedProps
sharedProps["sqlLoggerIgnoreChanges"] = "true"
var.replaceSharedPropsOnServer(sharedProps)
api_release_notes/2.3.txt · Last modified: 2020/02/07 18:48 by mattb
 

© Perceptive Automation, LLC. · Privacy