MIOT
语言
Service tree
电视#2 · television属性 6动作 4
电视
#2 · television
Properties
工作状态
#1 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1Idle2Busy
故障
#2 · fault
- 格式
- uint8
- 读写
- R / N
- 值
- 0No Faults
模式
#3 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Auto
亮度
#4 · brightness
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1 ~ 100,步长 1
输入信源
#5 · input-control
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1HDMI 12HDMI 2
频道控制
#6 · channel-control
- 格式
- uint16
- 读写
- W
- 值
- 1Channel up2Channel down
Actions
关机
#1 · turn-off
开机
#2 · turn-on
频道+
#3 · channel-up
频道-
#4 · channel-down
播放控制#3 · play-control属性 3动作 6
播放控制
#3 · play-control
Properties
播放状态
#1 · playing-state
- 格式
- uint8
- 读写
- R / N
- 值
- 1Playing
播放控制时间
#2 · seek-time
- 格式
- int16
- 读写
- 值
- -30000 ~ 30000,步长 10
播放循环模式
#3 · play-loop-mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1Single Cycle
Actions
播放控制
#1 · seek
入参
#2播放控制时间int16
播放
#2 · play
暂停
#3 · pause
结束播放
#4 · stop
上一首
#5 · previous
下一首
#6 · next
扬声器#4 · speaker属性 2
扬声器
#4 · speaker
Properties
音量
#1 · volume
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0 ~ 100,步长 1
静音
#2 · mute
- 格式
- bool
- 读写
- R / W / N
- 值
- —
消息转发#5 · message-router属性 2动作 1
消息转发
#5 · message-router
Properties
请求
#1 · request
- 格式
- string
- 读写
- 值
- —
应答
#2 · response
- 格式
- string
- 读写
- 值
- —
Actions
消息传递
#1 · post
入参
#1请求string
出参
#2应答string