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.
    • ? Offline
      A Former User @guongthongminh
      last edited by

      @guongthongminh ??? where did you see that message?

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

        @Sean google assistant said

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

          @guongthongminh
          ??? You are working about MMM-Hotword, not MMM-AssistantMk2 right?
          If Google says something, you’ve activated MMM-AssistantMk2. It means…
          You played like this? "smart mirror, tin tuc!"? This is not the usage you are doing.
          I answered How to use hotword to control other modules until now, and your current approach is totally wrong.
          So what you want exactly? Using Google Assistant to tin tuc? (I think its not needed because you’ve already your .pmdl made)

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

            @Sean Sorry for my mistake. I want the result to be the same as the video: https://www.youtube.com/watch?v=xdLz0bdxO58

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

              @guongthongminh
              It’s better to ask author of clip how to do it.

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

                This post is deleted!
                ? 1 Reply Last reply Reply Quote 0
                • G Offline
                  guongthongminh @Guest
                  last edited by

                  @Sean OK, right now, the hotword is fine for calling the module.
                  But I still can’t get the url from newsfeed and send the PAGE_READER_LOAD notification with that url as a payload.
                  Can you help me with the rest?

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

                    @guongthongminh the newsfeed module is looking for a notification event with type
                    “ARTICLE_INFO_REQUEST”

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil oh great, but how to put it in the config file to use.

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

                        @guongthongminh

                        hotword???:                  // when I hear this hotword
                        notificationExec: {          // do this, send notification
                                                           with this code           and this payload
                                             notification:  “ARTICLE_INFO_REQUEST”, payload: null,
                        }
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil I understand this but what I need to do is call PAGE_READER_LOAD get the url from ARTICLE_INFO_REQUEST to display on MagicMirror.
                          Can this idea be implemented or not possible but I have to use other methods to get url from newfeeds?

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

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @guongthongminh
                              last edited by

                              @guongthongminh I do not know. I have never seen a request to get info and then use that info to send another request

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil My ideas have been implemented.
                                Can you help me how to instruct the hotword to return to the mirror screen after full screen display?

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

                                  @guongthongminh no, sorry, i have about 1% skill in those modules…

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  G 1 Reply Last reply Reply Quote 0
                                  • 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

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