語言
Service tree
扬声器#2 · speaker屬性 1
扬声器
#2 · speaker
Properties
音量
#1 · volume
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0 ~ 100,步長 1 percentage
播放控制#3 · play-control屬性 3動作 5
播放控制
#3 · play-control
Properties
播放状态
#1 · playing-state
- 格式
- uint8
- 讀寫
- R / N
- 值
- 1播放中0已停止2已暂停
播放控制时间
#2 · seek-time
- 格式
- int16
- 讀寫
- 值
- -30000 ~ 30000,步長 10 seconds
播放循环模式
#3 · play-loop-mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1Single Cycle
Actions
播放控制
#1 · seek
播放
#2 · play
暂停
#3 · pause
上一首
#5 · previous
下一首
#6 · next
麦克风#4 · microphone屬性 1
麦克风
#4 · microphone
Properties
静音
#1 · mute
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
闹钟#6 · clock屬性 4動作 1
闹钟
#6 · clock
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
工作状态
#2 · status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 1Idle2Busy
故障
#3 · fault
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0No Faults
铃声
#4 · ringtone
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 5,步長 1
Actions
停止闹钟
#1 · stop-alarm
智能音箱#7 · intelligent-speaker屬性 4動作 6事件 2
智能音箱
#7 · intelligent-speaker
Properties
文本内容
#1 · text-content
- 格式
- string
- 讀寫
- 值
- —
指令静默执行
#2 · silent-execution
- 格式
- bool
- 讀寫
- 值
- —
睡眠模式
#3 · sleep-mode
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
音频ID
#4 · audio-id
- 格式
- string
- 讀寫
- R / N
- 值
- —
Actions
唤醒
#1 · wake-up
播放电台
#2 · play-radio
播放文本
#3 · play-text
入參
#1文本内容string
执行文本指令
#4 · execute-text-directive
入參
#1文本内容string#2指令静默执行bool
播放音乐
#5 · play-music
中止TTS
#6 · stop-tts
Events
对话结束
#1 · dialogue-end
语音唤醒
#2 · wake-up-by-voice
勿扰#9 · no-disturb屬性 2
勿扰
#9 · no-disturb
Properties
勿扰
#1 · no-disturb
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
启用时间段(格式为:'00:00:00-00:00:00')
#2 · enable-time-period
- 格式
- string
- 讀寫
- R / W / N
- 值
- —
声音识别#10 · sound-recognition屬性 4事件 1
声音识别
#10 · sound-recognition
Properties
声音类型
#1 · voice-type
- 格式
- uint8
- 讀寫
- 值
- 7打响指6家用报警器1婴儿啼哭5火警4流水2猫叫3狗叫
噪音分贝
#2 · noise-decibel
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 200,步長 1 dB
分贝检测功能开关
#3 · noise-detection
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
环境音检测功能开关
#4 · sound-detection
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
Events
识别到声音
#1 · sound-recognition
觸發參數
#1声音类型uint8
虚拟服务#11 · virtual-service屬性 1動作 1事件 1
虚拟服务
#11 · virtual-service
Properties
虚拟参数
#1 · virtual-param
- 格式
- string
- 讀寫
- 值
- —
Actions
触发虚拟事件
#1 · emit-virtual-event
入參
#1虚拟参数string
Events
虚拟事件
#1 · virtual-event
觸發參數
#1虚拟参数string
闹钟#12 · clock屬性 5動作 1事件 1
闹钟
#12 · clock
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
工作状态
#2 · status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 1Idle2Busy3Delay
故障
#3 · fault
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0No Faults
铃声类型
#4 · ringtone
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 5,步長 1
标识
#5 · identity
- 格式
- string
- 讀寫
- 值
- —
Actions
停止闹钟
#1 · stop-alarm
Events
闹钟通用事件
#1 · alarm-event
觸發參數
#5标识string
打开电视#8 · tv-switch動作 1
打开电视
#8 · tv-switch
Actions
打开电视
#1 · tv-switchon
