Read the statement by Michael Teeuw here.
IO reference error on calendar & newsfeed
-
Hi everybody,
i have a problem with my magic mirror implementation.
If I use a fresh download of MM2 and activate in the config file the newsfeed or the calendar, I got an error on the console:
ReferenceError: io is not defined
Stack:
MMSocket() socketclient.js:11 Module<.socket() module.js:160 Module<.sendSocketNotification() module.js:298 .addCalendar() calendar.js:279 .start() calendar.js:67 startModules() loader.js:55 loadModules/loadNextModule/<() loader.js:40 loadFile/stylesheet.onload() loader.js:190The error occurs on socetclient.js on line 11.
My config file:
{ module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, { module: 'calendar', header: 'US Holidays', position: 'top_right', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' } ] } },If I comment this lines out, the time and the weather is working.
I hope you can help me, thank you!
ascore5000
Note from admin: Please use Markdown on code snippets for easier reading!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login