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.

    MMM-Hotword,MMM-AssistanMk2 Hotword no Funktion

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    50 Posts 5 Posters 16.5k Views 5 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.
    • G Offline
      guongthongminh @sdetweil
      last edited by

      @sdetweil
      How to run a python file at the same time with MM

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

        @guongthongminh I run my PIR py script first then I load the Mirror…if that helps… so basically I have 2 terminal windows open…

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          guongthongminh @cowboysdude
          last edited by

          @cowboysdude
          If the mirror opens automatically with pm2, how can I make the python file run at the same time as it?
          Is there a way for a python file to run after the operating system boots up?

          cowboysdudeC S 2 Replies Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer @guongthongminh
            last edited by

            @guongthongminh try this ;)

            https://stackoverflow.com/questions/24518522/run-python-script-at-startup-in-ubuntu

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @guongthongminh
              last edited by

              @guongthongminh u can use pm2 to launch the python file too

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Reply Quote 1
              • G Offline
                guongthongminh @sdetweil
                last edited by

                @sdetweil
                Thanks everyone! Now I want to schedule for start up or on / off when I need it, if voice is too great.

                1 Reply Last reply Reply Quote 0
                • G Offline
                  guongthongminh
                  last edited by

                  @Sean
                  Why when I call the display “ARTICLE_TOGGLE_FULL” it works (it hears and shows the hotword on the mirror) but I call it “ARTICLE_LESS_DETAILS” to hide it (the hot word doesn’t appear on the mirror). I see it heard but didn’t execute for me (at terminal)
                  alt text

                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @guongthongminh
                    last edited by A Former User

                    @guongthongminh
                    Show me your current config of MMM-Hotword and serverlog. I’m not a
                    clairvoyance.
                    Are you still using MMM-NotificationTrigger ?

                    G 1 Reply Last reply Reply Quote 0
                    • G Offline
                      guongthongminh @Guest
                      last edited by

                      @Sean
                      I see the hotword received and done correctly but it stopped like the second picture for a long time and couldn’t receive another hot word so I couldn’t give it any more orders.alt text
                      alt text

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @guongthongminh
                        last edited by

                        @guongthongminh
                        you’ve set restart to false. So MMM-Hotword is stopped after Hien_Tin_tuc.

                        G 1 Reply Last reply Reply Quote 0
                        • G Offline
                          guongthongminh @Guest
                          last edited by

                          @Sean Sorry for my mistake, thank you very much!!!

                          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
                          • 3 / 3
                          • 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