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

    Posts

    Recent Best Controversial
    • RE: Calendar help - won't post

      Thank you. I appreciate the checking. I ended up re-running the install script and it worked. I have no idea but am very happy. Now that I know not to mess with the modules, it is much easier.

      posted in Troubleshooting
      E
      elwarriner
    • RE: Calendar help - won't post
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			header: "calendar",
      			position: "top_left",
      			config: {
              calendars: [
                  {
                      url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                  },
                  {
                      url: 'https://calendar.google.com/calendar/ical/myinfo%40gmail.com/private-fd97576a307b857ca2b82727302938f7/basic.ics'
                  },
      
              ],
          }
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "New York",
      				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "YOUR_OPENWEATHER_API_KEY"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "New York",
      				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "YOUR_OPENWEATHER_API_KEY"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/Technology.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };```
      posted in Troubleshooting
      E
      elwarriner
    • RE: Calendar help - won't post

      I need to first go back to see how to post it in the code block. In the meantime, where do I find an original calendar.js since that might be my problem. I did edit it. Edited to add - I cut and pasted the calendar.js from: https://github.com/MichMich/MagicMirror/tree/master/modules/default/calendar
      Still not fixed.

      posted in Troubleshooting
      E
      elwarriner
    • Calendar help - won't post

      I have been reading posts and trying to figure this out but still haven’t. I also put my config.js into jsHint site but couldn’t figure out the problem. Errors:
      17 Label ‘modules’ on [ statement.
      82 Expected an assignment or function call and instead saw an expression.
      82 Missing semicolon.
      82 Unrecoverable syntax error. (97% scanned).

      I also tried the npm run config:check - got the following response:
      “Your configuration file don’t containt syntax error :)”

      Do I edit my config.js in the config folder or do I edit the calendar.js in the calendar module folder?

      posted in Troubleshooting
      E
      elwarriner
    • 1 / 1