Read the statement by Michael Teeuw here.
remoteFile compliments
-
I can’t seem to figure out the code for remoteFile.
In config.js
{
module: “compliments”,
position: “lower_third”,config: { updateInterval: 1500, remoteFile: "compliments.json" }The path for compliments.json is:
~/MagicMirror/modules/default/compliments -
Your entry looks ok, aside from the missing closed curly bracket and comma
},that should appear at the end, after the last curly close bracket in your post above.One question, are you sure about that
updateInterval: 1500,? That’s only 1.5 seconds before a new compliment will appear. The default fade speed for the module is 4 seconds, so your compliments are fading well before they even appear.Try
updateInterval: 30000,- That’s 30 seconds
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login