Sam, I love this! It is exactly what I was looking for and very useful. Thanks so much for making it!
Read the statement by Michael Teeuw here.
Best posts made by raspberrypi9
-
RE: Send Notifications from Linux/RPi Command Line
-
How to turn compliments blue?
Hi,
I would like the compliments text of the default compliments module to be in blue instead of white. I think this can be done with custom css but I struggled with the instructions in the pinned post. If someone would please give me a shortcut of how to do it, I would really appreciate your help.
Thanks
-
RE: How to turn compliments blue?
That worked great! Thank you so much for taking the time to answer my question.
Latest posts made by raspberrypi9
-
How to make compliments word wrap?
I have some longish custom compliments and they just overwrite the modules that are in the left and right sides of the screen. How can I get the default compliments module to stick to just the center of the screen and word wrap the compliments without having them overwrite/overlap the other content that is on the right and left side of the screen?
Thanks so much for your help.
-
RE: Send Notifications from Linux/RPi Command Line
Sam, I love this! It is exactly what I was looking for and very useful. Thanks so much for making it!
-
Send Notifications from Linux/RPi Command Line
Is there a module that will allow you to type a notifcation and payload into the linux command line and broadcast it to all of the mirror modules?
If not, I would like to write one. What would be the architecture that I would need on the mirror side? Can I write a new module that listens on an external socket and connect to that socket with some command line program that I would code?
-
Changing Visibility of Newsfeed Article
When I open the article from the current headline of the newsfeed by sending the notification ARTICLE_MORE_DETAILS, the full text of the article shows on the screen, but it is not displayed in a foreground/background color combination that is very visible on the mirror. Is it possible to change this so that the article renders in a more visible color combination?
-
RE: Attribution Tag for Default Compliments Model
@sdetweil I think I know what I want to do for the visual/presentation aspect. I’m going to just print the attribution name in smaller font at the end of the compliment.
I’d like to change the config schema from:
compliments: {
anytime: [ “compliment 1”,
“compliment 2”]
}to
compliments: {
anytime: [ {“compliment from Bob”, “Bob”},
{“compliment from Lucy”, “Lucy”}]
}but when I just make that change in the config file, it tells me that I have syntax errors. How can I change things so that my new scheme for compliments will be accepted and I can access both the compliment and name field in the compliments.js file where I assume I can modify how it is rendered?
Thanks so much for your help.
-
RE: Attribution Tag for Default Compliments Model
@sdetweil Thanks so much for replying to my post. Just want to confirm that I understand the approach…
So what you are saying is that I should make an .html file and google what html tags to put in it so that I can load it with File…Open in my browser and once it displays correctly, I can take those tags and google how to write javascript code in the getDom function in MagicMirror/modules/default/compliments that will implement those same html tags. Is the correct? Thanks.
-
RE: Attribution Tag for Default Compliments Model
Sorry, the title should say “Default Compliments Module”
-
Attribution Tag for Default Compliments Model
I would like to have multiple people write compliments to be displayed on my mirror and when each of these compliments gets displayed, I’d like there to be a little graphical tag in the upper left or right of the compliment that says the name of the person who wrote the compliment. I figure I could store the compliments like:
{ “You are the best kid in the world.”, “Mom” }
and “Mom” will be displayed along with the compliment.
I’m not a front end programmer and I am not familar with Javascript and HTML, so I was wondering if someone could orient me as to how I would go about implementing this. Would I have to modify the getDom funciton of the default complients module and add some code to draw an attribution tag when then compliment gets rendered? What would that code look like?
I’m not sure of the details of how to do this, and I’d really appreciate some pointers.
Thanks so much for your help!
-
RE: How to turn compliments blue?
That worked great! Thank you so much for taking the time to answer my question.
-
How to turn compliments blue?
Hi,
I would like the compliments text of the default compliments module to be in blue instead of white. I think this can be done with custom css but I struggled with the instructions in the pinned post. If someone would please give me a shortcut of how to do it, I would really appreciate your help.
Thanks