MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. poopyurinal
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    P
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 2
    • Posts 24
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-GoogleAssistant autostart

      Sorry, can you go into a little more detail on that? How would I create that script?

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      I can run the command:

      python3 /home/pi/MagicMirror/modules/MMM-GoogleAssistant/pi/assistant.py

      as long as I first run:

      source /env/bin/activate

      It works appropriately after running those two commands. Running the top command in this post without running the bottom command results in an error.

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      Thanks for clarifying. Any idea on the process id changing with

      ps -ef | grep assistant

      ??

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      Looking for some clarifications here. I tried Sam’s suggestion and created a GoogleAssistant.service in /etc/systemd/system. I am a little confused on the command though:

      ‘/home/pi/MagicMirror/modulesMMM-GoogleAssistant/python3 assistant.py’

      The assistant.py file is located in /home/pi/MagicMirror/modules/MMM-GoogleAssistant/pi. And wouldn’t the “python3” command come first? Could someone clarify?

      Then, continuing to follow this post, he suggested running:

      ps -ef | grep assistant

      to find the process id. However, when i try to kill that process id, is says it “No such process”. If I run the same command several times in a row, I get different process ids each time. Is it trying to run via some other pathway and retrying constantly? It wouldn’t surprise me, as I’ve tried to get this working via many methods. How can I track this down?

      Thanks for your help!

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      Tried and failed with MMM-Alexa. Doesn’t mean I can’t try again!

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      I’ll have to look at it. Tried the MM-GA module after 3+ failures of Alexa modules. Just would like one of them to work!

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      Many thanks Sam! I’ll need to take a look at your suggestions tomorrow. I appreciate the quick (immediate!) help.

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      pm2 stop mm
      [PM2] Applying action stopProcessId on app [mm](ids: 0)
      [PM2] mm ✓
      ┌──────┬────┬──────┬─────────┬───┬─────┬────────┐
      │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │
      ├──────┼────┼──────┼─────────┼───┼─────┼────────┤
      │ mm │ 0 │ fork │ stopped │ 1 │ 0% │ 0 B │
      └──────┴────┴──────┴─────────┴───┴─────┴────────┘
      Use pm2 show <id|name> to get more details about an app

      Sorry, limited by new user restriction of one post every 120 seconds

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      pm2 list
      ┌──────┬────┬──────┬────────┬───┬─────┬──────────┐
      │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │
      ├──────┼────┼──────┼────────┼───┼─────┼──────────┤
      │ mm │ 0 │ fork │ online │ 1 │ 0% │ 2.5 MB │
      └──────┴────┴──────┴────────┴───┴─────┴──────────┘
      Use pm2 show <id|name> to get more details about an app

      posted in Troubleshooting
      P
      poopyurinal
    • RE: MMM-GoogleAssistant autostart

      pm2 stop MagicMirror gives me:

      [PM2][ERROR] Process MagicMirror not found
      ┌──────┬────┬──────┬────────┬───┬─────┬──────────┐
      │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │
      ├──────┼────┼──────┼────────┼───┼─────┼──────────┤
      │ mm │ 0 │ fork │ online │ 1 │ 0% │ 2.5 MB │
      └──────┴────┴──────┴────────┴───┴─────┴──────────┘
      Use pm2 show <id|name> to get more details about an app

      Any thoughts? The MagicMirror is running. If I stop it by hitting Alt and closing it via the menu bar, it automatically restarts.

      posted in Troubleshooting
      P
      poopyurinal
    • 1 / 1