MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Alyx
    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 6
    • Posts 69
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: How to send a notification

      @sdetweil oh… where do you think I went wrong so?

      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      @sdetweil ah my one says ‘ok’ but id assume its the same

      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      @sdetweil what do mean by a completion sound? Do you mean the confirmation of ‘ok’ after? If so then yes

      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      @sdetweil Apoligies, tested there.

      So I stopped magic mirror/ restarted the pi and it came up with device unresponsive.

      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      @sdetweil Yep that makes sense but it isnt popping up below is a quick snapshot of the dev panel

      
      MMM-MotionDetector.js:75 MMM-MotionDetector: DiffCamEngine init successful.
      module.js:195 MMM-AlexaControl is suspended.
      module.js:195 MMM-NASA is suspended.
      module.js:195 MMM-ISS-Live is suspended.
      module.js:195 MMM-MotionDetector is suspended.
      module.js:195 lifecounter is suspended.
      module.js:195 compliments is suspended.
      module.js:195 MMM-chromecast is suspended.
      MMM-NASA.js:132 Hailing NASA
      module.js:202 MMM-page-indicator is resumed.
      module.js:202 MMM-Selfieshot is resumed.
      module.js:202 MMM-Astro is resumed.
      module.js:202 MMM-MoonPhase is resumed.
      module.js:202 clock is resumed.
      eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
      eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
      eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
      eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
      eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
      eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
      MMM-AlexaControl.js:75 RECEIVE monitor NOTIFICATION=SLEEP_WAKE
      MMM-AlexaControl.js:75 RECEIVE monitor NOTIFICATION=SLEEP_HIDE
      MMM-AlexaControl.js:75 RECEIVE monitor NOTIFICATION=SLEEP_WAKE
      MMM-pages.js:97 
      

      The errors lead to this page
      400 Bad Request
      ‘json’ or ‘msgpack’ parameter is required

      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      @sdetweil Hi sam,

      Great so i can see that the notification isnt being sent via the dev console, it shows up via Alexa app but isnt communicating to the MM. Would you happen to know the cause?

       {
              module: 'MMM-AlexaControl',
              position: 'middle_center',
      	
      
      	config:{
      		
                  image: true,
      	    deviceName: "mirror",
                  pm2ProcessName: "mm",
                  vcgencmd: "hide",
      	    startPort: 11001,
      	    refresh: true,
      	    restart: true,
      	    //stop: true,
      	    reboot: true,
      	    shutdown: true,
      	    monitorToggle: true,
      	    //cecAddress: "0.0.0.0",
      	    //usb: false
      	    pages: 3,
      	    notifications:[
          {
              name: 'Next page',
              port: 11102,
              OnOff: false,
              notification: ["PAGE_INCREMENT", 'payload']
          },
           {
              name: 'Previous page',
              port: 11103,
              OnOff: false,
              notification: ["PAGE_DECREMENT", 'payload']
          },
          {
              name: 'Selfie',
              port: 11104,
              OnOff: false,
              notification: ["SELFIE_SHOOT", 'payload']
          }
      ],
              }
          },
      
      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      @sdetweil Ah! that worked thanks :) Next issue it doesnt call the module when activated lol

      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      @sdetweil I have that set up al;ready but my alexa cant discover it for some reason. If you need you can see it in my config.js file above

      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      Did it there but doesn’t seem to appear in Alexa, The other functions such as restart and monitor off/on works but I’m having trouble having this appear/ work.

      posted in Troubleshooting
      A
      Alyx
    • RE: How to send a notification

      @hango Hi Hango!

      Ok so I’ll add that first line to my MMM-SelfieShoot.js (the module that needs to be actioned by another)

      And the second will be inside the MMM-AlexaControl.js? I’ll test it now :)

      posted in Troubleshooting
      A
      Alyx
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 2 / 7