I had a very specific use case where I wanted to use Debian (LXDE) with an old laptop to run Magic Mirror.
I am by no means a linux expert! But I did some tinkering and couldnt get the install script working. The following steps might help you getting MM running on a Debian 10 machine. I used the debian-live-10.0.0-amd64-lxde.iso to install Debian.
Once installed, log in to the system with the user you created during setup.
Open a terminal window, and run the following:
Enter the root password when prompted and then run the following:
apt-get install openssh-server
Once complete I found it easier to go back to my main machine and use putty.
Open a Putty connection to your machine, login with the user you created during setup
Once at the terminal, type the following:
Enter the root password when prompted and then run the following:
apt-get --assume-yes install curl wget git build-essential unzip gcc g++ make
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
apt-get install -y nodejs
apt-get install -y npm
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
apt-get install yarn
This should return you to the mm user you have setup, at the command line type the following:
git clone --depth=1 https://github.com/MichMich/MagicMirror.git
cp config/config.js.sample config/config.js
npm audit fix
Close out the session and then go back to the machine and run a terminal prompt and type the following to start mm!
YMMV but hope this helps others out there trying to get this to work too.
I don’t know if you solved this yet, but there is an app for that… it’s called Morning. Panic used to have an amazing app called Status Board but they have discontinued it . But if you’re looking for a basic one, use Morning.
Thanks for all the advice and after looking around, I feel that the CEC option is the best one but, unfortunately, is out of my budget. I’ve stumbled across this suggestion which looks like a neat (and cheaper way of getting the same effect.
What’s everyone’s thoughts on it? If it wouldn’t work then could you instead connect to the remote control IR input and force standby that way?
Hello. Im not very good with english, but i will try to explain. Trying to replace LCD panel, from old TV. I was not able to find exactly the same panel. Found similar one. There is one major mismatch, that might be the problem. It is LVDS interface pin configuration. The code is slightly different. Originally TV came with V260B1-L13, but only found V260B1-L12. So, is there a chance it will work?
@yawns said in Use touch sensor to wake up MagicMirror:
The approach is always the same …
Sensor is triggered (touch sensor is touched, button is pressed, camera is identifying motion, PIR is noticing infrared heat), a timer is started and the mirror is activated. Once the timer expires the mirror is deactivated again.
Of course you can use a touch sensor like TTP223. All it does is setting its communication pin on HIGH if someone is touching it. Since this is a momentary touch you need to start some timer, because you don’t want to keep your finger on the touch sensor all the time to be able to work with the mirror.
Downside in my opinion is the positioning of the sensor. It needs to be mounted on the mirror so you can actually touch it, but it is not really looking nice. Using a PIR sensor mounted in the buttom of the frame looking down through a little hole is invisble. You move your hand below the mirror, the PIR senses the infrared heat and you are done.
y want somethink like that,but im going to put the mirror in a place that a lot of people pass,so i think about this:
the touch sensor start the pir,and the pir start detecting if it’s somebody in front,if not,set on standby the screen
i don’t want that the pir it’s detecting all the time
@Advokaten said in mirror for magic mirror?:
I think he’s asking wether there’s something more than just that 3mm glass. Like another type of glass/screen/sheet of any sort, behind it.
No, that’s the only thing I used.
Thanks bud. I do appreciate that
I’m thinking of using a 32" monitor. Sadly, the mirror I’m able to find when it comes to this size is really expensive
Yes, I’m planning my next mirror. I want to go bigger, too, but I also want to keep my costs down. I’m thinking 27" for my next build
@almasgai said in Slim Monitor or TV:
@slametps Thank you so much! I ended up getting a monitor.
@almasgai Please ensure that if your requirement and goal about MM is also involving sound output, using TV rather than monitor is better choice, except monitor is already has built-in speaker. It is also my consideration about using TV for my MM.
@johnnyboy said in Using an Old (2 years old) windows Laptop in place of raspberry pi.:
I, too, started with a Windows machine, but it is possible to install MM and get it running, just in a roundabout way.
Then I installed uBuntu on a laptop and installed MM and that went quite smoothly.
You want the best of both worlds? When you install uBuntu on a PC or laptop there is an option to install it alongside of Windows, making it a dual boot machine.
@amanzimdwini said in raspberry-pi alternatives:
So it does work on Win10 and Ubuntu.
Yes, thanks. And as of this very moment, I can confirm that an old Compaq Presario CQ57 laptop, with a fresh install of uBuntu 16.04 LTS, is running MagicMirror 2 without a hitch. And, more importantly, it’s running MMM-NFL and MMM-Voice for voice control of the module. Voice control was the important factor for me as it’s the only way to access almost all of the features on MMM-NFL As a super deluxe and surprising added benefit to the whole thing, MMM-Voice recognized, and is using, the built-in microphone of the laptop.
I’m dancing on air right now. This NFL machine is going to be a gift to my son-in-law who loves NFL football and Fantasy Football. I’m sure he’s going to love it and be the envy of all his friends.
@cowboysdude > I would format the laptop and install Unbuntu and run MM on that
Great peace of advice bro!
So I’m wiring up my PIR sensor via some jumper cables.
Like these: https://www.amazon.com/gp/aw/d/B00RMBC5I0/ref=psd_mlt_nbc_B00KOL5BCC_ri
They work, but I have two complaints. First is, these cables are pretty short. I’d like to do something much longer. I’d like something a foot long if possible. (This also makes adding a ferrite coil easier)
The other complaint is that they pull off rather easily. I know that’s good for development, but for a final install project how do you keep these things in securely?
Anyone have recommendations?