Node-RED node to utilize IKEA smart home devices.
npm install @fetchbot/node-red-contrib-ikea-home-smartmsg.payload set to one of the following strings:
"status" The node will output the current status of its target accessory.
msg.payload to the node.
"position": number - The position in percent [0..100%].
"trigger": number - A trigger event to stop a moving blind [0.0].
msg.payload to the node.
"dimmer": number - The brightness in percent [0..100%].
"onOff": boolean - If the lightbulb is on (true) or off (false)
"transitionTime": number - The duration of state changes in seconds. Default 0.5s, not supported for on/off.
"colorTemperature": number - The color temperature in percent, where 0% equals cold white and 100% equals warm white.
"color": string - The 6 digit hex number representing the lightbulb's color. Don't use any prefixes like "#", only the hex number itself!
"hue": number - The color's hue [0..360°].
"saturation": number - The color's saturation [0..100%].
msg.payload to the node.
"onOff": boolean - If the plug is on (true) or off (false).
msg.payload to the node:
"dimmer": number - The brightness in percent [0..100%].
"onOff": boolean - If the lightbulb is on (true) or off (false)
"transitionTime": number - The duration of state changes in seconds. Default 0.5s, not supported for on/off.
"position": number - The position in percent [0..100%].
"onOff": boolean - If the plug is on (true) or off (false)
"sceneId": number - Set this to the instanceId of a scene (or "mood" as IKEA calls them), to activate it.
msg.payload containing its current properties.
"name": string - The name of this accessory.
"createdAt": number - The unix timestamp of the creation of the device.
"instanceId": number - The ID under which the accessory is known to the gateway.
"type": number - The type of the accessory.
"alive": boolean - Whether the gateway considers this device as alive.
"lastSeen": number - The unix timestamp of the last communication with the gateway.
"otaUpdateState": number - Unknown. Might be a boolean
"deviceInfo": object - Some additional information about the device.
"firmwareVersion": string - The firmware version of the device.
"manufacturer": string - The device manufacturer.
"modelNumber": string - The name/type of the device.
"power": number - How the device is powered.
"serialNumber": string - Not used currently. Always ""
"battery": number - The battery percentage of a device. Only present if the device is battery-powered.
"switchList": array - An array of all remotes belonging to this accessory.
"name": string - Currently not supported.
"createdAt": number - Currently not supported.
"instanceId": number - Currently not supported.
"sensorList": array - An array of all sensors belonging to this accessory.
"name": string - Currently not supported.
"createdAt": number - Currently not supported.
"instanceId": number - Currently not supported.
"appType": string - Currently not supported.
"sensorType": string - Currently not supported.
"minMeasuredValue": number - Currently not supported.
"maxMeasuredValue": number - Currently not supported.
"minRangeValue": number - Currently not supported.
"maxRangeValue": number - Currently not supported.
"resetMinMaxMeasureValue": boolean - Currently not supported.
"sensorValue": number - Currently not supported.
"unit": string - Currently not supported.
"plugList": array - An array of all plugs belonging to this accessory.
"onOff": boolean - If the plug is on (true) or off (false).
"isSwitchable": boolean - Whether the plug supports on/off (always true).
"isDimmable": boolean - Whether the plug supports setting the dimmer value (always false for now).
"lightList": array - An array of all lights belonging to this accessory.
"onOff": boolean - If the lightbulb is on (true) or off (false)
"dimmer": number - The brightness in percent [0..100%].
"transitionTime": number - The duration of state changes in seconds. Default 0.5s, not supported for on/off.
"colorTemperature": number - The color temperature in percent, where 0% equals cold white and 100% equals white.
"color": string - The 6 digit hex number representing the lightbulb's color.
"colorX": number - The x component of the xy-color
"colorY": number - The y component of the xy-color
"hue": number - The color's hue [0..360°].
"saturation": number - The color's saturation [0..100%].
"blindList": array - An array of all blinds belonging to this accessory.
"position": number - The position in percent [0..100%].
v1.15.x
msg.payload.light to msg.payload.