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

    Posts

    Recent Best Controversial
    • RE: Face Recognition with inferred light

      Problem solved! 80-100 METERS of illumination!
      0_1462999875030_41EdBDngPJL.jpg

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Fresh Install. Overlapping calendar / weather modules

      You have very long calendar entries and the CSS block stretches to accommodate that. The default length is 25 characters. You can shorten that with the calendar’s 'maxTitleLength' config option.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: SD Card Backup

      You can’t put it in a Win machine and “see” it. Those partitions are unix specific, and Windows can not read them, at least one of them it can not read. Different filesystem. If you need a backup, your question should be: what do I want to back up?

      • The file system can be recovered simply by burning a new image on the SD card and reconfiguring
      • MagicMirror can be reinstalled by doing a 'git pull'

      As far as MM is concerned, what’s user configurable is your config.js. Any modules you’ve installed can be reinstalled with a simple 'git pull' to the repository. So you can cut and paste your config.js into Notepad. You can use FTP to transfer it …

      For the other, system specific configurations, you can copy all of those config files over to a Win machine.

      Honestly, I don’t backup my MM. I don’t see a need to. It’s easy enough to recover, unlike a Windows machine and all the applications on it. I can wipe the card, and start from scratch and have it back up and running within 15 minutes. Try doing that with a Win machine … unless you’re doing a full system image restore, which still takes longer.

      And I’ve been running computers, servers, all types of systems for decades … an rpi running MM isn’t worth doing a backup on. And mine even contains copies of my own code that I’ve written. But since that stuff is also on github, again I don’t see a need to bother. A simple 'git pull' and 30 seconds later I have it all again.

      posted in General Discussion
      KirAsh4K
      KirAsh4
    • RE: Weekly Calendar

      Thanks. Slowly working through it.Need to roll in those multi-day events … seeing some stuff from our work calendar that isn’t displaying correctly … yet. Just a matter of proper parsing and displaying …

      0_1465507264401_weeklycal.png

      posted in Requests
      KirAsh4K
      KirAsh4
    • RE: Face Recognition with inferred light

      And yes, I suppose simply 'purge' would get the job done, but there are times I only want to remove the binaries, but leave my config files in place. I prefer forcing myself to actually add the '--purge' bit each time … sort of a mental check.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: MMM-Button white screen

      No, the instructions, as written, are accurate. You missed the last bit of Step 1:

      1. Navigate into your MagicMirror’s modules folder and execute git clone https://github.com/ptrbld/MMM-Button.git.**`A new folder will appear navigate into it.`**
      2. Execute npm install to install the node dependencies.

      Had you done that last bit, you would be executing the next step from within the button module folder, not within the MagicMirror folder.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: SD Card Backup

      In your predicted year that your rpi will crash, everything would have been upgraded anyway, libraries, OS, other programs. It makes more sense to redo it from scratch rather than reloading old (and in some cases, obsolete) software back on. What’s the point in doing that, and then spend another several hours upgrading, and recompiling anyway? Even Raspberry Pi’s OS gets upgraded a few times a year …

      Honestly, this is how people get themselves in trouble with security patches that are never applied. They have a device running, in their mind it’s fine, and yet it has gaping security holes that are addressed in future upgrades. Seriously folks, stay ontop of updates, upgrades, and what not. Don’t juse assume a backup from a year ago, or even 3 months ago, is “just fine”. None of my OS (I said OS, not config files) backups are more than a few days old.

      posted in General Discussion
      KirAsh4K
      KirAsh4
    • RE: Image Galery

      So just looking at this, and all you amazing folks who are eager to jump in and start writing code … seriously, you all should. That’s no joke … start somewhere. There’s plenty of information on the web, and several folks here who can also help.

      Anyway, my take on this:
      Doing a local folder with pictures, while possible, also adds a lot of unknowns. For example, the images might not necessarily all be the same physical dimension, and loading one might go really fast while loading another will be rather slow because it’s so much bigger and you’re scaling it down. Or, or you pre-process your images to a specific size and then upload them to the rpi. BUT! Why do that when there are services out there that automatically do that for you? Let’s look at options:

      Flickr has a public API: https://www.flickr.com/services/api/
      They even have a node.js API kit making it easier to integrate: https://www.npmjs.com/package/flickrapi

      iCloud API … iCloud API … anyone, iCloud API? (sorry, Ferris Bueller reference there.)
      Same goes for Facebook …
      And unfortunately, also Google Photos. They terminated development on the Picasa API on May 1st, but have yet to open their Photos API to the public. So you’re stuck using the Picasa one for now till they completely shut it down, at which point you can only hope they would’ve released the new one.

      posted in Requests
      KirAsh4K
      KirAsh4
    • RE: npm ERR! file support request

      You need to be inside of the MagicMirror folder for that to work.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Default MM clock is slow

      http://raspberrypi.tomasgreno.cz/ntp-client-and-server.html (just follow the client section.)

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: SD Card Backup

      Well, my rpi isn’t backed up. The data that’s on it is all on github so all I would have to do is restore the OS. I have yet to compile anything from scratch as I use pre-compiled packages and install via 'apt-get'. However, for other, more dedicated servers that I run, I do back them up every single day, however again, I don’t bother with the OS. What I do backup (list based on a CentOS machine):

      /home - where everyone's user accounts reside
      /etc - because it contains a myriad of config files for the whole system
      /var/lib/mysql - all the MySQL databases live there
      /var/spool/cron - because I really don't remember all the various custom service tasks that are running
      /root - because I tend to keep some important, system wide stuff there
      /var/mail - users tend to lose their heads if suddenly their entire INBOX goes missing
      

      Everything is done using 'rsync' in incremental hard-links mode. This way I can keep (on average) 2 weeks worth of data without it also taking up 14x the amount of physical storage; it only copies a file if it has changed. I have a single terabyte drive that has been the backup drive for 15 different servers, storing anywhere between 2 to 4 weeks worth of data (and it’s also backed up to a secondary machine). One of the servers takes up 175GB all on itself. If I didn’t do incremental hard-links, I’d be needing a larger backup drive just for that one machine.

      Should the main hard drive in any of the servers die, all I have to do is swap it out for a new one and push the power button. PXE (pixie) takes over, sees that there’s no OS on the drive, and automatically re-installs everything for me from the source OS server on the network. 10 minutes later the server is up and running, fully configured, with a restore rsync running. That’s faster than many will take to finish a hot cup of coffee in the morning.

      I realize this is a more advanced setup that will not apply to 95% of you here. But then, you did ask how we backup. :)

      If I were to backup my rpi, that’s the same process I would take, with the exception that rpi does not support PXE, so I will still have to manually re-image the SD card and go through the setup process to get it back up and running, prior to doing any kind of restore operation on it. And since I use my rpi only for MM, there isn’t a whole lot in terms of what needs to be redone on it, other than a few git clone commands and restoring my config file. But since I run an identical setup at my office but on a regular unix server (for when I’m bored and want to do dev work), I just copy that file over and done.

      One of these days I’ll map out how my internal network runs and “maintains” itself.

      posted in General Discussion
      KirAsh4K
      KirAsh4
    • RE: Weekly Calendar

      I haven’t forgotten, it’s just been two rather busy weeks. And I’m recovering from a failed server HD today/this weekend. Yay for backups … not so much fun when it’s terabytes of data. Anyway, I’ll get back this as soon as this mayhem stops, or at least subsides a bit.

      posted in Requests
      KirAsh4K
      KirAsh4
    • RE: Question about calendar

      @patm189, my config is in the post above yours. I actually have 3 calendars listed that way.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Adding Modules... Please Please advise

      Guys, use proper formatting for your code! (edited to add: when posting on the forums - not in your config files)

      Block code is done with ```on a line by itself, then your code, and closed with another ``` on a line by itself again. This is not the same as an apostrophe! It’s called a 'back tick' or 'accent grave' and can be found to the left of the numerical number 1 at the top on a US keyboard. Please use it! It makes reading your config files a lot easier.

      On non-US keyboards, um, its location will vary. You can also press and hold your ALT key, and using the numerical pad, enter 9 followed by 6, then let go of the ALT key. Repeat that three times and you get the three back ticks necessary.

      posted in General Discussion
      KirAsh4K
      KirAsh4
    • RE: Voice/motion control

      As @sullit mentioned, Github is a code repository, any code, or to be more precise, any text. It’s a way for a coder to keep revisions on their code, and able to publish it to the general public. The code lives on whatever development machine you are using, and you sync, or mirror it to Github. This allows a coder to work on their code locally, break it, fix it, change it, do whatever, and when they’re done, push it up to Github to store and eventually release to the public. This also allows a coder to roll back their code. If while working locally they broke something and can’t figure out what happened, they can pull code back out from the repository and either merge it back in, or just compare and see where things went haywire. It’s a beautiful thing.

      And while it may have a bit of a steep learning curve, trust me when I say this, it will save your sanity.

      There are a lot of different guides, both on Github as well as out in the wild about how to use it.
      Overall: https://guides.github.com/
      Short and sweet beginner’s guide: https://guides.github.com/activities/hello-world/

      posted in Requests
      KirAsh4K
      KirAsh4
    • RE: MM keeps going black

      Those are configuration settings that are explained in the wiki. However, it’s worth noting that it only works if you have the 'x11-server-utils' package installed as you’ve discovered. On a stock Rasbian Jessie install, that package does get installed, but I suspect those with different distributions, or a Jessie-Lite install won’t have that. I’ll amend the wiki shortly. Thank you.

      posted in Troubleshooting
      KirAsh4K
      KirAsh4
    • RE: Touch Screen Monitor With Two Way Mirror Film

      If you must use liquid to adhere the film to the monitor, I would recommend putting a small bead of silicone along the edges to seal the glass to the frame. Or, if you are removing the frame, you can seal all around the glass screen itself with a thin layer of silicone before you put the liquid on.

      posted in Hardware
      KirAsh4K
      KirAsh4
    • RE: Please help

      @leisi said in Please help:

      @darrene said in Please help:

      sudo apt-get update

      After the sudo apt-get update again i get following error again:
      (connection via SSH from Mac / my OS is Raspbian Jessie)

      pi@magicmirror:~ $ cd MagicMirror
      pi@magicmirror:~/MagicMirror $ npm start

      I lost count on how many times this has come up already. You can not start the mirror using that command when you are remotely SSHd into the rpi. The rpi simply does not know what monitor to use, yours, or the one connected to it. You have to tell it that:

      DISPLAY=:0 npm start

      Use the correct command, and then figure out what the problems are.

      posted in General Discussion
      KirAsh4K
      KirAsh4
    • RE: Alternating Modules to save on real estate

      The fading doesn’t make it less obvious. It happens because of the different sizes per module. Fade or not, you will see the other modules in the same region jump to adjust to the new sizing. Some days my calendar will have long entries, and it makes the clock above it move. So when I hide/show the calendar, the clock will jump back and forth. The regions being flexible is what allows for longer entries on the calendar to be seen, for example. Same with the news ticker as you’ve discovered. Having fixed regions can cause other problems as well.

      But, this should be a start for you. As I mentioned, it’s crude, and hard coded. I much rather have a function you can pass details to but I will leave that as an exercise for you. :)

      posted in Requests
      KirAsh4K
      KirAsh4
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 5 / 8