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
-
RE: How to Use NY Times Subscription with Default Newsfeed Module
@sdetweil Any pointers on how I can add that functionality on my own? Thanks!
-
RE: How to Use NY Times Subscription with Default Newsfeed Module
What I mean by this is that when I send the notification ARTICLE_MORE_DETAILS, it shows the article text but only about a page of it before it asks for a subscription/login. I’m wondering if there is a way to provide my login/pw to the default newsfeed module and have it show the ENTIRE text of the article.
-
How to Use NY Times Subscription with Default Newsfeed Module
I have a NY Times subscription, and I was wondering if there was a way for the default newsfeed module to display the entire article text using my subscription.
Thanks so much for your help.
Mike
-
Trouble with Sending Notifcation on Module Start
I am trying to get a feature to work that depends on the clock module broadcasting a notification upon start up. I put a call to this.sendNotification() in the start() function in clock.js, but it doesn’t appear like it is being executed. Is there something subtle about the timing of modules being loaded so that the other modules is listening when the clock sends this notification?
Also, I know there was a post somewhere about logging. This is ten times harder than it should be because most/all of my log messages don’t seem to show up when I run: npm start dev.
Thanks so much for your help.
-
How to communicate with magic mirror from a second raspberry pi?
I want to use the MMM-gestures module which requires that you connect a grove gesture sensor to the GPIO of the raspberry pi that is running your magic mirror. That raspberry pi is attached to a frame that is mounted to my bathroom wall and is totally not easily accessible. So instead I would like to connect the grove gesture sensor to the gpio of a second raspberry pi that will talk over the WiFi network to the pi that runs my mirror. What is the best way to make this pi to magic
Mirror connection happen?Thanks so much for your help.
-
Need Help with Receiving Notifications
I’m trying to add some new features to my magic mirror, which involve listening for notifications from other modules. I tried adding code to:
socketNotificationReceived(notification, payload) {
}
in node_helper.js
but the log messages that I am putting there are not appearing in the logs. Is there another step that I have to do to make my module receive notifications?I’ve had this problem with a couple of totally different features I have been trying to add, but if you want more context, for this one, I am trying to make MMM-Buttons allow you to specify what a long press does and what a short press does, but make it depend on which page you are on. So you can define a longpress action and a shortpress action for each of your pages.
In order to do this, I need MMM-Buttons to listen for the PAGE_CHANGED notification and store the page number, but it doesn’t seem to listen to the broadcast of notifications. I thought that if any module sends a notification, it gets broadcast to all of the other modules and each of their socketNotificationReceived should execute. Is that not correct?
Thanks so much for your help.
-
RE: Help Implementing Custom Feature w/Calendar
@sdetweil I am familiar with using debuggers in general programming and in embedded system, but this is my first time working on a web app. Where do I ge a debugger from and how do I attach/insert it into this process?
-
Help Implementing Custom Feature w/Calendar
I am using the default clock module and the MMM-GoogleCalendar module. I use 3 instances of the MMM-GoogleCalendar modules–one for my personal calendar, one for a holiday calendar, and one for a birthday calendar. I recently coded a feature which makes a birthday appear in green if it is a week away, yellow if it is a day away, and red if it is that day.
Now, I want to made a custom feature which plays a song (in a .wav file) when there is at least one birthday on the current day. I would like the song to get played only when the user first uses the mirror on the day of the birthday.
To do this, I created a new notification that gets put out by the default clock module at midnight every day and it is called CLOCK_NEW_DAY. When the MMM-GoogleCalendar module sees that notification, it resets a flag that tells it that the song has already been played that day. My mirror blanks the screen when it is idle and sends a SCREEN_ON notification when the user is present. So, I added code to MMM-GoogleCalendar to look for a SCREEN_ON notification and when it sees it to set a boolean called screenOn and call this.updateDom()
I think I have all the code that I need in place, but for some reason, when I see a SCREEN_ON get generated, I can see it with MMM-ViewNotifications, but I don’t see the MMM-GoogleCalendar code receiving/responding to the notification. I’m not sure how to debug this, and I’d really appreciate any help you can offer. Thanks.
-
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.