@sdetweil Thank you! Just did that and it is auto-running again. Some modules like the weather are no longer showing up and the font has changed on the mirror
Read the statement by Michael Teeuw here.
Posts made by monkeyjb123
-
RE: Attempted to add MM-Remote-Control, now MagicMirror won't start
-
Attempted to add MM-Remote-Control, now MagicMirror won't start
Hello everyone! I don’t have much experience so bear with me on this but I was setting up my MM when I decided to add in the MM-Remote-Control module. It took a while but after some tinkering I was able to get it to work via my phone by changing the ipWhitelist section to:
ipWhitelist: [],
Seemed to have work and was able to shutdown my pi with my phone. After rebooting and making some updates via the remote control to two modules I have, the mirror stopped working and no longer runs. I tried to restart the mirror as well as the pi but still does not work. This is the error message I receive
pi@raspberrypi:~/MagicMirror $ npm run start > magicmirror@2.21.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js /home/pi/MagicMirror/node_modules/electron/index.js:17 throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again'); ^ Error: Electron failed to install correctly, please delete node_modules/electron and try installing again at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:17:11) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:21:18) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.21.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.21.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-12-17T20_57_05_651Z-debug.log
I previously had the MM autostart with pm2 but it no longer does this. Would appreciate any help.
-
Question Regarding Black Material to put behind the glass
Hey guys! I’m trying to gauge the best material to buy for the black background that will go behind the glass (and cut around the monitor). I’ve read around that people have used black cardstock and some even used like a black cloth. Any suggestions would be recommended! I’m trying to minimize weight so don’t want to buy a skinny ply board and paint it black
-
Shairport-Sync Metadata help needed
Re: Shairport-sync help needed
Hello,
So I’ve managed to get shairport-sync running and am able to airplay music, however the artwork/now playing is not working via the metadata module. I know some people have ran into this issue in the past, but can’t seem to find if they fixed it or not since the thread went dead. Would greatly appreciate any help.
@sdetweil thanks for your help initially, much appreciated.
I’m using this as the guide https://github.com/surekap/MMM-ShairportMetadata
Here’s how I have it written on the shairport-sync config
metadata = { enabled = "yes"; // set this to yes to get Shairport Sync to solicit metadata from the source and to pa$ include_cover_art = "yes"; // set to "yes" to get Shairport Sync to solicit cover art from the source a$ cover_art_cache_directory = "/tmp/shairport-sync/.cache/coverart"; // artwork will be stored in this d$ pipe_name = "/tmp/shairport-sync-metadata"; pipe_timeout = 5000; // wait for this number of milliseconds for a blocked pipe to unblock before givin$ // socket_address = "226.0.0.1"; // if set to a host name or IP address, UDP packets containing metadata w$ // socket_port = 5555; // if socket_address is set, the port to send UDP packets to // socket_msglength = 65000; // the maximum packet size for any UDP metadata. This will be clipped to be b$ };
and this is how it is on my MM config.js
{ module: 'MMM-ShairportMetadata', position: 'bottom_left', header: 'Now playing', config: { metadataPipe: "/tmp/shairport-sync-metadata", // location of pipe with shairport-sync metadata alignment: "left", // Possible values [left|right|center]. Default: center }, },
-
RE: Calendar and iCloud
@lodam Hey there! So I tried to sync my icloud calendar and using “https://xxxxxx…” I was able to get the MM started, however none of my events on this calendar are showing up. Just the baseline holiday one that comes with the MM. Was wondering if you had any insight to that.
Thanks!
-
Monitor Guidance -ViewSonic - 22" IPS LED FHD Monitor (DVI, HDMI, VGA)
Hello Everyone,
First time builder here, just wanted to get some input on this monitor. I’ve read through some previous forums and found one with a vertical HDMI input as well as integrated speakers. I’m trying to go as slim as possible so will try to take this off the stand when assembling into the framework. The glass itself will be 70 in long and 22 in wide. I’ll be putting the monitor in a vertical position near the top of the glass. Then I’ll maybe put a poster board painted black as the backing (with a portion cutout where the monitor would be) Thanks in advance!
https://www.bestbuy.com/site/viewsonic-22-ips-led-fhd-monitor-dvi-hdmi-vga/5572922.p?skuId=5572922
-
RE: Anyone know how to use MMM-ShairportMetadata?
@jmartin1009 did you ever figure this out? Running into some trouble as well
-
RE: Shairport-sync help needed
@sdetweil so I tried getting on again after turning the pi off and now airplay doesn’t seem to work anymore? even tried deleting and redoing the git clone. Any suggestions? thanks in advance
-
RE: Shairport-sync help needed
@sdetweil thanks so much! Got it to work, now to get the metadata to appear. Appreciate it
-
Shairport-sync help needed
Hello everyone! I’m on my first attempt at making a MM as well as my first attempt with coding using a rpi so forgive me if I sound uninformed! I’m attempting to install shairport to allow for airplay and have been following the directions up until I have to configure Shairport sync. Anytime I put in:
/etc/shairport-sync.conf
It says permission denied. I even tried sudo beforehand and it then says no such file or directory. Any help would be appreciated.
This is the instruction guide I’ve been following. Thanks!
https://github.com/mikebrady/shairport-sync/blob/master/INSTALL.md