Another config.js issue
See original GitHub issueWhen I add the awesome-alexa to the config file, it breaks the already working items I have configured. Could someone look through and let me know where I’ve made a mistake?
As mentioned if I // the alexa parts (now marked with a --> the config file works and it displays my calendar etc. however once I enable the awesome-alexa script, it breaks everything. I’ve tried both with the “” around module etc like the how too files looks and without like the rest of the scripts are written but no luck. I know I’ve made a mistake somewhere … just not sure where yet.
Thanks in advance for the help 😃
* 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$
// - another specific IPv4/6 to listen on a speci$
// - "", "0.0.0.0", "::" to listen on any interfa$
// Default, when address config is left out, is "$
port: 80,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to all$
// or add a spec$
// ["127.0.0.1",$
// or IPv4 range$
// ["127.0.0.1",$
language: "en",
timeFormat: 12,
units: "metric",
modules: [
{
module: "alert",
},
// {
// module: "mmm-systemtemperature",
// position: "top_center",
// classes: "small dimmed",
// },
// {
// module: "twitControl",
// possition: "top_center",
// config: {
// maxNumTweets: 5,
// streamType: "followings",
// api_keys: {
// consumer_key: "KEY”
// customer_secret: "SECRET”
// access_token: "TOKEN”
// access_token_secret: "SECRET”
// }
// }
// },
// {
--> "module": "MMM-awesome-alexa",
--> "position": "middle_center",
--> "config": {
--> “wakeWord": "Alexa",
--> "clientID": "ID”
--> "clientSecret": "SECRET”
--> "deviceId": "NAME",
--> "refreshToken": "REFRESH_TOKEN”
--> "lite": "false"
--> "isSpeechVisualizationEnabled": "true",
--> }
/--> },
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "Family Calendar",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "URL”
}
]
}
},
{
module: "compliments",
position: "lower_third"
},
{
module: "currentweather",
position: "top_right",
config: {
location: "Kanata",
locationID: "", //ID from http://www.openweath$
appid: "APP_ID"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "Kanata, Ontario",
locationID: "6094817", //ID from http://www.op$
appid: "APP_ID"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "CNN",
url: "http://rss.cnn.com/rss/cn$
}
],
showSourceTitle: true,
showPublishDate: true
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Two variables refers to same config.js File using require ...
Two variables refers to same config.js File using require (Reference Problem) in Node.js · Subscribe to RSS.
Read more >the creeping scourge of tooling config files in project root ...
We put config files in the project root because we put config files in the project root.
Read more >Configuration - Tailwind CSS
The content section is where you configure the paths to all of your HTML templates, JS components, and any other files that contain...
Read more >A Guide to Managing Webpack Dependencies - Toptal
A Guide to Managing Webpack Dependencies ... The Webpack module bundler processes JavaScript code and all static assets, such as stylesheets, images, and...
Read more >config - npm
Start using config in your project by running `npm i config`. There are 4479 other projects in the npm registry using config.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll have to look at that closer. It’s looking the exact same on my phone LOL. I know that my keyboard is a little off (probably a config on my Rpi but to get " I need to do a SHIFT 2 and to get an @ I need to do a shift @ I probably have the wrong country set up.
I’ll do a copy/paste from this thread to see if that works.
Thanks for looking it over, I’ll test and report back.
I have re-wrote the token helper tool to be much more user friendly:
https://awesome-alexa.js.org/#/installation?id=configuration