MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-WifiPassword, oudated ?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    25 Posts 2 Posters 1.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Jben1969
      last edited by

      {
      		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,
      }
      },

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Jben1969
        last edited by sdetweil

        @Jben1969 I used your config above and see this

        Screenshot at 2024-09-01 20-03-18.png

        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 screen

        I 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",
                }
              },
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          Jben1969 @sdetweil
          last edited by

          @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

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Jben1969
            last edited by

            @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 field

            wifi

            in this case

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jben1969
              last edited by

              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

              S 1 Reply Last reply Reply Quote 0
              • J Offline
                Jben1969
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Jben1969
                  last edited by

                  @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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jben1969
                    last edited by

                    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

                    S 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Jben1969
                      last edited by

                      @Jben1969 is MagicMirror running under the raspberry userid?

                      if using pm2 do
                      pm2 stop all

                      then
                      cd ~/Magicmirror
                      npm start

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @sdetweil
                        last edited by

                        @Jben1969 also, what are the MM config.js settings for

                        address:
                        port:
                        ipWhitelist:
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy