Read the statement by Michael Teeuw here.
[MMM-JaST] Just another Stock Ticker (new: version 2.x)
-
@jalibu don’t know how to PN
therefore here:
{
module: “MMM-Jast”,
position: “bottom_right”, //“bottom_center”,
config: {
locale: “de-DE”,
useGrouping: true,
stocks: [
{ name: “DOW 30”, symbol: “^DJI”, quantity: 10 },
//{ name: “S&P 500”, symbol: “^GSPC”, quantity: 15 },
{ name: “Nasdaq 100”, symbol: “^NDX” },
//{ name: “DAX 30”, symbol: “^GDAXI” },
{ name: “EUR/USD”, symbol: “EURUSD=X”}
],
maxWidth: “100%”,
updateIntervalInSeconds: 300,
fadeSpeedInSeconds: 15, //3.5,
scroll: “none”, // One of [“none”, “vertical”, “horizontal”]
useGrouping: false,
currencyStyle: “symbol”, // One of [“code”, “symbol”, “name”]
lastUpdateFormat: “HH:mm”,
showColors: true,
showCurrency: true,
showChangePercent: true,
showChangeValue: false,
showChangeValueCurrency: false,
showLastUpdate: false,
showPortfolioValue: false,
showPortfolioGrowthPercent: false,
showPortfolioGrowth: false,
numberDecimalsValues: 2,
numberDecimalsPercentages: 1,
virtualHorizontalMultiplier: 2
}
}, -
@jo-0 he meant pm, private message
-
@sdetweil I know, but where can I find the email address?
-
@jo-0 not email. chat here,
click his username,
then 3 dots to the right,
start new chat -
@jo-0 you have useGrouping property twice in your settings. As true and as false. remove the ‚useGrouping: false‘ and it will work
-
@jalibu Hi,
workes fine now! Exactly how i wanted it.
thank you.But next:
how can I update the modul?
‘git pull’
decline with the notice ‘please committen or stashen …’
cancellation.
Not sure what to do. -
@jo-0 in the modules/MMM-Jast folder try to execute
git reset --hard
first and continue withgit pull
andnpm install --only=production
in a second step. -
@jalibu
thank you very much, that was the solution -
Just noticed that I get this message on MM startup. Everything is running, current update installed this morning.
0|MagicMirror | [26.01.2022 11:04.50.818] [ERROR] 0|MagicMirror | ERROR! Could not validate main module js file. 0|MagicMirror | [26.01.2022 11:04.50.839] [ERROR] 0|MagicMirror | ReferenceError: Log is not defined 0|MagicMirror | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Jast/MMM-Jast.js:14:4347) 0|MagicMirror | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMirror | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMirror | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMirror | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMirror | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMirror | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMirror | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMirror | at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:313:30) 0|MagicMirror | at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:267:26 0|MagicMirror | [2805:0126/110450.830713:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
-
@requiemmg whats your MagicMirror version?