@Peter I use to have that, and that is when my SD card got full. do a
df -h
and see if the storage is full or not
@Peter I use to have that, and that is when my SD card got full. do a
df -h
and see if the storage is full or not
Just fyi, the “location” under module currentweather is within quote marks (") but I done goofed when I did “****” instead of my real location
@bhepler Ofc, here you go!
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var config = {
port: 8080,
address: "0.0.0.0",
ipWhitelist: [ "192.168.1.1/24",
"::fff:192.168.1.1/112",
"127.0.0.1",
"::ffff:127.0.0.1",
"::1",
"0.0.0.0",
"192.168.1.22"
], // Set [] to allow all IP addresses.
language: "sv",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "Min Kalender",
position: "top_left",
config: {
colored: "true",
calendars: [
{
symbol: "calendar-check-o ",
url: "A-SUPER-SECRET-URL"
}
]
}
},
{
module: "compliments",
position: "lower_third"
},
{
module: "currentweather",
position: "top_right",
config: {
location: ****",
locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "A-SUPER-SECRET-API"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
colored: "true",
location: "****",
locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "A-SUPER-SECRET-API"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "VK",
url: "http://www.vk.se/feed"
},
{
title: "Expressen",
url: "http://expressen.se/rss/nyheter"
//encoding: "ISO-8859-1",
},
{
title: "Krisinformation.se",
url: "https://www.krisinformation.se/nyheter/nyheter-som-rss",
encoding: "ISO-8859-1",
}
],
showSourceTitle: true,
showPublishDate: true
}
},
// EGNA MODULER NEDAN
// Remote-Control
{
module: 'MMM-Remote-Control'
// uncomment the following line to show the URL of the remote control on the mirror
// , position: 'bottom_left'
// you can hide this module afterwards from the remote control itself
},
// mmm-weatherchart
{
module: 'mmm-weatherchart',
position: 'bottom_center', // this can be any of the regions
config: {
country: 'Sverige', // as determined above
area: 'Västerbotten', // as determined above
city: '****', // as determined above
updateInterval: 60 * 60 * 1000, // update every hour
hideBorder: true, // whether or not a border with city name should be shown
}
},
// ???
// SKRIV INGET NEDANFÖR
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
Hi! I have problems that Currentweather and Weatherforecast has gone away.
Via MM-Remote I can see that they are offline due to “This module was hidden by module_5_currentweather, it can not be shown.” and “This module was hidden by module_6_weatherforecast, it can not be shown.” and I can’t get it to show again.
Any ideas what I could do? It has worked before.
Check this out:
https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
Read under “Your Identity”
You need to do two commands and change everything that is in quote marks ("):
git config --global user.email "Richard238@hotmail.com"
git config --global user.name “Richard Doe”
Does that makes sense? I had some trouble too at first
@Richard238 I live with the idea that “if it work, dont ask why”.
So I can’t explain why config.js dont work.
Do you edit the config.js?
Well… you could be a outlaw and edit the “~/MagicMirror/modules/default/compliments/compliments.js”.
I’ve done that before and it works. But beware of typos. Make a backup! :)
Dude, I just tried this for the first time.
Holy shit, I love it! Nice work!
Hi. Can you do
sudo cat /home/pi/MagicMirror/npm-debug.log
and post some of that code?
I’ve sovled it.
You have to edit /MagicMirror/node_modules/frameguard$/index.js and comment the line
“// res.setHeader(‘X-Frame-Options’, directive)”
After some googlesearch I’ve discoverd that now you can’t iFrame MM in chrome due to X-frame-options on the page.
Is there a way to bypass this through MM or is it just time to revert to MM 2.0 again?
EDIT Narrowed it down to that I must change the X-Frame-Options in the MM… I think.
Hi. I just updated MM and it works pretty well. However…
I have my MM in a Virtual Machine and have a own local website that acceess the MM with iframe, but can’t get it to work.
I can access the MM through chrome direct IP but when it access through the website, it doesn’t work. I have whitelisted the whole network (192.168.X.X)
im no pro at this so, any help will do.
@number1dan Wow, that did the trick! Thank you so much. I was about to loose hope on a twitterfeed on my mirror.
Happy new years!
Hi. I am in big use of a some kind of twitterfeed. There is one Module out there call “twitcontrol” but it seems buggy and hasn’t been updated nor fixed in a long time.
Is there anyone else that has a function twitterfeed module?
Got any updates on this problem? I was about to use twitcontrol on my mirror but get same problem as above. Can only see the Title, but no feeds.
Hi. Dod you do: Enter the repository: cd ~/MagicMirror and then Install and run the app: “npm install && npm start” ?
I have the same problem and have not yet tried to fixed it (Yea, Im lazy)… But I did another MM where it just works…
I have a theory… I think (just think, absolute not sure) that you have to “npm install && npm start” in “/MagicMirror” folder that got mine working.
As I said, not tried this theory yet…
Cool and interesting! Im gonna try it out and see how it works. :)