sorry to sound extremely daft, but what should I be renaming it? Is there a preferred name or one which makes most sense?
Read the statement by Michael Teeuw here.
Best posts made by JMac
-
RE: pm2 no longer launching MM
-
RE: pm2 no longer launching MM
once a new name is picked can it later be changed back to magicmirror just to keep everything standard?
Also, when you say,
mv magicmirror newname, I’m guessing the newname bit is actually what I want to call it, or do I put the new name after?
I’ve got a terrible feeling I’ll have to start the whole thing again which I definitely won’t look forward to. -
RE: pm2 no longer launching MM
Sam, scratch my last message, I was just about to turn everything off as it’s getting pretty late here.
used ctrl c to stop the MM so I could shutdown the pi and attack it another day.
pm2 restarted the MM and hey presto the mirror seems by and large back to normal.I’m away with work for the next 3 days but will have a proper butchers (look) when I’m back home.
Thank you so much for both your patience and help.
I had genuine fears I’d have to start the entire build (modules bit) again and I was lucky I got it up and running like I did in the first place.thank you!
Latest posts made by JMac
-
RE: MMM-PIR
@sdetweil That was exactly how PIR sensor lite worked on the same pi 3.
screen would turn off after time interval - i had it set to 5 minutes - pi would detect a hand swipe past the PIR sensor, pi would wake the screen up and the 5 minute cycle would start again.do we (you) think the mode 4 for HDMI in this module will function the same?
-
RE: MMM-PIR
@sdetweil
So if I stick with MMM-Pir am I right in thinking if u set the mode to mode 4 in the script it would turn the screen off via the HDMI?Just read that it is set to mode 1 by default which uses vgencmd but my screen and pi are connected via HDMI.
Would be handy to get this one turning the screen off entirely (if possible) and use the PIR to turn it back on, as the rest of the MM is working nicely.
-
MMM-PIR
I had a MM set up and running nicely before the SD card failed (lesson learnt).
It was using MMM-PIR sensor lite and working perfectly with this sensor.
This module is no longer developed/maintained and has been achieved so now I’m using MMM-PIR which works.However, the difference between the 2 is that the PIR sensor lite would physically turn the screen off and put it in standby, then wake the screen up when the PIR sensed movement.
MMM-PIR appears to only blank the screen of modules so the screen stays on (albeit black) but the screen is still on.
Not ideal at night/for mirror usage/power use.Can MMM-PIR be configured to put the screen in standby?
With PIR sensor lite, will this still work even though the module is no longer maintained or will this become an issue as MM evolves?Cheers.
-
RE: MMM-GooglePhotos taking over entire screen
@sdetweil wherever I position the module it’s always at the correct height on the screen but always up against the right hand edge of the screen.
edit to add by setting the show width/height, it’s sensible size.
any thoughts on this?
-
RE: The most basic question about custom css
so I added,
#GPHOTO_CURRENT {
background-size: cover;
}
to the custom.css in the MagicMirror/css folder,from your list this appears to be the correct place to put it, yet it appears to make no difference.
-
MMM-GooglePhotos taking over entire screen
I’ve got this module up and running with a small number of photos in an album - just for testing purposes.
I initially had the module set up to display over the entire screen using the position background_below.
I didn’t like this and have set the module to bottom_bar, the same position as MMM-CalendarExt3 so I can use MMM-Carousel to switch between these two.I’m using the default code example from the module
{
module: “MMM-GooglePhotos”,
position: “bottom_bar”,
config: {
albums: [albumname],
updateInterval: 1000 * 60, // minimum 10 seconds.
sort: “random”
uploadAlbum: null, // Only album created bycreate_uploadable_album.js
.
condition: {
fromDate: null, // Or “2018-03”, RFC … format available
toDate: null, // Or “2019-12-25”,
minWidth: null, // Or 400
maxWidth: null, // Or 8000
minHeight: null, // Or 400
maxHeight: null, // Or 8000
minWHRatio: null,
maxWHRatio: null,
// WHRatio = Width/Height ratio ( ==1 : Squared Photo, < 1 : Portraited Photo, > 1 : Landscaped Photo)
},
showWidth: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
showHeight: 1920,
originalWidthPx: 1920,
originalHeightPx: 1080,
timeFormat: “YYYY/MM/DD HH:mm”, // Orrelative
can be used.
}
},I’ve // ShowWidth, showHeight, originalHeightPx and originalwidthPx.
from the module install info I’ve tried adding
#GPHOTO_CURRENT {
background-size: cover;
}
to the custom.css file in the MagicMirror/css as the guidance says this should make it cover one position on the screen (I’ve again used bottom_bar).But when launching the MM the Googlephoto overlays everything else on the screen.
what am I missing to get the photo to only take up the lower portion of the screen so it can be switched at set time intervals with my calendar in the same bottom_bar position?
My apologies for how the code is formatted following it being copied and pasted.
Cheers.
-
RE: The most basic question about custom css
@tdw
I’m currently looking at 3 files within the MagicMirror/css folder.
custom.css
custom.css-sample
main.cssso does it go in the custom.css file or do I have to make a new custom.css file containing the information for this one module and save it?
do all future css changes go within the custom.css file, or does each css change have it’s own file?
-
The most basic question about custom css
apologies for this one, I’m about to embark on my first steps into custom css for a module.
it’s a simple addition, but where do I put the modification, does it go in the css folder within the individual module, or the custom.css file within the main css folder in the MagicMirror directory?
I want to add this,
#GPHOTO_CURRENT {
background-size: cover;
}
as a change to MMM-GooglePhotos.I have a very strong feeling its the latter but don’t want to mess this up, this feels like the movie Inception, I’ve only been in the first level of the dream and this is the dream within the dream.
cheers.
-
RE: MMM-GooglePhotos Access blocked
is that not the file it asked me to rename in step 9?
Nothing has downloaded following steps 10 and 11. -
RE: MMM-GooglePhotos Access blocked
@sdetweil Hey, it worked today, I guessing I was trying to do everything too close together and not giving it time.
In the setup guide step 12 says,
Copy the file token.json and credentials.json to the folder MMM-GooglePhotos in the remote devicewhere am I copying those from?
when I go into the GooglePhotos folder on the Pi those 2 files are already there, do I assume those are the onces it wants me to copy?