@KristjanESPERANTO Finally got time to fix things up and move forward (Complete reinstall, honestly)
Everything is working as I desire now.
@KristjanESPERANTO Finally got time to fix things up and move forward (Complete reinstall, honestly)
Everything is working as I desire now.
@KristjanESPERANTO I’m downgraded to previous MM until after the end of tax season at least.
@sdetweil gotcha.
I’ll likely re-work my entire system(s) after tax season is over, but this will hold until then. Once I have time, I’m mulling a few changes that’ll break everything anyway.
@sdetweil interesting that the old release is in test branch.
I need to back down to the previous release. I believe the 4/1 release of MM is a step too far in compatibility breaks.
Is there a guide on how to do this?
@sdetweil As I said, I cannot find any errors in any logs I know how to access. (Other than the usual updating DOM without display, etc).
As for the re-writes, I don’t know enough about it, and in the middle of tax season, so I don’t have time to learn.
I’m having a problem with event transforming not working anymore in Mirror 2.35.0
the client title (Client’s name) is shown instead of the ev.title I want (Client)
Nothing is in the logs - help!
Here’s the code:
{
module: "MMM-CalendarExt3Agenda",
position: "bottom_center",
classes: "page1",
config: {
eventTransformer: (ev) => {
if (ev.title.search("🏠 Personal Commitment") > -1) {
ev.title = ev.title.replace("🏠 Personal Commitment","Personal Commitment")
}
if(ev.description && ev.description.search("YCBM") > -1) {
ev.title = "Client"
}
return ev
},
showMiniMonthCalendar: false,
//onlyEventDays: 1,
waitFetch: 5000,
refreshInterval: 10000,
animationSpeed: 0,
calendarSet: ["Main", "Lemay", "Holidays"],
}
},

@sdetweil For clarification does that remove moment.js system wide, or is it just that module? Will other modules need to add it to their package.json files?
OK - so currently my CSS folder is:

What gets moved?
(FWIW, I don’t know what the CSS files are other than custom and main)
I’m currently setting the CSS file with customCss: "css/custom3.css", in the config,
I’ll change that to customCss: "config/custom3.css", ?
as far as the launching of the server, it’s bash script is:
cd /home/bkey1970/MagicMirror
export MM_CONFIG_FILE=config/config3.js
export MM_PORT=8082
export ELECTRON_DISABLE_GPU=1
DISPLAY=:0 npm run server
nothing changes, right?
@sdetweil what will happen with those of us using multiple configs/css?
@wishmaster270 Doh! Was using the wrong css item.
<internally screaming at CSS>
@sdetweil Indeed, I can see it in develop mode, but everything I’ve tried has failed, which is why I’m here.
Config stub:
{
module: "MMM-EmbedURL",
position: "fullscreen_above",
classes: "camera1",
config: {
updateInterval: 0,
animationSpeed: 0,
appendTimestamp: false,
attibutes: [],
embed: [
"http://192.168.0.7/picture/1/frame/"
],
},
},

The camera stream should be centered left/right. The camera feed is 4x3. (scaled from 640x480 due to how I have to get the feed at this time) and will always stretch the vertical to 100%
(note: screenshot isn’t actual screen resolution)
@sdetweil I’m using full screen above for a “zoomed in” view of a camera. Naturally, MMM-EmbedURL is taking the entire screen as it should, except the embedded content is 4:3 and the screen is 16:9
I want the embedded content to be centered horizontally, and can’t figure a way to do that. the content is correctly taking 100% of top to bottom.
I can’t figure out how to have MMM-EmbedURL to center the embedded item on fullscreen_above.
Can someone help out?
EmbedURL is apparently going full width.
… and following those recommendations allows you to learn better code and improve!
@Klinge You either have some logs that have exploded in size, or a corrupting SD card. Either way, I’d recommend a reformat and/or a new SD card.
In any case, resetting the origin URL fixed it, so we have that in our toolbelt.
I must have manually installed MM originally, rather than using your scripts - cloning it via SSH rather than HTTPS.
@sdetweil I think I had an error with my SSH keys and had to reset them. It’s cascading through my system. Basically, some idiot forgot he already had SSH on his system and set it up for another project. LOL