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 alexa OnOff no function / will not be found in alexa

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    1 Posts 1 Posters 811 Views 1 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.
    • M Offline
      matze
      last edited by matze

      I need help urgently where is my mistake

      hello I try for 2 days to get this module to work unfortunately without success

      pi@spieglein:~/MagicMirror/modules/MMM-AlexaOnOff/node_modules/fauxmojs/example $ node example.js
      started..
      
      
      > sh run-start.sh
      
      Starting MagicMirror: v2.9.0
      Loading config ...
      Loading module helpers ...
      Initializing new module helper ...
      Module helper loaded: MMM-OnScreenMenu
      Initializing new module helper ...
      Module helper loaded: MMM-AlexaOnOff
      Initializing new module helper ...
      Module helper loaded: MMM-Remote-Control
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8080 ...
      You're using a full whitelist configuration to allow for all IPs
      Server started ...
      Connecting socket for: MMM-OnScreenMenu
      Connecting socket for: MMM-AlexaOnOff
      Module helper started for MMM-AlexaOnOff
      Connecting socket for: MMM-Remote-Control
      Starting node helper for: MMM-Remote-Control
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started ...
      Launching application.
      21900
      21901
      21902
      21903
      21904
      21905
      21906
      21907
      21908
      21909
      21910
      21911
      21912
      21913
      21914
      21915
      FauxMo service started. Listening on 192.168.2.110:21900-21915
      Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
      Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
      MMM-Remote-Control saved new config!
      Used backup: /home/pi/MagicMirror/config/config.js.backup1
      Use existing news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
      MMM-Remote-Control saved new config!
      Used backup: /home/pi/MagicMirror/config/config.js.backup2
      
      
      	modules: [
      		{
      	    module: 'MMM-OnScreenMenu',
      	    position: 'bottom_right',
      	    /* Valid positions: 'top_right', 'top_left', 'bottom_right', 'bottom_left' */
      	    config: {
      	        touchMode: true,
      	        menuItems: {
      					  	moduleHide1: { title: "Hide Clock", icon: "minus-square", name: "clock" },
                    moduleShow1: { title: "Show Clock", icon: "plus-square", name: "clock" },
      						  monitorOn:{ title: "Turn On Monitor",icon: "television", source: "ALL" },
                    monitorOff: { title: "Turn Off Monitor", icon: "television", source: "SERVER" },
      							monitorOff: { title: "Turn Off Monitor", icon: "television", source: "LOCAL" },
      	            restart: { title: "Restart MagicMirror", icon: "recycle", source: "ALL" },
      	            refresh: { title: "Refresh MagicMirror", icon: "refresh", source: "LOCAL" },
      	            reboot: { title: "Reboot", icon: "spinner", source: "ALL" },
      	            shutdown: { title: "Shutdown", icon: "power-off", source: "ALL" },
      	        },
      	        enableKeyboard: true,
      	    }
      	},
      		{
      		    module: 'MMM-AlexaOnOff',
      
      		    config: {
      					netProtocol: "IPv4",
      					Interface: 'wlan0',
      		      devices: [{
      							name: "Alarmmodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_1_alert" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_1_alert" }
                                     },
                                     },
                                     {
                                name: "Updatemodul",
                                on:  {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_0_updatenotification" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_0_updatenotification" }
                                     },
                                     },
                                     {
                                name: "Uhrmodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_2_clock" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_2_clock" }
                                     },
                                     },
                                     {
                                name: "Kalendermodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_3_calendar" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_3_calendar" }
                                     },
                                     },
                                     {
                                name: "Komplimentemodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_4_compliments" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_4_compliments" }
                                     },
                                     },
                                     {
                                name: "Wettermodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_6_currentweather" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_6_currentweather" }
                                     },
                                     },
                                     {
                                name: "Wettervorhersagemodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_7_weatherforecast" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_7_weatherforecast" }
                                     },
                                     },
                                     {
                                name: "Fotomodul",
                                     on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_8_MMM-ImagesPhotos" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_8_MMM-ImagesPhotos" }
                                     },
                                     },
                                     {
                                name: "Fußballmodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_9_MMM-SoccerLiveScore" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_9_MMM-SoccerLiveScore" }
                                     },
                                     },
                                     {
                                name: "Mondmodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_10_MMM-Lunartic" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_10_MMM-Lunartic" }
                                     },
                                     },
                                     {
                                name: "Netzwerkmodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_12_MMM-NetworkConnection" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_12_MMM-NetworkConnection" }
                                     },
                                     },
                                     {
                                name: "Nachrichtenmodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_13_newsfeed" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_13_newsfeed" }
                                     },
                                     },
                                     {
                                name: "Schneemodul",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHOW", module: "module_11_MMM-Snow" }
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "HIDE", module: "module_11_MMM-Snow" }
                                     },
                                     },
                                     {
                                name: "Spiegel Neustart",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "REBOOT"}
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "REBOOT"}
                                     },
                                     },
                                     {
                                name: "Spiegel Runterfahren",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHUTDOWN"}
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "SHUTDOWN"}
                                     },
                                     },
                                     {
                                name: "Monitor",
                                 on: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "MONITORON"}
                                     },
                                off: {
                                     notification: "REMOTE_ACTION",
                                     payload: { action: "MONITOROFF"}
                                     },
      		              name: "Magic Mirror",
      		              on: {
      		                notification: "ONSCREENMENU_PROCESS_ACTION",
      		                payload: { actionName:'monitorOn' }
      		              },
      		              off: {
      		                notification: "ONSCREENMENU_PROCESS_ACTION",
      		                payload: { actionName:'monitorOff' }
      		              },
      		        }]
      		    }
      		},
      
      		{
          module: 'MMM-Remote-Control'
      
      },
      
      code_text
      
      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        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