Read the statement by Michael Teeuw here.
Total Beginner - MM2 with MacMini
-
@MichMich Hey man! thank you so much for your reply (and your awesome creation :) )
That’s pretty detailed and straightforward. Am in the process of trying it out on my macbook before I start working on the hardware aspects. Currently getting stuck the $PATH stage, when I do cd MagicMirror, it says not found… let me fix this piece and will surely come back with final outcome… thanks again!
EDIT: Ok don’t think I had to d anything there… and we are in business!
Saw this one error: npm WARN grunt-yamllint@0.2.0 requires a peer of grunt@~0.4.0 but none was installed.
Uploading the screenshot of how it looks like right now… So i need to do some work in config.js I suppose?
-
You can ignore the grunt issue. Grunt is only used in the development process of the mirror. Indeed, next up is modifying your config. If the mirror stays black after reboot, you know you made a mistake in the config file. ;)
-
UPDATE: THIS IS WORKING FINE… NOTED MY ERROR
@MichMich Right… so… I started slow… just changed one thing… calendar position from top_left to bottom_left
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'US Holidays', position: ‘bottom_left', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' } ] } }, { module: 'compliments', position: 'lower_third' }, { module: 'currentweather', position: 'top_right', config: { location: 'New York', locationID: '', //ID from http://www.openweathermap.org 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 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/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
save it… close it… run npm start again… Doesn’'t like it…
Edit: changed it back to top_left, still didn’t like it… let me do some more reading up if there is anything more to be done than just these bits am doing
Ninja Edit: It was my mistake - the ’ (single quote) which is being used is different and hence js doesn’t like it… have changed that and it is working now!! off to adding modules now
-
@MichiMich @all others ;0)… I want to use my Mac Mini also for my MM. Is there a way to implement motion detection with a cam and disable HDMI or monitor if no motion is capturing? I have this on my raspberry with motion and it works perfectly… this is for my one of the most important things for me!
-
Hi, do you have pm2 installed on your Mac?
Is pm2 working?
Did you installed pm2 in MagicMirror directory? -
@trividar there is a module that uses camera,
https://github.com/dmcinnes/MMM-Motion-Detection
I also have one, that allows configurable ways to sleep… pi, hdmi off, or blanking screen
https://github.com/sdetweil/MMM-SleepWake
mine depends on the github motion project for camera interface
https://motion-project.github.io/
I have not tried mine on mac. but motion project is supported on mac.
-
@trividaryou can do this with the harmony hub (Logitech) and a motion sensor…all that works with Alexa… Turn tv on or off with motion sensor…or voice
-
Must pm2 be installt in Magic Mirror directory?
-
install pm2 on Mac is my biggest problem 😭
-
@sdetweil Thank you for your reply and sorry for my late reply. I’m not able to get it to work with my Mac mini ;o) I have a USB Camera and a mac mini 2012. Would it be possible for you to write a step by step instruction? Many thanks in advance!!