Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variable NameTypeDescriptionExample Device
colorread-write string

The color in one of two possible formats:

  • HSB (hue/saturation/brightness):hub(0-360,0-100,0-100)
  • KB (kelvin/brightness): kb(2500-9000,0-100)

It is recommended to stick with HSB format for setting colors and KB format for setting variations of white.

Some typical Kelvin values are 2700 (incandescent), 3000 (warm white), 3500 (neutral), 4100 (cool white), 5000 (daylight), 6500 (bright daylight).

Color bulb
ecwread-only numberThe current energy consumption in wattsBelkin WeMo Insight SwitchEnergy Reporting Outlet
firmwareVersionread-only stringThe firmware version of a deviceBelkin WeMo Insight SwitchEnergy Reporting Outlet
imageStatusUrlread-only stringAn URL or JSON URL (see below) to an image providing device status informationCamera
levelread-write numberIdentifies a multi-level device's current state (0-100 percentage). For a light bulb, this would be brightness.Light dimmer
onread-write booleanIdentifies a switchable device's current stateLight switch
tstatModeread-write stringOFF | AUTO | COOL | HEATThermostat
tstatFanModeread-write stringAUTO | ONThermostat
targetTempCread-write numberThe target temperature in CelsiusThermostat
targetTempFread-write numberThe target temperature in FahrenheitThermostat
tempCread-only numberThe current temperature in CelsiusWeather station
tempFread-only numberThe current temperature in FahrenheitThermostat, Weather station
videoStatusUrlread-only stringA URL or JSON URL (see below) to a video feed providing device status informationCamera

...