Giter Club home page Giter Club logo

xiaoai_hook's Introduction

小爱拦截器

编译

执行:
env GOOS=linux GOARCH=arm GOARM=5 go build

说明

  • 使用fsnotify监控变动实时触发
  • 内置简单jsonrpc服务器,可以控制播放,获取状态
  • 采用异步模式方便编写hass自动化

使用

  • /root/xiaoai_hook -url 服务器地址 -token rpc令牌
  • token为可选参数,使用时调用jsonrpc加入相同的token
  • /root/xiaoai_hook -s stop 结束进程
  • node-red-demo.json 为node-red调用样例

xiaoai_hook's People

Contributors

scp10011 avatar

Stargazers

Bread avatar  avatar  avatar Mybrc91 avatar Ouyang Chunhui avatar Tumi avatar Wayne Wang avatar FlashSoft avatar crixuszeng avatar zhangnew avatar  avatar

Watchers

James Cloos avatar  avatar

xiaoai_hook's Issues

NodeRed Error

当添加了nodered的流程后,部署完毕测试 debug中报日志错误如下:
TypeError: item.indexOf is not a function

寻求帮助

能私下联系下你么?我有个问题,如果可以,给个qq

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.