@opensky727, I haven’t touched MM in several months (other than the occasional git pull) so I’ll have to spend some time looking into it. In the mean time, if others can help, I’d appreciate it. Unfortunately I have one too many things going on at the same time here.
Read the statement by Michael Teeuw here.
Posts
-
RE: Translations
-
RE: Calendar showing "in X day" wrongly
Guys, please read what I said above: it’s the way Moment.js calculates time. The actual module does not do any kind of time calculations, it simply passes the information to and from Moment.js.
If you want the calculations to be done different, then please write a new module, using a different library, and submit a PR request. All of MagicMirror uses the Moment.js library, for any kind of time calculations.
-
RE: Calendar showing "in X day" wrongly
@bhepler is correct here. It calculates based on midnight. It’s in “one day” starting at “the next closest midnight”. That’s simply the way moment.js calculates time.
-
RE: Stop the screensaver!
Jessie-light actually does not come with X11 nor any kind of desktop manager installed. The instructions given in the setup guide apply to the full version of Jessie, which comes with X11 and LightDM installed. Since the light version leaves it up to the user to install their own flavor of X11 and desktop manager, there is no way to guess what instructions we need to give so it works for you.
Perhaps if you indicated what you installed as desktop manager, someone here might be able to help you.
-
RE: PM2 logs
Flush the logs:
‘pm2 flush’Restart the pi:
‘sudo reboot’Check the pm2 logs again:
‘pm2 logs’ -
RE: PM2 logs
Did you try to launch it multiple times? That’s what pm2 is recording.
-
RE: PM2 logs
@ostfilinchen said in PM2 logs:
{ Error: listen EADDRINUSE :::8080
… snip …
code: ‘EADDRINUSE’,
errno: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘::’,
port: 8080 }You’re telling Mm to use a port that’s already being used for something else. If you actually have something that’s using port 8080, change Mm to use something else. It’s in the config.js file. For example, set it to 8585 …
If you don’t have or know what’s on port 8080, you have a bigger problem than either pm2 or MM.
-
RE: Unable to install dependencies, NPM install not working
@cpramhofer, not particularly stressed, just a matter of time … and life moving on.
-
RE: Unable to install dependencies, NPM install not working
Fail! I did not get time this weekend to try this. I got as far as downloading the new Raspbian image. I need to get another project done first, and it’s taking a lot of my time to complete. I will get to the testing, be patient.
-
RE: Please help
@leisi said in Please help:
@darrene said in Please help:
sudo apt-get update
After the sudo apt-get update again i get following error again:
(connection via SSH from Mac / my OS is Raspbian Jessie)pi@magicmirror:~ $ cd MagicMirror
pi@magicmirror:~/MagicMirror $ npm startI lost count on how many times this has come up already. You can not start the mirror using that command when you are remotely SSHd into the rpi. The rpi simply does not know what monitor to use, yours, or the one connected to it. You have to tell it that:
DISPLAY=:0 npm startUse the correct command, and then figure out what the problems are.
-
RE: RSS News Feeds (Viewing Content)
Thought of something like this since day one for me … but I shoved it to the back (where it fell off now) for a few reasons:
a) if this is in my bathroom, I don’t want to be standing there reading news, so I’d never use it there
b) if this is in the living room, I’m just walking by and glancing at it, again, not going to stop to read
c) as above, if I’m in the living room, I can just turn on my TV and watch the news, all day if I wanted to (who has time for that?!)
c) if I’m at the computer, I can always pull up the news siteIn the end it ended up being a ‘nice idea, but won’t get used’, at least not in my house hold. It’s practicality for me.
That said, I understand everyone’s situation is different. Perhaps you do like to stand at your bathroom sink and read the news. Or perhaps your mirror is in a place where people do stop and read. No one is saying you can’t do that.
Just something to chew on …
-
RE: Unable to click a toggle button
z-index applies to everything in the DOM element. Just because your button is on a layer all by itself, does not mean there might not be another layer on top of it that you are unaware of. However if you say you tried it (set it to 999?) and no difference, then something else is going on. At the moment I’m just too overloaded with other projects.
-
RE: Unable to click a toggle button
Hey @strawberry-3-141, have you considered the CSS layers? Could it be possible that something else is overlaid on top of of where the button might be and that’s why @shre28491193 is unable to click on it? I haven’t checked out any of the code nor tried anything, too many things going on at the same time and just too busy, but at the moment, that’s the one thing that came to mind … Set a z-index on the button layer and see what happens.
-
RE: Random Quotes
Actually, yes you could. Basically any HTML tag would (should?) work. I did a ‘
split’ on a key character so I can apply two different styles, one on the quote, and one on the author. Slightly different approach. -
RE: Unable to install dependencies, NPM install not working
I will try this weekend. Haven’t had much free time lately.
-
RE: Rss for news feeds?
@deadherring said in Rss for news feeds?:
My MM is installed in the wall in my bathroom and it would be a huge pain to have to connect a mouse and keyboard to it every time I want to modify anything. I suppose I can ssh into it and modify the config file via nano too. I don’t know if that solves the problem, I have to try later.
Either use SSH to get on the rpi, or, if you must, get a wireless mouse/keyboard combo. Those things are cheap on eBay.
-
RE: Loading compliments from external file
Submit a PR request on the Github page. Do it against the ‘
develop’ branch please. -
RE: Default MM clock is slow
http://raspberrypi.tomasgreno.cz/ntp-client-and-server.html (just follow the
clientsection.)