Kalliope assistant + MM



  • @jchenaud delete the line 86

    console.log(this.name + " received a socket notification: " + notification + " - Payload: " + payload);
    

    I need to update this part.



  • thk but i have the same problème i have check my console and i have 3 Error ! 0_1532422046242_Capture.PNG

    sorry, but I am beginning with MM and Kaliope i think i have missed somthing



  • @jchenaud Kalliope and MM are on the same host?



  • my MM are on http://localhost:8080/
    i dont now for Kalliope
    i try to find with --debug but nothing

    i try to make my .yml but i have somme error.

    
    Traceback (most recent call last):
      File "/usr/local/bin/kalliope", line 11, in 
        load_entry_point('kalliope==0.5.1', 'console_scripts', 'kalliope')()
      File "/usr/local/lib/python2.7/dist-packages/kalliope-0.5.1-py2.7.egg/kalliope/__init__.py", line 136, in main
        brain_loader = BrainLoader(file_path=brain_file)
      File "/usr/local/lib/python2.7/dist-packages/kalliope-0.5.1-py2.7.egg/kalliope/core/Models/Singleton.py", line 6, in __call__
        cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/kalliope-0.5.1-py2.7.egg/kalliope/core/ConfigurationManager/BrainLoader.py", line 33, in __init__
        sl = SettingLoader()
      File "/usr/local/lib/python2.7/dist-packages/kalliope-0.5.1-py2.7.egg/kalliope/core/Models/Singleton.py", line 6, in __call__
        cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/kalliope-0.5.1-py2.7.egg/kalliope/core/ConfigurationManager/SettingLoader.py", line 66, in __init__
        self.settings = self._get_settings()
      File "/usr/local/lib/python2.7/dist-packages/kalliope-0.5.1-py2.7.egg/kalliope/core/ConfigurationManager/SettingLoader.py", line 102, in _get_settings
        default_stt_name = self._get_default_speech_to_text(settings)
      File "/usr/local/lib/python2.7/dist-packages/kalliope-0.5.1-py2.7.egg/kalliope/core/ConfigurationManager/SettingLoader.py", line 161, in _get_default_speech_to_text
        raise SettingNotFound("%s setting not found" % e)
    kalliope.core.ConfigurationManager.SettingLoader.SettingNotFound: 'default_speech_to_text' setting not found
    


  • what im suppose to do for juste Display hello when I say hello on MM since beginning
    I am completely lost sorry
    have a nice day



  • @jchenaud support for kalliope here (FR)



  • @sispheor I just wanted to let you know that I’ve worked out how to have the text display longer based on how long the reply from Mycroft is in my fork of your module. I thought I would share the solution I came up with just in case it would be something you could use.

    First I set the keep_seconds to 0 in the config.js to stop the module from clearing out the messages. Then in my Mycroft skill, when the audio_output_end event gets triggered I send a notification to the kalliope module “REMOVE_MESSAGE”. Then added a bit of code to the kalliope module to process the notification like so:

    if (notification == "REMOVE_MESSAGE"){
                // When Mycroft signals the AUDIO_OUTPUT_END remove the message from the screen
                this.messages.splice(0, this.messages.length);
    

    I’ll see if I can do a short video to show the results.

    Cheers!



  • Apologies for necro’ing but this seems to be the “best” place to ask this.

    Is there a way to disable the TTS portion of Kalliope? I’d like to use it for its STT for my magic mirror, but I really don’t need the TTS responses (nor do I want the delay associated with it). The text responses from the MMM-Kalliope module are sufficient for communicating back with the user.