MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. totofar
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    totofar

    @totofar

    0
    Reputation
    14
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    totofar Unfollow Follow

    Latest posts made by totofar

    • RE: MMM-Remote-Control to receive notification

      Hi @sdetweil
      I do use pm2 to autostart my mm.
      …and the logs I shared earlier come from pm2 logs.
      So I dont understand why calling action:“RESTART” mentions that issue with pm2 module missing…
      Can you please tell me which command is executed when we call that action ?
      Is it ?

      pm2 restart 0
      

      Thanks

      posted in Troubleshooting
      T
      totofar
    • RE: MMM-Remote-Control to receive notification

      Hi @sdetweil
      Thank you very much for your answer.
      I did change the syntax but it seems that “RESTART” notification does not work properly.
      In can use sucessfully the below actions :

      payload: {
      	action: "REBOOT"				}
      

      or

      payload: {
      	action: "SHOW",
      	module: "MMM-MyModuleName"
      }
      

      …but action: “RESTART” would not work 😞
      …by the way, the button “Restart Magic Mirror” does not work in the interface …/remote.html.

      I found this issue in the log
      [07.02.2021 11:05.21.291] [ERROR] Whoops! There was an uncaught exception…
      [07.02.2021 11:05.21.300] [ERROR] Error: Cannot find module ‘pm2’

      Any idea ?
      Thanks 🙂

      posted in Troubleshooting
      T
      totofar
    • MMM-Remote-Control to receive notification

      Hello,

      I’m trying to execute an action in MMM-Remote-Control from a notification sent by MMM-GoogleAssistant.
      I setup the following notification in GA :

        notificationExec: {
            notification: "REMOTE_ACTION",
        payload: {action: "RESTART",},
        },
      

      I seems that MMM-Remote-Control receives the notification but I face the following issue :

      at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:1096:26) {
      code: ‘MODULE_NOT_FOUND’,

      Is there any specific setup to add in Remote-Control to enable RESTART ?

      Thanks in advance for your support.

      posted in Troubleshooting
      T
      totofar
    • RE: Missing troubleshooting history for MMM-GoogleAssistant

      Hi @sdetweil,

      OK. Thank you for your answer.

      Regards,

      posted in Troubleshooting
      T
      totofar
    • RE: MMM-MplayerRadio

      Found the solution…

      FYI, for newbies like me…
      If you want to use MMM-GoogleAssistant to command MMM-MplayerRadio, just use the recipe installed by default with GA.
      To setup this function, just setup that way in config.js

      	{
      		  module: "MMM-GoogleAssistant",
      		  position: "fullscreen_above",
      		  config: {
      			recipes: [
      			  "Reboot-Restart-Shutdown.js", "MMM-MplayerRadio.js", 
      			],
      			debug: true,
      			assistantConfig: {...
      

      Then MPlayerRadio will be driven with the voice “Jarvis radio play”, “Jarvis radio next”, …

      ++

      posted in Entertainment
      T
      totofar
    • RE: MMM-MplayerRadio

      Hi,

      @bugsounet created notifications/patterns in his module MMM-GoogleAssistant to drive this module MMM-MplayerRadio.
      Did anyone manage to implement these commands in GoogleAssistant ? How does it work ?

      Thanks in advance

      posted in Entertainment
      T
      totofar
    • Missing troubleshooting history for MMM-GoogleAssistant

      Hi,
      The official topic MMM-GoogleAssistant has been closed since the exclusion of its developer from this forum. This topic was full of a precious history necessary to troubleshoot this nice module.
      https://forum.magicmirror.builders/topic/12324/official-topic-mmm-googleassistant-mmm-assistant2display

      Without questionning the reasons that led the moderators to make that decision, may I ask this post to be re-opened to allow us access the informative material ?

      Thanks in advance

      posted in Troubleshooting
      T
      totofar
    • RE: MMM-MplayerRadio - No sound

      I confirm that your workaround worked fine.
      customCommand: “/usr/bin/cvlc”,
      customCommandArgs: [“###URL###”],

      Thanks !

      posted in Bug Hunt
      T
      totofar
    • RE: MMM-MplayerRadio - No sound

      Hi,
      Thank you very much for your prompt answer.
      I had not seen this post. I’ll test this solution right away.
      Thanks

      posted in Bug Hunt
      T
      totofar
    • MMM-MplayerRadio - No sound

      Hi,
      I’ve installed MMM-MplayerRadio module. The module appears in the mirror but I cannot hear the radio.
      I did use the autoplay option to launch it at the beginning.
      The module seems to be working because :

      1. I can see the notification in the log : MMM-MplayerRadio: Received notification RADIO_PLAY.
      2. the square icon appears in the control section
        But no sound… (even if sound is working properly for other modules like GoogleAssistant)

      Any idea on the origin of the problem ? …or on where I can find a log that provides me more detailed info to troubleshoot ?

      Note : mplayer is intalled and works properly on a test file
      Thank you

      posted in Bug Hunt
      T
      totofar