Git Product home page Git Product logo

Comments (11)

idootop avatar idootop commented on July 28, 2024

你这个应该跟小米音箱 Pro 是类似的型号,不需要填写 playingCommand,把这行配置注释掉就可以。
备注:playingCommand 配置项只在默认配置(不开启)有问题的时候,再尝试填写,正常情况下用不到的。

from mi-gpt.

francofan avatar francofan commented on July 28, 2024

的确是小米音箱pro,也的确注释了playingCommand,但是还是做不到连续问答。
每次小爱说完“还有其他问题吗”之后,并没有激活唤醒模式。

// 无响应一段时间后,多久自动退出唤醒模式(默认 30 秒,我自己改的3000)
exitKeepAliveAfter: 3000,
// TTS 指令,请到 https://home.miot-spec.com 查询具体指令
ttsCommand: [5, 1],
// 设备唤醒指令,请到 https://home.miot-spec.com 查询具体指令
wakeUpCommand: [5, 3],
// 是否启用流式响应,部分小爱音箱型号不支持查询播放状态,此时需要关闭流式响应
streamResponse: true,
// 查询是否在播放中指令,请到 https://home.miot-spec.com 查询具体指令
//playingCommand: [3, 1, 1],

from mi-gpt.

idootop avatar idootop commented on July 28, 2024

你需要先用你配置的语音指令(wakeUpKeywords)进入唤醒模式(类比,小爱技能),在唤醒模式下才能连续对话。

from mi-gpt.

idootop avatar idootop commented on July 28, 2024

@zhanglc wakeUpCommand 配错了,应该是 [5, 2],修改之后再试试看能不能连续对话。

from mi-gpt.

Undest2000 avatar Undest2000 commented on July 28, 2024

同样遇到这个型号的问题,无法进行连续通话

from mi-gpt.

idootop avatar idootop commented on July 28, 2024

同样遇到这个型号的问题,无法进行连续通话

@Undest2000 贴一下你的配置参数,试试看这个:

{
    ttsCommand: [5, 1],
    wakeUpCommand: [5, 2],
    streamResponse: true,
    //  playingCommand: [3, 1, 1],
}

from mi-gpt.

situZM avatar situZM commented on July 28, 2024

我也不行,配置 wakeUpCommand: [5, 2] 了

from mi-gpt.

idootop avatar idootop commented on July 28, 2024

@situZM 你是播放不出来声音,还是不能连续对话?L06A 不支持连续对话功能。

from mi-gpt.

situZM avatar situZM commented on July 28, 2024

@situZM 你是播放不出来声音,还是不能连续对话?L06A 不支持连续对话功能。

不能连续对话,然后他有时好像在自动循环放歌

from mi-gpt.

idootop avatar idootop commented on July 28, 2024

循环放歌应该是你配置的 ttsCommand 或者 wakeUpCommand 不对,打开 debug 贴下你控制台输出的设备型号,还有你配置的那几个指令参数。

from mi-gpt.

situZM avatar situZM commented on July 28, 2024

循环放歌应该是你配置的 ttsCommand 或者 wakeUpCommand 不对,打开 debug 贴下你控制台输出的设备型号,还有你配置的那几个指令参数。

2024/06/20 18:14:28 Speaker 🐛 设备信息: {
"name": "小爱音箱Pro",
"desc": "设备在线 ",
"model": "xiaomi.wifispeaker.lx06",
"rom": "1.82.5"
}

// TTS 指令,请到 https://home.miot-spec.com 查询具体指令
ttsCommand: [5, 1],
// 设备唤醒指令,请到 https://home.miot-spec.com 查询具体指令
wakeUpCommand: [5, 2],
// 是否启用流式响应,部分小爱音箱型号不支持查询播放状态,此时需要关闭流式响应
streamResponse: true,
// 查询是否在播放中指令,请到 https://home.miot-spec.com 查询具体指令
// playingCommand: [3, 1, 1], // 默认无需配置此参数,播放出现问题时再尝试开启

from mi-gpt.

Related Issues (20)

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.