My anniversary, so not me!
Read the statement by Michael Teeuw here.
Posts made by justjim1220
-
RE: MM and UBUNTU. Made for each other.
I had version 18.xx installed, up and going just fine on my dev machine
I am used to dealing with vulnerabilities, since I mainly work with Windows
But, I just have my mindset to run
npm audit fix --force
&npm i lodash@4.17.5 -g
&npm i acorn@^6.0.0 -g
after every install of MM2. only takes a few minutes extra and it fixes all the vulnerabilities. Except for a few that come with some of the modules. With Ubuntu 18.xx, if I remember, I think just thenpm audit fix --force
was all I needed to do. -
RE: Multiple instances of MMM-DarkSkyForecast with MMM-pages
OK…
I think I got pretty close to what you are asking for…
Page 1
Page 2
modules: [{ module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: 'MMM-Cursor', config: { timeout: 1000 } }, { module: 'MMM-pages', config: { modules: [ ["calendar", "MMM-DarkSkyForecast"], ["calendar", "MMM-DarkSkyForecast2"] ], fixed: ["clock", "MMM-page-indicator"], animationTime: 1000, rotationTime: 3 * 60 * 1000, // this is to change the page every 3 minutes, rotationDelay: 500 } }, { module: 'MMM-page-indicator', position: 'bottom_bar', config: { pages: 2 } }, { module: "clock", position: "top_center" }, { module: "calendar", header: "Holidays", position: "top_left", config: { colored: true, coloredSymbolOnly: true, calendars: [{ url: 'https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics', symbol: 'calendar', auth: { user: 'justjim1220@gmail.com', pass: 'abcde12345', method: 'basic' } }, ], } }, { disabled: false, module: "MMM-DarkSkyForecast", // HOURLY header: "Weather - Hourly Forecast", position: "top_right", config: { apikey: "abcde12345abcde12345abcde12345ab", latitude: "40.26189", longitude: "-94.03534", iconset: "4c", concise: false, showHourlyForecast: true, hourlyForecastInterval: 1, maxHourliesToShow: 6, showDailyForecast: false, maxDailiesToShow: 3, forecastLayout: "tiled" } }, { disabled: false, module: "MMM-DarkSkyForecast2", // DAILY header: "Weather - Daily Forecast", position: "top_right", config: { apikey: "abcde12345abcde12345abcde12345ab", latitude: "40.26189", longitude: "-94.03534", iconset: "5c", concise: false, showHourlyForecast: false, hourlyForecastInterval: 3, maxHourliesToShow: 3, showDailyForecast: true, maxDailiesToShow: 6, forecastLayout: "tiled" } },
I hope this helps!
-
RE: Multiple instances of MMM-DarkSkyForecast with MMM-pages
@popeofmope
what time frame between rotations?
You can also use https://github.com/edward-shen/MMM-page-indicator to manually change the pages
I use both so if I want to see a different page and not have to wait the 30 minutes between rotations, I can just click on the page indicator to show the page I want to seeWhat you are asking is doable
-
RE: BBC News feed
you might try deleting the module then reinstalling it
I just tried exactly what you have configured and it works just fine…
Since newsfeed is a part of the initial MM2 installation, go here: https://github.com/MichMich/MagicMirror/tree/master/modules/default/newsfeed
and get the newsfeed files themselves. You probably only need the actual js files: fetcher.js & newsfeed.js
right click on the file and click Save Link As… then save to your newsfeed directory within MM2 -
RE: Multiple instances of MMM-DarkSkyForecast with MMM-pages
you need to add this to your pages module to get it to auto scroll:
animationTime: 1000, rotationTime: 30 * 60 * 1000, rotationDelay: 500
like so…
{ module: 'MMM-pages', config: { modules: [ ["calendar", "MMM-DarkSkyForecast"], ["calendar", "MMM-DarkSkyForecast"] ], fixed: ["clock", "MMM-page-indicator"], animationTime: 1000, rotationTime: 30 * 60 * 1000, // this is to change the page every 30 minutes, rotationDelay: 500 } },
-
RE: Multiple instances of MMM-DarkSkyForecast with MMM-pages
OK, sorry, I understand now…
I am not too sure you can have more than one instance of that module shown on your MM at the same time. At least, I am not able to get it to work anyways.
But, since you are wanting one to show the HOURLY and the other to show the DAILY, I would use MMM-darksky–hourly (https://github.com/jacquesCedric/MMM-darksky-hourly), then set MMM-DarkSkyForecast to only show the DAILY.
EDIT: you are able to show 2 different instances of MMM-DarkSkyForecast, using the following code in your config.js…
{ disabled: false, module: "MMM-DarkSkyForecast", // HOURLY header: "Weather", position: "top_right", config: { apikey: "Super_Secret_API", latitude: "40.26189", longitude: "-94.03534", iconset: "4c", concise: false, showHourlyForecast: true, hourlyForecastInterval: 3, maxHourliesToShow: 3, showDailyForecast: false, maxDailiesToShow: 3, forecastLayout: "tiled" } }, { disabled: false, module: "MMM-DarkSkyForecast", // DAILY header: "Weather", position: "top_left", config: { apikey: "Super_Secret_API", latitude: "40.26189", longitude: "-94.03534", iconset: "5c", concise: false, showHourlyForecast: false, hourlyForecastInterval: 3, maxHourliesToShow: 3, showDailyForecast: true, maxDailiesToShow: 3, forecastLayout: "tiled" } },
this is the result I have with it…