[Plugin][Stable]2018-11-07 17:53:59


#21

2 / Yes, obliged to add wait command

3/ @coorfang did you think is it normal that sessionEnded and started again?

    [14:59:44] [Hotword] was asked to toggle itself 'off' on site snipsserver
[14:59:44] [Dialogue] session with id '59b906ba-d6ce-4cd4-9747-a03931f0cfb1' was started on site snipsserver
[14:59:44] [Asr] was asked to listen on site snipsserver
[14:59:47] [Asr] captured text "allume le bureau" in 3.0s
[14:59:47] [Asr] was asked to stop listening on site snipsserver
[14:59:47] [Nlu] was asked to parse input "allume le bureau"
[14:59:47] [Nlu] detected intent rollyfx:TurnOnJeedom with probability 0.731 for input "allume le bureau"
              Slots ->
                 house_room -> bureau (confidence: 0.778)
[14:59:47] [Dialogue] New intent detected rollyfx:TurnOnJeedom with probability 0.731
              Slots ->
                 house_room -> bureau (confidence: 0.778)
[14:59:48] [Dialogue] was asked to start a session on site snipsserver
[14:59:48] [Dialogue] session with id 'c41114e7-af0b-4da7-a3c3-e84b62e6c6dd' was queued on site snipsserver
[14:59:58] [Dialogue] session with id '59b906ba-d6ce-4cd4-9747-a03931f0cfb1' was ended on site snipsserver. The session was ended because one of the component didn't respond in a timely manner
[14:59:58] [Asr] was asked to stop listening on site snipsserver
[14:59:58] [Hotword] was asked to toggle itself 'off' on site snipsserver
[14:59:58] [Dialogue] session with id 'c41114e7-af0b-4da7-a3c3-e84b62e6c6dd' was started on site snipsserver
[14:59:58] [Tts] was asked to say "Dois-je allumer l'ordinateur?"
[14:59:58] [AudioServer] was asked to play a wav of 67.8 kB with id 'a5dc62b9-0ed0-42c9-953c-c69128f4621b' on site snipsserver
[15:00:00] [AudioServer] finished playing wav with id 'a5dc62b9-0ed0-42c9-953c-c69128f4621b'
[15:00:00] [Tts] finished speaking with id '689eacce-4451-4d11-bbbd-8379cefaa9a1'
[15:00:00] [Asr] was asked to listen on site snipsserver
[15:00:02] [Asr] captured text "oui" in 1.0s
[15:00:02] [Asr] was asked to stop listening on site snipsserver
[15:00:02] [Nlu] was asked to parse input "oui"
[15:00:02] [Nlu] detected intent rollyfx:GetAskResponseJeedom with probability 1.000 for input "oui"
              Slots ->
                 answer -> Oui (confidence: 1.000)
[15:00:02] [Dialogue] New intent detected rollyfx:GetAskResponseJeedom with probability 1.000
              Slots ->
                 answer -> Oui (confidence: 1.000)
[15:00:03] [Dialogue] was ask to end session with id c41114e7-af0b-4da7-a3c3-e84b62e6c6dd by saying ''
[15:00:03] [Dialogue] session with id 'c41114e7-af0b-4da7-a3c3-e84b62e6c6dd' was ended on site snipsserver. The session ended as expected
[15:00:03] [Asr] was asked to stop listening on site snipsserver
[15:00:03] [Hotword] was asked to toggle itself 'on' on site snipsserver

