Read the statement by Michael Teeuw here.
Simple welcome script
-
Hi, first time posting on here and ready to get building! Just waiting till payday on Friday to get he mirror!! Already have the Pi3 up and running using scripts from this amazing forum.
Anyway, what I wanted to do was add a simple script in the top_bar that basically looks at the time and says “Good morning/afternoon/evening Tony” based on the time, so would need to have an autoupdate as well.
Is this doable? I’m sure it is but I have been working on the setup all day and so just need confirmation from someone on here who knows.
Thank you
-
hey,
nice to welcome u ;)
I don’t use it, but as far as i know the default compliments module does that :)
https://github.com/MichMich/MagicMirror/tree/master/modules/default/compliments
So u don’t have to install an extra module. Just edit your compliments module in your config.js
{ module: "compliments", position: "lower_third", // This can be any of the regions. // Best results in one of the middle regions like: lower_third config: { compliments: { anytime: [ "Hey Tony" ], morning: [ "Good morning", ], afternoon: [ "Good afternoon", ], evening: [ "Good evening", ] } } },You can also use more variables. Take a look here:
https://github.com/MichMich/MagicMirror/tree/master/modules/default/compliments
-
Just added it and it works perfect!!! Added a load of gratitude messages, if you have read The Secret by Rhonda Byrne then you will know what I mean
Thank you so much for your help!!!
-
You’re welcome ;)
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