Read the statement by Michael Teeuw here.
-
@ceerix How are you going to interact? With custom notifications between the modules? Or are you connecting this differently?
I am asking because I was thinking, if it is possible to give other modules a simple way of hooking up to my module, and how this could happen. So a first example, on how you would like to do it, might be a good starting point.
-
@Bangee thank you for your help this works! :)
@Jopyth i simply call the URL for the action which i want. For example shutdown the Raspberry when i’m leaving the house.
A example is the link which Bangee have written:
http://192.168.XXX.XXX:8080/remote?action=RESTARTIf you need any further information i will help you :)
-
-
@ceerix Ok, I see. Thanks!
-
The module has received a medium update, see the new version on Github.
Changes:
- Added: Save as default, which saves the hidden/shown status of your modules (Note: If you change your config, the settings will most likely not load correctly, you might have to change and save them again.)
- Added: Restart MagicMirror application and switching display on and off, thanks to @Bangee
- Changed: status indicator appears on top right, instead of the bottom
- Updated: fixed-width icons, text should be more aligned now
- Updated: error sign will show (error will appear in server log), if a command fails, e.g. no sudo rights
- Fixed: style error, which most likely made the remote control look completely different from the preview for anyone except me
-
New update is sick. Really like the turn display on/off feature.
-
Another module that should be in the core :) Man this mirror is growing Thanks to great people!
Thanks @Jopyth
-
I had an idea in the morning. Would it be possible to develop a new menu in this modul for changing the place of a displayed modul? For example moving it from the top to the middle of the screen with a button?
Do you understand what i mean? :) -
@Jopyth - another great update. Thanks
I’ve added an issue (feature request really) on GitHub to explore whether the functionality of this module could be exposed to other modules so it could be triggered using sendNotification.
e.g.
sendNotification('REMOTE_ACTION', {query: 'MONITOROFF'}
I’ve also drafted a pull request with an idea of how this could be done.
If this could be implemented, then things like turning the monitor on and off or restarting MM could be scheduled using a combination of this module and MMM-ModuleScheduler
-
@ceerix Definitely something I would like to have, too, along with spawning new modules. I think it needs changes to the core project though, which support moving and creating of modules while running.
@ianperrin Good idea, I answered on github.