MIOT HomeMIOT Home
MIOT
#miot.tvbox.s13

miot.tvbox.s13

urn:miot-spec-v2:device:tv-box:0000A020:miot-s13:1
语言
Service tree
电视盒子
#2 · tv-box
属性 4动作 4

Properties

工作状态
#1 · status
格式
uint8
读写
R / N
1Idle
2Busy
3Delay
故障
#2 · fault
格式
uint8
读写
R / N
0No Faults
模式
#3 · mode
格式
uint8
读写
R / W / N
0Auto
频道控制
#4 · channel-control
格式
uint16
读写
W
1Channel up
2Channel down

Actions

关机
#1 · turn-off
开机
#2 · turn-on
频道+
#3 · channel-up
频道-
#4 · channel-down
扬声器
#3 · speaker
属性 2

Properties

静音
#1 · mute
格式
bool
读写
R / W / N
音量
#2 · volume
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
播放控制
#4 · play-control
属性 5动作 6事件 1

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
来源
#4 · from
格式
string
读写
使用时长
#5 · usage-time
格式
uint16
读写
R / N
0 ~ 999,步长 1

Actions

播放控制
#1 · seek
入参
#2播放控制时间int16
播放
#2 · play
暂停
#3 · pause
结束播放
#4 · stop
上一首
#5 · previous
下一首
#6 · next

Events

播放达到指定时长
#1 · play-duration
触发参数
#5使用时长uint16
消息转发
#5 · message-router
属性 2动作 1

Properties

请求
#1 · request
格式
string
读写
应答
#2 · response
格式
string
读写

Actions

消息传递
#1 · post
入参
#1请求string
出参
#2应答string
消息转发
#6 · message-router
属性 2动作 1

Properties

请求
#1 · request
格式
string
读写
应答
#2 · response
格式
string
读写

Actions

消息传递
#1 · post
入参
#1请求string
出参
#2应答string
红外电视盒子控制
#7 · ir-box-control
属性 1动作 13

Properties

频道号码
#1 · channel-number
格式
uint16
读写
1 ~ 999,步长 1

Actions

开机
#1 · turn-on
关机
#2 · turn-off
音量+
#3 · volume-up
音量-
#4 · volume-down
打开静音
#5 · mute-on
关闭静音
#6 · mute-off
切换频道号码
#7 · set-channel-number
入参
#1频道号码uint16
播放
#8 · play
暂停
#9 · pause
结束播放
#10 · stop
切换字幕显示
#11 · toggle-caption
频道-
#12 · channel-down
频道+
#13 · channel-up