Read the statement by Michael Teeuw here.
-
Trying to get the HIDE/SHOW working with postman.
http://192.168.2.2:8080/remote?action=HIDE&module=<<module_name>>
What is the syntax? cant find it, sorry … -
@Pbaan93 You have got the correct syntax, your only problem might be, that you need the correct identifier, which depends on your
config.js. If yourmodulesin yourconfig.jslook like this:modules: [ { module: 'calendar', header: 'Some calendar', position: 'top_right', config: { // not configured, just an example } }, { module: 'clock', position: 'top_left' }, { module: 'newsfeed', position: 'bottom_bar', config: { // not configured, just an example } }, ]You could use
module_0_calendar,module_1_clockandmodule_2_newsfeedto hide each module (it is alwaysmodule+ the number of the module in your config, starting to count from 0 + the module name, all separated with underscores).This is the internal identifier, and not simple to construct, but allows to have, for example multiple calendars, and you can hide one or the other.
-
@Jopyth Thanks for the clear info! I will try this tonight.
I’m planning to make an app for ‘Homey’ so i can controll the mirror with my home automation system. With your app this will be possible, so thanks again!
For easy configuration in the homey app I need an extra API option: ‘list’, so the homey app knows all the modules with their status. Is this possible? -
@slickric That is weird, my iPad is also running chrome 54.0.2840.66. I assume this also happens, when you access the remote URL from a desktop browser? Could you open the remote URL with developer console, and have a look at possible errors?
@Pbaan93 I can add this, yes. Do you think a simple JSON format would suffice?
-
Yes that would be really nice!!! Just a list of modules with their status, preferably also their identyfier if that is possible. Thanks to this I can make the homey app completely adaptive to wat modules are installed on the mirror.
-
@Jopyth #facepalm as expected it was me that was the problem. Got the below errors in console which made me realise immediately that for some rediculous reason I changed the name of the folder from “MMM-Remote-Control” to just “remote”. Obviously it couldn’t find the CSS and js files because I changed the folder :/ renamed and all working perfectly. Great work with the module and massive thanks for the help!

-
New version, please let me know if you find any bugs:
[1.0.0] - 2016-10-24
Added
- Changelog
- New buttons in user interface
- Hide/show all modules
- Link to MagicMirror² homepage
- Option to adapt brightness (making the mirror brighter than 100% can be limited to certain modules)
- Contributing hints
- Internal versioning of saved config (current version: 1)
- Added action
MODULE_DATAto return module data in JSON format
Changed
- Internal timeout for commands increased from 5 to 8 seconds
- Symbols for display on and off
- Internal changes in preparation for Magic Mirror version
2.1.0
-
@Jopyth That is really fast! Nice! Cool improvements ;)
-
@Jopyth Nice update, tested it and it works like a charm.
You have shown me more ideas :P …
Is it possible to set position? Than we will almost have full controll! -
@Jopyth Don’t worry, no more questions. ;-) I like only to say thank you :-)
-
@Jopyth Thank you for the great update.
I see you have implemented some of my suggestions, which makes me very happy.I still hope to see this evolve into a config GUI some day…
-
@rvdgeer This is the next big thing on my ToDo list. I don’t know when I will finish this though. If anyone has ideas on the workflow and the UI and how they would like to see and change the config in the UI, feel free to post here.
-
@Jopyth Sounds great!
If you want the all-in-one package:
I could imagine you need to be able crawl and index all installed modules and openup their modulename.js files to be able to determine what configurable parameters it has.
That way it should be possible to vreate buttons in the remote to add an installed module from a list and add and edit the parameters.This might need a change in the core structure, because it would be nice to know what parameters per module are availble and what the possible values are…
(Like what’s posted on most of the modules github pages.)And how about an option to drag and drop the order of the modules.
Another (slimmed down) way to go would be to just look at the current config and make al parameters editable in a form. Maybe create an option to add a new parameter and it’s value. The users should know the name and possible values for the parameter.
In the future you could even dream about an option to ‘git pull’ a module to update it from the gui. Or to ‘npm install’ the depencies. And maybe even download and install new modules that are availble online…
But that’s just me dreaming… -
@Jopyth I’ve added on mine ability to refresh browser, update mm and modules, and send alerts. I’ll probably work on installing and configuring modules next.
I’ll push merge soon -
@Mr.Meeseeks Nice!
-
@Mr-Meeseeks
Looking forward your updates.
-
@Mr.Meeseeks Also if you think you are at a stage where we can work together, feel free to make the pull request early, and I will have a look and see if I can help.
Otherwise I will concentrate on other stuff, which you have not already implemented.
-
Yeah but if you make the changes to the config.js it takes all the fun out learning for people who really want to… I’m not programmer and this would be WAY above my head but I do enjoy tinkering with things… I realize that in the end a total package would push the mirror into more people’s lap though… progress and this would be just a natural progression of things.
You guys that do this stuff are truly amazing and those of us who can’t Thank you!
-
It’s the MAGIC MIRRORS TO THE MASSES MOVEMENT!! M⁴!
-
Work in progress:

Config is not yet saved and adding a new module is not yet supported, but the rest is mostly ready.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login