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 @Guest
      last edited by

      @Sean I fixed this but still could not get the MMM-PageReader module to appear on the screen. Could the cause be from the MMM-PageReader modules?
      alt text

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

        @guongthongminh
        Don’t do what you can’t understand.

        I wrote in my earlier answer, payload was something like this;

        payload: "URL TO OPEN",
        

        But in your last post, you did like this;

        payload: (detected, afterRecord) => { ... }
        

        It doesn’t make sense.

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

          @Sean Sorry, I tried this but the result is still the same
          alt text

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

            @guongthongminh
            Let’s check. See the backend logs and the frontend logs.

            1. Hotword tin_tuc was caught normally? (You can check the result on backend log)
              1. If so, notification was emitted normally? (You can check it on frontend log)
                1. if so, well, that’s not my business. Maybe MMM-PageReader has some issue about using notification.
                2. If not, you probably have some error(s) on frontend to prevent working of module. Solve them first.
              2. If not, you should solve the hotword issue first. maybe your tin_tuc.pmdl was not catchable.
            G 1 Reply Last reply Reply Quote 0
            • G Offline
              guongthongminh @Guest
              last edited by

              @Sean The mirror receives and answers like this: “This feature is not yet supported on this device”. I cannot determine the cause.

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

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