• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. Koert 0
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
K
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 0
  • Posts 2
  • Groups 0

Koert 0

@Koert 0

0
Reputation
3
Profile views
2
Posts
0
Followers
0
Following
Joined Mar 25, 2021, 4:10 PM
Last Online Apr 9, 2021, 12:57 PM

Koert 0 Unfollow Follow

Latest posts made by Koert 0

  • RE: [MMM-JaST] Just another Stock Ticker (new: version 2.x)

    Hi @jalibu ,

    It works (for the most of my Stocks). The ticker is showing me the correct value but not an increase/decrease in percent (for 2 of 10 stocks).

    can you help me with this error message?

    thank you in advance!

    0|mm       | [31.03.2021 11:25.10.250] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:58
    0|mm       | 			stocks: [
    0|mm       | 			^^^^^^
    0|mm       | 
    0|mm       | SyntaxError: Unexpected identifier
    0|mm       |     at Module._compile (internal/modules/cjs/loader.js:896:18)
    0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)
    0|mm       |     at Module.load (internal/modules/cjs/loader.js:816:32)
    0|mm       |     at Module._load (internal/modules/cjs/loader.js:728:14)
    0|mm       |     at Function.Module._load (electron/js2c/asar.js:748:26)
    0|mm       |     at Module.require (internal/modules/cjs/loader.js:853:19)
    0|mm       |     at require (internal/modules/cjs/helpers.js:74:18)
    0|mm       |     at loadConfig (/home/pi/MagicMirror/js/app.js:70:12)
    0|mm       |     at App.start (/home/pi/MagicMirror/js/app.js:217:3)
    0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:129:7)
    0|mm       | [31.03.2021 11:25.11.849] [WARN]  (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
    0|mm       | [31.03.2021 11:28.30.123] [WARN]  (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
    0|mm       | [31.03.2021 11:34.45.284] [WARN]  (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
    0|mm       | [31.03.2021 11:41.15.680] [WARN]  (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
    
    posted in Utilities
    K
    Koert 0
    Mar 31, 2021, 9:53 AM
  • RE: [MMM-JaST] Just another Stock Ticker (new: version 2.x)

    @jalibu I’m facing some problems with displaying the correct value of my stocks.

    modules: [
    
    
    
    {
    module: "MMM-Jast",
    position: "fullscreen_above",
    config: {
    
    maxWidth: "100%",
    updateIntervalInSeconds: 0, 
    fadeSpeedInSeconds: 90.5, 
    scroll: "horizontal",
    defaultCurrency: "EUR",
    showDepotGrowth: false,
    apiKey: "MY API KEY",
    stocks: [
    	{ name: "Porsche", symbol: "PAH3.DE" },
    	{ name: "STS", symbol: "SF3.DE"},
    	{ name: "Haier", symbol: "690D.DE" },
    	{ name: "Siemens Energy", symbol: "ENR.DE" },
    	{ name: "TUI", symbol: "TUI1.DE" },
    	{ name: "HochTief", symbol: "HOT.DE" },
    	{ name: "Siemens", symbol: "SIE.DE" },
    	{ name: "Allianz", symbol: "ALV.DE" },
    	],
    	},
    	},
    		
    	]
       };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    
    

    Problem 1: The ticker is showing me Values. But also a value for BTC (which isn’t mentioned in the code?!?!)

    Problem 2: Values from the stock list are old Values from the beginning of the Day (or maybe last value of the day before)

    maybe a Log can help you:

    /home/pi/.pm2/logs/mm-out.log last 100 lines:
    0|mm       | [25.03.2021 16:08.16.922] [LOG]   Sending Stock result: { symbol: 'PAH3.DE', current: 84.68, last: 87.42 }
    0|mm       | [25.03.2021 16:08.16.936] [LOG]   Sending Stock result: { symbol: '690D.DE', current: 1.832, last: 1.9368 }
    0|mm       | [25.03.2021 16:08.16.971] [LOG]   Sending Stock result: { symbol: 'TUI1.DE', current: 4.396, last: 4.133 }
    0|mm       | [25.03.2021 16:09.18.891] [LOG]   Sending Stock result: { symbol: 'HOT.DE', current: 73.35, last: 73 }
    0|mm       | [25.03.2021 16:09.18.913] [LOG]   Sending Stock result: { symbol: 'SIE.DE', current: 135.56, last: 135.98 }
    0|mm       | [25.03.2021 16:09.18.974] [LOG]   Sending Stock result: { symbol: 'ALV.DE', current: 212.55, last: 211.45 }
    0|mm       | [25.03.2021 16:09.19.845] [LOG]   Sending Crypto result: { symbol: 'BTC', current: 52417.17, last: 52303.65 }
    0|mm       | 
    0|mm       | > magicmirror@2.14.0 start /home/pi/MagicMirror
    0|mm       | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    0|mm       | 
    0|mm       | [25.03.2021 16:26.45.698] [LOG]   Starting MagicMirror: v2.14.0
    0|mm       | [25.03.2021 16:26.45.712] [LOG]   Loading config ...
    0|mm       | [25.03.2021 16:26.45.733] [LOG]   Loading module helpers ...
    0|mm       | [25.03.2021 16:26.46.100] [LOG]   Initializing new module helper ...
    0|mm       | [25.03.2021 16:26.46.105] [LOG]   Module helper loaded: updatenotification
    0|mm       | [25.03.2021 16:26.46.111] [LOG]   No helper found for module: helloworld.
    0|mm       | [25.03.2021 16:26.46.112] [LOG]   All module helpers loaded.
    0|mm       | [25.03.2021 16:26.46.305] [LOG]   Starting server on port 8080 ... 
    0|mm       | [25.03.2021 16:26.46.329] [LOG]   Server started ...
    0|mm       | [25.03.2021 16:26.46.331] [LOG]   Connecting socket for: updatenotification
    0|mm       | [25.03.2021 16:26.46.332] [LOG]   Sockets connected & modules started ...
    0|mm       | [25.03.2021 16:26.46.743] [LOG]   Launching application.
    0|mm       | 
    0|mm       | > magicmirror@2.14.0 start /home/pi/MagicMirror
    0|mm       | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    0|mm       | 
    0|mm       | [25.03.2021 16:27.41.491] [LOG]   Starting MagicMirror: v2.14.0
    0|mm       | [25.03.2021 16:27.41.506] [LOG]   Loading config ...
    0|mm       | [25.03.2021 16:27.41.519] [LOG]   Loading module helpers ...
    0|mm       | [25.03.2021 16:27.41.524] [LOG]   No helper found for module: clock.
    0|mm       | [25.03.2021 16:27.42.080] [LOG]   Initializing new module helper ...
    0|mm       | [25.03.2021 16:27.42.082] [LOG]   Module helper loaded: MMM-Jast
    0|mm       | [25.03.2021 16:27.42.084] [LOG]   All module helpers loaded.
    0|mm       | [25.03.2021 16:27.42.238] [LOG]   Starting server on port 8080 ... 
    0|mm       | [25.03.2021 16:27.42.269] [LOG]   Server started ...
    0|mm       | [25.03.2021 16:27.42.271] [LOG]   Connecting socket for: MMM-Jast
    0|mm       | [25.03.2021 16:27.42.273] [LOG]   MMM-Jast helper method started...
    0|mm       | [25.03.2021 16:27.42.274] [LOG]   Sockets connected & modules started ...
    0|mm       | [25.03.2021 16:27.42.755] [LOG]   Launching application.
    0|mm       | [25.03.2021 16:27.47.791] [LOG]   Sending Stock result: { symbol: 'ALV.DE', current: 212.55, last: 211.45 }
    0|mm       | [25.03.2021 16:27.47.868] [LOG]   Sending Stock result: { symbol: 'SF3.DE', current: 7.88, last: 7.68 }
    0|mm       | [25.03.2021 16:27.47.890] [LOG]   Sending Stock result: { symbol: 'ENR.DE', current: 29.38, last: 30.03 }
    0|mm       | [25.03.2021 16:27.47.916] [LOG]   Sending Stock result: { symbol: '690D.DE', current: 1.832, last: 1.9368 }
    0|mm       | [25.03.2021 16:27.47.960] [LOG]   Sending Stock result: { symbol: 'PAH3.DE', current: 84.68, last: 87.42 }
    

    For Example Porsche received the same value twice
    Greetings from BW to RP ;)

    posted in Utilities
    K
    Koert 0
    Mar 25, 2021, 4:29 PM
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