Hi, I’m having an issue with the MMM-GooglePhotos module where it won’t display new pictures when I add them to my Google Photos album. The only way I can get the added pictures to show is to restart MagicMirror. Any ideas on getting this to work without using a workaround of programming a MagicMirror restart every so often?
Read the statement by Michael Teeuw here.
Latest posts made by forjer
-
MMM- GooglePhotos won't update when new pics added
-
RE: remotecompliments disappeared - please help
@sdetweil I will have to mess with that when I have more time.
-
RE: remotecompliments disappeared - please help
@sdetweil said in remotecompliments disappeared - please help:
@forjer said in remotecompliments disappeared - please help:
but still only with integers for time.
what do u mean?
I mean that by default, compliments only allows defining “morningStartTime” as 5, but I would like to be able to do is define it as 5:35.
-
RE: remotecompliments disappeared - please help
@sdetweil Thanks for all of you time and help. You are a wealth of knowledge.
I’ve only been digging into this thing for a few weeks and I’ve seen so many of your posts helping others. Kudos!I like this kind of stuff, I just wish I had better core knowledge so I didn’t spend so much time looking stuff up and tinkering, but I guess that’s one way to learn.
I have gotten my custom “compliments2” module to work, but still only with integers for time. There’s got to be a simple way to change that. I’ll keep looking.
-
RE: remotecompliments disappeared - please help
@sdetweil Also, is there a way to get my compliments2 to allow time splits at say 11:30 instead of just integer hours? Something like the following?
afternoonStartTime: 11:30, afternoonEndTime: 13,
It would appear the complimentArray would need to be adjusted by changing “hour” to something else?
} else if (hour >= this.config.afternoonStartTime && hour < this.config.afternoonEndTime && this.config.compliments.hasOwnProperty("afternoon")) { compliments = this.config.compliments.afternoon.slice(0);
-
RE: remotecompliments disappeared - please help
@sdetweil Progress. So I saved a copy of my modified compliments.js into a compliments2 folder as compliments2.js and renamed module.register to compliments2. I then reverted my compliments.js back to original. I then added a compliments2 section into my config.js. And now I have two separate compliments running! I tried that a few hours ago but I must have done something wrong so it didn’t work.
In the way you coded it, would I be able to have the ability to run Module 1 with the default time slots (complimentArray) while Module 2 runs a different time slot schedule?
Now I think I’d like to get a remotefile set up but I’m guessing I’ll run into some issue with remotefile for my compliments2.
-
RE: remotecompliments disappeared - please help
@sdetweil I’m sorry, I’m a little slow. And this is making my brain hurt. I really appreciate your patience with me.
How would this look in config.js? And how does it know which compliments go in what position of the MM?
What I’m after is a normal compliments module running in lower_third, and a second compliments module sliced into 10 time slots with a different set of compliments running in upper_third. I’ve just finished modifying the default compliments.js to get my 10 time slots and that seems to work, so I’m getting closer.
-
RE: remotecompliments disappeared - please help
@sdetweil So are you saying I can run two instances of compliments at the same time, shown in two different locations on the same display? And is this done by copying the compliments.js to make a “compliments2.js”?
-
RE: remotecompliments disappeared - please help
@sdetweil Hmm…is there a simple way to hard code in a RemoteCompiment to force it to show? Just as a troubleshooting step to see it?
I guess I could consider the default compliments with remote file. Can I run a second default compliment module at the same time? Is it as simple as copying the folders and renaming them “compliments2” or something?
-
RE: remotecompliments disappeared - please help
@sdetweil In my developer log it mentions “RemoteCompliments: ‘MODULE_DOM_CREATED’ received: null” and “module.js:199 MMM-RemoteCompliments is suspended.” Is that a clue? It just doesn’t make sense. I tested it yesterday morning by putting in a really long compliment just to see how it looked on the screen. I then reverted it back to a short compliment. Later in the morning I did a
sudo apt-get update
and asudo apt-get upgrade
just before setting up remote desktop, VNC and pitunnel. Those are the only other things that I can think of where I changed some stuff.developers window
Load script: modules/MMM-RemoteCompliments//MMM-RemoteCompliments.js module.js:513 Module registered: MMM-RemoteCompliments loader.js:148 Bootstrapping module: MMM-RemoteCompliments loader.js:176 Load script: modules/MMM-RemoteCompliments//scripts/jquery-3.3.1.min.js loader.js:153 Scripts loaded for: MMM-RemoteCompliments loader.js:155 Styles loaded for: MMM-RemoteCompliments loader.js:157 Translations loaded for: MMM-RemoteCompliments loader.js:195 Load stylesheet: css/custom.css :8080/modules/default/clock//clock.js:46 Starting module: clock main.js:508 All modules started! :8080/modules/MMM-RemoteCompliments//MMM-RemoteCompliments.js:222 MMM-RemoteCompliments: 'MODULE_DOM_CREATED' received: null module.js:199 MMM-RemoteCompliments is suspended.
Are there any other (perhaps more stable) modules where I can display a custom message (compliment) depending on the time of day? I had about 10 compliments programmed to display at their specified time slots throughout the day. And I liked the ability to control / override them easily with my phone via Google Drive.