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-DarkSkyForecast - Yet ANOTHER weather module

    Scheduled Pinned Locked Moved Utilities
    334 Posts 67 Posters 835.2k Views 74 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 Do not disturb
      sdetweil @BD0G
      last edited by

      @BD0G the right side should open up as white.

      Do this

      pm2 stop 0
      cd ~/MagicMirror
      npm start dev
      

      That will start mm with the dev window open

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @BD0G
        last edited by

        @BD0G last letter is i , lower case (ice), not L lowercase

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          BD0G
          last edited by

          Yup. Thats what I pressed CTRL-SHIFT-lowercase i. Nothing. Strange eh? I will try the method above.

          1 Reply Last reply Reply Quote 0
          • B Offline
            BD0G
            last edited by BD0G

            Well that did not display the DEV console either. Just Magic Mirror standard display. I have my display rotated 90 degree’s if thats a concern. So its in Portrait Mode essentially and not Landscape.

            S 1 Reply Last reply Reply Quote 0
            • B Offline
              BD0G
              last edited by

              Ahh looks like the console was behind Magic Mirror and has these entries.

              1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @BD0G
                last edited by

                @BD0G yeh, don’t know what happens in portrait mode

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BD0G
                  last edited by

                  [16:51:14.569] [LOG] Starting MagicMirror: v2.10.0-develop
                  [16:51:14.714] [LOG] Loading config …
                  [16:51:14.985] [LOG] Loading module helpers …
                  0 [LOG] Initializing new module helper …
                  0 [LOG] Module helper loaded: MMM-Remote-Control
                  0 [LOG] No helper found for module: MMM-DarkSkyForecast.
                  0 [LOG] No helper found for module: alert.
                  [16:51:16.448] [LOG] Initializing new module helper …
                  [16:51:16.469] [LOG] Module helper loaded: updatenotification
                  [16:51:16.486] [LOG] No helper found for module: clock.
                  [16:51:21.582] [LOG] Initializing new module helper …
                  [16:51:21.589] [LOG] Module helper loaded: calendar
                  0 [LOG] All module helpers loaded.
                  [16:51:21.619] [LOG] Starting server on port 8080 …
                  [16:51:21.765] [INFO] You’re using a full whitelist configuration to allow for all IPs
                  0 [LOG] Server started …
                  0 [LOG] Connecting socket for: MMM-Remote-Control
                  0 [LOG] Starting node helper for: MMM-Remote-Control
                  0 [LOG] Connecting socket for: updatenotification
                  0 [LOG] Connecting socket for: calendar
                  0 [LOG] Starting node helper for: calendar
                  0 [LOG] Sockets connected & modules started …
                  0 [LOG]
                  Ready to go! Please point your browser to: http://0.0.0.0:8080
                  Starting chromium browser now, have patience, it takes a minute
                  [16:51:23.548] [ERROR] { Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
                  at Server.setupListenHandle [as _listen2] (net.js:1280:14)
                  at listenInCluster (net.js:1328:12)
                  at doListen (net.js:1461:7)
                  at process._tickCallback (internal/process/next_tick.js:63:19)
                  at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
                  at startup (internal/bootstrap/node.js:283:19)
                  at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
                  code: ‘EADDRINUSE’,
                  errno: ‘EADDRINUSE’,
                  syscall: ‘listen’,
                  address: ‘0.0.0.0’,
                  port: 8080 }
                  [16:51:29.611] [ERROR] ERROR! Could not find main module js file for MMM-darkSkyForecast

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @BD0G
                    last edited by

                    @BD0G said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

                    [16:51:23.548] [ERROR] { Error: listen EADDRINUSE: address already in use 0.0.0.0:8080

                    ah, you have the old one running still

                    pm2 start 0

                    check to make sure its shut down

                    ps -ef | grep node

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BD0G
                      last edited by

                      How about I do a full shut down /power off?

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @BD0G
                        last edited by

                        @BD0G no… it will autostart on reboot (at least it should)

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @sdetweil
                          last edited by sdetweil

                          @BD0G but this could be a clue

                          Could not find main module js file for MMM-darkSkyForecast

                          the system is case sensitive…

                          so, the module name in config.js is 'MMM-DarkSkyForecast"
                          (notice u have a lowercase d)

                          the folder in modules, should be the same MMM-DarkSkyForecast ( created from the git clone)

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            BD0G
                            last edited by BD0G

                            Just checked and the module name in the module directory is
                            MMM-darkSkyForecast and that was created by git cloning as stated in the instructions from the GitHub Repository.

                            So the name of the directory DOES have a lowercase d in it.

                            S 2 Replies Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @BD0G
                              last edited by

                              @BD0G can’t be

                              git clone https://github.com/jclarke0000/MMM-DarkSkyForecast.git
                              will produce folder MMM-DarkSkyForecast

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              B 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @BD0G
                                last edited by

                                @BD0G what are the filenames INSIDE the folder?

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  BD0G
                                  last edited by

                                  When I issue the ps -ef | grep node
                                  it returns pi 988 811 3 17:20 pts/0 00:00:00 grep --color=auto node

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @BD0G
                                    last edited by

                                    @BD0G ok, and how about

                                    ps -ef | grep chromium
                                    

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      BD0G
                                      last edited by

                                      Here is the response

                                      pi 904 588 30 17:22 ? 00:00:14 /usr/lib/chromium-browser/chromium-browser --disable-quic --enable-tcp-fast-open --enable-pinch
                                      pi 924 904 3 17:22 ? 00:00:01 /usr/lib/chromium-browser/chromium-browser --type=zygote
                                      pi 926 924 0 17:22 ? 00:00:00 /usr/lib/chromium-browser/chromium-browser --type=zygote
                                      pi 947 904 21 17:22 ? 00:00:08 /usr/lib/chromium-browser/chromium-browser --type=gpu-process --field-trial-handle=7332482715831649297,2455911672236890155,131072 --gpu-preferences=KAAAAAAAAAAgAAAgAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAAJgAAAASAAAAkAAAAAAAAACYAAAAAAAAAKAAAAAAAAAAqAAAAAAAAACwAAAAAAAAALgAAAAAAAAAwAAAAAAAAADIAAAAAAAAANAAAAAAAAAA2AAAAAAAAADgAAAAAAAAAOgAAAAAAAAA8AAAAAAAAAD4AAAAAAAAAAABAAAAAAAACAEAAAAAAAAQAQAAAAAAABgBAAAAAAAAEAAAAAAAAAAAAAAABQAAABAAAAAAAAAAAAAAAAYAAAAQAAAAAAAAAAAAAAAHAAAAEAAAAAAAAAAAAAAACgAAABAAAAAAAAAAAAAAAAwAAAAQAAAAAAAAAAAAAAANAAAAEAAAAAAAAAABAAAABQAAABAAAAAAAAAAAQAAAAYAAAAQAAAAAAAAAAEAAAAHAAAAEAAAAAAAAAABAAAACgAAABAAAAAAAAAAAQAAAAwAAAAQAAAAAAAAAAEAAAANAAAAEAAAAAAAAAAEAAAABQAAABAAAAAAAAAABAAAAAYAAAAQAAAAAAAAAAQAAAAHAAAAEAAAAAAAAAAEAAAACgAAABAAAAAAAAAABAAAAAwAAAAQAAAAAAAAAAQAAAANAAAA --service-request-channel-token=5493558882893021086
                                      pi 951 904 6 17:22 ? 00:00:02 /usr/lib/chromium-browser/chromium-browser --type=utility --field-trial-handle=7332482715831649297,2455911672236890155,131072 --lang=en-US --service-sandbox-type=network --disable-quic --service-request-channel-token=14967951688445977275 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
                                      pi 1034 926 6 17:23 ? 00:00:01 /usr/lib/chromium-browser/chromium-browser --type=renderer --field-trial-handle=7332482715831649297,2455911672236890155,131072 --lang=en-US --instant-process --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=1 --service-request-channel-token=17867901049141360113 --renderer-client-id=7 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
                                      pi 1135 926 15 17:23 ? 00:00:03 /usr/lib/chromium-browser/chromium-browser --type=renderer --field-trial-handle=7332482715831649297,2455911672236890155,131072 --lang=en-US --extension-process --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=1 --service-request-channel-token=8805285444412210348 --renderer-client-id=4 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
                                      pi 1189 926 16 17:23 ? 00:00:03 /usr/lib/chromium-browser/chromium-browser --type=renderer --field-trial-handle=7332482715831649297,2455911672236890155,131072 --lang=en-US --extension-process --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=1 --service-request-channel-token=2818717241021702166 --renderer-client-id=5 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
                                      pi 1210 947 0 17:23 ? 00:00:00 /usr/lib/chromium-browser/chromium-browser --type=broker
                                      pi 1217 811 0 17:23 pts/0 00:00:00 grep --color=auto chromium

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

                                        @sdetweil

                                        Pinky Swear!

                                        It did produce a directory with a lowercase d in the name.

                                        Here is listing of the directories under modules

                                        pi@raspberrypi:~/MagicMirror/modules $ dir
                                        default MMM-darkSkyForecast MMM-Remote-Control node_modules README.md

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @BD0G
                                          last edited by

                                          @BD0G ok,

                                          pm2 stop 0
                                          should have worked

                                          sudo killall chromium-browser

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          B 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @BD0G
                                            last edited by

                                            @BD0G said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

                                            MMM-darkSkyForecast

                                            thanks…

                                            ls ~/MagicMirror/modules/MMM-darkSkyForecast

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 13 / 17
                                            • 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