what really blows my mind is that the weather will work then the only thing i do is change the name from New York to chicago then it literally shits the bed. I read the tutorials and still can’t get the weather or trello to work
I also found conflicting things on trello where one says for the list you need the ID and the other says you need the url then add .json to the end. Neither of which work
Read the statement by Michael Teeuw here.
Posts
-
RE: Weather
-
RE: Weather
I’ve read them a few times. My understanding of them is pretty limited.
Could this be the reason? Although it says no helper module for clock but that still works.
Starting MagicMirror: v2.1.2
Loading config …
Loading module helpers …
No helper found for module: alert.
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: MMM-Trello.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 …
Server started …
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started …
Launching application.
Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 -
RE: Weather
Thanks.
One step closer!
Weather doesn’t load and neither does trello. So how would I start to figure out why they don’t show up? All the text looks corrrect -
RE: Weather
/* 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 = {
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],language: "en", timeFormat: 12, units: "metric", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" } ] } }, { module: "MMM-Trello", position: "lower_third" config: { api_key: "**************", token: "https://trello.com/1/authorize?expiration=never&scope=read&response_type=token&name=Server%20Token&key=**********", list: "************" }, { module: "currentweather", position: "top_right", config: { location: "Chicago", locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Chicago", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Chicago", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ]};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;} -
RE: Weather
I don’t want the compliments so i replaced the compliments text with the trello text. Every time I add the trello it says it’s not a valid file
So here is what I did. I started from scratch with the sample file and it works or at least it worked the first time. Seems nomatter what changes the weather doesn’t display at all. I also have a nightmare of a time exiting the magic mirror app. I’ll do a control f4 and it closes and reopens right away. Or i’ll go to terminal and do a controlx then alt F4 to close the magic mirror and it freezes EVERY time. i have to reboot this pi every time i want to change something, it’s incredibility slow
For the news. I’ve tried changing the URL to a google news, abc7, or anything else I find and it just says loading. i even tried changing one little thing at at time and it still doesn’t work. i’ll post the code in a min. the pi is still loading the browser.
-
RE: Weather
Thanks. I got it to work as default and started to changes things one by one like the weather and news
But I put the trello app over the compliments module and it says invalid file. i put the compliments back in and now it’s all just a big black blank screen. i’m pretty confused here -
RE: Weather
i think my sample file is jacked up. do we have another one on here i can download or copy/paste the code?
-
RE: Weather
@cowboysdude said in Weather:
go to line 51 you have it like this
}],
SHOULD BE
},]
Check the example here:
https://github.com/MichMich/MagicMirror/tree/master/modules/default/newsfeed
still not working :(
-
RE: Weather
Which comma?
I deleted the second newsfeed so now it’s error on line 51 but I don’t see a comma.var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 12, units: "imperial", modules: [{ module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [{ symbol: "calendar-check-o ", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" }] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [{ title: "Chicago", url: "feeds.foxnews.com/foxnews/latest" }], } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [{ title: "Chicago", url: "feeds.foxnews.com/foxnews/latest" }], showSourceTitle: true, showPublishDate: true } }, ] }; -
RE: Weather
Thanks but I still have an error and it’s not loading. Can you have a look at 61
var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 12, units: "imperial", modules: [{ module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [{ symbol: "calendar-check-o ", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" }] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [{ title: "Chicago", url: "feeds.foxnews.com/foxnews/latest" }], }, }, { module: "weatherforecast", position: "bottom_left", header: "Weather Forecast", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [{ title: "Chicago", url: "feeds.foxnews.com/foxnews/latest" }], showSourceTitle: true, showPublishDate: true } }, ] }; -
RE: Weather
*/ var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 12, units: "imperial", modules: [ { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" } ] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Chicago", url: "feeds.foxnews.com/foxnews/latest" } ], config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" }, }, { module: "weatherforecast", position: "bottom_left", header: "Weather Forecast", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Chicago", url: "feeds.foxnews.com/foxnews/latest" } ], showSourceTitle: true, showPublishDate: true } }, ] },I still need to add the MMM-trello but for now JSlint.com is giving me an error and I can’t figure it out.
So for right now it doesn’t even load -
Config.js doesn't stay saved.
I’m editing the time format and news etc etc.
It seems that that it will save but if I close magic mirror and reopen it or reboot it then it will default back to the original settings.
How do I make this a permanent solution? -
RE: Newbie . Pi + Mirror thus far. Some basic questions
Ha I’m having trouble about installing the stuff I doubt I could write my own module.
Thanks for the help
One thing I haven’t figured out is how do you set MM to open by itself? I thought it did on the first reboot or two but it doesn’t anymore and I also get that SSH password needs to be changed error. How do I resolve these issues?
I found the trello module but it seems over my head. -
Newbie . Pi + Mirror thus far. Some basic questions
Hello everyone
I’m starting my pi mirror setup and the tutorial was amazing, but I have a few questions.
My time zone was set to central so the time is right but it’s only showing the news in New York. How can I change this?
Can I also disable the greetings? I don’t see the weather, how do I add this? My end goal is to add weather, local news, my icloud calendar and trello.
Also since everything is now configured can I back up or copy my SD card and put it in another pi for another room or do I have to run through the entire setup again?you know what would also be cool. is if the mirror would display as it does but have a small box in the middle or off to the side running an emulator so I can play some old NES games with the mirror app running at the same time. Just for the cool factor and nothing else
any help is appreciated
Thanks and glad to be here