Read the statement by Michael Teeuw here.
magic-mirror-voice
-
Thanks.
I am probably missunderstanding the instructions, as I have the feeling that things are missing.
When doing the sample app, a lot of actions had to be done at the end, through terminals.
Is something similar to this not needed to get the module up and running ?
Thanks. -
Is there a way to debug this module ?
Setting debug : true
does not seem to do anything.
On the screen is says :
Loading…
but that seems to stay there forever.Thanks.
-
@howi42 after a quick look into the module, it seems that the module doen’t make use of it’s config option debug
-
Here is an error message ( when starting as serveronly ):
Whoops! There was an uncaught exception…
{ Error: Cannot find module ‘…/build/jvm_dll_path.json’
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/MagicMirror/modules/magic-mirror-voice/node_modules/java/lib/nodeJavaBridge.js:3:21)
at Module._compile (module.js:570:32)
at Object.Module._extensions…js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/MagicMirror/modules/magic-mirror-voice/node_modules/java/index.js:2:18)
at Module._compile (module.js:570:32)
at Object.Module._extensions…js (module.js:579:10)
at Module.load (module.js:487:32) code: ‘MODULE_NOT_FOUND’ }Anything I can do ?
Thanks -
Working my way through errors …
I am able to get it to load ( in serveronly mode ) :
After some time a message says :
Register Alexa Java Client by navigating to https://localhost:5555/provision/xxxxxxxxxxxxxxxxxxxxxxx
I have to do this manually to make the loading continue.
It then throws an error message, tells me that the client is registered with a token, finishes loading and when I say mirror mirror, I can talk to Alexa
and get an answer, but :- the trigger works only once
- registering to get a token is fine, but not for each reboot/restart
- running not via serveronly will not work because of that
Here is probably something still wrong.
Any ideas ?
ThanksThanks