Read the statement by Michael Teeuw here.
MMM-Random Fact
-
Hi good module
For another language
i suppose in config filelanguage: ‘german’
that its ?
-
The language was set automatically, after a reboot of the pi it ran then.
-
@lauxtert @cowboysdude same here it stays in" getting a fact" (in my language)…restarting does nothing and setting global config language also does nothing only english is working! here is the error I get
{node:1148} UnhandeledPromiseRejectWarning: Unhandeled promise rejection {rejection id: 1}: Error {node:1148} [DEP0018] DeprecationWarning: Unhandeled promise rejection are deprecated. In the future, promise rejections that are not handeled will terminate the Node.js process with a non-zer exit code.
-
My module fails as well and I blame the following message in my developer’s console
[Violation] 'message' handler took 767ms
It is not directly linked to the module but is coming up since I had it installed just now
-
@lavolp3 module works after a complete reboot. Sorry for the bothering :-)
-
@lavolp3 glad it’s working…could you try to change it’s language and see if it still works?
-
@ramez to be honest, it doesn’t work again. Can’t really find the reason for that.
My confige entry:{ disabled: false, module: 'MMM-rfacts', position: 'top_right', config: { lang: "de", //facts will be translated to this language according to ISO-639$ updateInterval: 10 * 60 * 1000, // every 10 minutes animationSpeed: 10, initialLoadDelay: 875, // 0 seconds delay retryDelay: 1500, fadeSpeed: 7 } },
IN the pm2 logs I only get this
0|mm | (node:10423) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 53): Error
-
@lavolp3 said in Random Fact:
updateInterval: 10 * 60 * 1000, // every 10 minutes
animationSpeed: 10,
initialLoadDelay: 875, // 0 seconds delay
retryDelay: 1500,
fadeSpeed: 7Do a git pull…should be fixed now :) Check the config below…
Actually this is THE only thing you need in your config.js file …``` { disabled: false, module: 'MMM-rfacts', position: 'top_right', },
-
@cowboysdude sorry, but still same error
-
@ramez Not really sure as I cannot duplicate your error and no one else seems to be having the issue.