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

    Posts

    Recent Best Controversial
    • RE: Calendar appears to be fetching the last calendar in the list multiple times.

      @sdetweil said in Calendar appears to be fetching the last calendar in the list multiple times.:

      @vvrangler yeh, it seems to luck out currently

      the top code starts the fetcher and a starts a timer for each calendar entry
      the fetcher ALSO starts a timer, so if its never called again, it still returns a refreshed list

      I changed it so the top code starts the fetcher for each calendar entry
      and let the fetcher handle its configured timer cycle

      The change definitely fixed the issue and everything looks good now during the subsequent polls, thank you again.

      I also have a couple of other calendar related issues that I’ve seen in the log, would it be best if I closed this topic and post a new one?

      posted in Troubleshooting
      V
      vvrangler
    • RE: Calendar appears to be fetching the last calendar in the list multiple times.

      @sdetweil Yes, the number of events look to be good, and I’m not really seeing any issues because of this, it’s just something that I noticed in the logs.

      posted in Troubleshooting
      V
      vvrangler
    • Calendar appears to be fetching the last calendar in the list multiple times.

      Hello,

      I have 4 calendars configured, under the default MM2 calendar module

      		{
      			module: 'calendar',
      			header: 'Calendar',
      			position: 'top_left',
      			config: {
      				maxTitleLength: 50,
      				maximumEntries: 20,
      				wrapEvents: true,
      				fadePoint: 0.8,
      				colored: true,
      				dateFormat: 'ddd MMM Do hh:mma',
      				dateEndFormat: 'ddd MMM Do hh:mma',
      				timeFormat: 'absolute',
      				useRelativeDates: true,
      				columns: false,
      				urgency: 0,
      				titleReplace: {
      					'USA: ': ''
      					},
      				calendars: [
      						{
      							symbol: 'trash-o',
      							color: '#CCCC00',
      							showLocation: false,
      							url: 'webcal://recollect.a.ssl.fastly.net/api/places/**masked**/events.en-US.ics'
      						},
      						{
      							symbol: 'calendar',
      							color: '#9CECC4',
      							showLocation: true,
      							url: 'webcal://p64-calendars.icloud.com/published/2/**masked**'
      						},
      						{
      							symbol: 'calendar-o',
      							color: '#A2D7FF',
      							showLocation: false,
      							url: 'webcal://ical.mac.com/ical/US32Holidays.ics'
      						},
      						{
      							symbol: '',
      							color: '#FF6600',
      							showLocation: false,
      							url: 'webcal://p42-calendars.icloud.com/published/2/**masked**--sxGM'
      						},
      					],
      				excludedEvents: []
      			}
      		},
      

      And when the calendars are refreshed it appears that whatever the last one in the config list is gets loaded an extra time for each one of the other calendars configured is this normal/expected behavior?

      From: /home/pi/.pm2/logs/MagicMirror-out.log

      Initial Launch Fetched once for each calendar

      [2020-10-10 14:33:00.632] [LOG]    Launching application.
      [2020-10-10 14:33:04.150] [LOG]    Create new calendar fetcher for url: http://recollect.a.ssl.fastly.net/api/places/**masked**/events.en-US.ics - Interval: 300000
      [2020-10-10 14:33:04.179] [LOG]    Create new calendar fetcher for url: http://p64-calendars.icloud.com/published/2/**masked** - Interval: 300000
      [2020-10-10 14:33:04.190] [LOG]    Create new calendar fetcher for url: http://ical.mac.com/ical/US32Holidays.ics - Interval: 300000
      [2020-10-10 14:33:04.199] [LOG]    Create new calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM - Interval: 300000
      [2020-10-10 14:33:05.429] [INFO]   Calendar-Fetcher: Broadcasting 7 events.
      [2020-10-10 14:33:06.410] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:33:06.974] [INFO]   Calendar-Fetcher: Broadcasting 118 events.
      

      Subsequent Refresh #1

      [2020-10-10 14:38:03.943] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:38:03.944] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:38:04.598] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:38:04.940] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:38:04.941] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:38:04.949] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:38:04.949] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:38:04.956] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:38:04.956] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:38:05.160] [INFO]   Calendar-Fetcher: Broadcasting 52 events.
      [2020-10-10 14:38:05.479] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:38:05.665] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:38:05.825] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:38:06.147] [INFO]   Calendar-Fetcher: Broadcasting 7 events.
      [2020-10-10 14:38:07.654] [INFO]   Calendar-Fetcher: Broadcasting 118 events.
      

      Subsequent Refresh #2

      [2020-10-10 14:43:03.947] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:43:03.948] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:43:04.670] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:43:05.140] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:43:05.144] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:43:05.156] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:43:05.159] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:43:05.180] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:43:05.183] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:43:05.358] [INFO]   Calendar-Fetcher: Broadcasting 52 events.
      [2020-10-10 14:43:05.949] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:43:06.133] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:43:06.385] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:43:06.751] [INFO]   Calendar-Fetcher: Broadcasting 7 events.
      [2020-10-10 14:43:08.475] [INFO]   Calendar-Fetcher: Broadcasting 118 events.
      

      Subsequent Refresh #3

      [2020-10-10 14:48:03.944] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:48:03.947] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:48:04.522] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:48:04.943] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:48:04.943] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:48:05.139] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:48:05.139] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:48:05.145] [LOG]    Use existing calendar fetcher for url: http://p42-calendars.icloud.com/published/2/**masked**--sxGM
      [2020-10-10 14:48:05.145] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:48:05.609] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:48:05.632] [INFO]   Calendar-Fetcher: Broadcasting 52 events.
      [2020-10-10 14:48:05.838] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:48:06.036] [INFO]   Calendar-Fetcher: Broadcasting 1 events.
      [2020-10-10 14:48:07.175] [INFO]   Calendar-Fetcher: Broadcasting 7 events.
      [2020-10-10 14:48:09.157] [INFO]   Calendar-Fetcher: Broadcasting 118 events.
      

      Thank you for any insights you might offer.
      Rick

      posted in Troubleshooting
      V
      vvrangler
    • RE: First Mirror

      @thisistheplace what I had to do was append on the 2fa code to the end of my password.

      {
      module: ‘MMM-iCloud-Client’,
      config: {
      username: “username@icloud.com”,
      password: “mypassword123456”,
      countrycode: “1”,
      }
      },

      posted in Show your Mirror
      V
      vvrangler
    • RE: First Mirror

      @Stoffbeuteluwe I believe these are the changes I made

      Change image for centralAmericanDiscNat in MMM-Globe.js
      ‘centralAmericaDiscNat’: ‘https://goes.gsfc.nasa.gov/goescolor/goeswest/pacific2/color_med/latest.jpg’

      Change default style to centralAmericaDiscNat
      style: ‘centralAmericaDiscNat’,

      posted in Show your Mirror
      V
      vvrangler
    • RE: First Mirror

      @Stoffbeuteluwe it does, but I had problems with it when I first installed it and ended up making some changes to the code to make it work for me.

      posted in Show your Mirror
      V
      vvrangler
    • First Mirror

      Hello all,

      I thought I would share with you my first MagicMirror project.

      Also want to say thank you to the entire community for the healthy support and commitment to the MagicMirror and all it’s newbies, I for one truly appreciate it.

      I am currently using the following modules
      MMM-RPI-LED
      MMM-iCloud-Client
      calendar
      MMM-Events
      MMM-Globe
      MMM-DarkSkyForecast
      MMM-HomeAutomation (local hack of ‘mmm-openhabfloorplan’ used for displaying home automation, power and local weather station data)
      MMM-NowPlayingOnSpotify
      MMM-SystemStats
      newsfeed
      MMM-Cursor
      MMM-Remote-Control

      Frame was made from reclaimed barn wood and glass is Dielectric TV Mirror from twowaymirrors.com

      Screen is a Dell (S2718D) S series 27-Inch Screen LED-Lit Monitor

      This monitor has a USB-C power adapter with a USB-C pass through which I used to power the Raspberry Pi 3 Model B+

      I also have attached a USB speaker and USB microphone (both currently unused)

      I have had a lot of fun building the home automation portion that displays the status of more than 100 smart home devices including indoor and outdoor lighting, security sensors, thermostats, fan controls and smart roller shades.

      Here are a couple of pictures of the mirror
      Mirror Off
      0_1573786249742_3F9F4932-BCA5-42CB-98F0-8365EB02E21A.jpeg

      Mirror On
      0_1573786276245_E340D55B-B58E-4DE4-92E7-5D3F360F2D62.jpeg

      Screen image
      0_1573785880720_10DFFE85-BBD3-4068-8DF1-36735C8D8B5F.jpeg

      Feedback welcome.

      Rick

      posted in Show your Mirror
      V
      vvrangler
    • 1
    • 2
    • 2 / 2