• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Assistantmk2 and MMM-Hotword not picking up

Scheduled Pinned Locked Moved Unsolved Troubleshooting
54 Posts 9 Posters 26.7k Views 9 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.
  • R Offline
    raedonlpa
    last edited by raedonlpa Sep 3, 2019, 12:26 PM Sep 2, 2019, 10:07 PM

    Hi, why?
    When I change the activation word, it doesn’t work for me?,
    I want to change it to another word, like alexa, jarvis, etc, and it doesn’t work for me.
    I have copied the parameters of @ejay-ibm and nothing.

    language: "es",
    timeFormat: 24,
    units: "metric",
    
    modules: [
    	{
    		module: "alert",
    	},
    	{
    		module: "updatenotification",
    		position: "top_bar"
    	},
    	{
    		module: "clock",
    		position: "top_left"
    	},
    	{
    		module: "calendar",
    		header: "Calendario",
    		position: "top_left",
    		config: {
    			calendars: [
    				{
    					symbol: "calendar-check",
    					url: "https://www.calendarlabs.com/ical-calendar/ics/70/Spain_Holidays.ics"					
    				},
    				{
    					symbol: "MyCalendar",
    					url: "https://calendar.google.com/calendar/ical/............/public/basic.ics"					
    				}
    			]
    		}
    	},
    	{
    		module: "compliments",
    		position: "lower_third"
    	},
    	{
    		module: "currentweather",
    		position: "top_right",
    		config: {
    			location: "New York",
    			locationID: "",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    			appid: "YOUR_OPENWEATHER_API_KEY"
    		}
    	},
    	{
    		module: "weatherforecast",
    		position: "top_right",
    		header: "Weather Forecast",
    		config: {
    			location: "Arrecife, ES",
    			locationID: "2521570",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    			appid: "..........................."
    		
    		}
    	},
    		{
    
        		module: 'currentweather',
        		position: 'top_right',
    		config: {
    		        location: 'Arrecife, es',
    		        locationID: '2521570', //ID from bulk.openweather.org/sample/
    		        appid:" .............................'',
    		        updateInterval: '3600000',
    		        onlyTemp: true
    
    		}
    
    	},
    
    		{
    		module: "newsfeed",
    		position: "bottom_bar",
    		config: {
    			feeds: [
    				{
    					title: "Canarias7",
    					url: "https://www.canarias7.es/rss/portada.xml"
    				}
    			],
    			showSourceTitle: true,
    			showPublishDate: true,
    			broadcastNewsFeeds: true,
    			broadcastNewsUpdates: true
    		}
    	},
    		{
    		module: "MMM-Hotword",
    		position: "top_right",
    		config: {
    			chimeOnFinish: null,
    			mic: {
    				recordProgram: "arecord",
    				device: "plughw:1"
    			},
    			models: [
    				{
    					hotwords    : "Smart_mirror",
    					file        : "smart_mirror.umdl",
    					sensitivity : "0.5",
    				},
    			],
    			commands: {
    				"smart_mirror": {
    					notificationExec: {
    						notification: "ASSISTANT_ACTIVATE",
    						payload: (detected, afterRecord) => {
    							return {profile:"default"}
    						}
    					},
    					restart:false,
    					afterRecordLimit:0
    				}
    			}
    		}
    	},
    	{
    		module: "MMM-AssistantMk2",
    		position: "top_right",
    		config: {
    			deviceLocation: {
    				coordinates: {
    					latitude: 28.969593, // -90.0 - +90.0
    					longitude: -13.556344, // -180.0 - +180.0
    				},
    			},
    			record: {
    				recordProgram : "arecord",  
    				device        : "plughw:1",
    			},
    			notifications: {
    				ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
    				ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
    			},
    			useWelcomeMessage: "brief today",
    			profiles: {
    				"default" : {
    					lang: "es-ES"
    				}
    			},
    		}
    	},
    ]
    

    };

    S 1 Reply Last reply Sep 2, 2019, 10:50 PM Reply Quote 0
    • S Away
      sdetweil @raedonlpa
      last edited by Sep 2, 2019, 10:50 PM

      @raedonlpa can u edit your post, and put three back-tics (shifted, left of 1) before the 1st line, and after the last line.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote -1
      • R Offline
        raedonlpa
        last edited by Sep 3, 2019, 12:27 PM

        @sdetweil Better this way, I’m sorry I use google traslator

        S 1 Reply Last reply Sep 3, 2019, 12:31 PM Reply Quote 0
        • S Away
          sdetweil @raedonlpa
          last edited by sdetweil Sep 3, 2019, 12:38 PM Sep 3, 2019, 12:31 PM

          @raedonlpa yes, much better… thank you … you missed one close brace }; at the end, inside the backtics

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R Offline
            raedonlpa
            last edited by Sep 3, 2019, 12:34 PM

            @sdetweil I know, don’t let me put it in the forum

            S 1 Reply Last reply Sep 3, 2019, 12:35 PM Reply Quote 0
            • S Away
              sdetweil @raedonlpa
              last edited by Sep 3, 2019, 12:35 PM

              @raedonlpa it was only on the edit of the forum post…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • R Offline
                raedonlpa
                last edited by Sep 3, 2019, 12:36 PM

                @sdetweil said in MMM-Assistantmk2 and MMM-Hotword not picking up:

                it was only on the edit of the forum post…

                Do you mean the end of everything?

                S 1 Reply Last reply Sep 3, 2019, 12:38 PM Reply Quote 0
                • S Away
                  sdetweil @raedonlpa
                  last edited by Sep 3, 2019, 12:38 PM

                  @raedonlpa

                  this

                  };

                  is hanging out after the closing backtics… in your edited post

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    raedonlpa
                    last edited by Sep 3, 2019, 12:39 PM

                    yes, I get spawn error

                    S 1 Reply Last reply Sep 3, 2019, 12:40 PM Reply Quote 0
                    • S Away
                      sdetweil @raedonlpa
                      last edited by sdetweil Sep 3, 2019, 12:42 PM Sep 3, 2019, 12:40 PM

                      @raedonlpa sorry, spawn error??

                      I was just trying to clean up the forum messages so that others with knowledge about the two modules can help you…

                      it was very hard to read the config.js info in the original posting.

                      the changes I mentioned should NOT be put into the actual config.js file.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      5 / 6
                      • First post
                        42/54
                        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