[2018-11-12 14:59:48][DEBUG] : [execute] cmd: ask
[2018-11-12 14:59:48][DEBUG] : [startRequest] asked question: Dois-je allumer l’ordinateur?
[2018-11-12 14:59:48][DEBUG] : [publish] published message: {“siteId”:“snipsserver”,“init”:{“type”:“action”,“text”:“Dois-je allumer l’ordinateur?”,“canBeEnqueued”:true,“intentFilter”:[“rollyfx:GetAskResponseJeedom”]}} to topic: hermes/dialogueManager/startSession
[2018-11-12 14:59:48][DEBUG] : [resetSlotsCmd] Reset all the slots
[2018-11-12 14:59:48][DEBUG] : [resetSlotsCmd] Set => snipsMsgSiteId
[2018-11-12 14:59:58][DEBUG] : [logmq] code: 16 : Client mosq/W\Z<>^mlQBx[v1HFl? received PUBLISH (d0, q0, r0, m0, ‘hermes/dialogueManager/sessionEnded’, … (128 bytes))
[2018-11-12 14:59:58][DEBUG] : [message] Received message. Topic:hermes/dialogueManager/sessionEnded
[2018-11-12 14:59:58][DEBUG] : [message] Set snipsserver => snipsMsgSiteId
[2018-11-12 14:59:58][DEBUG] : [message] Set => snipsMsgSession
[2018-11-12 14:59:58][DEBUG] : [logmq] code: 16 : Client mosq/W\Z<>^mlQBx[v1HFl? received PUBLISH (d0, q0, r0, m0, ‘hermes/dialogueManager/sessionStarted’, … (125 bytes))
[2018-11-12 14:59:58][DEBUG] : [message] Received message. Topic:hermes/dialogueManager/sessionStarted
[2018-11-12 14:59:58][DEBUG] : [message] Set snipsserver => snipsMsgSiteId
[2018-11-12 14:59:58][DEBUG] : [message] Set c41114e7-af0b-4da7-a3c3-e84b62e6c6dd => snipsMsgSession
[2018-11-12 15:00:02][DEBUG] : [logmq] code: 16 : Client mosq/W\Z<>^mlQBx[v1HFl? received PUBLISH (d0, q0, r0, m0, ‘hermes/intent/rollyfx:GetAskResponseJeedom’, … (447 bytes))
[2018-11-12 15:00:02][DEBUG] : [message] Received message. Topic:hermes/intent/rollyfx:GetAskResponseJeedom
[2018-11-12 15:00:02][DEBUG] : [message] Set snipsserver => snipsMsgSiteId
[2018-11-12 15:00:02][DEBUG] : [message] Find a snips device which is not in the list:snipsserver
[2018-11-12 15:00:03][DEBUG] : [postSave] post saved
[2018-11-12 15:00:03][DEBUG] : [findAndDoAction] Intent:rollyfx:GetAskResponseJeedom siteId:snipsserver sessionId:c41114e7-af0b-4da7-a3c3-e84b62e6c6dd
[2018-11-12 15:00:03][DEBUG] : [extractSlotsValues] Checking slots: answer
[2018-11-12 15:00:03][DEBUG] : [extractSlotsValues] No, this does not exist in the array :answer
[2018-11-12 15:00:03][DEBUG] : [setSlotsCmd] Set slots cmd values
[2018-11-12 15:00:03][DEBUG] : [setSlotsCmd] Slots name is :answer
[2018-11-12 15:00:03][DEBUG] : [executeCallbackScenario] Intent: rollyfx:GetAskResponseJeedom
[2018-11-12 15:00:03][DEBUG] : [findAndDoAction] Cur binding name : Assign Answer
[2018-11-12 15:00:03][DEBUG] : [findAndDoAction] Binding count is : 1
[2018-11-12 15:00:03][DEBUG] : [findAndDoAction] Snips count is : 1
[2018-11-12 15:00:03][DEBUG] : [findAndDoAction] Binding has corr number of slot: Assign Answer
[2018-11-12 15:00:03][DEBUG] : [setSlotsCmd] Set slots cmd values
[2018-11-12 15:00:03][DEBUG] : [setSlotsCmd] Slots name is :answer
[2018-11-12 15:00:03][DEBUG] : [setSlotsCmd] Slots option entered, entityId is:entity_aqnvNbp9V32
[2018-11-12 15:00:03][DEBUG] : [generateFeedback] Generating feedback text
[2018-11-12 15:00:03][DEBUG] : [generateFeedback] The 0 variable cmd is not set
[2018-11-12 15:00:03][DEBUG] : [findAndDoAction] [Binding Execution] Generated text is
[2018-11-12 15:00:03][DEBUG] : [findAndDoAction] [Binding Execution] Orginal text is
[2018-11-12 15:00:03][DEBUG] : [findAndDoAction] [Binding Execution] Player is #3863#
[2018-11-12 15:00:03][DEBUG] : [playTTS] Player: #3863# Message: Title: default
[2018-11-12 15:00:03][DEBUG] : [execute] cmd: say
[2018-11-12 15:00:03][DEBUG] : [execute] siteId: snipsserver asked to say :
[2018-11-12 15:00:03][DEBUG] : [sayFeedback] Publish:
[2018-11-12 15:00:03][DEBUG] : [publish] published message: {“text”:"",“sessionId”:“c41114e7-af0b-4da7-a3c3-e84b62e6c6dd”} to topic: hermes/dialogueManager/endSession
[2018-11-12 15:00:04][DEBUG] : [resetSlotsCmd] Reset all the slots
[2018-11-12 15:00:04][DEBUG] : [resetSlotsCmd] Set => snipsMsgSiteId
[2018-11-12 15:00:04][DEBUG] : [logmq] code: 16 : Client mosq/W\Z<>^mlQBx[v1HFl? received PUBLISH (d0, q0, r0, m0, ‘hermes/dialogueManager/sessionEnded’, … (128 bytes))
[2018-11-12 15:00:04][DEBUG] : [message] Received message. Topic:hermes/dialogueManager/sessionEnded
[2018-11-12 15:00:04][DEBUG] : [message] Set snipsserver => snipsMsgSiteId
[2018-11-12 15:00:04][DEBUG] : [message] Set => snipsMsgSession


#22

Hi,

All the log looks correct. Snips response to Jeedom within 1 second.

I think the reason is that the dealy you put in the scenario, this can cause the dealy of asking and action.

Could you please try to give 10 seconds as timeout of ask command, and remove the delay block?


#23

If we put something like 5sec delay, we don’t have time to answer. TTS ask even finished (we can’t answer yet) that the scenario continue.


#24

Hi,

This delay number will only be used for Jeedom to protected itself form block. As long as the answer variable is assigned with value, this block should be broke.

So you can even put 30 seconds. But make sure it’s more than 10 or 15 seconds so that you have time to speak.


#25

But then why the long delay between the start of scénario and the tts being said ?


#26

Bonjour coorfang,

Je n’ai pas vu passer de mise à jour du plugin.
Penses-tu remettre le passage des tags dans les bindings ?
Merci d’avance.


#27

@coorfang

Bonjour coorfang,

J’ai l’impression que cela ne sera pas encore pour cette semaine.
As-tu une date approximative ou les tags seront de nouveaux opérationnels dans les bindings ?

Merci d’avance.


#28

Hi @KiboOst,

Have you found a solution for the delay ?


#29

No, didn’t had time to get into the code. Actually we rarely use ask function with snips because of this.


#30

same for me :frowning:


#31

Hi,

How to have the slot value in the callback option ? i check it but nothing in my scenario ? any idea ? I’d like to made a precise lighthandler, but for the moment i can only ligth every lamp in the room. I use for the moment the query tag with a matches but slot could be more specific


#32

In you scenario log you see all tags passed to the scenario when it start. Slots should be there. so just check tag(device_name) or what ever slot you have.


#33

Ok i wasn’t undertand how to use the checked slots, every slots have their own tag :slight_smile:


#34

@coorfang
Peux-tu remettre les tags dans les bindings, STP ?


#35

Hi Jeandhom,

Sorry for the late reply, we were quite busy on something else in the past two months. But good news is that I am gong to give another update on Jeedom in the coming two weeks. In this update, this feature will be added back. Thanks for your supporting! Happy New Year!


#36

Thanks for this good news.
Happy New Year !