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

    Posts

    Recent Best Controversial
    • RE: Where are you from?

      Houston, TX checking in. From rural Pennsylvania though.

      posted in General Discussion
      pyrosmileyP
      pyrosmiley
    • RE: MMM-Scrobble question - confused re: API

      @ChrisEW Absolutely! Glad to help.

      posted in Troubleshooting
      pyrosmileyP
      pyrosmiley
    • RE: MMM-Scrobble question - confused re: API

      @ChrisEW Ah, gotcha! You don’t need a new config.js file at all. The lines of code from the MMM-Scrobbler readme get copied and pasted into your main config file that you changed to set up the MagicMirror in the first place — that’s how it knows to look for the modules that you’ve downloaded to the ‘’’/modules/‘’’. That file is where you put in your information and set up all your modules, including this one.

      If you need help with the config file, there are several very comprehensive guides around these forums that should help.

      posted in Troubleshooting
      pyrosmileyP
      pyrosmiley
    • RE: MMM-Scrobble question - confused re: API

      @ChrisEW Is your issue with getting up and running to track with LFM? If so, the next step depends on what you’re using to listen to music. It will work with just about anything, and you can use several at once! You just have to point each music player/service at last.fm so that it can actually get the data. This page is your friend when it comes to that.

      For iTunes, you have to download the desktop program from that page and install it. It’ll scrobble anything playing from iTunes as you go, and will scrobble plays from an ipod/iphone whenever you sync it with your computer.

      For Spotify, it’s actually all built-in already! In each player you use (e.g. the Desktop player and the mobile app), go to the preferences, and under the “Social” section is a spot to sign in to LFM. Just do that and voilà! It will automatically update LFM as long as you’re not in a Private Session.

      posted in Troubleshooting
      pyrosmileyP
      pyrosmiley
    • RE: MMM-Scrobble question - confused re: API

      @ChrisEW Nope! I do it with the free one just fine — just make sure you sign in to last.fm from any client (eg your phone and computer) you use Spotify on. You can also download their scrobbler program and it’ll automatically scribble from iTunes!

      posted in Troubleshooting
      pyrosmileyP
      pyrosmiley
    • RE: MMM-MyCommute

      @j.e.f.f Yeah, that makes sense, although won’t that only let me do it with a single destination? I have four I’m trying to track, so for the second instance I need to essentially have four origins and a single destination.

      posted in Transport
      pyrosmileyP
      pyrosmiley
    • RE: MMM-MyCommute

      I have kind of a weird question, but I haven’t had a chance to poke around and try for myself yet and I’m coming up on when I promised I’d have things done…

      Is it particularly possible to reverse the module? I’m assuming I’d need a second instance with the modified code, but I’d like travel times to various places in the morning, and then midday it would switch to the travel times back home from those same spots. In my mind it seems like it might be as simple as swapping the parameters in the getData (or equivalent) function for making the API call, but I’m not entirely sure.

      Does that seem about right? If it entails major code restructuring then I may just abort mission, but if not, that’d be a really cool feature to have since people are in and out of my house all over the day.

      posted in Transport
      pyrosmileyP
      pyrosmiley
    • RE: Fitbit

      For a little ways now, I’ve been running into an issue where, after running for a day or so, the module stops being able to update. It seems that it’s failing --for some odd reason-- to write the new Refresh Token, so when the Access token is expired, it needs to be re-authorized. I’ve looked through the code and I don’t know a whole lot but I cannot figure out why it’s doing what it’s doing. For now, I have this shell script set to run every night, and that seems to keep it running well enough. I’m sure there’s a better way but until I can get around to learning more, the kludgy way will do.

      #!/bin/bash
      
      export DISPLAY=:0
      pm2 stop MagicMirror
      python  ~/MagicMirror/modules/MMM-fitbit/python/setupAccess.py
      killall chromium-browser
      pm2 start MagicMirror
      
      exit 0
      

      The first line is there so that it can be run manually over SSH. I did have to log in manually once, but I just told chromium to remember me, so now I don’t have to do anything to re-grant access.

      If anyone has a better fix, I’d love to hear your thoughts!

      posted in Troubleshooting
      pyrosmileyP
      pyrosmiley
    • RE: MMM-Scrobble question - confused re: API

      @ChrisEW As those are designed for a type of application other than this, it doesn’t really matter. If the form is fussy, you can use any valid URL for either. I use http://10.0.0.1/ as the Callback URL, and http://www.google.com for the App Homepage.

      The idea is just that the Callback URL is a place to point users after they’ve signed in via the pretty-looking web login, and the Homepage is just where people can find about about the app. Since you’re not making an app or directing other users to login, it doesn’t make one iota of a difference.

      posted in Troubleshooting
      pyrosmileyP
      pyrosmiley
    • RE: Screencast with mobile

      That’s a cool idea! As far as I can tell there’s nothing like it at the moment, but I did some some cursory googling and, while I’m far out of my range of expertise, it looks like you might be able to use something like this homebrew chromecast receiver and use somehow display it in an iFrame, which there are several modules for. I’m not sure how it’d work with various size constraints, but from what I’ve found, that’s the most promising option.

      If you’re on iOS, there’s maybe something you could do with either Airserver or Reflector 2 (which is what I use). Either way, it may actually be easier to have a separate machine running whatever is receiving the content and then streaming it to one of the streaming video player modules. Heads-up though, that’ll likely require some horsepower on the server you’re doing it with, or you’re liable to end up with some real frustrating latency.

      However you end up going, please post updates – this is a really cool idea and I’d like very much to see how it works out!

      posted in General Discussion
      pyrosmileyP
      pyrosmiley
    • 1
    • 2
    • 3
    • 4
    • 5
    • 3 / 5