This class provides access to useful methods used to interact with InControl via a custom UI window.
Namespace: MLS.HA.DeviceController.Common.Gui.PluginGuiWindow
DLL: MLS.HA.DeviceController.Common.DLL
Adds a new device to the database to be tracked by InControl. This is useful if you need to gather input from a user and create a new device based on that input. Once the device has been added, the trackDevice method will be called in your controller.
Guid addDevice(DeviceProviderTypes provider, string controllerName, DeviceType deviceType, object providerDeviceId, string deviceName)
This retrieves a setting from the database.
string getSetting(string settingId);
This saves a setting from the database.
void setSetting(string settingId, string settingValue);
This will save data that's specific for a given device.
void setDeviceMetaData(Guid deviceId, string dataName, string dataValue);
This will retrieve data that's specific for a given device.
string getDeviceMetaData(Guid deviceId, string dataName);
This retrieves a list of all devices in InControl.
List getDevices();