MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. johnnewhouse
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    johnnewhouse

    @johnnewhouse

    0
    Reputation
    331
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    johnnewhouse Unfollow Follow

    Latest posts made by johnnewhouse

    • RE: calendar not showing

      @axled thanks for checking, that’s 1 aspect eliminated.
      I wonder if there are some more pi zero tweaks I need

      posted in Troubleshooting
      J
      johnnewhouse
    • calendar not showing

      Hi all,
      I just got a raspberry pi zero w with the intention of making a smart mirror.
      I used Jessie lite as the o/s.
      Everything is up and running and I’ve got the modules displaying my regional specifc info.
      However I am having an issue getting the calendar to appear.
      I’m happy that the url is fine, I can see the correct output via curl. plus I’ve reverted back to the standard US-Holidays to try and troubleshoot.

      I checked the errors log and seen the following:

      ** Message: console message: http://localhost:8080/modules/default/calendar//calendar.js @439: SyntaxError: Unexpected identifier ‘evt’. Expected either ‘in’ or ‘of’ in enumeration syntax.

      I know absolutely nothing about code but this is at that point in the js file:

      listContainsEvent: function(eventList, event){
      	for(let evt of eventList){
      		if(evt.title === event.title && parseInt(evt.startDate) === parseInt(event.startDate)){
      			return true;
      

      does any of this make sense to someone, and could possibly give me a few pointers?

      this is what i have in my config.js for this module:

      	{
      		module: "calendar",
      		position: "top_right",
      		config: {
      			colored: false,
      			coloredSymbolOnly: false,
      			calendars: [
      				{
      				url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics",
      				symbol: "calendar"
      				}
      			]
      		}
      	},
      

      thanks in advance. i’m really impressed with MM and the modules so far, I just hope my woodworking skills are up to doing it justice when I make a frame

      posted in Troubleshooting
      J
      johnnewhouse