Just for clarity, I enter (without starting/ending quotes), npm “start”:“node_modules/.bin/electron js/electron.js”???
Read the statement by Michael Teeuw here.
Posts
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil Perfect timing…thanks! I was trying “npm start” and “npm serveronly” with no luck. I’ll give it a go.
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
I’ve started this installation process from 3 years ago on an old Acer laptop running Windows 10. It’s installing MM2 right now. Just wondering…have the walkthrough steps/commands changed in the intervening 3 years in any way that I need to know? I scanned the 85 posts and didn’t see any, but I could have missed it/them. Thanks! And, I’m really glad this topic is still alive!
-
All fonts too small on start-up
Sometimes when I reboot (sudo reboot now), the MM (autostarting with PM2) starts up with fonts that are way too small. I’ll go through the reboot procedure again and it often, but not always, starts with the correct fonts. Every once in a while I’ll have to reboot a third time. Once the MM is up and running it’s very stable. Has anyone experienced this and solved the problem? Can anyone suggest a place to start to diagnose and solve this problem? Thanks!
-
RE: Daily reboot inconsistency
@dwburger Just another thought…I have a second MM that’s hung on the wall in my office. It’s rock solid and rarely needs to be restarted. I should have thought to have them co-located for a while to see if there are any response differences. So, for the near-term, my two MM will be about a foot from one another.
-
RE: Daily reboot inconsistency
@ember1205 OK…I see your point. I think the major problem is the instability of the wifi. Once I focused on that I realized that my MM (running on a RPi with 7" LCD display) sits on top of my refrigerator (that’s also a few feet from a microwave). I hadn’t thought about signal interference from the kitchen equipment until now. I’m going to move the MM near to the router and remove all auto reboot/restart scripts to see how it responds over the coming days.
-
Daily reboot inconsistency
My RPi loses wifi connection often so I set up a daily reboot (using crontab). It works most of the time, but often enough Magic Mirror won’t start after the reboot using PM2. Sometimes MM starts, but the fonts are all very small. Sometimes it takes 3-4 manual reboots of the RPi to get MM up and running again. Just wondering whether anyone else has observed this in their own MM and found a fix and/or if anyone has suggestions on how to approach this problem. Thanks in advance for any help!
-
Pushbullet trouble
I’m using the Pushbullet module and all is well when I first start the MM2. However, after some time (usually days) messages to Pushbullet no longer display on the MM2. Those messages do appear on other devices connected to Pushbullet. I’ve thought it was because of a wifi drop, but I can remote into the Rpi using PuTTY while the Pushbullet messages don’t display so I don’t think it’s that. Can anyone suggest where else I should look to solve this problem??? Thanks!
-
RE: Associating module output with custom.css
@j-e-f-f Your suggestions worked well…thanks! It took me a while to get the localhost access working, but I can now view my MM2.5 using my Chrome web browser and then using the inspector to find displayed items I want to change. Thanks again!
-
RE: Associating module output with custom.css
Thanks for all the helpful and informative replies! Lots of information for this relative beginner to digest. I’ll work on the suggestions offered and see how I progress. Thanks again!
-
RE: Is Raspberry Pi 3 Model A+ suitable to run MagicMirror?
I’m new to MM2.5 and have spent the last week trying to get my MM working on a Model 3-A+. My MM froze repeatedly, especially when trying to add new modules. I found npm-installs to be particularly slow. I finally decided to try my SD card in a 3-B+ and it’s worked much better. Admittedly, I’m new to RPi and MM2.5, but I can’t recommend using a 3-A+ for MM2.5.
-
Associating module output with custom.css
The CSS 101 post on this forum is an excellent explanation of css techniques and I appreciate the time and effort it took to create it. I’d like to take it one more step (the one I’m currently stuck on) and see if anyone can help me progress. I have some understanding of css and see how the main.css and custom.css files work in MM2.5. What I’m stuck on is associating output from modules bound for the MM screen with identifiers that I can use in the .css files. As a general example, if I take a look at a module and see that there are labels/values created in the .js file, how do I name those labels/values in the .css file so I can change their display appearance? I hope I’m stating that question clearly. Obviously, my Javascript knowledge is limited. Thanks for any pointers or guidance provided.
-
RE: MM2.5 slow to PM2 start after changing pi password
Looks like I should have looked closer to home than all over the web! I watched more closely at the boot-up procedure of my RPi and noticed a FAILED step involving dhcpcd. I looked that up on the web and found that newer distros don’t want you to edit the file /etc/network/interfaces. See this link for more information:
https://www.raspberrypi.org/forums/viewtopic.php?t=203530
I followed the directions there and then went back Raspberrypi.org to follow the directions for properly (and easily) setting up my wifi. Once I did all that the dhcpcd error was gone and my MM2.5 reboot issues were resolved.
Case closed.
-
MM2.5 slow to PM2 start after changing pi password
I’ve been working on my MM2.5 for a couple weeks getting it just the way I want it and was all done when I decided I’d better change the default pi password. I did so and, now, it takes about 3 minutes after a reboot for the MM2.5 screen to appear. I’ve searched high and low for a solution without success. Can anyone point me in the right direction??? I’m using a RPi 3 A+ headless. I use Notepad++ to edit MM2.5 files and then issue a “sudo reboot” via Putty to assess the changes. The reboot gets back to the GUI fairly quickly (normal time), but stays there for a couple minutes before MM2.5 starts up using pm2. Can anyone point me to a solution??? Thanks!
-
RE: Rude Module Developers
I stumbled onto MM2.5 10 days ago with little background in JS. I’ve had a blast getting my mirror set-up and am in awe of its capabilities and the developers contributing time and energy to this FREE project. Complaining about anything just seems misplaced to me. Instead, dig in a little and “learn the ropes”. Don’t know if I’ll dig in myself, but it sure looks like fun!
-
RE: Send notice text to MM2.5
@dwburger I found MMM-PushBulletNotifications that looks like it will do what I need. I’m going to pursue that. Just for my own education though, below is my current config.js file with my attempt to get a notice (e.g. “Out of the office”) posted onto my MM2.5. When I edit this file with a new “compliment” and save the file to my MM2.5, the new text doesn’t appear. Maybe someone (everyone?) can spot the problem??? Thanks!
/* Magic Mirror Config Sample
*- By Michael Teeuw http://michaelteeuw.nl
- MIT Licensed.
- For more information how you can configurate this file
- See https://github.com/MichMich/MagicMirror#configuration
*/
var config = {
address: “localhost”, // Address to listen on, can be:
// - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - “”, “0.0.0.0”, “::” to listen on any interface
// Default, when address config is left out, is “localhost”
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],language: "en", timeFormat: 12, units: "imperial", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: 'compliments', position: 'middle_center', config: { updateInterval: 1000, compliments: { anytime: [ "Out of the office" ] } } }, ]};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;} -
Send notice text to MM2.5
I’m looking for a module that will let me send a short notices to my MM2.5 screen. The one sent will remain on the screen until I send a new notice. I’ve tried editing the compliments in the config.js file, but they don’t update even with an updateInterval of 3000. I don’t know why that doesn’t work. However, I’d rather be able to send the text to the MM2.5 screen some other way (e.g. smartphone text???). I’ve read through all the existing modules and didn’t find one that will do this. Maybe I missed one or maybe someone has a better idea of how to implement this capability??? Thanks for any guidance?
Dave