MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. morozgrafix
    3. Posts
    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: How to set Font in Alarm Clock

      @broberg I agree with you and think that getting rid of those inline styles is the best long term solution

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: How to set Font in Alarm Clock

      @strawberry-3.141 & @broberg I believe that default alert module has inline styles for alerts and notifications that would override any CSS that is set outside of it.

      For example take a look at https://github.com/MichMich/MagicMirror/blob/master/modules/default/alert/alert.js#L39

      		if (message.title) {
      			msg += "<span class='thin' style='line-height: 35px; font-size:24px' color='#4A4A4A'>" + message.title + "</span>";
      		}
      		if (message.message){
      			if (msg != ""){
      				msg+= "<br />";
      			}
      			msg += "<span class='light' style='font-size:28px;line-height: 30px;'>" + message.message + "</span>";
      		}
      

      and https://github.com/MichMich/MagicMirror/blob/master/modules/default/alert/alert.js#L81

      		if (params.title) {
      			message += "<span class='light' style='line-height: 35px; font-size:30px' color='#4A4A4A'>" + params.title + "</span>"
      		}
      		if (params.message) {
      			if (message != ""){
      				message += "<br />";
      			}
      
      			message += "<span class='thin' style='font-size:22px;line-height: 30px;'>" + params.message + "</span>";
      		}
      
      

      I believe that most elegant way of fixing it is to move those styles into CSS file and have ability to override it in custom.css or other file.

      posted in Troubleshooting
      morozgrafixM
      morozgrafix
    • RE: First Mirror - Wedding Present

      @bhepler Bravo!

      posted in Show your Mirror
      morozgrafixM
      morozgrafix
    • RE: Mobile app (bachelor thesis)

      Filled out survey this morning. Good luck with your thesis, hope my answers help you. (one thing is that my answer about frequency of config.js modifications may screw up your results, due to me playing around with hacking and developing modules) Would love to get on beta of the iOS app.

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

      This topic can probably be marked as “solved” - module thread is here https://forum.magicmirror.builders/topic/1370/mmm-horoscope

      posted in Development
      morozgrafixM
      morozgrafix
    • RE: MMM-horoscope - daily horoscope

      @lolobyte At this point it is only in English, as I was only able to find one reliable API to pull data from. If you know of other API or possible RSS feeds in other languages I’m happy to look into integrating it as well.

      posted in Entertainment
      morozgrafixM
      morozgrafix
    • MMM-horoscope - daily horoscope

      Description:

      Horoscope Module for MagicMirror² v.0.1.0

      This is a module for MagicMirror² that adds daily horoscope pulled from the Yahoo Style Horoscopes. API endpoint used for this module is not officially supported and may break at any time.

      Initial request for it was by @YoungHomie and I thought that this would be a good opportunity to try creating my first module from scratch. (I’m pretty much clueless when it comes to horoscopes or anything related to astrology) Details are in the repo, feel free to file issues on github if you find bugs or have suggestions for features. It’s also easy get in touch with me through the forum.

      Screenshots:

      0_1484679661277_upload-d6cee937-2818-40c7-847c-45bacaf73ad0

      0_1484679621312_upload-00600749-1522-47a8-9e7d-d8749a2becec

      Download:

      [card:morozgrafix/MMM-horoscope]


      Version 0.1.0

      • Initial Work committed
      posted in Entertainment
      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: Developing USGS Earthquake Map (2MB GIf warning) Topic 2

      This may help you get going with hiding http://zeleniy.me/globe.html also this seems to do what you are trying to achieve http://bl.ocks.org/PatrickStotz/1f19b3e4cb848100ffd7

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

      I’ve pushed my initial work for the module to GitHub. This is my very first MM module and I probably missed something obvious. Please get in touch with me if you have a suggestion or feature request (filing GH Issue is a great way to do it). Once I feel comfortable and possibly have some beta testers I will add a separate thread for this module. Thanks.

      Repo is here: https://github.com/morozgrafix/MMM-horoscope

      posted in Development
      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: Creating a module to display daily horoscopes

      @cowboysdude Very nice! What feed are you using for data? I found not very official way to consume API from https://www.yahoo.com/style/horoscope Don’t know if that source is any good, since I’m very clueless about horoscopes.

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

      Here is an initial draft of the styling (I’m testing in Chrome on my Mac at the moment, haven’t had time to throw it on RasPi yet). Feedback is welcome:

      0_1483338845023_Screen Shot 2017-01-01 at 10.33.44 PM.png

      0_1483339783461_Screen Shot 2017-01-01 at 10.49.13 PM.png

      posted in Development
      morozgrafixM
      morozgrafix
    • RE: Where are you from?

      San Francisco, CA

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

      I believe that OP already attempted to use newsfeed, but since it only displays title of the each newsfeed item and not the description he was getting something along the lines of Dec 20 Aquarius displayed on the screen.

      I’ve looked around and found a way to get Daily and Weekly feeds in JSON form and started to create a small prototype for the module. Will be happy to share it here once it is a bit more solidified and ready to be tested. (I never wrote a module from scratch, so it’s a good learning experience for me).

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

      @YoungHomie I may be interested in developing something like that as my first module. Although I’m not very much into horoscopes, do you know good sources (possibly with RSS feeds) that can be used for it?

      posted in Development
      morozgrafixM
      morozgrafix
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 7 / 7