<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-Assistant2Display ERROR: YouTube search not set]]></title><description><![CDATA[<p dir="auto">Hi,<br />
to start I would like to thank <a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: bugsounet">@<bdi>bugsounet</bdi></a> very much for the excellent work on MMM-GoogleAssistant and MMM-Assistant2Display.</p>
<p dir="auto">For the MMM-Assistant2Display module I have some problems: I followed the guide but I can’t understand why when I activate</p>
<pre><code>useYouTube: true,
</code></pre>
<p dir="auto">in MMM-GoogleAssistant I get this result:</p>
<p dir="auto"><img src="https://i.ibb.co/m0jKWJW/Cattura.png" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">I attach MM output:</p>
<pre><code>pi@MagicMirror:~/MagicMirror $ npm start

&gt; magicmirror@2.10.1 start /home/pi/MagicMirror
&gt; ./run-start.sh

[04:43:47.926] [LOG]    Starting MagicMirror: v2.10.1
[04:43:47.938] [LOG]    Loading config ...
[04:43:47.951] [LOG]    Loading module helpers ...
[04:43:47.955] [LOG]    No helper found for module: alert.
[04:43:48.060] [LOG]    Initializing new module helper ...
[04:43:48.061] [LOG]    Module helper loaded: updatenotification
[04:43:48.062] [LOG]    No helper found for module: clock.
[04:43:48.709] [LOG]    Initializing new module helper ...
[04:43:48.711] [LOG]    Module helper loaded: calendar
[04:43:48.712] [LOG]    No helper found for module: compliments.
[04:43:48.713] [LOG]    No helper found for module: currentweather.
[04:43:48.714] [LOG]    No helper found for module: weatherforecast.
[04:43:53.313] [LOG]    Initializing new module helper ...
[04:43:53.315] [LOG]    Module helper loaded: MMM-GoogleAssistant
[04:43:55.358] [LOG]    Initializing new module helper ...
[04:43:55.359] [LOG]    Module helper loaded: MMM-Assistant2Display
[04:43:55.402] [LOG]    Initializing new module helper ...
[04:43:55.403] [LOG]    Module helper loaded: newsfeed
[04:43:55.404] [LOG]    All module helpers loaded.
[04:43:55.405] [LOG]    Starting server on port 8080 ... 
[04:43:55.431] [LOG]    Server started ...
[04:43:55.434] [LOG]    Connecting socket for: updatenotification
[04:43:55.437] [LOG]    Connecting socket for: calendar
[04:43:55.439] [LOG]    Starting node helper for: calendar
[04:43:55.442] [LOG]    Connecting socket for: MMM-GoogleAssistant
[04:43:55.446] [LOG]    Connecting socket for: MMM-Assistant2Display
[04:43:55.449] [LOG]    Connecting socket for: newsfeed
[04:43:55.453] [LOG]    Starting module: newsfeed
[04:43:55.456] [LOG]    Sockets connected &amp; modules started ...
[04:43:55.777] [LOG]    Launching application.
[04:43:59.127] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
[04:43:59.218] [LOG]    Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
[04:43:59.483] [LOG]    [ASSISTANT] MMM-GoogleAssistant Version: 2.4.15
[04:43:59.488] [LOG]    [ASSISTANT] Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/tokenYT.json'
[04:43:59.489] [LOG]    [ASSISTANT][ERROR] YouTube Search not Set !
[04:43:59.494] [LOG]    [A2D] MMM-Assistant2Display Version: 2.3.20
[04:43:59.499] [LOG]    [NPM] Initialized v0.9.9
[04:43:59.808] [LOG]    [A2D] Assistant2Display is initialized.
[04:44:00.043] [LOG]    Whoops! There was an uncaught exception...
[04:44:00.045] [ERROR]  TypeError: Cannot read property 'play' of undefined
    at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_helper.js:1:1251)
    at Socket.&lt;anonymous&gt; (/home/pi/MagicMirror/js/node_helper.js:113:11)
    at Socket.emit (events.js:200:13)
    at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
    at processTicksAndRejections (internal/process/task_queues.js:82:9)
[04:44:00.062] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[04:44:00.067] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

</code></pre>
<p dir="auto">…and my config.js:</p>
<pre><code>/* Magic Mirror Config Sample
 *
 * By Michael Teeuw http://michaelteeuw.nl
 * MIT Licensed.
 *
 * For more information how you can configurate this file
 * See https://github.com/MichMich/MagicMirror#configuration
 *
 */

var config = {
	address: "localhost", // Address to listen on, can be:
	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
	                      // - another specific IPv4/6 to listen on a specific interface
	                      // - "", "0.0.0.0", "::" to listen on any interface
	                      // Default, when address config is left out, is "localhost"
	electronOptions: {
    webPreferences: {
      webviewTag: true
    }
    },
	port: 8080,
	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
	                                                       // or add a specific IPv4 of 192.168.1.5 :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
	                                                       // or IPv4 range of 192.168.3.0 --&gt; 192.168.3.15 use CIDR format :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],

	language: "it",
	timeFormat: 24,
	units: "metric",
	// serverOnly:  true/false/"local" ,
			     // local for armv6l processors, default 
			     //   starts serveronly and then starts chrome browser
			     // false, default for all  NON-armv6l devices
			     // true, force serveronly mode, because you want to.. no UI on this device
	
	modules: [
		{
			module: "alert",
		},
		{
			module: "updatenotification",
			position: "top_bar"
		},
		{
			module: "clock",
			position: "top_left"
		},
		{
			module: "calendar",
			header: "US Holidays",
			position: "top_left",
			config: {
				calendars: [
					{
						symbol: "calendar-check",
						url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.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: "New York",
				locationID: "5128581",  //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: "MMM-GoogleAssistant",
  position: "fullscreen_above",
  config: {
    assistantConfig: {
		lang: "it-IT",
		latitude: 45.0727229,
		longitude: 7.556571,
    },
    responseConfig: {
      useScreenOutput: true,
      screenOutputCSS: "screen_output.css",
      screenOutputTimer: 5000,
      screenRotate: false,
      activateDelay: 250,
      useAudioOutput: true,
      useChime: true,
      newChime: false,
      useNative: true,
      //playProgram: "mpg321"
    },
    A2DServer: {
  useA2D:true,
  stopCommand: "stop",
  useYouTube: true,
  youtubeCommand: "youtube"
},
    micConfig: {
  recorder: "arecord",
  device: "plughw:3"
},
}
},

{
  module: "MMM-Assistant2Display",
  position: "top_left",
  config: {
    debug:false,
    useYoutube: true,
  links: {
      useLinks: false,
      displayDelay: 60 * 1000,
      scrollStep: 25,
      scrollInterval: 1000,
      scrollStart: 5000,
      scrollActivate: false,
      verbose: false
    },
}
},
		
		{
			module: "newsfeed",
			position: "bottom_bar",
			config: {
				feeds: [
					{
						title: "New York Times",
						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
					}
				],
				showSourceTitle: true,
				showPublishDate: true,
				broadcastNewsFeeds: true,
				broadcastNewsUpdates: true
			}
		},
	]

};

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}

</code></pre>
<p dir="auto">What am I doing wrong?<br />
Can you help me?</p>
<p dir="auto">Thanks and happy new year!</p>
]]></description><link>https://forum.magicmirror.builders/topic/14341/mmm-assistant2display-error-youtube-search-not-set</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 08:26:31 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/14341.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Jan 2021 04:01:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Assistant2Display ERROR: YouTube search not set on Fri, 01 Jan 2021 23:03:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: Bugsounet">@<bdi>Bugsounet</bdi></a> It is not always easy to find the answer to your problems in the midst of 1000 explanations … it takes patience!<br />
Thanks again <a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: Bugsounet">@<bdi>Bugsounet</bdi></a>  for your work!</p>
]]></description><link>https://forum.magicmirror.builders/post/86559</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/86559</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Fri, 01 Jan 2021 23:03:29 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Assistant2Display ERROR: YouTube search not set on Fri, 01 Jan 2021 15:05:22 GMT]]></title><description><![CDATA[<p dir="auto">that’s why i don’t respond … 99% of response if on wiki :D</p>
]]></description><link>https://forum.magicmirror.builders/post/86507</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/86507</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 01 Jan 2021 15:05:22 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Assistant2Display ERROR: YouTube search not set on Fri, 01 Jan 2021 14:49:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi there!<br />
I found my answers at this link, now everything works:</p>
<p dir="auto"><a href="https://github.com/bugsounet/MMM-Assistant2Display/wiki/YouTube#errors" target="_blank" rel="noopener noreferrer nofollow ugc">YouTube module</a></p>
]]></description><link>https://forum.magicmirror.builders/post/86502</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/86502</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Fri, 01 Jan 2021 14:49:02 GMT</pubDate></item></channel></rss>