罗格朗系列设备
配置参数
类型 |
---|
legrand_light |
legrand_dimmer |
legrand_curtain |
legrand_aircon |
legrand_floorheat |
legrand_freshair |
legrand_scene |
参数 | 说明 |
---|---|
channel | 串口号,波特率9600,无校验 |
address | 虚拟模块地址,格式AA,十六进制,范围0x01-0xFF,不能重复。固定填1,即可 |
id | 设备地址,采用两字节表示(高字节在前: Byte H - Byte L),十六进制,范围为0x00-0xFF,对照关系如下表 |
- 空调的Byte H代表温控区域;Byte L代表回路编号(范围为0x01-0x09)
- 场景的Byte H代表场景模块地址;Byte L代表场景编号(范围为0x01-0x10)
配置指南
- 可视对讲屏
*设置〈〉安装设置〈〉智能家居设置
- 主设备
- 起始地址设为1
- 结束地址设为1(若提示起始地址必须小于结束地址,则设为2)
- 搜索间隔设为1000
- 授权时间设为1000
- 从厂家获取.xml配置文件,并用文本编辑器打开
- light,dimmer, curtain
- where=30, 则id=0030
- aircon, freshair, floorheat
- where=31, probe=1, 则id=3101
- scene
- where=61, number=1,则id=0061, number=1, version=1.1或1.2
注:场景的协议版本一定要配置,不配则默认为1.1。根据厂家发你的协议文件名的尾缀来判断版本。
注:导入之后,需要重启主机。
注:IC5对接,需要使用232口再转485,IC5的串口1-4不支持此设备。
配置示例
type | config |
---|---|
legrand_light | channel=4, address=1,id=0B13 |
legrand_dimmer | channel=4, address=1,id=0B12 |
legrand_curtain | channel=4, address=1,id=0070 |
legrand_aircon | channel=4, address=1,id=7401 |
legrand_floorheat | channel=4, address=1,id=7401 |
legrand_freshair | channel=4, address=1,id=7401 |
legrand_scene | channel=4, address=1,id=0090, number=1, version=1.1 |
legrand_scene | channel=4, address=1,id=0090, number=1, version=1.2 |
设备通道
light通道
通道 | 说明 |
---|---|
switch | 开关,值为on或off |
dimmer通道
通道 | 说明 |
---|---|
switch | 开关,值为on或off |
brightness | 亮度,值为0-100 |
curtain通道
通道 | 说明 |
---|---|
open | 打开,按键,不需传值 |
close | 关闭,按键,不需传值 |
stop | 停止,按键,不需传值 |
position | 位置,百分比,0-100 |
aircon通道
通道 | 说明 |
---|---|
switch | 开关,值为on或off |
mode | 模式,值为cool、heat、fan、dry、auto |
fan | 风速,值为low、mid、high、auto、off |
settemp | 设置温度 |
temperature | 当前实际温度 |
floorheat通道
通道 | 说明 |
---|---|
switch | 开关,值为on或off |
settemp | 设置温度 |
temperature | 当前实际温度 |
freshair通道
通道 | 说明 |
---|---|
switch | 开关,值为on或off |
mode | 模式,值为normal、eco、strong |
fan | 风速,值为low、mid、high、off |
pm25 | PM2.5 |
hcho | 甲醛 |
co2 | CO2 |
humidity | 湿度 |
scene通道
通道 | 说明 |
---|---|
button | 上传,按键,无需传值 |