MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. StrIIker
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 9
    • Posts 51
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Magic Mirror Blanks Several Hours

      @chief said in Magic Mirror Blanks Several Hours:

      @madscientist It was always black - if I don’t run with sudo it quits almost immediately. I’m not sure exactly what the issue was, but I went ahead and restored a backup from 2.4.1 and it’s working fine now (removed the update alert on the top bar).

      If you need to run this as sudo then your installation probably has root as the owner of the files. A simple way to check this is log in as pi and type cd ~ and then ls -al you should see the list of files and directories and a column of pi pi (shows owner and group membership of the file or directory). If you see a lot of root root then you ran something which changed ownership of these files and directories…

      ls -al
      total 221604
      drwxr-xr-x  17 pi pi      4096 Oct 10 16:00 .
      drwxr-xr-x  27 pi pi      4096 Oct 10 10:33 ..
      -rw-r--r--   1 pi pi     24164 Oct  8 18:56 CHANGELOG.md
      drwxr-xr-x   2 pi pi      4096 Oct  8 18:56 clientonly
      drwxr-xr-x   2 pi pi      4096 Oct  8 19:00 config
      -rw-------   1 pi pi 498610176 Oct 10 16:00 core
      drwxr-xr-x   3 pi pi      4096 Oct  8 19:16 css
      -rw-r--r--   1 pi pi       856 Oct  8 18:56 dangerfile.js
      -rw-r--r--   1 pi pi       132 Oct  8 18:56 .eslintignore
      -rw-r--r--   1 pi pi       448 Oct  8 18:56 .eslintrc.json
      drwxr-xr-x   3 pi pi      4096 Oct  8 19:00 fonts
      drwxr-xr-x   8 pi pi      4096 Oct 10 10:33 .git
      drwxr-xr-x   2 pi pi      4096 Oct  8 18:56 .github
      -rw-r--r--   1 pi pi      1074 Oct  8 18:56 .gitignore
      -rw-r--r--   1 pi pi      2385 Oct  8 18:56 Gruntfile.js
      -rw-r--r--   1 pi pi      2675 Oct  8 18:56 index.html
      drwxr-xr-x   3 pi pi      4096 Oct  8 18:56 installers
      drwxr-xr-x   2 pi pi      4096 Oct  8 18:56 js
      -rw-r--r--   1 pi pi       271 Oct  8 18:56 jsconfig.json
      -rw-r--r--   1 pi pi      1118 Oct  8 18:56 LICENSE.md
      drwxr-xr-x   4 pi pi      4096 Oct  8 18:56 modules
      -rw-r--r--   1 pi pi      1040 Oct  8 18:56 module-types.ts
      drwxr-xr-x 642 pi pi     20480 Oct  8 19:00 node_modules
      -rw-r--r--   1 pi pi      2195 Oct  8 18:56 package.json
      -rw-r--r--   1 pi pi    271341 Oct  8 19:00 package-lock.json
      -rw-r--r--   1 pi pi     14450 Oct  8 18:56 README.md
      -rw-r--r--   1 pi pi       142 Oct  8 18:56 run-start.sh
      drwxr-xr-x   2 pi pi      4096 Oct  8 18:56 serveronly
      -rw-r--r--   1 pi pi       478 Oct  8 18:56 .snyk
      drwxr-xr-x   2 pi pi      4096 Oct  8 18:56 splashscreen
      -rw-r--r--   1 pi pi       126 Oct  8 18:56 .stylelintrc
      drwxr-xr-x   6 pi pi      4096 Oct  8 18:56 tests
      drwxr-xr-x   2 pi pi      4096 Oct  8 18:56 translations
      -rw-r--r--   1 pi pi       285 Oct  8 18:56 .travis.yml
      drwxr-xr-x   3 pi pi      4096 Oct  8 19:00 vendor
      

      If you have a permissions issue, you can fix it easily by typing:

      sudo chown -R pi:pi /home/pi
      

      This will change owner and group membership to pi

      posted in Troubleshooting
      S
      StrIIker
    • RE: Modules with Images not Displaying

      @mykle1 said in Modules with Images not Displaying:

      @striiker

      I just copy and pasted your config entry from above and both modules fired right up. Have you changed anything in the module files?

      Well, looks like I should have rebooted my system. I was going to and thought “nah, I shouldn’t have to do that”. Then it was suggested by @justjim1220 and so I tried it and now both are working… Thank you both for your help!!

      posted in Troubleshooting
      S
      StrIIker
    • RE: Change newsfeed title to image/logo?

      @justjim1220

      I love this News Ticker. Can I ask how I can change the size of the ticker? My mirror is in Portrait mode and the font feels oversized. I would prefer 40-50% of the current release size which would also allow the full headline to show. Also, can you include an opacity value for the background? I like the maroon but would prefer it to be less intense. I am sure these could be handled via the custom.css but I am a novice with this all. Thank you again for a great module!

      posted in Development
      S
      StrIIker
    • RE: Seeking Help on First Build and Alexa

      @shaunybean said in Seeking Help on First Build and Alexa:

      I would love to know too - I think the video you are talking about is this one?

      https://www.youtube.com/watch?v=aa3VVZA0e5Y

      He seems to suggest on his youtube channel he is going to release the software video of how he did it soon - but just like you, I would love to know if anyone else has done/knows how to implement it.

      Yes, that’s the video. I think I know what needs to be done and I have most of the parts needed. If / when I get this up and running, I will make the missing how-to video for this project.

      posted in General Discussion
      S
      StrIIker
    • RE: Modules with Images not Displaying

      @justjim1220 said in Modules with Images not Displaying:

      @striiker

      Have your tried rebooting your system?

      Derp… No… I should have done that!! It’s all working now… Thank you for the advice!

      posted in Troubleshooting
      S
      StrIIker
    • RE: Change newsfeed title to image/logo?

      @cyberphox said in Change newsfeed title to image/logo?:

      Ok so to remove the old one and install this, let’s review the steps! :)
      Anyone…??

      Sure! I assume this is what you want…

      Refer to: https://github.com/justjim1220/MMM-NewsFeedTicker for the full install details etc.

      Install new news ticker:
      Log into your Raspberry Pi as pi and:

      cd ~/MagicMirror/modules
      git clone https://github.com/justjim1220/MMM-NewsFeedTicker.git
      

      This installs the requisite module into the correct directory.

      Remove old news and enable new news
      The nice thing with this is that enabling or disabling modules is done simply by adding or deleting entries in the config.js file. The only catch is that it’s touchy with proper syntax so make sure you aren’t missing something simple (like a trailing comma or a misplaced ‘}’ or ‘{’. I suggest backing up your current config.js so that you can revert to it if needed. This is generally a good policy when modifying any config files. To check your config for errors, reference the following article:
      https://forum.magicmirror.builders/topic/5399/how-to-check-your-config-for-errors-for-absolute-beginners/2
      So, onto making that backup copy…

      cd ~/MagicMirror/config
      cp config.js config.bak01
      

      Increment the trailing number if you want to retain multiple backup copies. If you make a mistake and want to start over, copy the backup to overwrite the current version of config.js…

      cp config.bak01 config.js
      

      Now edit the config file…

      nano config.js
      

      To disable the default news reader, delete the following: (you may have additional feeds if you added anything).

      {
      			"module": "newsfeed",
      			"position": "bottom_bar",
      			"config": {
      				"feeds": [
      					{
      						"title": "New York Times",
      						"url": "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					},
      				],
      				"showSourceTitle": true,
      				"showPublishDate": true
      			}
      		},
      

      Now to add the new feed, add the following somewhere in the config (maybe where the old new feed was?) You can customize this by adding or removing news sources based upon what interests you.

      {
      	disabled: false,
      	module: "MMM-NewsFeedTicker",
      	position: "bottom_bar",
      	//classes: "day_scheduler",
      	config: {
      	    feeds: [
      		{
      			title: "New York Times",
      			url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
      			encoding: "UTF-8", //ISO-8859-1
      			className: "myClass",
      			defaultLogo : ""
      		},
      		{
      			title: "USA Today",
      			url: "http://rssfeeds.usatoday.com/UsatodaycomNation-TopStories",
      			encoding: "UTF-8", //ISO-8859-1
      			className: "myClass",
      			defaultLogo : ""
      		},
      		{
      			title: "BBC World News",
      			url: "http://feeds.bbci.co.uk/news/world/rss.xml#",
      			encoding: "UTF-8", //ISO-8859-1
      			className: "myClass",
      			defaultLogo : ""
      		}
          	    ]
      	},
      

      Now you can reload the MagicMirror via Ctrl-R (I find that the system automatically reloads the module once it detects a changed config.js). You should see the new news feed at the bottom.

      posted in Development
      S
      StrIIker
    • RE: MMM-earth

      @justjim1220 said in MMM-earth:

      @striiker

      Try rebooting your system

      I have found that sometimes that is what it takes to get some modules to work after first install, and load and not working.

      Yeah, this solved it. Thanks again! Rebooting was always my goto with Microsoft stuff but I got spoiled with Linux…

      posted in Troubleshooting
      S
      StrIIker
    • RE: Black screen after some time

      @hakupapa

      I have been having this issue as well. I discussed this in another thread

      I have always had this issue as I am new to running a Magic Mirror. It looks like there may have been a memory leak introduced in version 2.4.0 which persisted to version 2.5.0 . My only solution has been to implement a cron job to reload magic mirror every 5 hours (suggested by @MadScientist ). I’ve considered downgrading to a pre-2.4.0 build (haven’t checked to see if it’s even available). For now I’ll deal with it via the reloads.

      posted in Troubleshooting
      S
      StrIIker
    • 1 / 1