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

    Posts

    Recent Best Controversial
    • RE: Login upon facial recognition

      there is probably no such complex. but a start would be https://github.com/nischi/MMM-Face-Reco-DNN

      posted in Requests
      A
      acimail01
    • RE: MMM-AssistantMk2

      does anyone have any idea how to trigger sound output with the Assitantmk2?

      posted in System
      A
      acimail01
    • RE: MMM-AssistantMk2

      Can you trigger a sound output from a recipe while the Assistantmk2 is active?
      For me sound output only works when the assistant is not active e.g. when I trigger sound output via web service (e.g. MMM-Sound or MMM-Text-To-Speech).
      My use case is:
      A recipe that listens to “mirror mirror on the wall” and then either plays an mp3 / wav or speak TTS

      posted in System
      A
      acimail01
    • RE: Mmm-calendarext one day difference between ics file and MagicMirror display

      try set locale or forceLocalTZ like:

      config: {
      		locale			: "de_DE",
      		forceLocalTZ	: true,
      
      posted in Productivity
      A
      acimail01
    • RE: need help trying to understand this error... and how to fix it.

      have the same problem.did you solve it?

      posted in Troubleshooting
      A
      acimail01
    • RE: Which controller board for display / Welches Controller Board für display

      Yes this is a real problem with the display and controller.
      Try to contact a controller seller on eBay (e.g. https://www.ebay.de/usr/csmqshop) and give them your display number. With luck, he could help you.

      posted in Hardware
      A
      acimail01
    • RE: MMM-AssistantMk2

      How can I stop a video?
      config is

      youtubeAutoplay	: true,
      pauseOnYoutube : false,
      

      But it does not help.

      posted in System
      A
      acimail01
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      works with

      		{
      			module: "MMM-RTSPStream",
      			position: "middle_center",
      			config: {
      				autoStart			: true,
      				rotateStreams		: false,
      				rotateStreamTimeout	: 30,
      				moduleWidth			: 354,
      				moduleHeight		: 240,
      				localPlayer			: 'omxplayer',
      				shutdownDelay		: 0,
      
      					stream1: {
      						name: 'Test Stream',
      						url: 'file:///home/pi/MagicMirror/modules/MMM-RTSPStream/Videos/Feuer.mp4',
      					},
      				}
      		},
      

      but no sound !

      in bash console works with: omxplayer -o alsa Feuer.mp4
      How to set hdmi sound as default ?

      posted in Utilities
      A
      acimail01
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      Is it possible to define a stream for playing a local file (e.g. .mp4 or .avi)?

      posted in Utilities
      A
      acimail01
    • RE: How to load config data from file?

      thank you but wont work also.
      Error:
      ReferenceError: $ is not defined at loadJSON

      I want to have all API keys and passwords from a common location and not scattered in the config.js, Hence the thought with a (yml) file.
      maybe this can be solved via an array variable in the config.js or similar.

      posted in Troubleshooting
      A
      acimail01
    • RE: How to load config data from file?

      Error message is:
      Uncaught ReferenceError: require is not defined at config.js:15

      posted in Troubleshooting
      A
      acimail01
    • RE: How to load config data from file?

      no, it is the kiosk mode. but I also tried the serveronly mode.

      posted in Troubleshooting
      A
      acimail01
    • RE: How to load config data from file?

      Here’s my attempt that does not work:
      this line causes the error: var myfs = require(‘fs’)
      what am I doing wrong ?

      pi@raspberrypi:~/MagicMirror $ cat my.json
      {
         "clockmodule": {
                      "showDate": true,
                      "displayType": "both"
              }
      }
      
      
      

      and config.js

      var myfs = require('fs')
      //var myconfig = JSON.parse(myfs.readFileSync('./my.json', 'utf8'))
      
      var config = {
         ....
      
      	modules: [
      		{
      			module: "clock",
      			position: "top_left",
      			//showDate: myconfig.module_clock["showDate"],
      			//displayType: myconfig.module_clock["displayType"],
      		},
      

      0_1563735026845_error.png

      posted in Troubleshooting
      A
      acimail01
    • How to load config data from file?

      Is it possible to load a config value from a file (yml, json or other)?

      modules: [
      	{
      		module: "clock",
      		position: "top_left",	// This can be any of the regions.
      		config: {
                                 displayType: #LOAD_VALUE_FROM_FILE#
      		}
      	}
      ]
      
      posted in Troubleshooting
      A
      acimail01
    • RE: Execute shell commands when AssistantMk2 starts or stops

      @Sean said in Execute shell commands when AssistantMk2 starts or stops:

      TANT_RESPONSE_END

      thank you!
      MMM-NotificationTrigger did the trick.

      {
        module: "MMM-NotificationTrigger",
        config: {
          triggers:[
            {
              trigger: "ASSISTANT_RESPONSE_END",
              fires: [{ fire:"MY_COMMAND1", exec: "sleep 1; ls -al" },],
            },
            {
              trigger: "ASSISTANT_UNDERSTOOD",
              fires: [{ fire:"MY_COMMAND2", exec: "sleep 1; ls -h" },],
            },
          ]
        }
      },
      
      posted in Troubleshooting
      A
      acimail01
    • Execute shell commands when AssistantMk2 starts or stops

      Hello,

      I have the modules MMM-Hotword and MMM-AssistantMk2 installed. And it works that far.
      Now I want to execute a shell command when the wizard starts to speak and execute another shell command when the wizard is quit.
      How should I proceed?

      posted in Troubleshooting
      A
      acimail01
    • Possible to combine MM-ProfileSwitcher and MMM-pages ?

      Hello,
      Is it possible to create several Profiles with several pages each?

      ist es möglich MMM-ProfileSwitcher and MMM-pages so zu kombinieren, dass man mehrere Profile mit mehreren Seiten hat? Oder gibts es andere Module für diese Lösung ?

      posted in Requests
      A
      acimail01
    • 1 / 1