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
    • RE: Runkeeper Module

      @Atheose Seems doable as Runkeeper has a decent set of APIs https://runkeeper.com/developer/healthgraph/home

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

      @yawns Thanks! I just added a small bit related to installation steps to the README.

      posted in Development
      morozgrafixM
      morozgrafix
    • RE: Test suite for MagicMirror²

      Great idea to setup test suite. Thanks for getting it started @roramirez. I’ve made some minor cleanup changes on top of your initial work, PR is sitting on GitHub. I will try to contribute to tests as much as I can.

      posted in Upcoming Features
      morozgrafixM
      morozgrafix
    • RE: Npm start...

      @cowboysdude sweet I’m glad you got it working.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Send Selfie to Flickr or Photobucket

      @alexyak this flickr-upload npm package https://www.npmjs.com/package/flickr-upload can be utilized for that functionality. (Heh, I just realized it was written by a friend of mine)

      posted in Requests
      morozgrafixM
      morozgrafix
    • Problem interacting with forum on iOS and OS X safari

      I noticed that I’m not able to send replies, open new topics and interact with many buttons on https://forum.magicmirror.builders forums when browsing the site in Safari on my iPhone 6S with latest iOS. Decided to troubleshoot the problem and tried to load it in Safari 10.0.2 (11602.3.12.0.1) on El Capitan 10.11.6 just to find same issues.

      Noticed that console log shows this error:
      [Error] Failed to load resource: cannot parse response (nodebb.min.js, line 0) -> https://forum.magicmirror.builders/nodebb.min.js?c15a9192-ff07-4dae-b48b-e1d0ff96ef00

      and also noticed that footer didn’t load due to the following error:
      [Error] ReferenceError: Can't find variable: require Global Code (categories:1008)

      I’m not familiar with NodeBB at all and thought it was worth reporting.

      P.S. It did work once earlier today on the phone, but for the past 5-6 days I wasn’t able to interact with many elements on the forum site from mobile device.

      posted in Forum
      morozgrafixM
      morozgrafix
    • RE: Adding a jQuery Module

      In addition to @strawberry-3.141 response. I wanted to chime in with option of running it locally on your dev machine and using node serveronly and pointing your browser at http://localhost:8080 using familiar tools while developing. One of the catches is it will not work well if you are developing module that needs to interact with GPIO or other proprietary RasPi functionality.

      My personal workflow is roughly outlined here: https://forum.magicmirror.builders/post/13272

      posted in Development
      morozgrafixM
      morozgrafix
    • RE: starter problem # 2

      if you are comfortable with using ssh and scp you may not even need any GUI tools to transfer files.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: Runkeeper Module

      I poked around with Runkeeper Healthgraph and they provide tons of interesting information that can be piped to a MM. I barely use Runkeeper. @Atheose is there a specific list of things that you would like to display? It would be great to have some sort of spec before venturing into development.

      posted in Requests
      morozgrafixM
      morozgrafix
    • RE: Problem interacting with forum on iOS and OS X safari

      This can now be closed, I believe that improvements by @paviro have resolved this issue.
      https://forum.magicmirror.builders/topic/1407/you-can-officially-call-me-stupid

      posted in Forum
      morozgrafixM
      morozgrafix
    • 1 / 1