• Register
    • Login
    • Search

    Unsolved EXT-Pages recipe not working

    EXT-Pages
    4
    16
    131
    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.
    • L
      lparco Donators last edited by

      Hello, Im having a little trouble and hoping you can help. i installed windows module and configured it I loaded the recipe for voice control but when I say "go to page 1 " Jarvis just displays a google search for page 1. I tried another recipe (french) but the same results. It dosent recognize the command in the recipe.

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Hi,
        There is no official recipe for EXT-Pages

        My place in France Top committers of Github:
        committers.top badge

        1 Reply Last reply Reply Quote 0
        • Moved from General Discussion by  bugsounet bugsounet 
        • J
          JonnyAG Donators last edited by

          Hi, try this, for me it works:
          in this example, the voice command for returning to the main page is “go to main page”, and for page 2 is “go to page 2”, if you want to add more pages just add like the example

          
          var recipe = {
            transcriptionHooks: {
              "PAGE1":{
                pattern: "go to main page",
                command: "PAGE1"
              },
              "PAGE2":{
                pattern: "go to page 2",
                command: "PAGE2"
              },    
            },
            commands: {
              "PAGE1":{
                  notificationExec: {
                    notification: "EXT_PAGES-CHANGED",
                    payload: "0",
                    },
                },
              "PAGE2":{
                  notificationExec: {
                    notification: "EXT_PAGES-CHANGED",
                    payload: 1,//page 2
                    },
                },
            },
          }
          exports.recipe = recipe // Don't remove this line.
          
          

          NOTE: payload is the page, “0” is the main page, 1 is page 2, e is page 3 etc

          L 2 Replies Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by

            hi,
            why payload: "0" ?

            you can use payload: 0
            or again with no payload
            like this:

                "PAGE1":{
                    notificationExec: {
                      notification: "EXT_PAGES-CHANGED",
                      payload: 0,
                      },
                  },
            

            or

                "PAGE1":{
                    notificationExec: {
                      notification: "EXT_PAGES-CHANGED"
                      },
                  },
            

            And it will go to main page 🙂

            My place in France Top committers of Github:
            committers.top badge

            1 Reply Last reply Reply Quote 0
            • J
              JonnyAG Donators last edited by

              i tried with payload: 0 but it didn’t work. i will try only with the notification then

              1 Reply Last reply Reply Quote 0
              • L
                lparco Donators @JonnyAG last edited by

                @JonnyAG
                Thanks so much! Can I ask you what code did you use to go to the recipe and I assume that the recipe is in the GoogleAssistant/recipes folder

                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by

                  @lparco : I have just add this to wiki

                  My place in France Top committers of Github:
                  committers.top badge

                  1 Reply Last reply Reply Quote 0
                  • L
                    lparco Donators @JonnyAG last edited by

                    @JonnyAG

                    Thanks. I tried it and it works. Much appreciated

                    1 Reply Last reply Reply Quote 0
                    • V
                      venditti69500 Donators last edited by

                      Bonjour a tous et a toi champion, petite interrogation, est ce la même forme pour les hidden_pages ?
                      Pour appeler une page masquée :
                      notificationExec: {
                      notification: “EXT_PAGES-HIDDEN_SHOW”,
                      payload: admin
                      ? Ou peut être “admin” ?
                      Malgres les inscriptions des pages masquées “admin” et “screenSaver” dans ma config, la recette est trouvée mais ne change pas de page, ou alert: hidden pages undefined 🙄
                      En te souhaitant de bonne vacances 👍🏼 largement mérité 😉

                      1 Reply Last reply Reply Quote 0
                      • bugsounet
                        bugsounet Main Coder last edited by bugsounet

                        Hello, je vais vérifier des que je rentre de vacances 😉

                        My place in France Top committers of Github:
                        committers.top badge

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          venditti69500 Donators @bugsounet last edited by

                          @bugsounet c’est tout good. Bonne Vac a toi 😉

                          1 Reply Last reply Reply Quote 0
                          • bugsounet
                            bugsounet Main Coder last edited by

                            Hi, I have release v2. 0.3 with recipe sample

                            See change log in Maintenance section

                            My place in France Top committers of Github:
                            committers.top badge

                            V 3 Replies Last reply Reply Quote 0
                            • V
                              venditti69500 Donators @bugsounet last edited by

                              @bugsounet yes c’est bien ça 🙂👍🏼

                              1 Reply Last reply Reply Quote 0
                              • V
                                venditti69500 Donators @bugsounet last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • V
                                  venditti69500 Donators @bugsounet last edited by

                                  @bugsounet Mer ci de partager tout cela. Pour me reprendre est ce que link text ceci devrai toujours fonctionner?
                                  Occupe toidu principale, tes vacances ! Nous verrons ça à la rentrée 😉

                                  1 Reply Last reply Reply Quote 0
                                  • bugsounet
                                    bugsounet Main Coder last edited by

                                    Oui cela devrait fonctionner.

                                    Mais… Chaque bonne choses ont une fin… Les vacances en font parti
                                    J’ai repris le boulot hier 😉

                                    My place in France Top committers of Github:
                                    committers.top badge

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Powered by NodeBB | @bugsounet ©2023