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.
    • 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
                  • S Offline
                    sdetweil @Jben1969
                    last edited by

                    @Jben1969 did you get this resolved

                    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

                      Hello,
                      today I have tried your suggestions and I have got an error about the WifiModule:

                      [2024-09-22 14:05:39.718] [LOG] Loading module helpers …
                      [2024-09-22 14:05:39.722] [WARN] No /home/raspberry/MagicMirror/js/…/modules/MMM-WiFiPassword/MMM-WiFiPassword.js found for module: MMM-WiFiPassword.
                      [2024-09-22 14:05:39.723] [LOG] No helper found for module: MMM-WiFiPassword.
                      [2024-09-22 14:05:39.726] [LOG] No helper found for module: alert.
                      [2024-09-22 14:05:39.754] [LOG] Initializing new module helper …
                      [2024-09-22 14:05:39.757] [LOG] Module helper loaded: updatenotification
                      [2024-09-22 14:05:39.760] [LOG] No helper found for module: clock.
                      [2024-09-22 14:05:40.214] [LOG] Initializing new module helper …
                      [2024-09-22 14:05:40.215] [LOG] Module helper loaded: calendar
                      [2024-09-22 14:05:40.217] [LOG] No helper found for module: weather.
                      [2024-09-22 14:05:41.114] [LOG] Initializing new module helper …
                      [2024-09-22 14:05:41.115] [LOG] Module helper loaded: MMM-Wallpaper
                      [2024-09-22 14:05:41.117] [LOG] No helper found for module: MMM-CalendarExt3.
                      [2024-09-22 14:05:41.118] [LOG] All module helpers loaded.
                      [2024-09-22 14:05:41.135] [LOG] Starting server on port 8080 …
                      [2024-09-22 14:05:41.177] [WARN] You’re using a full whitelist configuration to allow for all IPs
                      [2024-09-22 14:05:46.656] [LOG] Server started …

                      adress : localhost
                      port: 8080
                      ipWhitelist: []

                      Jochen

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

                        @Jben1969
                        No /home/raspberry/MagicMirror/js/…/modules/MMM-WiFiPassword/MMM-WiFiPassword.js found for module: MMM-WiFiPassword.

                        this sounds like a permissions problem

                        can you do

                        cd ~/MagicMirror/modules
                        ls MMM-WiFiPassword -laF
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 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