@yawns @Mykle1 thanks for the help, just needed to understand the correct layout, now understanding all working,
thanks, Tom
@yawns @Mykle1 thanks for the help, just needed to understand the correct layout, now understanding all working,
thanks, Tom
@yawns oh great spot!
edited that and fixed it
thanks,
@mykle1 Followed your tutorial and works fine, when I copy and paste the code from other modules it doesn’t work.
For instance, adding
{
module: 'MMM-CountDown',
config: {
event: "New Millenium",
date: "3000-01-01"
}
}
as per https://github.com/boazarad/MMM-CountDown breaks it
I’ve removed the text from the top on this forum, not in the file, and blocked out appID’s or API’s or any of those.
It works fine with the default ones, but as soon as I add a new module, like MMM-LocalTransport I get the ‘Please Create a Config File’ error
I follow the installation guides and install dependencies…
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "Schedule",
position: "top_left",
config: {
colored: true,
fadePoint: 0.75,
calendars: [
{
url: 'webcal://********************************',
symbol: 'calendar'
},
{
url: "webcal://********************************",
symbol: "facebook-square",
color: "#3b5998"
},
],
}
},
{
module: 'MMM-LocalTransport',
position: 'bottom_left',
config: {
api_key: '********************************',
origin: 'Mortlake, London',
destination: ‘Kingston, London'
}
},
// {
// module: "compliments",
// position: "lower_third"
// config: {
// compliments: {
// anytime: [
// "Lookin' fresh!"
// ],
// morning: [
// "wa"
// ],
// }
// },
{
module: "currentweather",
position: "top_right",
config: {
location: "Marlborough",
locationID: "2643010", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "********************************"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "New York",
locationID: "2643010", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "********************************"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "BBC News",
url: "http://feeds.bbci.co.uk/news/rss.xml"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
Thank you for helping, much appreciated,
When I follow the installation process for any of the modules on https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules, and add the data to the config.js file, when I save, it has the error of “you need a config file”.
I’m new to this so is there something simple I’m doing wrong?
thanks,