MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

MMM-forecast-io -- Localized up to the minute weather



  • Great module!! One question, is there anyway to make the length of the temperature bars a bit smaller? I suppose because the NY weather is so erratic right now it is making the bars wider but was just curious if I can shrink them a bit to save some space. thanks!



  • also it could just be me but I keep seeing the rain icon next to the temperature even though there’s no rain in the forecast for today (the small icon by the days of the week shows nothing but sun). Anything I can do to check that icon to see if it is an issue?



  • Im getting the below when i try to install:

    pi@raspberrypi:~/MagicMirror/modules $ git pull https://github.com/dmcinnes/MMM-forecast-io.git
    From https://github.com/dmcinnes/MMM-forecast-io
     * branch            HEAD       -> FETCH_HEAD
    
    *** Please tell me who you are.
    
    Run
    
      git config --global user.email "you@example.com"
      git config --global user.name "Your Name"
    
    to set your account's default identity.
    Omit --global to set the identity only in this repository.
    
    fatal: empty ident name (for ) not allowed
    pi@raspberrypi:~/MagicMirror/modules $ 
    

    How do i fix this in order to install?


    Note from admin: Please use Markdown on code snippets for easier reading!


  • Moderator

    @bminer1 it seems that you are trying to pull instead of clone (and git is not globally configured on your system and doesn’t recognize you)

    try running this command instead: git clone https://github.com/dmcinnes/MMM-forecast-io.git



  • noob mistake. Installed now. Thanks!!
    I feel like an idiot. This machine will not beat me!!



  • I’m not getting any graph for precipitation. Will it only be there if there is rain/snow in the next x amount of hours?


  • Moderator

    @bminer1 I believe that default setting is not to show precipitation graph, unless there is a prediction for rain or snow in next hour. I think it takes data from minutely weather forecast supplied by DarkSky.



  • I love the simplicity of MMM-Forecast.io, and yet wanted more from the graph. The default graph seems to be aimed at minutely weather for the near future.

    Earlier in this thread there was a graph example from dmcinnes’s mirror:
    https://github.com/jangellx/MagicMirror#important-installation-note
    Sadly, the code from that mirror’s graph is a totally different approach than the main branch of forecast.io. Stealing code was not an option, so I had to write a bunch from scratch.

    For my own use, I’ve rewritten a lot of the graph- and added in a few goodies, like:
    -Graph now shows 36 hours of forecast
    -Day/night shading in graph
    -Temperature line in graph with labels
    -Precip intensity graph is now blue.
    -Graph has freezing blue line, and hot 80 degree line.
    -Wind speed is an option to turn on/off
    -Sunrise/Sunset is an option to turn on/off
    -Included notes for easy color icons, via “Color-icons.md

    my new weather graph

    Feel free to play with my branch:
    https://github.com/FlatPepsi17/MMM-forecast-io/tree/FlatPepsi17-GraphUpgrade

    Known limitation: non-Fahrenheit units will probably look funny, as the graph scaling & hot/cold lines are not unit aware.


  • Module Developer

    @ooom416354 sorry about taking so long to reply! You can shrink the module a bit by using the MagicMirror’s size classes. I normally have mine set as “small”.

    {
      module: 'MMM-forecast-io',
      classes: 'small'
      ...
    }
    

  • Module Developer

    Hello everyone,

    I’ve recently updated the module fixing/adding a couple things:

    • Fixes an issue that made the top of the curve appear off the graph during a heavy storm.
    • Adds alwaysShowPrecipitationGraph to always show the precipitation graph.
    • Adds details on getting the geolocation working by setting the GOOGLE_API_KEY.

    Use git pull in your module to update.

    Enjoy!
    Doug