Coder Social home page Coder Social logo

conversation's Introduction

conversation

在HA里使用的官方语音助手修改增强版

badge badge visit

badge badge badge badge

官方文档:https://www.home-assistant.io/integrations/conversation/

配置

  • 安装插件重启HomeAssistant后自动启用
  • 界面中出现语音助手的实体,则说明加载成功

支持指令

  • 开关设备
  • 灯光亮度
  • light名称 红|橙|黄|绿|青|蓝|紫
  • 触发 自动化|按钮|脚本|警报控制面板
  • 激活|启动|启用场景
  • 支持媒体播放器
  • 支持空调

执行脚本

  • 执行脚本(脚本名称=语音文本)
  • 自定义回复定义 customize.yaml
script.1652361988272:
  reply: '回复内容,支持模板语法{{ now() }}'
  • 正则匹配
script.1652361988272:
  reply: 'OK, 灯已经设为{{ color }}'
  intents:
    - 把灯设为{color}
    - 把灯设成{color}

微信回复

图文信息

script.1652361988272:
  reply: 将url参数删除,图文信息会不可点击
  extra_data:
    type: wx-image
    picurl: https://ha.jiluxinqing.com/img/wechat.png
    url: https://ha.jiluxinqing.com

音乐链接

script.1652361988272:
  reply: 注意,url音乐链接中不能包含&字符
  extra_data:
    type: wx-music
    url: http://music.163.com/song/media/outer/url?id=563563649.mp3

Node-Red 和 自动化

  • 监听conversation事件,命令文本参数:text

功能

  • 语音唤醒
  • 文本控制

如果这个项目对你有帮助,请我喝杯咖啡奶茶吧😘

支付宝 微信
支付宝 微信支付

关注我的微信订阅号,了解更多HomeAssistant相关知识

HomeAssistant家庭助理


在使用的过程之中,如果遇到无法解决的问题,付费咨询请加Q635147515

conversation's People

Contributors

dependabot[bot] avatar shaonianzhentan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.