-
Notifications
You must be signed in to change notification settings - Fork 13
Plugin Model Reference
This is not for the feint of heart and very much still under construction. The purpose for this information is not only for development and maintenance of the plugin but for other things that will be made clear in the near future.
Characteristic: Any 0 to 100 characteristics
Property:
- onState attribute (only if present and not None)
References:
- onState
Value:
- Returns 0 if onState is False and 100 if onState is True
Characteristic: StatusLowBattery
Property:
- batteryLevel attribute (only if present and not None)
References:
- lowbattery plugin configuration parameter that gives the percentage threshold for the plugin to report a low battery state
Value:
- Returns True if batteryLevel as a percentage of 100 is less than or equal to lowbattery
Characteristic: OutletInUse
Property:
- energyCurLevel attribute (only if present and not None)
- onState attribute (only if present)
Value:
- Returns True if energyCurLevel is greater than zero and False if it is zero
- Returns the state of onState
Characteristic: CurrentHeatingCoolingState
Property:
- hvacMode attribute (only if present and not None)
Value:
- Returns 0 if hvacMode is equal to Off
- Returns 1 if hvacMode is equal to Heat
- Returns 2 if hvacMode is equal to Cool
Characteristic: CurrentTemperature
Property:
- temperatureInput1 state (only if present and not None)
References:
- tempunits configuration property of the server configuration
Value:
- Returns Celsius Value of temperatureInput1 if tempunits is c
- Returns Celsius Conversion Value of temperatureInput1 if tempunits is f
Characteristic: CurrentTemperature
Property:
- temp state (only if present and not None)
References:
- tempunits configuration property of the server configuration
- temp state of a WUnderground "wunderground" device
Value:
- Returns Celsius Value of temp if tempunits is c
- Returns Celsius Conversion Value of temp if tempunits is f
Characteristic: TemperatureDisplayUnits
References:
- tempunits configuration property of the server configuration
Value:
- Returns 0 of temp if tempunits is c
- Returns 1 of temp if tempunits is f
HomeKit Bridge for Indigo Copyright (c) 2018 Colorado4Wheeler
HomeKit Indigo Version 2 Homebridge Script Copyright (c) 2018 Webdeck
Indigo Copyright (c) Perceptive Automation
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.