mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-09 05:11:52 +00:00
* rgb(w) bulbs: fix hue/saturation conversion The attributes used to report Hue and Saturation can have a value of 0-254. We want to translate this to a percentage of 0-100%. The HA DTHs were dividing by 255 instead of the correct value of 254. Because the wrong divisor was used the result would be off by a percent about 25% of the time. The ZLL DTHs had the same bug plus they were also multipling the Hue by 360 instead of 100. * rgb(w) bulbs: set hue & saturation in a single command Previous two commands were being used to set Hue and Saturation. Now a single command is used and a transition time of 0 so the color changes must faster. * Don't rely on reporting for hue, saturation and color temperature Previously we were configuring the RGB(W) and Color Temperature bulbs to report any Hue, Saturation and Color Temperature changes. Now we manually read these attributes any time a command is executed that changes them.
OSRAM LIGHTIFY LED RGBW Bulb
Cloud Execution
Works with:
Table of contents
Capabilities
- Actuator - It represents that a device has commands.
- Color Control - It represents that the color attributes of a device can be controlled (hue, saturation, color value).
- Color Temperature - It represents color temperature capability measured in degree Kelvin.
- Polling - It represents that a device can be polled.
- Switch - can detect state (possible values: on/off)
- Switch Level - can detect current light level (0-100 in percent)
- Configuration - configure() command called when device is installed or device preferences updated
- Refresh - refresh() command for status updates
- Health Check - indicates ability to get device health notifications
Device Health
OSRAM LIGHTIFY LED RGBW Bulb with reporting interval of 5 mins.
SmartThings platform will ping the device after checkInterval seconds of inactivity in last attempt to reach the device before marking it OFFLINE
- 12min checkInterval
Troubleshooting
If the device doesn't pair when trying from the SmartThings mobile app, it is possible that the device is out of range. Pairing needs to be tried again by placing the device closer to the hub. It may also happen that you need to reset the device. Instructions related to pairing, resetting and removing the device from SmartThings can be found in the following link: