Read the statement by Michael Teeuw here.
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
-
I deleted the second newsfeed so now it’s error on line 51 but I don’t see a comma.
Because you deleted it? :^)
You should read this:
https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners -
@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 :(
-
Just repost your entire config minus api keys…
-
still not working :(
My suggestion:
Start with a new config and get that working first.
https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginnersThen when you want to add a module:
https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginnersThese tutorials walk you through the process. All you have to do is follow them line by line. There’s no guesswork. In the time that it takes you to read them, you’ll already be up and running, and you’ll learn something.
-
i think my sample file is jacked up. do we have another one on here i can download or copy/paste the code?
-
@Gamble your sample is corrupted? That’s odd…
https://github.com/MichMich/MagicMirror/blob/master/config/config.js.sample
Here’s the sample config!
-
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 -
When you say put the trello app over compliments what do you mean? If you can explain a bit more we can certainly help yah just need to see what you’re seeing.
-
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.