Read the statement by Michael Teeuw here.
MMM-Carousel customizing (anyone available to help?)
-
@mykle1
Thank you sir. its way too simple and embarassing to post but hey, and honestly i know the other folk can do it better and cleaner, im using this:http://magicmirrorIP:remote.html?action=NOTIFICATION¬ification=SLIDE_INCREMENT
so i never understood how the notification thing worked. the whole time Im thinking a literal notification. After getting it running through the browser, as opposed to my asinine and naive method (no comment) lol, i needed a way to implement this into my phone app that handles most of its controls. i went old school. and used a link to trigger. simple and effective. I can now control my mirror through my phone app via web interface and clicking.
-
@mirror-master said in MMM-Carousel customizing (anyone available to help?):
Here’s a really good read by @Sean … :)
https://forum.magicmirror.builders/topic/4434/how-do-notifications-work
-
@cowboysdude a great read! I understand how the notifications work as of the day when i posted. (Took me forever lol) Now im trying to trigger the music player with the same technique. I plan on posting the app i put together to control most of my mirror. Thank you
-
In its simplest form, you can trigger your player with the reception of the notification within your module:
notificationReceived: function(notification, payload) { if (notification === 'SLIDE_INCREMENT') { this.trigger.your.player(); }
-
I made MMM-NotificationTrigger for that purpose.
https://github.com/eouia/MMM-NotificationTrigger -
@sean i know broski! im not as advanced as you guys. Honestly just needed a way to move stuff. I could never get the hang of notification trigger module in full.
-
@mykle1 yes sir, i have some stuff i found in the code that triggers the mm-music-player. Gotta test it later.