-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
求助:能否让小爱音箱收到特定语言之后,发起自定义API请求? #506
Comments
可以啊,你写个 if 然后 requests call 就行,改下 xiaogpt.py 里面代码就行,参考我这个 |
谢谢,我参考下。 你这个有点搞笑,哈哈哈,为什么不直接把开关换成小米的智能开关···· 另外,我改了xiaopgt.py的代码,是不是就要走代码运行的方式呢? 我要docker运行的话,就得自己打包镜像啥的?(这块我没搞过,会不会很麻烦) |
是的,你可以自己打包docker 啊,README 里有方式 |
麻烦再问一下,具体的代码修改在哪里····我没有找到。 |
Line 357 in e66be71
if query == "sddd": |
我目前是采用docker的方式运行的,要满足需求,是否得自己改下代码,然后用代码的方式运行?
The text was updated successfully, but these errors were encountered: