it works now. I changed that in the config under “record”
Old:
device : null // recording device (e.g.: "plughw:1")
New:
device : "plughw:1" // recording device (e.g.: "plughw:1")
it works now. I changed that in the config under “record”
Old:
device : null // recording device (e.g.: "plughw:1")
New:
device : "plughw:1" // recording device (e.g.: "plughw:1")
you are right sean. after I stopped Magic Mirror and restarted the error message does not come anymore. I have a new one for that now ;-).
look here:
pi@raspberrypi3:~/MagicMirror $ npm start
> magicmirror@2.5.0 start /home/pi/MagicMirror
> sh run-start.sh
Starting MagicMirror: v2.5.0
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: MMM-AssistantMk2
Initializing new module helper ...
Module helper loaded: MMM-Hotword
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: MMM-DWD-WarnWeather
Initializing new module helper ...
Module helper loaded: MMM-Admin-Interface
Initializing new module helper ...
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 ...
Server started ...
Connecting socket for: MMM-AssistantMk2
MMM-AssistantMk2 started
Connecting socket for: MMM-Hotword
MMM-Hotword started
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-DWD-WarnWeather
MMM-DWD-WarnWeather helper started...
Connecting socket for: MMM-Admin-Interface
Starting node helper for: MMM-Admin-Interface
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started ...
Launching application.
[HOTWORD] begins listening.
Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/sf9vk8is4t40pufpociepqmlt8%40group.calendar.google.com/public/basic.ics - Interval: 300000
Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
assistant ready
Conversation Error: { Error: 14 UNAVAILABLE: Service unavailable.
at Object.exports.createStatusError (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/common.js:87:15)
at ClientDuplexStream._emitStatusIfDone (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client.js:235:26)
at ClientDuplexStream._receiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client.js:213:8)
at Object.onReceiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1290:15)
at InterceptingListener._callNext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:564:42)
at InterceptingListener.onReceiveStatus (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:614:8)
at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1110:18
code: 14,
metadata: Metadata { _internal_repr: {} },
details: 'Service unavailable.' }
I use a USB Microphone. Something does not seem to simulate that. I used the standart config
Greeting Seppel
Hello,
I have installed the above mentioned module and it runs so far on my Magic Mirror. Only when I click the button from the module is a short “Pling” and nothing else happens when I speak into the microphone. Here is the log:
pi@raspberrypi3:~/MagicMirror $ npm start
> magicmirror@2.5.0 start /home/pi/MagicMirror
> sh run-start.sh
Starting MagicMirror: v2.5.0
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: MMM-AssistantMk2
Initializing new module helper ...
Module helper loaded: MMM-Hotword
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: MMM-DWD-WarnWeather
Initializing new module helper ...
Module helper loaded: MMM-Admin-Interface
Initializing new module helper ...
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 ...
Server started ...
Connecting socket for: MMM-AssistantMk2
MMM-AssistantMk2 started
Connecting socket for: MMM-Hotword
MMM-Hotword started
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-DWD-WarnWeather
MMM-DWD-WarnWeather helper started...
Connecting socket for: MMM-Admin-Interface
Starting node helper for: MMM-Admin-Interface
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started ...
Whoops! There was an uncaught exception...
{ Error: listen EADDRINUSE 127.0.0.1:8080
at Object._errnoException (util.js:1024:11)
at _exceptionWithHostPort (util.js:1046:20)
at Server.setupListenHandle [as _listen2] (net.js:1351:14)
at listenInCluster (net.js:1392:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1501:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '127.0.0.1',
port: 8080 }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.
someone an idea what it could be
Grettings Seppel
now the magic mirror starts normally. Many thanks for the help
I’ll try that out. Thanks for the quick help so far
pi@raspberrypi3:~/MagicMirror $ npm start dev
> magicmirror@2.5.0 start /home/pi/MagicMirror
> sh run-start.sh "dev"
Starting MagicMirror: v2.5.0
Loading config ...
Loading module helpers ...
No helper found for module: alert.
WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/build/Release/binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 59. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
Loading module helpers ...
No helper found for module: alert.
App threw an error during load
Error: The module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/build/Release/binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 59. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)
at Object.Module._extensions..node (module.js:671:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at bindings (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/bindings/bindings.js:81:44)
at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/index.js:9:36)
Whoops! There was an uncaught exception...
Error: The module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/build/Release/binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 59. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)
at Object.Module._extensions..node (module.js:671:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at bindings (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/bindings/bindings.js:81:44)
at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/speaker/index.js:9:36)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.
her is my log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start', 'dev' ]
2 info using npm@6.4.1
3 info using node@v9.11.2
4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
5 verbose stack Error: missing script: start
5 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:155:19)
5 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:63:5
5 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:115:5
5 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:418:5
5 verbose stack at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:373:45)
5 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:416:3)
5 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5)
5 verbose stack at ReadFileContext.<anonymous> (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:332:20)
5 verbose stack at ReadFileContext.callback (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)
5 verbose stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:434:13)
6 verbose cwd /home/pi
7 verbose Linux 4.14.71-v7+
8 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" "dev"
9 verbose node v9.11.2
10 verbose npm v6.4.1
11 error missing script: start
12 verbose exit [ 1, true ]
Hello, I would like to use the google assistant on my Magic Mirror. I installed the module, logged in to googel and updated the config file.
{
module: "MMM-AssistantMk2",
position: "top_left",
config: {}
},
if I restart now the magic mirror comes simply only a black screen without error message. If the code is removed from the config then the magic mirror works normally again.
I have the module: MMM-Hotword not installed can it be due? Do I have to install the module at all? I would be enough if I could activate the mirror with “Hello Google”.
If someone could help me with my problem I would be very happy.
Greeting Volker