Code Monkey home page Code Monkey logo

mmm-remote-control's Introduction

MagicMirror² Module: Remote Control w/ RESTful API

This module for the MagicMirror² allows you to quickly shutdown your mirror through a web browser. The website should work fine on any device (desktop, smart phone, tablet, ...). Since we all want our SD cards to live a long and prosper life we properly shut down before pulling the power plug everytime, am I right? Additionally you can hide and show modules on your mirror and do other cool stuff.

The Main Menu The Power Menu Hide and Show a Module

New in Version 2.0.0: The module now includes a more RESTful API for controlling all aspects of your mirror from other network-enabled devices and controllers--anything that can open a URL. See the API README for more info!

Installation

Quick install

If you followed the default installation instructions for the MagicMirror² project, you should be able to use the automatic installer. The following command will download the installer and execute it:

bash -c "$(curl -s https://raw.githubusercontent.com/Jopyth/MMM-Remote-Control/master/installer.sh)"

Manual install

  • (1) Clone this repository in your modules folder, and install dependencies:
cd ~/MagicMirror/modules # adapt directory if you are using a different one
git clone https://github.com/Jopyth/MMM-Remote-Control
cd MMM-Remote-Control
npm install
  • (2) Add the module to your config/config.js file, if you add a position, it will display the URL to the remote on the mirror.
{
    module: 'MMM-Remote-Control',
    // uncomment the following line to show the URL of the remote control on the mirror
    // position: 'bottom_left',
    // you can hide this module afterwards from the remote control itself
    config: {
        customCommand: {},  // Optional, See "Using Custom Commands" below
        showModuleApiMenu: true, // Optional, Enable the Module Controls menu
        secureEndpoints: true, // Optional, See API/README.md
        // uncomment any of the lines below if you're gonna use it
        // customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
        // apiKey: "", // Optional, See API/README.md for details
        // classes: {} // Optional, See "Custom Classes" below
    }
},
  • (3) For security reasons, the MagicMirror² (and therefore the Remote Control) is not reachable externally. To change this, configure address, and ipWhitelist in your config.js (see these lines in the sample config). For example change address to 0.0.0.0 and add two allowed devices with IP-Adresses 192.168.0.42 and 192.168.0.50:
    address : '0.0.0.0',
    port: 8080,
    ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.42", "::ffff:192.168.0.50"],"

You can also add multiple devices in an IP range (e.g. all devices with 192.168.0.X):

    ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.1/120", "192.168.0.1/24"],

Note: If your user does not have sudo rights, the shutdown does not work (it should work for everyone who did not change anything on this matter).

Update

Update this module by navigating into its folder on the command line and using git pull:

cd ~/MagicMirror/modules/MMM-Remote-Control # adapt directory if you are using a different one
git pull
npm install # install (new) dependencies

Alternatively you can run the installer.sh script again:

~/MagicMirror/modules/MMM-Remote-Control/installer.sh

Select version manually

You can check out specific versions in the following way. First look at which versions are available:

cd MagicMirror/modules/MMM-Remote-Control # or wherever you installed the Mirror and the module
git fetch # fetch all tags
git tag # display them

The output should look similar to this:

v1.0.0
v1.1.0
v1.1.1
v1.1.2

Then you can checkout that version with, for example git checkout v1.0.0, or use git checkout master to checkout the most recent version.

Known limitations

Whenever you change the order of modules in config.js or add/remove modules, the indices of the modules change. Therefore the hidden/shown status of modules might not be correctly applied. If this happens, simply reconfigure and save it again.

Call methods from other modules

You can call any of the methods provided in the UI directly through a GET request, or a module notification. For example you can use MMM-ModuleScheduler to automatically shutdown your RasberryPi at a certain time, or integrate it with home automation systems. Or use MMM-Navigate to allow direct actions from your Mirror by using a rotating button.

Examples

  • Example for a REST API GET request to trigger a RaspberryPi restart:
http://192.168.xxx.xxx:8080/api/restart
  • Example to trigger a RaspberryPi restart in your module:
this.sendNotification('REMOTE_ACTION', {action: 'RESTART'});

See some specific examples for controlling your mirror from other modules and add your own examples in the Wiki page here

List of actions

System Control

Action Description
SHUTDOWN Shutdown your RaspberryPi
REBOOT Restart your RaspberryPi
MONITORON Switch your display on. Also sends a "USER_PRESENCE": true notification.
MONITOROFF Switch your display off. Also sends a "USER_PRESENCE": false notification.
MONITORTOGGLE Toggle the display on or off (with respective "USER_PRESENCE" notification.
MONITORSTATUS Report back the monitor status (on or off)

MagicMirror² Control

Action Description
RESTART Restart your MagicMirror²
REFRESH Refresh mirror page
UPDATE Update MagicMirror² and any of it's modules
SAVE Save the current configuration (show and hide status of modules, and brightness), will be applied after the mirror starts
BRIGHTNESS Change mirror brightness, with the new value specified by value. 100 equals the default, possible range is between 10 and 200.

MagicMirror² Electron Browser Window Control

Action Description
MINIMIZE Minimize the browser window.
TOGGLEFULLSCREEN Toggle fullscreen mode on and off.
DEVTOOLS Open the DevTools console window.

Module Control

Action Description
HIDE Hide a module, with the name (or identifier--see MODULE_DATA action) specified by module in the payload. You can also send module: "all" to hide all modules.
SHOW Show a module (see above for how to specify which one).
TOGGLE Toggle a module's visiblity (see above for how to specify which one).
FORCE Force a module to show (see above for how to specify which one).
MODULE_DATA Returns a JSON format of the data displayed in the UI, including all valid identifiers for the HIDE and SHOW action.

Alerts and Notifications

Action Description
SHOW_ALERT Show Default Alert/Notification
HIDE_ALERT Hide Default Alert/Notification
USER_PRESENCE Will send a notification "USER_PRESENCE" = true or false (according to "value" to all other modules. See examples above
NOTIFICATION To send a notification to all modules, see the example in the API README
DELAYED Send any of the above nested inside a "DELAYED" call to delay the action. Default is 10s. See Delayed Actions below.

Format of module data response

The response will be in the JSON format, here is an example:

{
"moduleData":[
    {"hidden":false,"name":"alert","identifier":"module_0_alert"},
    {"hidden":true,"name":"clock","identifier":"module_1_clock","position":"bottom_right"},
    {"hidden":false,"name":"currentweather","identifier":"module_2_currentweather","position":"top_right"}
],
"brightness":40,
"settingsVersion":1
}

Delayed Actions

You can delay an action by sending the notification nested inside of a "DELAYED" notification. Below is an example of turning off the monitor in 60s.

this.sendSocketNotification("REMOTE_ACTION",
    {
        action: "DELAYED",
        did: "SOME_UNIQUE_ID", // Optional; Some string, in case you want to cancel later.
        timeout: 60,  // Optional; Default 10s
        abort: false, // Optional; send true to cancel an existing timer
        query: {
            action: "MONITOROFF"
        }
    });

Can also be used with the API by adding /delay?timeout=10s&did=something to some routes.

Using Custom Commands

Depending on your installation, some shell commands used by this module are not appropriate and can be overwritten by something that will work for you. To overwrite the commands, add a customCommand object to your config section. The following commands are supported:

    customCommand: {
        shutdownCommand: 'shell command to shutdown your pc',
        rebootCommand: 'shell command to reboot your pc',
        monitorOnCommand: 'shell command to turn on your monitor',
        monitorOffCommand: 'shell command to turn off your monitor',
        monitorStatusCommand: 'shell command to return status of monitor, must return either "HDMI" or "true" if screen is on; or "TV is Off" or "false" if it is off to be recognized'
    }

Custom Classes

You probably wanna hide or show some modules at the same time, right? It's everything that we want this module for, of course. Well, now you can add as many classes as you like, and define whether they show themself, hide or toggle between the two stages!

    classes: {
        "Any Name You Want": {
            hide: ["calendar"],
            show: ["newsfeed"],
            toggle: ["clock"],
        },
        "Another Name You Want": {
            hide: ["newsfeed"],
            show: ["calendar"],
        },
    }

Custom Menu Items

You can create your own customized menu items by providing creating a JSON file for the menu and providing a customMenu: "custom_menu.json" directive in your config. The file may be called whatever you want, but the name must be provided in the config section, and it must be stored in the Mirror's config/ directory (same place as your config.js file).

An example menu is provided in this module's folder, titled custom_menu.example.json. You can copy this to the /config folder and modify as you need.

Key Components

Name Description
id The HTML id prefix to use for the menu item.
type The item type, either 'menu' or 'item'. 'menu' is used to indicate the item is a sub-menu and has an items array. 'item' is used for single menu items and will send a socket "REMOTE_ACTION" notification back to the server. This requires action: and content: parameters before it can do anything.
text The text to display. You can use the translate string '%%TRANSLATE:YOUR_KEY_HERE%%', but remember to also update the appropriate file in /translations.
icon The FontAwesome icon to use (without the leading -fa)
items An array of sub-menu items to use with "type":"menu". Should be the same format as the top level menu (i.e. the menu structure is recursive).
action The REMOTE_ACTION notification action name, usually NOTIFICATION. Required for "type":"item" items to be able to do anything.
content The REMOTE_ACTION action payload to send. Usually for "NOTIFICATION", this is of the form { "notification": "NOTIFICATION_TO_SEND", "payload": "PAYLOAD_TO_SEND"}

License

The MIT License (MIT)

Copyright © 2016 Joseph Bethge

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

mmm-remote-control's People

Contributors

bangee44 avatar bkeyport avatar davystrong avatar ezeholz avatar iamyzc avatar ianperrin avatar joekarlsson avatar jopyth avatar jxga avatar khassel avatar kristjanesperanto avatar kurtern84 avatar michmich avatar monkofthefunk avatar mysh3ll avatar princesselulu avatar qistoph avatar qnimbus avatar shbatm avatar slametps avatar snille avatar tonymin avatar varguit avatar xsu1010 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mmm-remote-control's Issues

Cannot GET /remote.html

Hi,
I did a fresh installation of MM 2 days ago, i have everything updated, and today i did install your module, but i'm getting this error.

Cannot GET /remote.html

I have my IP on white list otherwise, i would not see this msg.

i did check and MMM-Remote is correctly install on module folder.

Any idea of what could i did wrong?

Regards,

Font Awesome Broken

Hey Jopyth,

The recent MM update has moved the font-awesome files around which means they are no longer available in remote html. The following diff will fix it, please apply when you can:

diff --git a/remote.html b/remote.html
index 569dbd4..d504268 100644
--- a/remote.html
+++ b/remote.html
@@ -7,7 +7,7 @@
        <link rel="icon" href="data:;base64,iVBORw0KGgo=">
     <link rel="stylesheet" type="text/css" href="css/main.css">
     <link rel="stylesheet" type="text/css" href="fonts/roboto.css">
-    <link rel="stylesheet" type="text/css" href="vendor/font-awesome-4.5.0/css/font-awesome.min.css">
+    <link rel="stylesheet" type="text/css" href="vendor/node_modules/font-awesome/css/font-awesome.min.css">
     <link rel="stylesheet" type="text/css" href="modules/MMM-Remote-Control/remote.css">
     <meta name="viewport" content="width=device-width, initial-scale=1">
 </head>

Change function of turn on/off monitor

hey, maybe u can help me to change the function (turn on/off the monitor => disable hdmi screen) to dim the brightness and set the min (10?) and max (200?) value.

This avoids the problem of not finding a signal of the monitor.

"No modules loaded."

So I have remote-control up and running perfectly for a few hours. Was even able to tie it into my openHab smart home system running on another raspberry pi downstairs and control the mirror via my google homes.

Then all of a sudden remote-control completely stopped working. It no longer loads any modules in "views", the brightness has no affect, for example.

I've tried removing it and uninstalling, restarting the machine, restarting MM obviously. I've run out of ideas.

Any suggestions as to how to get MMM-Remote-Control back up and running? It was working great and fulfilled a few needs of mine perfectly!

EDIT: I was actually unable to add any new moduels anymore - I have a feeling they were all being hidden / disabled automatically / immediately. Anyway I fixed by rebasing to develop branch and reseting. git status said file "core" was somehow changed. I know I didnt change it..

How to add Stop MM and Start MM.

Can you help me a little bid...
How to add Stop MM and Start MM in this great tool
What i'm not finding is where to create the 2 buttons.
The other stuf i think i can copy from your source and change it a little bid.

I hope.....

Modules locked by who/what...

Hi! Use your module daily! It's great, thank you!! :)
I have an enhancement suggestion. It would be great to be able to see what modules has currently locked other modules (by for example "hovering" over the locked module or in the "unlock" dialog if the hovering is to much). If I want to "show" a locked module, I get a warning about that it's locked but not by whom/what. When developing new modules it would be good to know for debugging purposes at least. :)

Turning off monitor fails without an error

Hi,
I am running MM2 with modules MMM-Remote-Control and MMM-ModuleScheduler.

My problem is that turning off the monitor simply doesn't work. I see the HDMI message in the MM-log but the screen simply stays on. It doesn't matter if I try to turn it off by using a schedule in MMM-ModuleScheduler or the web-interfac http://raspi-IP:port/remote.html.

Any ideas where to look?

Kind regards,

Bernd

Remote doesn't detect non-default modules

I loaded two other modules, snow and Daily XKCD, onto the Magic Mirror--the remote doesn't show these modules in the menu. Thus, i can't disable them like i can the others.

Error in console when first run

Looks like it reports an error when there's no saved settings:

{ Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/MMM-Remote-Control/settings.json'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/pi/MagicMirror/modules/MMM-Remote-Control/settings.json' }

remote control automation

Hi, what an awesome module!

I'd like to automate the monitor to be turned on when my phone connects with my home wlan and have the monitor turned off if I'm no longer connected to my home wlan, in order to reduce energy costs of the monitor.
I tried to find something with IFTTT but I struggle with open the link of your remote acces in the local network as it only works in it.

I hope you understand what I try to do and would extremely appreciate any help on this!
Thank you very much!

unable to access

Hey,
I'm trying to access a remote interface. When I type the URL in in my mobile phone it says: This device is not allowed to access your mirror. How can I access it? When I type this (http://192.168.ipOf.myRaspberry:8080/remote.html) in my browser it doesnt work..
Is it caused by Proxy, Firewall etc.?
Can you please help me? :D
Thank you!

Show/Hide Modules on Startup.

Is there a way to Hide modules on startup? I would like to be able to rotate modules via voice command, but in doing so I need to have a 'default' layout on startup.

Unsuspected token

Its just this single line of code that makes the entire MM not start and just end up with the: you havnt configured your config.js thingy.
{
module: "MMM-Remote-Control"
position: "bottom_left" <----- This line crashes the startup
},

Add one more menu "Show video files" in the remote.html

In the remote site, if I want to add one menu is to read a directory and list video files from the directory, how do I implement in the MMM.Remote-Control.js & remote.html?

capture
after clicking that "Show video files", it will show a list of the video files from the directory path and able to play it.
path
This is the directory path.

config.js

In step 3, it is written to add IPs to the ipWhiteList in the confi.js.
How do I get to the said config.js?

Support for notifications from other modules

Does the module support notifications from other modules to trigger the actions. For example could I call sendNotification("MONITOROFF") from my module and have your module perform the work?

Device not allowed

When following the link I get to a webpage that says:
This device is not allowed to access your mirror.
Please check your config.js or config.js.sample to change this.

Any help please?

Config Update Restarts the MagicMirror

MagicMirror Version: 2.1.3
OS: Linux
H/W: Raspberry Pi 3

Whenever I update config using post method. The mirror needs to restart for loading new config. Is there no way to update magic mirror configuration without restarting it to view the result of updated configuration and when the user is satisfied the config.js file is updated and then mirror restarts(better doesn't restarts) to load the config.js file.

Monitor On function does not work

Hi,

Great module btw, that's what I was looking for.

Everything works fine, except when I turn off the monitor and want to turn it back on.

When turned off, the screen goes into power saving mode -> OK
When turned on, it displays a single flashing line, like it was waiting for me to type ...

I tried refreshing the browser, that does not help
Only restarting the RPI gets the MM working again

help please!!

German term "Ausschalten" confusing

Hello.
First of all, props to you for this Module. Great work.

Everytime I use the remote I am confused about the term "Ausschalten".
Maybe it's better to use "Energieoptionen", cause "Ausschalten" means the final and normally last executable action. But the "button" is refering to more actions which are useful for energy saving options.

edit: wanted to label the "issue" as enhancement, but can't find the option for labeling

Module updates not noticed without restart

The status of modules is loaded on initialization of the MMM-Remote-Control module. When an update of a module is available this is only noticed after restarting (and reinitializing) the MMM-Remote-Control module.

Wont Start

When I scan with nmap it doesnt even show port 8080 as an option. Do I need to manually install apache?

curl http requests not working

Sorry if this is a really newbie question but when I try to do curl http://localhost:8080/remote?action=NOTIFICATION&notification=SHOW_ALERT&payload={%22title%22:%22Alert%22,%22message%22:%22This%20is%an%20alert.%22} through Terminal, it says it was successful but nothing happens on my mirror. Entering the URL through Chrome works.

Status of the monitor via rest?

First of all, excellent module, just what I was looking for.
A question, is it possible to return the state of the monitor?
MODULE_DATA returns brightness of the monitor, but it doesn't say if it is on or off. Is that possible to detect and report back?
Thanks!

Need help about voice control sendnotification

Hi,
I tried to use Module: Voice Control to sendNotification to Remote Control, but no lucky.

The setting of Voice Control in config.js:
{ module: 'voicecontrol', config: { models: [ { keyword: "ycsy", // keyword description: "Say 'ycsy' to hide clock", file: "ycsy.pmdl", // trained model file name message: "HIDECLOCK" // notification message that's broadcast in the MagicMirror app } ] } },

For Remote Control here, i really have no idea:
{ module: 'MMM-Remote-Control', notificationReceived: function(notification, payload, sender) { if (notification === "HIDECLOCK"){ **WHAT SHOULD I PUT HERE, have tried many times, all failed** } },

curl does not work, visiting it via browser does?

Hi All,

Having trouble getting the notification requests to fire via curl.

If i visit, for example, http://192.168.178.61:8080/remote?action=NOTIFICATION&notification=ARTICLE_MORE_DETAILS it will work fine,

but via curl:

curl http://192.168.178.61:8080/remote?action=NOTIFICATION&notification=ARTICLE_LESS_DETAILS

another row shows up with the JSON response and when I press enter on that another output appears that just says "Done and a chopped off version of my request. See paste:

$(ndo@ndo3)-(~)-(04:40  Sa Mär 31)->
$(jobs:0)-(32 files, 236Mb)-> curl http://192.168.178.61:8080/remote?action=NOTIFICATION¬ification=ARTICLE_MORE_DETAILS
[1] 732

$(ndo@ndo3)-(~)-(04:58  Sa Mär 31)->
$(jobs:1)-(32 files, 236Mb)-> {"status":"success"}
[1]+  Done                    curl http://192.168.178.61:8080/remote?action=NOTIFICATION

Installed on config, now MM doesn't show up

I followed the instructions and installed in my config file and now my MagicMirror only loads up to the blank black screen sometimes and the no config page other times. I put my script into a java checker and it only has the one error same as with the default script "One undefined variable
83 module"
Attached is a txt version of my config.js
config.txt

removeDefaultValues() doesn't remove arrays and objects

removeDefaultValues() doesn't properly remove all default values, like arrays and objects.

For example compliments gets saved like this, even though the compliments object is defined like this in the defaults:

{
	module: "compliments",
	position: "lower_third",
	config: {
		compliments: {
			morning: [
				"Good morning, handsome!",
				"Enjoy your day!",
				"How was your sleep?"
			],
			afternoon: [
				"Hello, beauty!",
				"You look sexy!",
				"Looking good today!"
			],
			evening: [
				"Wow, you look hot!",
				"You look nice!",
				"Hi, sexy!"
			]
		}
	}
}

The problem is, that {} === {} or [] === [] equals false and therefore isn't being removed.

Wifi implementation - Enchancement

Would it be easy to implement a WiFi option to your module? I want to give a Magic Mirror as gifts (to non-technical people) and use your Module as the setup application. I want them to be able to enter all of their info for the modules like WiFi, email, calendar, Location Data (Weather/Forecast) NFL/NHL teams, etc. However, I'm gonna start with WiFi, because if I don't get the rest implemented I could remote in and setup the rest (when the Mirror is connected to WiFi).

According to the Raspberry Pi Forums:
https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md

It really only takes a simple "sudo echo" to really setup a new network.

This device is not allowed to access your mirror. Please check your config.js or config.js.sample to change this.

I allowed all IP addresses with [], but after restart (pm2 restart mm) it shows a black screen. When I go to the url http://192.168.x.x:8080/remote.html it returns: "This device is not allowed to access your mirror. Please check your config.js or config.js.sample to change this."

var config = {
port: 8080,
ipWhitelist: [], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],

Can't connect to the server....

I'm unable to connect even after []'ing the whitelist. This is likely an isolated issue, since I'm running a strange mix.

Hardware: RPI3
OS: Raspbian Stretch
Electron: 1.4.15
MM: 2.1.3

On a previous setup I didn't have any issues. This time I opt'd to install Stretch instead of LXDE, and I'm running Electron 1.4.15 to save CPU usage (works wonderfully).

Unfortunately, no matter how I configure the whitelist, it seems like the remote server isn't running... at all.

any thoughts?

Thanks,
Rich

MagicMirror² v2.1.0 no Modules

when i choose "edit modules" the MMM-Remote-Control does't show any module.

It mean there are no modules loaded. But more than 6 modules are running at the mirror.

Any ideas?

Cannot GET remote.html

Every time I try to access the website for the module, I get:
Cannot GET /remote.html
Can someone please help me? Thanks

Not allowed to access...

Hi,

so i added the IP address in the config.js from my phone, like the manual says.
But the access is denied, even the console (where I start the Magic Mirror) is saying: Access denied to IP address: 192.168.188.45

Here is my IP-Whitelist:

ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.188.45"],

Is there an easy way to avoid this Whitelist stuff? I really don't need it.

Thanks!

Some modules can not be hidden

I notice that I can only hide the clock and calendar by default using the menu of the remote. When I attempt to hide any other module the toggle switches to hidden, but the module remains on the mirror.

Asks for User and Password

I've installed the repository and added it to the config.js and my ip the the ipWhiteList. I have no error, but when i put my IP on the web browser it asks for a Username and Paddword. Any idea? don't know what else to do, Thanks

Black Screen on IP:8080 in Edge

While using MMM-Remote-Control, a black screen occurs on IP:8080 in Edge. IP:8080/remote.html does work. IP:8080 gives a copy of the mirror in Chrome.

Edge version: Microsoft Edge 38.14393.0.0
Microsoft EdgeHTML 14.14393

a (anonymised copied of my config.js is attached.
config.txt

Classes with activities?

First of all, the website you made is great! And.. this is not an issue but a request.

Is it possible to upgrade and tweak the website a littlebit that you have different "classes" for different events.

I've seen someone created a option in the main menu called "party mode" which let dissapear all the personal modules and only shows the music player module.

It should be nice if i could make a party mode, dinner mode, or maybe a daddy, mother etc.. etc.. mode. I'm not interested in the calendar and traffic from my brother or mother. And ofcourse i can activate them all one by one, but is hard because the name duplicates or not user friendly. Another profit about classes is that the CPU usage is way lower than the facial recognition which already used the idea. (my parents are useless when it comes to technology :) )

I see forward to your reply!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.