• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Kalliope assistant + MM

Scheduled Pinned Locked Moved Fun & Games
58 Posts 10 Posters 34.5k Views 12 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    marcnlx @sispheor
    last edited by Mar 17, 2018, 5:34 PM

    @sispheor said in Kalliope assistant + MM:

    @marcnlx @marcnlx you’ve set http://127.0.0.1:8080/kalliope for the neuron but the mirror up is 192.168.1.16. doesn’t it?

    Also, notification and payload are not needed in the config of the module.

    @sispheor 127.0.0.1 is the localhost IP, 192.168.1.16 is the external IP…the Magic Mirror is available on every IP in use on the RPi (listening address is set to 0.0.0.0).

    I just commented out the notification and payload and thing are now showing on the Mirror! This is really cool! :)

    Okay…now I need to figure out how to build the whole virtual assistant…on to “phase #2”.
    In your demo video I saw a basically complete brain…is there any place where I can find that one? ;)

    S 1 Reply Last reply Mar 17, 2018, 5:50 PM Reply Quote 0
    • S Offline
      sispheor @marcnlx
      last edited by Mar 17, 2018, 5:50 PM

      @marcnlx take a look to starter kits. It contains example. Also there is an example of usage of each neuron on the website.
      Have fun !

      M 1 Reply Last reply Mar 17, 2018, 5:52 PM Reply Quote 0
      • M Offline
        marcnlx @sispheor
        last edited by Mar 17, 2018, 5:52 PM

        @sispheor said in Kalliope assistant + MM:

        @marcnlx take a look to starter kits. It contains example. Also there is an example of usage of each neuron on the website.
        Have fun !

        I will! I’m going to check everything out later today, thanks!

        1 Reply Last reply Reply Quote 0
        • M Offline
          marcnlx
          last edited by Mar 18, 2018, 11:45 AM

          I tested Kalliope yesterday night and once you know how it works, it’s pretty sweet! ;)

          Unfortunately I noticed some bugs/issues which are discussed multiple times on Github, so for now I think I will wait until a later release since I need to restart Kalliope multiple times after 2-3 phrases because of pulseaudio issues which I can’t seem to fix:

          2018-03-18 12:42:27 :: kalliope-0.5.1b :: File found in /home/pi/kalliope_starter_en/trigger/kalliope-EN-12samples.pmdl
          Exception in thread Thread-2:
          Traceback (most recent call last):
            File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
              self.run()
          
            File "/usr/local/lib/python2.7/dist-packages/kalliope-0.5.1b0-py2.7.egg/kalliope/trigger/snowboy/snowboydecoder.py", line 98, in __init__
              stream_callback=audio_callback)
            File "build/bdist.linux-armv7l/egg/pyaudio.py", line 750, in open
              stream = Stream(self, *args, **kwargs)
            File "build/bdist.linux-armv7l/egg/pyaudio.py", line 441, in __init__
              self._stream = pa.open(**arguments)
          IOError: [Errno -9985] Device unavailable
          
          S 1 Reply Last reply Mar 18, 2018, 12:48 PM Reply Quote 0
          • S Offline
            sispheor @marcnlx
            last edited by Mar 18, 2018, 12:48 PM

            @marcnlx Uninstall pulse audio and work only with alsa.
            We’ve remove pulseaudio from our doc.

            1 Reply Last reply Reply Quote 0
            • S Offline
              sispheor
              last edited by May 13, 2018, 6:03 PM

              Kalliope v0.5.1 has been released with all stuff needed to integrate Magic Mirror.

              1 Reply Last reply Reply Quote 0
              • M Offline
                maxbachmann
                last edited by May 31, 2018, 10:22 PM

                @sispheor kalliope uses the Google Speech recognition?

                S S 2 Replies Last reply Jun 1, 2018, 5:41 AM Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @maxbachmann
                  last edited by Jun 1, 2018, 5:41 AM

                  @maxbachmann google is the default, but you can select others https://kalliope-project.github.io/kalliope/settings/settings/#speech-to-text-configuration

                  Please create a github issue if you need help, so I can keep track

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sispheor @maxbachmann
                    last edited by Jun 1, 2018, 8:19 AM

                    @maxbachmann Yes you can choose your STT and TTS engine. Some are cloud based and some can be self hosted.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dmwilsonkc
                      last edited by Jun 28, 2018, 1:25 PM

                      @sispheor I am interested in duplicating your work for a different AI. So I figured the best place to start is to install your module and get it working before I make changes to suit my needs with the other AI. I have installed the MMM-Kalliope module, but the curl commands do not display on my mirror. I am not sure what I am doing wrong. Here’s my entry in config.js

                      {
                          module: "MMM-kalliope",
                          position: "upper_third",
                                              config: {
                                                      max: "5",
                                                      keep_seconds: "8",
                                                      title: "Kalliope"
                                                      }
                      
                      },
                      

                      I do receive a json response indicating success, however, nothing gets displayed on the mirror.

                      Here’s the curl command:

                      curl -H "Content-Type: application/json" -X POST -d '{"notification":"KALLIOPE", "payload": "my message"}' http://localhost:8080/kalliope
                      

                      Here’s the response:

                      {"status": "success"}
                      

                      Yet nothing gets displayed. Do you have any suggestions?

                      S 1 Reply Last reply Jun 28, 2018, 2:52 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy