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

    Posts

    Recent Best Controversial
    • RE: $9 C.H.I.P.

      I dug up the CHIP that was sitting and collecting dust to see if I can run MM on it. It was almost successful. I documented my installation and setup path here https://gist.github.com/morozgrafix/db069203ac4d8635a0f27e3dfa52f532

      posted in Hardware
      morozgrafixM
      morozgrafix
    • RE: Npm start...

      @cowboysdude I will try to reproduce on my machine in a few hours when I get home and will report back.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Magic Mirror Discord Group

      @Mykle1 invite sent to email listed in your profile. Thanks.

      posted in General Discussion
      morozgrafixM
      morozgrafix
    • RE: How to load a <script> src = " " </script> into my mirror?

      @nbrenn I’ve reworked the code to follow that logic outline to get Your sum is 37 to show up in the middle of the MM. You can find a PR on GitHub or just look at my fork of your repo. Most of the code is commented and hopefully easy to follow. I also added some configuration options for better flexibility.

      0_1485341408447_upload-7b56fda4-6a24-42d5-8a75-8fc10ccd0dc4

      Since you didn’t need a table any longer, I took some shortcuts with processing the data and just calculating the sum of all numeric values from the file. You can add the module to the MM and then as it runs update the datafile with new values, MM should update in about a minute or whatever your updateInterval is set to.

      Let me know if you have any questions.

      P.S. I didn’t run it on RasPi, but it should work without a problem. :fingers_crossed: Also if you are planning to make this module available for others it may be worth renaming it to MMM-datafeed to follow the standard naming conventions.

      posted in Development
      morozgrafixM
      morozgrafix
    • RE: I am sure nobody know it but...perhaps you know a fade in/out switch?

      @fersev what is fade in/fade out switch?

      posted in Hardware
      morozgrafixM
      morozgrafix
    • RE: NPM install error
      npm ERR! node -v v0.10.29
      npm ERR! npm -v 1.4.21
      

      Those look like very old versions of npm and node. Can you please run following commands in your terminal and post output?

      node --version
      

      and

      npm --version
      

      Thanks.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: save some information from a xml or json to a txt file

      @gismo2006 I know this thread is solved and a few months old. There is also another one liner solution with use of jq JSON parser from command line. Here is an example that would get result that you need (or at least get you close to it)

      curl -s "http://api.openweathermap.org/data/2.5/weather?id=2934486&lang=de&units=metric&mode=json&appid=YOUR_OWM_API_KEY" | jq -r '"Today is " + .weather[].description + " and " + (.main["temp"]|tostring) + " degrees."' > filename.txt
      

      would result in Today is überwiegend bewölkt and -6.12 degrees. put into filename.txt

      posted in Requests
      morozgrafixM
      morozgrafix
    • RE: Creating a module to display daily horoscopes

      @pflnpi0305 I believe that @cowboysdude is correct about that line spilling over. It needs to be on one line. When in doubt you can always paste your config.js at http://jshint.com/ and see if there are any errors (one warning about undefined variable module is ok)

      posted in Development
      morozgrafixM
      morozgrafix
    • RE: I am sure nobody know it but...perhaps you know a fade in/out switch?

      @fersev ummm, there is a buy link right in the description of the video that you’ve posted.

      posted in Hardware
      morozgrafixM
      morozgrafix
    • RE: Npm start...

      I’m replying from my phone at the moment and will post full reply to all later when I’m in front of my computer.

      When I said “but npm start worked just fine” I meant I was running it from terminal on Ubuntu box and not through SSH from my MacBook.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • 1 / 1