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 41.8k 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.
    • E Offline
      E3V3A @sispheor
      last edited by E3V3A

      @sispheor said in Kalliope assistant + MM:

      We have added a single line command install for Kalliope.

      Is it for the MMM-kalliope?

      Fantastic! Sound like music to our ears!

      "Everything I do (here) is for free – altruism is the way!"
      MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

      1 Reply Last reply Reply Quote 0
      • S Offline
        sispheor
        last edited by sispheor

        No it’s for Kalliope core. MMM-Kalliope need to be installed via only a clone of the module as usual.

        And the kalliope neuron can be installed via the kalliope CLI. It’s in the doc of each community neuron.

        1 Reply Last reply Reply Quote 0
        • N Offline
          NoNameRo
          last edited by

          @sispheor when trying to install Kalliope on a freshly installed system, I have 2 errors

          Searching for SpeechRecognition>=3.7.1
          Reading https://pypi.python.org/simple/SpeechRecognition/
          No local packages or working download links found for SpeechRecognition>=3.7.1
          error: Could not find suitable distribution for Requirement.parse('SpeechRecognition>=3.7.1')
          
          Searching for apscheduler>=3.3.1
          Reading https://pypi.python.org/simple/apscheduler/
          Downloading https://pypi.python.org/packages/c4/16/8be21944c787ef13cd7581c62d446053d079f36aa54ef20b5b45b378944d/APScheduler-3.5.1.tar.gz#md5=18c2050f24bad3dd82e17dd4b5f182df
          Best match: APScheduler 3.5.1
          Processing APScheduler-3.5.1.tar.gz
          Writing /tmp/easy_install-NmMSMf/APScheduler-3.5.1/setup.cfg
          Running APScheduler-3.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-NmMSMf/APScheduler-3.5.1/egg-dist-tmp-px4K5B
            File "build/bdist.linux-armv7l/egg/apscheduler/executors/base_py3.py", line 12
              async def run_coroutine_job(job, jobstore_alias, run_times, logger_name):
                      ^
          SyntaxError: invalid syntax
          
          creating /usr/local/lib/python2.7/dist-packages/APScheduler-3.5.1-py2.7.egg
          Extracting APScheduler-3.5.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
            File "/usr/local/lib/python2.7/dist-packages/APScheduler-3.5.1-py2.7.egg/apscheduler/executors/base_py3.py", line 12
              async def run_coroutine_job(job, jobstore_alias, run_times, logger_name):
                      ^
          SyntaxError: invalid syntax
          

          then a little excitement, add the starter configuration to rpi_install_kalliope.sh, and let the user during the installation choose which language he wants to install

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sispheor @NoNameRo
            last edited by

            @NoNameRo said in Kalliope assistant + MM:

            SpeechRecognition

            Hi,

            I had this one time.
            Can you try to install the lib manually?

            sudo pip install SpeechRecognition
            

            Then run the install again from the kalliope folder (in /home/pi)

            sudo python setup.py
            

            It’s weird, sometime pip doesn’t find this lib.

            N 1 Reply Last reply Reply Quote 0
            • E Offline
              E3V3A
              last edited by E3V3A

              You should not have the pip installation in that script without:

              1. checking if it is already installed
              2. make sure what python version your using. pip2 or pip3?
              3. allow user to cancel that installation, if they know they already have it

              Most of the time, if you have both Py2 and Py3 installed, pip would apply to Py2 and pip3 to Py3.

              "Everything I do (here) is for free – altruism is the way!"
              MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

              S 1 Reply Last reply Reply Quote 0
              • N Offline
                NoNameRo @sispheor
                last edited by

                @sispheor SpeechRecognition was successfully installed, but sudo python setup.py has another error

                pi@MagicMirror:~/kalliope $ sudo python setup.py
                usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
                   or: setup.py --help [cmd1 cmd2 ...]
                   or: setup.py --help-commands
                   or: setup.py cmd --help
                
                error: no commands supplied
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sispheor @E3V3A
                  last edited by

                  @E3V3A
                  Actually, we consider here that the user start the installation from a fresh install raspbian.
                  So he is using Python 2 and pip2.

                  S 1 Reply Last reply Reply Quote 1
                  • S Offline
                    sispheor @NoNameRo
                    last edited by

                    @NoNameRo sorry, forgot one word

                    sudo python setup.py install
                    
                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sispheor @sispheor
                      last edited by sispheor

                      @E3V3A but yes you are right, a good script should be idempotent.
                      I’ll enhance it.

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        E3V3A
                        last edited by E3V3A

                        Does MMM-kalliope allow or have any Google Assistant or Alexa functionality?
                        If, yes, how to install it. I didn’t see anything in the neuron list…

                        Although Kalliope look very nice and surely better documented now, it will be hard to sell without these features. People wanna talk to AI, not only ask to turn your lights on or off, which you can do by your self. Perhaps a phone plugin so you can call it up and talk?

                        In addition it is a huge obstacle that you have to make plugins (or neurons or synapses or whatever you call it) for just about everything you want to talk to Kalliope about. This learning should be automated by ML, and integrated to the productivity tools you already have, including future Alexa and GA compatibility.

                        "Everything I do (here) is for free – altruism is the way!"
                        MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                        1 Reply Last reply 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