Read the statement by Michael Teeuw here.
MMM-WifiPassword, oudated ?
-
{ module: 'MMM-WiFiPassword', position: "top_left", config: { //See 'Configuration options' for more information. network: "FRITZBoxGzugang", password: "Xxxxxxxxxxx", *this I tried before*
// module: “MMM-WiFiPassword”,
// position: “top_right”,
// header: “Gastzugang”,
// config: {
// qrSize : 100,
// authType: “WPA”,
// network: “FRITZBoxGzugang”,
// password: “Xxxxxxxxxxx”,
// debug: true,
}
}, -
@Jben1969 I used your config above and see this
one question… each area is a stack, top down,
if there are too many modules in a position, it will be clipped at the bottom of the screenI put the module as the first in the modules list. try that
modules: [ { module: 'MMM-WiFiPassword', position: "top_left", config: { //See 'Configuration options' for more information. network: "FRITZBoxGzugang", password: "Xxxxxxxxxxx", } },
-
@sdetweil well, I tried, your suggestion but the Wifi QR won´t appear, can you help me to debug the config, or can you tell me where I can find the debug protocol ?
Thanks
Jochen
-
@Jben1969 because the module is all in browser., all the logging will be found in the browser developers console tab
ctrl-shift-i
select the console tab
and add some unique part of the module name to the filter fieldwifi
in this case
-
Load script: modules/MMM-WiFiPassword/MMM-WiFiPassword.js
:8080/modules/MMM-Wi…M-WiFiPassword.js:1
Failed to load resource: the server responded with a status of 404 (Not Found)
localhost/:1 Refused to execute script from ‘http://localhost:8080/modules/MMM-WiFiPassword/MMM-WiFiPassword.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
loader.js:168 Error on loading script: modules/MMM-WiFiPassword/MMM-WiFiPassword.js -
Hi Sam,
I send the message from browser in a separate post, because.
It´s seems that there ios a bug in my configuration.Look at my other answer please.
thanks
Jochen
-
@Jben1969 very interesting. We added checks for missing files in this release, so this type error should not occur
Can you do
cd ~/MagicMirror/modules ls -laF cd MMM-WifiPassword ls -laF
And post the results, maybe it’s a permissions problem
-
raspberry@MagicMirror2:~/MagicMirror/modules $ ls -laF
insgesamt 76
drwxr-xr-x 19 raspberry raspberry 4096 30. Aug 14:22 ./
drwxr-xr-x 17 raspberry raspberry 4096 27. Aug 00:23 …/
drwxr-xr-x 10 raspberry raspberry 4096 4. Mai 17:58 default/
drwxr-xr-x 6 raspberry raspberry 4096 4. Mai 17:10 MMM-CalendarExt3/
drwxr-xr-x 5 raspberry raspberry 4096 24. Feb 2024 MMM-CalendarExt3Agenda/
drwxr-xr-x 8 raspberry raspberry 4096 22. Mär 15:27 MMM-Fuel/
drwxr-xr-x 13 raspberry raspberry 4096 10. Feb 2024 MMM-GoogleAssistant/
drwxr-xr-x 5 raspberry raspberry 4096 21. Mär 16:39 MMM-GoogleCalendar/
drwxr-xr-x 5 raspberry raspberry 4096 10. Feb 2024 MMM-GoogleMapsTraffic/
drwxr-xr-x 6 raspberry raspberry 4096 10. Feb 2024 MMM-GooglePhotos/
drwxr-xr-x 3 raspberry raspberry 4096 27. Aug 00:12 MMM-GuestWifiQR/
drwxr-xr-x 6 raspberry raspberry 4096 10. Feb 2024 MMM-MQTT/
drwxr-xr-x 4 raspberry raspberry 4096 10. Feb 2024 MMM-OpenmapWeather/
drwxr-xr-x 6 raspberry raspberry 4096 16. Jun 17:44 MMM-OpenWeatherMapForecast/
drwxr-xr-x 10 raspberry raspberry 4096 21. Mär 17:14 MMM-Pir/
drwxr-xr-x 4 raspberry raspberry 4096 23. Feb 2024 MMM-PIR-Sensor/
drwxr-xr-x 10 raspberry raspberry 4096 22. Mär 17:00 MMM-soccer/
drwxr-xr-x 4 raspberry raspberry 4096 18. Feb 2024 MMM-Wallpaper/
drwxr-xr-x 4 raspberry raspberry 4096 5. Sep 12:57 MMM-WifiPassword/
raspberry@MagicMirror2:~/MagicMirror/modules $ cd MMM-WifiPassword
raspberry@MagicMirror2:~/MagicMirror/modules/MMM-WifiPassword $ ls -laF
insgesamt 80
drwxr-xr-x 4 raspberry raspberry 4096 5. Sep 12:57 ./
drwxr-xr-x 19 raspberry raspberry 4096 30. Aug 14:22 …/
drwxr-xr-x 8 raspberry raspberry 4096 30. Aug 23:43 .git/
drwxr-xr-x 3 raspberry raspberry 4096 30. Aug 14:22 .github/
-rw-r–r-- 1 raspberry raspberry 6 30. Aug 14:22 .gitignore
-rw-r–r-- 1 raspberry raspberry 1061 30. Aug 14:22 LICENSE
-rw-r–r-- 1 raspberry raspberry 266 30. Aug 14:22 MMM-WiFiPassword.css
-rw-r–r-- 1 raspberry raspberry 4482 5. Sep 12:57 MMM-WiFiPassword.js
-rw-r–r-- 1 raspberry raspberry 13901 30. Aug 14:22 mm.png
-rw-r–r-- 1 raspberry raspberry 19927 30. Aug 14:22 qrcode.min.js
-rw-r–r-- 1 raspberry raspberry 2697 30. Aug 14:22 README.md
-rw-r–r-- 1 raspberry raspberry 804 30. Aug 14:22 WifiPasswordModal.njk -
@Jben1969 is MagicMirror running under the raspberry userid?
if using pm2 do
pm2 stop allthen
cd ~/Magicmirror
npm start -
@Jben1969 also, what are the MM config.js settings for
address: port: ipWhitelist: