藍牙mesh models ---- Lighting

Lighting

介紹

控制一盞燈的最簡單的方式是打開或關閉它,使用the Generic OnOff state;

較之高級一點的是,控制燈的亮度,使用the Light Lightness Actual state;

如果是可控制其色溫(Colour Temperature)的燈,使用the Light CTL state;

比如 Incandescent light (白熾燈)色溫爲2700K到3000K,fluorescent light(熒光燈)的色溫爲5000K

如果是可變顏色的燈,可以使用三種狀態分別去控制它的三維(Hue 色相,Saturation 飽和度,Lightness 亮度,即HSL):the Light HSL Hue state、the Light HSL Saturation、the Light Lightness Actual state。

關於色溫的介紹:https://baike.baidu.com/item/色溫

關於色相、飽和度、亮度的介紹:https://www.zhihu.com/question/23173178/answer/47440894


The HSL model [4] is considered to be the default model for controlling color light in a mesh network.
The HSL color space can be converted to other color spaces. For example, the following code may be used when converting HSL to RGB
In a mesh network, the color light control model for professional applications is the xyL model。xyL的含義詳見藍牙mesh spec。

 


 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章