蓝牙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。

 


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值