DISPLAY=:0
is a must when attempting to start MM through an SSH connection, otherwise it simply doesn’t have a clue what display to use, the one you’re sitting at, or the one on the rpi?
X-Forwarding is not required nor necessary for a simple ssh login, startup, and exit.
Read the statement by Michael Teeuw here.
Posts made by KirAsh4
-
RE: SSH startup
-
RE: touch screen not working through acrylic mirror
Either do not use the acrylic piece (so no mirror), or search the forum for those who have tried using reflective film.
-
RE: Alexa Goes Handsfree!
The changes to the lightdm config file is probably what it’s warning you about. Remember during the MM installation, you should’ve edited that file to turn off the screen blanking. So you should always do a comparison between what your file looks like and what the vendor is releasing and apply the changes as needed.
-
RE: cell phone bluetooth mirror
Great idea. Go for it, and submit the module when you’re done!
-
RE: Alexa Goes Handsfree!
“Hey Dingdong!”
“Yow Tweedledumb!”Or make it interactive:
“Hey Cheech!”
“Yes Chong?” -
RE: Unable to install dependencies, NPM install not working
@cowboysdude, I don’t know who gave you permission to take a vacation, but they need to be fired. First thing you will need to do when you return.
-
RE: trouble with config file
Need more information here, including what hardware are you attempting to run it on.
-
Alexa Goes Handsfree!
For all you Alexa developers, you don’t need a button to trigger it anymore:
https://www.raspberrypi.org/blog/hands-free-alexa-voice-service/ -
Just for showing ...
I questioned myself a few times (and I still am) before posting this. In light of our recent loss, a family member asked if it’s possible to display pictures on MM. The answer, of course, is yes. However, I wanted a bit more flair. And while this goes way south of @MichMich’s desire to keep things back and white, for this purpose, I decided to move away from that.
Please don’t ask for the code because a) it has a lot of limitations, b) it’s a personal thing, and c) just enjoy it and should you want to tackle something similar thing, know that it’s possible and by all means, go for it.
-
RE: Unable to install dependencies, NPM install not working
Look in your
~pi/.electron
folder. There should be old(er) versions downloaded there. Mine lists two:pi@magicmirror:~/.electron $ ls -al total 67944 drwxr-xr-x 2 pi pi 4096 May 24 23:54 ./ drwxr-xr-x 24 pi pi 4096 Oct 10 02:09 ../ -rw-r--r-- 1 pi pi 34490964 May 2 20:52 electron-v0.37.8-linux-arm.zip -rw-r--r-- 1 pi pi 35072121 May 24 23:54 electron-v1.1.2-linux-arm.zip
As of right now, my mirror is running v1.1.2 - I haven’t updated in about a week. How you go about (re)installing that one however … I’ll leave that as an exercise for the user. :) Mainly because right now I don’t have the time to figure it out. One possible place to start is also looking in the
.npm
folder for the older stuff:pi@magicmirror:~ $ ls -l .npm/electron-prebuilt .npm/electron-prebuilt: total 32 drwxr-xr-x 4 pi pi 4096 May 24 23:50 ./ drwxr-xr-x 509 pi pi 20480 Jul 1 02:40 ../ drwxr-xr-x 3 pi pi 4096 May 2 20:50 0.37.8/ drwxr-xr-x 3 pi pi 4096 May 24 23:50 1.1.2/