Read the statement by Michael Teeuw here.
Are you tired of editing config.js, or have trouble doing it, see my new module
-
@sdetweil i send it
-
@sdetweil hey sam there is a update for your module?
-
@dinschal yes… see my email…
-
@sdetweil a thanks… yes everything is working now…
-
@dinschal thanks for your help!!..
-
@sdetweil thanks for your patience ;)
next step is to try the NewPIR with the PIRSensor ;) and then create a 10 min presentation for students 🤮🤮🤮🤮
-
Is there any way you could break down the setup even more for dummies like myself? I can’t seem to access the configuration form in browser. Do I have to use a browser on the raspberry pi? Can it be a computer on my local network? When I try to access http://192.168.2.13:8300/modules/MMM-Config/review from my PC all I get is “Cannot GET /modules/MMM-Config/review”
Same with
http://localhost:8300/modules/MMM-Config/review
from the pi itself
What am I doing wrong? -
@josh45631 for access from a system other than the machine running mm, the mm config.js has to allow it
address:"0.0.0.0", ipWhitelist:[],
by default the config is set to address:“localhost”
which means ONLY apps inside the same machine can connectdo you have showQR:true, in the module config section?
if so does the qr show on the mm screen?
can u show me the module entry from config.jsalso when u start mm, the module puts out a couple messages at startup
so look at the messages where u start mm
either by npm start or pm2
if pm2, then the command
pm2 logs --lines=50also the url to the form is
http://mm_address:mm_port/modules/MMM-Config/review
mm_port is 8080 by default not 8300
-
@sdetweil I did have showQR set to true in the module config, but the QR code wasn’s showing up.
After changing the address in the mm config from localhost to 0.0.0.0 the QR code is now appearing on the magic mirror.
Now when I try to access the form from my pc I get “This device is not allowed to access your mirror.
Please check your config.js or config.js.sample to change this.”
and the terminal on the pi says “Access denied to IP address: 192.168.2.5”I tried to add it to the ipWhitelist, but I don’t think I have the proper format because it’s not working?
Module entry is:
modules: [ { module:"MMM-Config", position:"top_right", // the QR code (if requested) will appear here config:{ } }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" } ] }
etc
This is how I tried to whitelist my computers ip
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1","192.168.2.5"], // Set [] to allow all IP addresses
I appreciate your help very much!
-
@josh45631 said in Are you tired of editing config.js, or have trouble doing it, see my new module:
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”,“192.168.2.5”],
this means ONLY apps on THIS machine (127.0.0.1 = localhost) are allowed to connect, EVEN if address: is NOT localhost
1st thing to do is disable whitelist , set to [] (means no ip filtering)
fix it after u get things workingalso u really want to add
showQR:true
in the MMM-Config
config section{ module:"MMM-Config", position:"top_right", // the QR code (if requested) will appear here config:{ showQR:true } },