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.

    Magic Mirror with AI

    Scheduled Pinned Locked Moved Show your Mirror
    64 Posts 14 Posters 74.5k Views 18 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.
    • F Offline
      fischi87 @akshaybahadur21
      last edited by

      @akshaybahadur21

      very nice!!! how it works with the voice? i mean i need also a mic? is there a doc, how can i build this ai with hardware and so on?

      akshaybahadur21A 1 Reply Last reply Reply Quote 0
      • akshaybahadur21A Offline
        akshaybahadur21 @fischi87
        last edited by

        @fischi87 yeah… you need to have a microphone… For detailed documentation see : https://github.com/akshaybahadur21/Smart_Mirror

        1 Reply Last reply Reply Quote 0
        • thommy86T Offline
          thommy86
          last edited by

          @akshaybahadur21 Any timeframe on when you will release the code. I am starting a new project, where I will use an old laptop. So this seems very interesting!

          akshaybahadur21A 1 Reply Last reply Reply Quote 0
          • akshaybahadur21A Offline
            akshaybahadur21 @cowboysdude
            last edited by

            @cowboysdude https://github.com/raghavpatnecha/smartmirror

            1 Reply Last reply Reply Quote 0
            • akshaybahadur21A Offline
              akshaybahadur21 @hayman
              last edited by

              @hayman https://github.com/raghavpatnecha/smartmirror

              1 Reply Last reply Reply Quote 1
              • akshaybahadur21A Offline
                akshaybahadur21 @thommy86
                last edited by

                @thommy86 https://github.com/raghavpatnecha/smartmirror

                thommy86T 1 Reply Last reply Reply Quote 0
                • akshaybahadur21A Offline
                  akshaybahadur21 @cyberphox
                  last edited by

                  @cyberphox https://github.com/raghavpatnecha/smartmirror

                  1 Reply Last reply Reply Quote 0
                  • akshaybahadur21A Offline
                    akshaybahadur21 @shep99
                    last edited by

                    @shep99 https://github.com/raghavpatnecha/smartmirror

                    1 Reply Last reply Reply Quote 0
                    • akshaybahadur21A Offline
                      akshaybahadur21 @cruunnerr
                      last edited by

                      @cruunnerr https://github.com/raghavpatnecha/smartmirror

                      1 Reply Last reply Reply Quote 0
                      • thommy86T Offline
                        thommy86 @akshaybahadur21
                        last edited by

                        @akshaybahadur21 Thanks for the update. What OS are you running MM on? Or what is the best OS to build a MM. I only used a rpi 3 and now going to use an old i7 laptop.

                        1 Reply Last reply Reply Quote 0
                        • ChrisC Offline
                          Chris
                          last edited by

                          Hello,

                          I tried to install it on a pc running windows seven pro.

                          It did not work and I must admit that I did not understand everything in the installation procedure.

                          Can anyone help me ?

                          Thank you in advance,

                          Regards,

                          akshaybahadur21A bheplerB 2 Replies Last reply Reply Quote 0
                          • akshaybahadur21A Offline
                            akshaybahadur21 @Chris
                            last edited by

                            @Chris not for windows. It requires homebrew and several other packages which are not available on windows.

                            1 Reply Last reply Reply Quote 0
                            • ChrisC Offline
                              Chris
                              last edited by

                              under which operating system is it possible to install it since a raspberry is not powerful enough?

                              A pc running a Linux operating system? if so, which one is the most suitable?

                              Regards,

                              1 Reply Last reply Reply Quote 0
                              • bheplerB Offline
                                bhepler Module Developer @Chris
                                last edited by

                                @Chris You might be able to run a virtual machine host on Windows 7 Pro and then run this mirror instance as a VM. Most likely you’ll want to run Ubuntu 16.04 desktop or possibly a version of Debian. @akshaybahadur21 will have the details as to which one.

                                At work, we use a Debian 9.1.0 installation for slimmed down testing. It doesn’t take up much memory or resources at all.

                                akshaybahadur21A 1 Reply Last reply Reply Quote 0
                                • cowboysdudeC Offline
                                  cowboysdude Module Developer
                                  last edited by yawns

                                  Error while trying to run… notice the error at the bottom which says I need version 2.11 when I update it says I already have 2.11 yet this continues to say I don’t…

                                  HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /microphone?enabled=False (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))
                                  Found face
                                  Traceback (most recent call last):
                                    File "bot.py", line 679, in 
                                      bot.start()
                                    File "bot.py", line 53, in start
                                      recognizer, audio = self.speech.listen_for_audio()
                                    File "/home/cowboysdude/Smart_Mirror/speech.py", line 33, in listen_for_audio
                                      m = sr.Microphone()
                                    File "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 79, in __init__
                                      self.pyaudio_module = self.get_pyaudio()
                                    File "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 113, in get_pyaudio
                                      raise AttributeError("PyAudio 0.2.11 or later is required (found version {})".format(pyaudio.__version__))
                                  AttributeError: PyAudio 0.2.11 or later is required (found version 0.2.8)
                                  
                                  akshaybahadur21A 1 Reply Last reply Reply Quote 0
                                  • cowboysdudeC Offline
                                    cowboysdude Module Developer
                                    last edited by

                                    Has ANYONE got this to work yet?

                                    1 Reply Last reply Reply Quote 1
                                    • akshaybahadur21A Offline
                                      akshaybahadur21 @bhepler
                                      last edited by

                                      @bhepler @Chris I used Ubuntu VM. You guys can also do the same

                                      1 Reply Last reply Reply Quote 0
                                      • akshaybahadur21A Offline
                                        akshaybahadur21 @cowboysdude
                                        last edited by

                                        @cowboysdude I believe you have another application running on 8080. Try killing that app and restarting magic mirror. I never faced the issue

                                        1 Reply Last reply Reply Quote 0
                                        • cowboysdudeC Offline
                                          cowboysdude Module Developer
                                          last edited by yawns

                                          I told you I do indeed have an apache server running on 80 so that’s not an option. I changed the bot.py file to 8091 so that shouldn’t be an issue. If it doesn’t work it’s just not going to work. I need my other server so taking it down is not an option. I have no issue running the mirror on 8090 and the server at the same time…it’s been running for months like that…

                                          HTTPConnectionPool(host='localhost', port=8090): Max retries exceeded with url: /microphone?enabled=False (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa61a0b9850>: Failed to establish a new connection: [Errno 111] Connection refused',))
                                          Traceback (most recent call last):
                                            File "bot.py", line 679, in <module>
                                              bot.start()
                                            File "bot.py", line 49, in start
                                              requests.get("http://localhost:8090/clear")
                                            File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/api.py", line 72, in get
                                              return request('get', url, params=params, **kwargs)
                                            File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/api.py", line 58, in request
                                              return session.request(method=method, url=url, **kwargs)
                                            File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/sessions.py", line 508, in request
                                              resp = self.send(prep, **send_kwargs)
                                            File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/sessions.py", line 618, in send
                                              r = adapter.send(request, **kwargs)
                                            File "/usr/local/lib/python2.7/dist-packages/requests-2.18.4-py2.7.egg/requests/adapters.py", line 508, in send
                                              raise ConnectionError(e, request=request)
                                          requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8090): Max retries exceeded with url: /clear (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa61a0b9890>: Failed to establish a new connection: [Errno 111] Connection refused',))
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • cowboysdudeC Offline
                                            cowboysdude Module Developer
                                            last edited by cowboysdude

                                            I’m pretty sure no one else has gotten this to work either… It as what I thought a month ago… a no go… I deleted it.

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • 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