Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Massage the timining between Sphinx and Alexa.
- Loading branch information
Showing
17 changed files
with
512 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,38 @@ | ||
{ | ||
alexa: { | ||
productId: 'my_device', | ||
dns: '123456' | ||
}, | ||
alexaCompanion: { | ||
port: 5555, // Magic Mirror uses a few default ports. Make sure not to conflict with there. | ||
clientId: '', | ||
clientSecret: '', | ||
redirectUrl: 'https://localhost:5555/authresponse', | ||
lwaRedirectHost: 'amazon.com', | ||
lwaApiHost: 'api.amazon.com', | ||
validateCertChain: true, | ||
sslKey: '/home/pi/Desktop/alexa-avs-raspberry-pi-master/samples/javaclient/certs/server/node.key', | ||
sslCert: '/home/pi/Desktop/alexa-avs-raspberry-pi-master/samples/javaclient/certs/server/node.crt', | ||
sslCaCert: '/home/pi/Desktop/alexa-avs-raspberry-pi-master/samples/javaclient/certs/ca/ca.crt' | ||
}, | ||
alexaClient: { | ||
alpnVersion: '8.1.6.v20151105', // Tied to Java version, available https://www.eclipse.org/jetty/documentation/9.3.x/alpn-chapter.html#alpn-versions | ||
vlcPath: '' | ||
var magicMirrorVoiceConfig = { | ||
module: 'magic-mirror-voice', | ||
header: 'Magic Mirror Voice', | ||
position: 'top_right', | ||
config: { | ||
debug: true, // Optional | ||
alexa: { | ||
productId: 'productId', | ||
dsn: 'dsn' | ||
}, | ||
ssl: { | ||
sslCaCert: './magic-mirror-voice/alexa-certificate-generator/certs/ca/ca.crt', | ||
sslKey: './magic-mirror-voice/alexa-certificate-generator/certs/server/node.key', | ||
sslCert: './magic-mirror-voice/alexa-certificate-generator/certs/server/node.crt', | ||
sslClientKeyStore: './magic-mirror-voice/alexa-certificate-generator/certs/client/client.pkcs12', | ||
sslClientKeyStorePassphrase: '' | ||
}, | ||
companion: { | ||
port: 5555, | ||
serviceUrl: 'https://localhost:5555', | ||
redirectUrl: 'https://localhost:5555/authresponse', | ||
clientId: 'clientId', | ||
clientSecret: 'clientId' | ||
}, | ||
client: { | ||
alpnVersion: '8.1.6.v20151105', | ||
vlcPath: '/Applications/VLC.app/Contents/MacOS/lib', | ||
vlcPluginPath: '/Applications/VLC.app/Contents/MacOS/plugins' | ||
}, | ||
sphinx: { | ||
commands: { | ||
"mirror mirror": "alexa" | ||
}, | ||
dictionary: './commands.dic', // Optional | ||
model: './commands.lm' // Optional | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.