Read the statement by Michael Teeuw here.
Bridging the gap... LIRC -> Magic Mirror / Pages control using MMM-Remote-Control
-
@sdetweil LIRC = Linux Infered Remote Control. Basically, will issue commands on any remote control press as programmed into it. That part I have working, and will issue commands properly.
If I issue a Volume Up command from my remote, LIRC will respond and issue a
curl -X GET http://magicmirrorip:8080/api/refresh- which will trigger MMM-remote-control to refresh the mirror.but,
the problem Iโm currently having, apparently, is that the methods of sending the notification in MMM-Remote-Control isnโt exactly clear to me, and I donโt know how to modify them to trigger MMM-Pages (Your version, BTW)curl -X GET http://magicmirrorip:8080/api/notification/SHOW_HIDDEN_PAGE/blahis what I assume should work - if I issue the web command in the browser, MM responds with{"success":true,"notification":"SHOW_HIDDEN_PAGE","payload":"blah"}however, nothing is triggered in MM.Iโm gleaning info from: https://github.com/Jopyth/MMM-Remote-Control/blob/master/API/README.md
-
@BKeyport is โblahโ the name of the hidden page you want shown?
hiddenPages is a collection of NAMED (case sensitive) hidden page definitions
hiddenPages:{ "sample":["class1" ], "fribble":["class2"] }to show the collection of modules for hidden page sample the notification would be
โSHOW_HIDDEN_PAGEโ, โsampleโ
right?
-
hiddenPages: { "blah": ["Page4"], }, -
@BKeyport so, install MMM-Notifications to see if it was really sent
also open the developers window, mmm-pages logs a message -
@sdetweil MMM-Notification is not found, however, I did find MMM-ViewNotification, and it was sending as requested.
User Error. I did a typo.
Geez. ๐๐๐๐
-
B BKeyport has marked this topic as solved on
-
@BKeyport dang computers are SO picky
yes ViewNotification
