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

FlatPepsi

@FlatPepsi

25
Reputation
1.6k
Profile views
61
Posts
0
Followers
1
Following
Joined Feb 23, 2017, 2:22 PM
Last Online Nov 7, 2024, 3:34 PM

FlatPepsi Unfollow Follow

Best posts made by FlatPepsi

  • How To: Add colors to Forecast.io icons

    This took me a while, so I thought I’d share. Here’s how to add color to the weather icons on for MMM-forecast.io (darksky) module. The same concept applies to other weather modules- just change the module names below:

    Edit the file ~/MagicMirror/css/custom.css
    and add the following to the bottom:

    .MMM-forecast-io .wi-sunrise {
    color: #ffd700;
    }
    .MMM-forecast-io .wi-sunset {
    color: #ffa500;
    }
    .MMM-forecast-io .wi-day-sunny {
    color: #ffff00;
    }
    .MMM-forecast-io .wi-night-showers {
    color: #55acee;
    }
    .MMM-forecast-io .wi-degrees {
    color: #415;
    }
    .MMM-forecast-io .wi-rain {
    color: #55acee;
    }
    .MMM-forecast-io .wi-showers {
    color: #55acee;
    }
    .MMM-forecast-io .wi-night-showers {
    color: #55acee;
    }
    .MMM-forecast-io .wi-night-alt-cloudy-windy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-night-cloudy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-cloudy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-day-cloudy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-cloudy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-cloudy-windy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-showers {
    color: #55acee;
    }
    .MMM-forecast-io .wi-thunderstorm {
    color: #ff00ff;
    }
    .MMM-forecast-io .wi-snow {
    color: #fff;
    }
    .MMM-forecast-io .wi-fog {
    color: #999;
    }
    .MMM-forecast-io .wi-night-clear {
    color: #fff;
    }
    .MMM-forecast-io .wi-night-rain {
    color: #55acee;
    }
    .MMM-forecast-io .wi-night-thunderstorm {
    color: #ff00ff;
    }
    .MMM-forecast-io .wi-night-snow {
    color: #fff;
    }

    .MMM-forecast-io .wi-sunrise {
    color: #ffd700;
    }
    .MMM-forecast-io .wi-sunset {
    color: #ffa500;
    }
    .MMM-forecast-io .wi-day-sunny {
    color: #ffff00;
    }
    .MMM-forecast-io .wi-night-showers {
    color: #55acee;
    }
    .MMM-forecast-io .wi-degrees {
    color: #415;
    }
    .MMM-forecast-io .wi-rain {
    color: #55acee;
    }
    .MMM-forecast-io .wi-showers {
    color: #55acee;
    }
    .MMM-forecast-io .wi-night-showers {
    color: #55acee;
    }
    .MMM-forecast-io .wi-night-alt-cloudy-windy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-night-cloudy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-cloudy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-day-cloudy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-cloudy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-cloudy-windy {
    color: #aaa;
    }
    .MMM-forecast-io .wi-showers {
    color: #55acee;
    }
    .MMM-forecast-io .wi-thunderstorm {
    color: #ff00ff;
    }
    .MMM-forecast-io .wi-snow {
    color: #fff;
    }
    .MMM-forecast-io .wi-fog {
    color: #999;
    }
    .MMM-forecast-io .wi-night-clear {
    color: #fff;
    }
    .MMM-forecast-io .wi-night-rain {
    color: #55acee;
    }
    .MMM-forecast-io .wi-night-thunderstorm {
    color: #ff00ff;
    }
    .MMM-forecast-io .wi-night-snow {
    color: #fff;
    }

    posted in Troubleshooting
    FlatPepsiF
    FlatPepsi
    Feb 25, 2017, 1:22 AM
  • RE: Lock folders?

    I’m quite sure there’s an answer, but I don’t speak Unix very well.

    Another thought- half the fun of a magic mirror is making it! Why not get a good backup of the finished product, and let the kid hack away at it? If it gets mangled too bad, email him your backup files, with a note “you broke it, you fix it”? :)

    posted in General Discussion
    FlatPepsiF
    FlatPepsi
    Mar 7, 2017, 2:53 PM
  • Weather graph & calendar with custom MMM-forecast-io

    I’ve work on this off & on for over 4 years, thought I’d finally show it off.

    The hardware is from a Kano kit that the kids got bored with. It’s a little LCD screen with a Pi mount behind it, all powered by USB. I’ve seen these for sale on Facebook Marketplace for under $100 lately.

    The Kano screen is for the kids to see it, I usually see it via a web page on my phone using http://192.168.1.x:8080

    I have this connected to 2 google calendars. The idea is to have mine on top, and the kid’s schedule at the bottom. I sometimes put the school lunch menu as daily entries for them.

    I’m most proud of the weather half of the screen. I’ve used dmcinnes/MMM-forecast-io weather module, and forked it to add a visual graph of rain, temperature, and wind. I’m very happy with the result.

    Module is at: https://github.com/FlatPepsi17/MMM-forecast-io

    mirror2.JPG
    mirror1.jpg
    screenshot.png

    posted in Show your Mirror
    FlatPepsiF
    FlatPepsi
    Nov 15, 2020, 5:09 AM
  • MMM-WeatherGraph - new module using OpenWeatherMap

    https://github.com/FlatPepsi17/MMM-WeatherGraph

    I have a new weather module with current conditions, rain graph for 48 hours, and a 7 day forecast list.

    Sample screenshots showing different configurations:

    Basic setup, showing rain & snow:
    screenshot4.png

    Metric options, and a 24hr precip graph:
    screenshot3.png

    Love data? Turn everything on to see temp, wind speed, humidity, and cloud cover.
    screenshot2.png

    Prefer something minimal? Turn off any feature you want.
    screenshot1.png

    This module started as a fork of ‘MMM-forecast.io’ by dmcinnes (https://github.com/dmcinnes/MMM-forecast-io), adding many new features and moving to a new data source since DarkSky discontinued API access. (Thanks Apple- so nice of you.)

    posted in Utilities
    FlatPepsiF
    FlatPepsi
    Aug 21, 2022, 10:47 PM
  • PSA: DarkSky shuts down Jan 1st. expect broken weather

    https://www.theverge.com/2022/12/30/23532275/dark-sky-app-stop-working-january-1st-alternatives

    So DarkSky, and its weather API will be shutting down on 1/1/2023. Expect a large number of weather modules to break and stop updating.

    There are a number of alternative weather modules out here. I have one, lots of folks have been hard at work updating others. Please be ready to direct folks coming to the forums with broken modules issues to the right answer.

    posted in Utilities
    FlatPepsiF
    FlatPepsi
    Dec 31, 2022, 4:56 PM
  • MMM-forecast-io migration to OpenWeatherMap from DarkSky

    I’ve just updated my fork of MMM-forecast-io

    DarkSky, the source of data for this module is shutting down! Dark Sky API will end on March 31st, 2023 as per: https://blog.darksky.net/

    I’ve looked around, and OpenWeather seems to be the easiest alternative. I’ve ported my fork to the new data source. Bug reports welcome, but seems to be running well so far.

    The screen and display are essentially the same, only the data source has changed.

    https://github.com/FlatPepsi17/MMM-forecast-io

    Enjoy - and feel free to steal my code changes to update other forks!

    posted in Showcase
    FlatPepsiF
    FlatPepsi
    Jun 17, 2022, 7:33 PM
  • PSA: DarkSky shuts down Jan 1st. expect broken weather

    So DarkSky, and its weather API will be shutting down on 1/1/2023. Expect a large number of weather modules to break and stop updating.

    There are a number of alternative weather modules out here. I have one, lots of folks have been hard at work updating others. Please be ready to direct folks coming to the forums with broken modules issues to the right answer.

    See also: https://www.theverge.com/2022/12/30/23532275/dark-sky-app-stop-working-january-1st-alternatives

    posted in Troubleshooting
    FlatPepsiF
    FlatPepsi
    Dec 31, 2022, 5:06 PM
  • RE: MMM-Globe

    For those seeking North American globe views, I have great news - GEOS-16 (aka GEOS-East) is now publishing live color (yes, COLOR) images!

    See web site here:
    https://www.star.nesdis.noaa.gov/GOES/GOES16_FullDisk.php

    There are a few links for the latest image, depending on the resolution you want. (Watch out -many of the web site’s URLs are date and time specific) I’m using: https://cdn.star.nesdis.noaa.gov/GOES16/ABI/FD/GEOCOLOR/678x678.jpg

    Until a proper GIT update is done on this module, you can edit your setup to get this new image. In the folder:
    /home/pi/MagicMirror/modules/MMM-Globe
    Edit the file: MMM-Globe.js

    Find the lines with ‘centralAmericaDiscNat’: , and put the new URL in there. In my case, I used:

    		'centralAmericaDiscNat': 'https://cdn.star.nesdis.noaa.gov/GOES16/ABI/FD/GEOCOLOR/678x678.jpg'
    

    Do note that the code has 2 sections for different resolutions- you may need to update both.

    Enjoy!

    posted in Utilities
    FlatPepsiF
    FlatPepsi
    Feb 3, 2018, 10:39 PM
  • RE: MMM-forecast-io migration to OpenWeatherMap from DarkSky

    For anyone else using Dark Sky, Open Weather has a nice migration page with a table of field name changes between the two.

    The overall data format is very close to the same, making migration easier.

    https://openweathermap.org/darksky-openweather

    posted in Showcase
    FlatPepsiF
    FlatPepsi
    Jun 17, 2022, 7:43 PM
  • RE: PSA: DarkSky shuts down Jan 1st. expect broken weather

    @sdetweil
    Just learned that apps using DarkSky end on 1/1/23, but the API is actually on until March 31, 2023

    https://blog.darksky.net/

    So I’m about 3 months early…

    posted in Troubleshooting
    FlatPepsiF
    FlatPepsi
    Dec 31, 2022, 8:20 PM

Latest posts made by FlatPepsi

  • RE: MMM-WeatherGraph - new module using OpenWeatherMap

    Pushed out a fix today…

    Most weather sources give snow in the liquid equivalent, thus you need to multiply by 10 for snow.

    Turns out OpenWeather does this math for us, and I was over estimating the snow by a factor of 10. Today I’m expecting 1.6" of snow & ice, module was saying 16" - prompting today’s fix!

    Fixed.

    posted in Utilities
    FlatPepsiF
    FlatPepsi
    Feb 21, 2023, 4:31 PM
  • RE: PSA: DarkSky shuts down Jan 1st. expect broken weather

    Also worth noting that OpenWeatherMap has an API that is really close in format. They have a guide on migrating:

    https://openweathermap.org/darksky-openweather-3

    posted in Troubleshooting
    FlatPepsiF
    FlatPepsi
    Jan 17, 2023, 3:24 PM
  • RE: PSA: DarkSky shuts down Jan 1st. expect broken weather

    @sdetweil
    Just learned that apps using DarkSky end on 1/1/23, but the API is actually on until March 31, 2023

    https://blog.darksky.net/

    So I’m about 3 months early…

    posted in Troubleshooting
    FlatPepsiF
    FlatPepsi
    Dec 31, 2022, 8:20 PM
  • PSA: DarkSky shuts down Jan 1st. expect broken weather

    So DarkSky, and its weather API will be shutting down on 1/1/2023. Expect a large number of weather modules to break and stop updating.

    There are a number of alternative weather modules out here. I have one, lots of folks have been hard at work updating others. Please be ready to direct folks coming to the forums with broken modules issues to the right answer.

    See also: https://www.theverge.com/2022/12/30/23532275/dark-sky-app-stop-working-january-1st-alternatives

    posted in Troubleshooting
    FlatPepsiF
    FlatPepsi
    Dec 31, 2022, 5:06 PM
  • PSA: DarkSky shuts down Jan 1st. expect broken weather

    https://www.theverge.com/2022/12/30/23532275/dark-sky-app-stop-working-january-1st-alternatives

    So DarkSky, and its weather API will be shutting down on 1/1/2023. Expect a large number of weather modules to break and stop updating.

    There are a number of alternative weather modules out here. I have one, lots of folks have been hard at work updating others. Please be ready to direct folks coming to the forums with broken modules issues to the right answer.

    posted in Utilities
    FlatPepsiF
    FlatPepsi
    Dec 31, 2022, 4:56 PM
  • RE: MMM-WeatherGraph - new module using OpenWeatherMap

    @FlatPepsi So I finally added an option I wanted, but never got around to doing. I originally wanted this module to let me know if I needed to get up early and shovel the driveway… which means I want daily precipitation totals handy.

    Now it’s available as an option!

    e117c612-46a2-4fe9-9a0b-13759e1d881a-image.png

    The latest code can be found on GitHub. Let me know if you find any bugs. Precipitation totals use inches or mm/cm, following the existing Imperial/Metric setting.

    Enjoy!

    https://github.com/FlatPepsi17/MMM-WeatherGraph

    posted in Utilities
    FlatPepsiF
    FlatPepsi
    Dec 7, 2022, 1:50 AM
  • RE: turning Postman query into getJSONP()? (BTC node query)

    @sdetweil Every search I’ve done only pulls up modules to display bitcoin price from 3rd parties. I’m looking for a way to pull data from my own bitcoin node & blockchain data - which I’ve yet to see anyone do with a module.

    If you run across one, I’d love to see it.

    posted in Development
    FlatPepsiF
    FlatPepsi
    Sep 8, 2022, 3:02 AM
  • RE: Changing the colour of the temperature bars

    @Bobrae Not currently - I’ll have to look into that.

    posted in Utilities
    FlatPepsiF
    FlatPepsi
    Sep 1, 2022, 11:55 PM
  • turning Postman query into getJSONP()? (BTC node query)

    I may be doing this all wrong, so feel free to point out where I’m off.

    I want to send an RCP call to my own BTC node, and I can do it in Postman. I’ve tried using a “getjsonp()” call, but I’m not even sure if that’s the right method.

    If there’s a good example module out there that already calls the BTC Code API, I’d love to play with it.

    Any advice?

    5e567b43-ff02-4234-8721-d6e90c399a3d-image.png

    posted in Development
    FlatPepsiF
    FlatPepsi
    Aug 27, 2022, 10:17 PM
  • RE: MMM-WeatherGraph - new module using OpenWeatherMap

    @sdetweil
    Good question. I haven’t tried it- but I’d imagine it would work. Biggest thing to watch is hitting the API’s limit for pulling forecast data, so turn that down accordingly.

    posted in Utilities
    FlatPepsiF
    FlatPepsi
    Aug 21, 2022, 11:12 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy