Read the statement by Michael Teeuw here.
HUGE FLAW IN MY PLAN
-
At first, I thought I had everything figured out. I soon realized that I need a way to turn it my mirror on and off cleanly. I have found the remote control module, but I don’t completely understand it. Could anyone help me? The only thing I can think of is connecting the main cable with a switch to turn it on and using the remote control to turn it on once I figure things out. Also, how could I set up a PIR sensor?
-
What is your issue with the remote control module? Once you installed it, and add it to your
config.js
, restart your mirror and go to the remote control page. It is hosted on your pi, so you need to know the IP, e.g. if your IP is192.168.0.111
you need to go to192.168.0.111:8080/remote.html
. There you should be able to switch off/on your display. -
Thanks! How do I add it to the config.js file and how do I find my pi’s IP address?
-
For reference: Installation - Step 2
Add the following to the module section of your
config.js
:{ module: 'MMM-Remote-Control', position: 'bottom_left' },
If you only copied the example config, paste these lines, for example, between lines 17 and 18.
Hopefully this shows you your IP address right on your mirror in the bottom right corner.
If not you can execute the command
ifconfig
on your raspberry and look at the output, make sure to take the IP of the correct adapter (i.e. WLAN if you are using WLAN). -
Thanks! This helps a lot.
-
I installed the module, but when I go to the website it says : “This device is not allowed to access your mirror.
Please check your config.js or config.js.sample to change this”What does this mean? What can I do to fix it?
-
i also get this error message…
-
I finally figured out what to do. @lolobyte explained it to me here: https://forum.magicmirror.builders/topic/735/mmm-remote-control/112
-
Something weird happened. Every time I try to add remote control to my config.js file, when I reboot it shows a black screen. Why is this? Also, I can’t figure out how to change the time zone.
-
@AAPS hi, if your are using Raspberry pi, you can change the Timezone using raspi-config from terminal