Read the statement by Michael Teeuw here.
-
Hi snille,
Have you ever found a solution? I want to do something similar, but was also not able to get a module to be hidden/shown during certain times using MMM-ModuleScheduler
I tried
{notification: 'REMOTE_ACTION', schedule: '*/2 * * * MON-FRI', payload: {action: "SHOW&module=module_15_MMM-Traffic"}}, {notification: 'REMOTE_ACTION', schedule: '1-59/2 * * * MON-FRI', payload: {action: "HIDE&module=module_15_MMM-Traffic"}}
Does not make real sense, switching on a module every other minute, but would have been nice for testing…
If I use this as a GET request via HTTP,
http://My_MM_IP:8080/remote?action=HIDE&module=module_16_MMM-Traffic
it works like charm…also curl works using another Raspi sending this command to the MM
Any idea?
Thanks, Peter
-
Dear MM-Builders,
does someone know how to solve attached problem?
Thanks in advace :-)
-
Is your device listed in “whitelist”, in your config.js?
Please check forum on whitelist issues.
Hein-Jan
-
@jopyth in light of topic resurrection, I’m looking into creating multiple functions for my pi’s. I’m using MMM-NetworkScanner and MMM-Remote-Control. The idea is like follows:
When I leave home, my mobile goes offline from home network. I’m looking for a command to enable camera (reboot y/n) to enable another project I’d like to combine with this. (Pi Camera Notifier: https://iotbreaks.com/build-a-camera-alert-application-with-raspberrypi-3-and-iosandroid-pushbullet-app/) turning it into a security cam. The commands available in the readme of MMM-RC didnt hand me a clue for further investigations
I’d love to see these work in conjunction that’d give it a whole new dimension :)
-
Hallo, my remote control work.
but
When I pull the restart button the MagicMirror restarts fine but I become a Fehler (Fail)
What can this be?My Log after push the button:
0|mm | Shutting down server... 0|mm | Stopping module helper: MMM-Page-Selector 0|mm | Stopping module helper: MMM-Remote-Control 0|mm | Stopping module helper: MMM-DWD-WarnWeather 0|mm | Stopping module helper: MMM-PublicTransportHafas 0|mm | Stopping module helper: newsfeed 0|mm | Stopping module helper: MMM-Buttons 0|mm | Use --update-env to update environment variables 0|mm | [PM2] Applying action restartProcessId on app [mm](ids: 0) 0|mm | { Error: Command failed: pm2 restart mm 0|mm | at ChildProcess.exithandler (child_process.js:287:12) 0|mm | at emitTwo (events.js:126:13) 0|mm | at ChildProcess.emit (events.js:214:7) 0|mm | at maybeClose (internal/child_process.js:925:16) 0|mm | at Socket.stream.socket.on (internal/child_process.js:346:11) 0|mm | at emitOne (events.js:116:13) 0|mm | at Socket.emit (events.js:211:7) 0|mm | at Pipe._handle.close [as _onclose] (net.js:554:12) 0|mm | killed: false, 0|mm | code: null, 0|mm | signal: 'SIGINT', 0|mm | cmd: 'pm2 restart mm' } 0|mm | > magicmirror@2.6.0 start /home/pi/MagicMirror 0|mm | > sh run-start.sh 0|mm | Starting MagicMirror: v2.6.0 0|mm | Loading config ...
-
Same error as above but in English. Def restarts MM with no issue but MM RM displays error oddly?
-
Nobody an idea?
Now the notification does not work anymore! Somehow I have the feeling that this block any other modules.
You can send but it does not matter! Also no error message. -
@Jopyth What Happen? and how to solve it? -
I have the impression that Jopyth does not have time to maintain the module. Last answer here was 9 months ago.
Too bad, is an excellent module -
@jopyth I’ve done the Italian translation if you would like to add it. ;)