『瀚思彼岸』» 智能家居技术论坛

标题: TTS 設置問題 [打印本页]

作者: mr-one    时间: 2017-10-21 18:03
标题: TTS 設置問題
本帖最后由 mr-one 于 2017-10-21 18:24 编辑

跟大神設置vlc @ https://bbs.hassbian.com/thread-38-1-1.html,ha中也出現vlc player了,但就是不能發聲,求大神出手幫忙

                               
登录/注册后可看大图


#Test##############################################################################################################
- alias: TTS test
  initial_state: 'on'
  trigger:
    - platform: state
      entity_id: light.gateway_light_34ce0088d905
      to: 'on'
  action:
    - service: tts.iflytek_say
      data_template:
        message: "开机成功"
        entity_id: media_player.vlc_player      
        cache: false
###################################################################################################################



作者: lidicn    时间: 2017-10-21 22:21
小米网关是不能tts的
作者: lidicn    时间: 2017-10-21 22:21
要填vlc的entityid
作者: mr-one    时间: 2017-10-21 23:17
本帖最后由 mr-one 于 2017-10-21 23:18 编辑
lidicn 发表于 2017-10-21 22:21
要填vlc的entityid

tts:
  - platform: iflytek
    language: zh
    person: 程程

media_player:
  - platform: vlc
    name: VLC player
    arguments: '--alsa-audio-device=hw:0,1'
已經填上這個,對嗎? 謝





欢迎光临 『瀚思彼岸』» 智能家居技术论坛 (https://bbs.hassbian.com/) Powered by Discuz! X3.5