Je vois bien que les lumières sont dans LightsSetJeedom
De toutes les manières, après avoir déployé cet assistant que ce soit avec ce binding dans LightsSetJeedom ou dans TurnOnJeedom, si je dis "allume la lumière du salon", il ne comprend pas...
J'aimerai bien comprendre comment vous y arriver ! (j'ai bien sûr activer et désactiver l'un ou l'autre pour mes essais).
1er cas dans lightsSetJeedom :
Me donne ceci dans watch :
Code : Tout sélectionner
[22:43:55] Watching on localhost:1883 (MQTT)
[22:45:47] [Hotword] detected on site satellite1, for model default
[22:45:47] [Asr] was asked to stop listening on site satellite1
[22:45:47] [Hotword] was asked to toggle itself 'off' on site satellite1
[22:45:47] [Dialogue] session with id '7bc85fb6-f0a7-4a37-94a4-a693b906c494' was started on site satellite1
[22:45:47] [AudioServer] was asked to play a wav of 41.1 kB with id 'd94e845f-7c4d-47dd-9183-314b33e2f576' on site satellite1
[22:45:47] [AudioServer] finished playing wav with id 'd94e845f-7c4d-47dd-9183-314b33e2f576'
[22:45:47] [Asr] was asked to listen on site satellite1
[22:45:50] [Asr] captured text "allume la lumière du salon" in 2.0s
[22:45:50] [Asr] was asked to stop listening on site satellite1
[22:45:50] [AudioServer] was asked to play a wav of 93.1 kB with id '6b4ce5c2-32ff-428a-848e-d8847008962a' on site satellite1
[22:45:50] [Asr] captured text "allume la lumière du salon" in 2.0s
[22:45:50] [AudioServer] was asked to play a wav of 61.1 kB with id '721f832b-6b63-45c4-9a08-9f14ac30b2f5' on site satellite1
[22:45:51] [AudioServer] finished playing wav with id '6b4ce5c2-32ff-428a-848e-d8847008962a'
[22:45:52] [AudioServer] finished playing wav with id '721f832b-6b63-45c4-9a08-9f14ac30b2f5'
[22:45:52] [Dialogue] session with id '7bc85fb6-f0a7-4a37-94a4-a693b906c494' was ended on site satellite1. The session was ended because an error happened: Event not supported: Response { waiting: AudioFinishedPayload }, with response: AsrCapture(AsrPayload { text: "allume la lumière du salon", tokens: Some([AsrTokenPayload { value: "allume", confidence: 0.94787884, range_start: 0, range_end: 6, time: AsrDecodingDurationPayload { start: 0.0, end: 1.0215635 } }, AsrTokenPayload { value: "la", confidence: 1.0, range_start: 7, range_end: 9, time: AsrDecodingDurationPayload { start: 1.0215635, end: 1.29 } }, AsrTokenPayload { value: "lumière", confidence: 1.0, range_start: 10, range_end: 17, time: AsrDecodingDurationPayload { start: 1.29, end: 1.4399999 } }, AsrTokenPayload { value: "du", confidence: 1.0, range_start: 18, range_end: 20, time: AsrDecodingDurationPayload { start: 1.4399999, end: 1.5899999 } }, AsrTokenPayload { value: "salon", confidence: 1.0, range_start: 21, range_end: 26, time: AsrDecodingDurationPayload { start: 1.5899999, end: 2.52 } }]), likelihood: 0.9893514, seconds: 2.0 })
[22:45:52] [Asr] was asked to stop listening on site satellite1
[22:45:52] [Hotword] was asked to toggle itself 'on' on site satellite1
Code : Tout sélectionner
[22:45:52] [Asr] was asked to stop listening on site satellite1
[22:45:52] [Hotword] was asked to toggle itself 'on' on site satellite1
[22:47:43] [Hotword] detected on site satellite1, for model default
[22:47:43] [Asr] was asked to stop listening on site satellite1
[22:47:43] [Hotword] was asked to toggle itself 'off' on site satellite1
[22:47:43] [Dialogue] session with id '8c1b6cb0-f84c-4e9b-8b2e-156dcfa9c70c' was started on site satellite1
[22:47:43] [AudioServer] was asked to play a wav of 41.1 kB with id 'b4ccb804-7076-4c14-a2fb-c3ccae8d23a1' on site satellite1
[22:47:44] [AudioServer] finished playing wav with id 'b4ccb804-7076-4c14-a2fb-c3ccae8d23a1'
[22:47:44] [Asr] was asked to listen on site satellite1
[22:47:46] [Asr] captured text "allume la lumière du salon" in 2.0s
[22:47:46] [Asr] was asked to stop listening on site satellite1
[22:47:46] [AudioServer] was asked to play a wav of 93.1 kB with id 'd1dea8ef-6284-499e-919f-409c92510ca7' on site satellite1
[22:47:47] [Asr] captured text "allume la lumière du salon" in 2.0s
[22:47:47] [AudioServer] was asked to play a wav of 61.1 kB with id '6af8351f-82cf-41e5-8286-323de22e8a3b' on site satellite1
[22:47:48] [AudioServer] finished playing wav with id 'd1dea8ef-6284-499e-919f-409c92510ca7'
[22:47:48] [AudioServer] finished playing wav with id '6af8351f-82cf-41e5-8286-323de22e8a3b'
[22:47:48] [Dialogue] session with id '8c1b6cb0-f84c-4e9b-8b2e-156dcfa9c70c' was ended on site satellite1. The session was ended because an error happened: Event not supported: Response { waiting: AudioFinishedPayload }, with response: AsrCapture(AsrPayload { text: "allume la lumière du salon", tokens: Some([AsrTokenPayload { value: "allume", confidence: 0.9478732, range_start: 0, range_end: 6, time: AsrDecodingDurationPayload { start: 0.0, end: 0.84156376 } }, AsrTokenPayload { value: "la", confidence: 1.0, range_start: 7, range_end: 9, time: AsrDecodingDurationPayload { start: 0.84156376, end: 1.05 } }, AsrTokenPayload { value: "lumière", confidence: 1.0, range_start: 10, range_end: 17, time: AsrDecodingDurationPayload { start: 1.05, end: 1.23 } }, AsrTokenPayload { value: "du", confidence: 1.0, range_start: 18, range_end: 20, time: AsrDecodingDurationPayload { start: 1.23, end: 1.38 } }, AsrTokenPayload { value: "salon", confidence: 1.0, range_start: 21, range_end: 26, time: AsrDecodingDurationPayload { start: 1.38, end: 2.31 } }]), likelihood: 0.9893502, seconds: 2.0 })
[22:47:48] [Asr] was asked to stop listening on site satellite1
[22:47:48] [Hotword] was asked to toggle itself 'on' on site satellite1