@broberg Hi Broberg!
It’s a really nice module you created, thanks a lot! In the german translation though is a little error. It’s not your (programming)fault, it’s the german language which is f**** up in this case. In Germany, we flip the the two digits and put an and (“und”) in between, when the number is above 20: 21 is not twenty-one, we say one-and-twenty. two-and-twenty, three-and-twenty and so on. In your config you seem to translate the numbers 1:1. It would be really nice, if you could change that in your next version, when it’s not to much coding work. At the moment I’m fine with the english version.
Read the statement by Michael Teeuw here.
Posts made by AnyKey
-
RE: MMM-TextClock, number blind? No worries, you can now read the time!
-
RE: MagicMirror Servermode on Synology DS
Ok, i managed to edit the config.js file to a full whitelist with nano. To install nano I had to do
sudo apt-get update sudo apt-get install nano
After that, I run “node serveronly” in the MagicMirror folder and I got the following log:
root@synology_gitlab:/home/git/gitlab/MagicMirror# node serveronly Starting MagicMirror: v2.1.1 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Starting server op port 8080 ... You're using a full whitelist configuration to allow for all IPs Server started ... Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Ready to go! Please point your browser to: http://localhost:8080 Whoops! There was an uncaught exception... { Error: listen EADDRINUSE :::8080 at Object.exports._errnoException (util.js:1033:11) at exports._exceptionWithHostPort (util.js:1056:20) at Server._listen2 (net.js:1270:14) at listen (net.js:1306:10) at Server.listen (net.js:1397:7) at new Server (/home/git/gitlab/MagicMirror/js/server.js:27:9) at /home/git/gitlab/MagicMirror/js/app.js:219:18 at loadNextModule (/home/git/gitlab/MagicMirror/js/app.js:168:5) at /home/git/gitlab/MagicMirror/js/app.js:163:6 at Class.loaded (/home/git/gitlab/MagicMirror/modules/node_modules/node_help er/index.js:19:3) code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 } MagicMirror will not quit, but it might be a good idea to check why this happene d. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://gi thub.com/MichMich/MagicMirror/issues
But I don’t get a connection when opening “http://localhost:8080”.
At this point, I come to the conclusion, that it will be much easier and less stressful to run the MM Server on my Pi3 (managed to install and configure it at work in three hours less). Besides that, the ressources need for running a MM container seems to be very high, working with ne Synology while running MM is a pain in the ***.
From my point of view this topic can be closed. I’d like to thank everybody who participated and wanted to help me! You guys rock :-)
sincerely yours Andre -
RE: MagicMirror Servermode on Synology DS
@bhepler The config.js didn’t existed after the install process, so I copied it, like you mentioned. The real stungle was to find an editor to open and edit the config file. Nano is not supported, that was the first (and only editor) editor I’ve tried. When I’m home, I will test your other suggestions.
-
RE: MagicMirror Servermode on Synology DS
@bhepler I haven’t managed to change the ipwhitelist (and other configs) yet, because I don’t know how to access the config.js file. After installing git, the next steps had to be done via the docker integrated ssh client, because I wasn’t able to access the git container (files in it) from my laptop using putty.
But I couldn’t find a command to open the js-file in some sort of editor. It was late anyway, so I decided to sleep over it and I will have another try this afternoon. -
RE: MagicMirror Servermode on Synology DS
@bhepler said in MagicMirror Servermode on Synology DS:
Start node and it will provide a webserver.
Thanks for your help so far (both of you!)
-
- There is a Nodejs package distributed by synology. installed it (ckeck)
-
- I found a package “Gitlab” and managed to install it. Rep cloned (check)
-
- Running nmp install, I got some warnings, of course I didn’t take screenshots (check, I think)
-
- “node serveronly” seems to work. But I’m not able to connect to it over diskstation:8080. Besides that, I haven’t figured out how to change the config file yet. Have to do some more research.
-
-
MagicMirror Servermode on Synology DS
Hi everybody,
I wonder if it’s possible, to get the MagicMirror Servermode running on a Synology Diskstations Webserver. I know that MM² comes with a build in WebServer, but I would like to setup more than one MM device in the future and would like to keep the computing and background tasks on a central platform (my Syn NAS). Is there a way to realize it? As I’m a beginner when it comes to shell commands, it would be wonderful, if I could get my hands on some kind of (step-by-step) tutorial.
Kind regards
Andre