@Fonfon open a terminal and change directory cd ~/MagicMirror/modules/MMM-Globe
then npm install
Read the statement by Michael Teeuw here.
Best posts made by strawberry 3.141
-
RE: Bad question
-
RE: can someone help pleas with my config/config.js
@jiyar you have two issues, both are in the section of the module prayer time:
- after apiVersion there is a comma missing before your comment
apiVersion: '1.0', // please, leave unchanged. reserved for future use.
- There are two brackets too much (
} ]
), it should be:
alertTimer: 15000 } },
- after apiVersion there is a comma missing before your comment
-
RE: .txt file include
@saschasp you can change your regular expressions to the following:
/Meldung (.*)/ig;
,/Zone (.*)/ig;
and/Zeit (.*)/ig;
. This should help you displaying the data. For the problem with the newest file you need to do the following steps: Scan the directory, sort file list by highest number, read the first file.Scan the directory https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback
Sort the file names https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
Read the file https://nodejs.org/api/fs.html#fs_fs_readfile_path_options_callback
-
RE: MMM-Fuel
- null @jets is propably that they inserted the house number in the street name and the house number value returns null
- for the street names i would split at the space character and then for each array item charAt(0).toUpperCase() and the rest of the string lowercase and finally join them together
-
RE: Why do you use smart mirror?
@Sultan91 For me a smart mirror is similar to a smart watch, it’s a nice to have gadget. For myself I don’t have one, but it’s fun to develop and with more and more service integrations it’s getting more and more useful
-
RE: Separate Date from Time?
@KairosZenith defaultmodules are also listed in this file https://github.com/MichMich/MagicMirror/blob/master/modules/default/defaultmodules.js, but i wouldn’t add your new one here, as it will give you problms in the future on updates, especially as there is ongoing work on a new default module.
You rather take your dateclock out of the default directory and place it in the directory where all the 3rd party modules are.
-
RE: Shell scripts through mirror
@trmst the way I’m calling the turn off monitor cmd in my voice module you can execute your shell script.
https://github.com/fewieden/MMM-voice/blob/master/node_helper.js#L348
official documentation https://nodejs.org/dist/latest-v8.x/docs/api/child_process.html#child_process_child_process_exec_command_options_callback
-
RE: MMM-WienerLinien
Two new config options to limit size of the station and destination name
[card:fewieden/MMM-WienerLinien]
-
RE: WunderGround Icon name?
.MMM-WunderGround table.small td:nth-child(5), .MMM-WunderGround table.small td:nth-child(6) { /* do the magic */ }
-
RE: default newsfeed and prohibitedWords
@twosquirrels it has to be an array, see the documentation
{ module: "newsfeed", position: "bottom_bar", config: { prohibitedWords: ['trump'], feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml", }, { title: "The Verge", url: "https://www.theverge.com/rss/index.xml", }, ], } },