Read the statement by Michael Teeuw here.
MMM-DarkSkyForecast - Yet ANOTHER weather module
-
@BD0G what are the filenames INSIDE the folder?
-
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 -
@BD0G ok, and how about
ps -ef | grep chromium -
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 -
-
-
@BD0G said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
MMM-darkSkyForecast
thanks…
ls ~/MagicMirror/modules/MMM-darkSkyForecast
-
I ran the sudo killall chromium-browser and response was
chromium-browser : no process found -
@BD0G ok
sudo killall /usr/lib/chromium-browser/chromium-browser
-
That killed the browser window I had open and then returned to the command prompt
-
@BD0G ok, and the ls results
I work from my windows machine and ssh into the pi.
use bitvise ssh client… opens a terminal window and a file browser window at the same time…
double click on files to editcommands in the ssh window… almost never go to the actual mirror screen, except for the dev window
-
ls results? You lost me there. ssh has been painfully slow when using Putty.
-
@BD0G back a few messages
ls ~/MagicMirror/modules/MMM-darkSkyForecast
-
Here it is
pi@raspberrypi:~/MagicMirror/modules $ ls ~/MagicMirror/modules/MMM-darkSkyForecast
icons node_helper.js README.md
MMM-DarkSkyForecast.css node_modules skycons.js
MMM-DarkSkyForecast.js package.json
mmm-darksky-forecast.njk package-lock.json -
@BD0G said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
MMM-DarkSkyForecast.js
file name is uppercase D
all has to match
change the name of the folder and the entry in config.js
-
@BD0G to git clone, find the project on github, push the green clone or download button, then push the clipbpard icon. it will copy the repo url to the clipboard for you
past that behind git clone
-
I renamed the Directory under modules to reflect a capital D in the name DarkSkyForecast. Since there is already a capital D within the name of the module within the config.js file then no change is needed to the config.js. Correct?
-
@BD0G said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
Since there is already a capital D within the config.js file
the error says otherwise
Could not find main module js file for MMM-darkSkyForecast
this means Mirror went to the folder, and tried to find MMM-darkSkyForecast.js,
but it wasn’t present… ONLY way to get that is from the config.js -
OK. I checked and the name of the directory is
MMM-DarkSkyForecast (with a capital D)
The name of the file below that directory is
MMM-DarkSkyForecast.js (with capital D)and the entry in the config.js is
module: “MMM-DarkSkyForecast”, (with capital D) -
@BD0G ok, fire it up…
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
