• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-GoogleAssistant

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 2 Posters 1.2k Views 2 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.
  • K Offline
    killerjoe34
    last edited by Jul 19, 2020, 11:06 AM

    Hi again :)

    Not really a troubleshooting, but a strange thing that happens.
    In a recipe I have :

      transcriptionHooks: {
          "AMK2_RESTART": {
          pattern: "redémarre",
          command: "AMK2_RESTART"
        },
       commands: {
          "AMK2_RESTART": {
          soundExec: {
            chime: "close",
          },
          shellExec: {
            exec: "pm2 restart MagicMirror"
          }
    

    I’d love to understand why my Xiaomi vacuum starts to clean when I ask Jarvis “redémarre” :D
    and btw my MagicMirror does not restart

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User
      last edited by Jul 19, 2020, 2:48 PM

      et dans le terminal, si vous faites pm2 status, quel serait la réponse ?

      1 Reply Last reply Reply Quote 0
      • K Offline
        killerjoe34
        last edited by Jul 19, 2020, 3:02 PM

        │ id  │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
        ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
        │ 1   │ MagicMirror    │ default     │ 2.12.0  │ fork    │ 5990     │ 40m    │ 4    │ online    │ 0%       │ 1.5mb    │ pi       │ disabled │
        │ 2   │ librespot      │ default     │ 2.3.1   │ fork    │ 5011     │ 87m    │ 2    │ online    │ 6.4%     │ 4.9mb    │ pi       │ disabled 
        
        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by Jul 19, 2020, 3:07 PM

          transcriptionHooks: {}, et commands: {}, vous les avez placé dans un recipe ou dans votre fichier de config ?

          si dans votre fichier de config… cela ne fonctionnera pas
          Il faut cree un recipe

          1 Reply Last reply Reply Quote 0
          • K Offline
            killerjoe34
            last edited by Jul 19, 2020, 3:09 PM

             id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
            ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
            │ 1  │ MagicMirror        │ fork     │ 4    │ online    │ 0%       │ 1.5mb    │
            │ 2  │ librespot          │ fork     │ 2    │ online    │ 6.5%     │ 4.9mb    ```
            
            

            oops j’étais en env, c’est plus court du coup :D

            1 Reply Last reply Reply Quote 0
            • K Offline
              killerjoe34
              last edited by Jul 19, 2020, 3:19 PM

              Non c’est dans la recette Reboot-Restart-Shutdown en fait, j’avais modifié “PM2 restart 0” en “PM2 restart MagicMirror”

              Mais je viens de remettre restart 0 et mon aspi démarre quand même :D

              1 Reply Last reply Reply Quote 0
              • K Offline
                killerjoe34
                last edited by Jul 19, 2020, 3:22 PM

                Mais si je modifie le transcriptionhook en autre chose que “redémarre”, sans modifier la commande, rien ne se passe, bizarre

                1 Reply Last reply Reply Quote 0
                • K Offline
                  killerjoe34
                  last edited by killerjoe34 Jul 19, 2020, 3:25 PM Jul 19, 2020, 3:24 PM

                  Visiblement il y a un lien avec ma GHome mini (qui ne m’entend pas de mon bureau), si je lui dis “redémarre” le robot démarre bien
                  Pourtant je n’ai pas encore réussi à enregistrer mon MM comme related device

                  K 1 Reply Last reply Jul 19, 2020, 3:33 PM Reply Quote 0
                  • K Offline
                    killerjoe34 @killerjoe34
                    last edited by Jul 19, 2020, 3:33 PM

                    Bon, c’est réglé, si je mets un transcriptionhook que ma google home connait, ça envoie la commande.

                    Je viens de tester en mettant “allume la chambre” et ça le fait, pourtant la commande reste pm2 restart 0,

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      3/9
                      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