@srb37 - I don’t know if it helps your situation or not, but I currently have a 35’ HDMI cable in my home theater and it works like a charm. I think the max run without a booster is 50’.
Posts made by bhepler
RE: After a few hours, MM or Raspberry stops responding
My first approach in debugging this would be to remove all of the modules and just go with a couple core ones to let you know that the mirror is functioning.
Back up your
config.jsfile and use the
config.js.samplefrom the repository. Strip out the weather modules, calendar module and newreader modules. Leave the clock & compliments. Run the mirror like that for a day to see if you still lose the mirror.
If it is stable with only those modules, add your PIR-Sensor module. Test that it controls the monitor correctly. Then run it like that for a day or so and see if the problem returns.
At that point, it should help you establish roughly where the problem lies.
RE: NPM error
Second, are you installing this on a Raspberry Pi running the latest version of Raspian?
Third, it’s hard to see from your image, but it looks like electron isn’t installed on your Pi. Try this:
sudo npm install electronand let us know how it responds. After that, try to rebuild your Magic Mirror with
RE: Large Mirror -- Too Ambitious?
I do have a suggestion: Keep the Pi where you can easily get to it and use a long HDMI cable. That will let you plug in a keyboard to work directly on the Pi for the occasional emergency. Plus, you can back up and replace the SD card in case of catastrophic failure. A wall HDMI socket down low could also work, as you can put the Pi inside or under some furniture where it won’t be seen. It would also let you upgrade to faster computers later if you like.
I’ve used www.twowaymirrors.com before and they have a glass specifically designed for Magic Mirror applications. It has something like 30% transparency and I’ve been very happy with it. They do handle custom orders and they can probably give you advice on the best way to mount and support the glass.
RE: Need Help with Remote Control Module
For starters, please use the markdown features of the board when posting code. You can edit your post to add markdown marks by clicking on the three vertical dots on the lower right of your post.
Second, are you getting any errors in the console or in the pm2 logs?
RE: Google Location Sharing Module
@metalldetector - Those appear to be keys that you obtain from the various services to register with them.
gmapidis probably the API key for the Google Maps API.
pnidsis the PubNub API key. You’ll have to figure out how to register with both of those services and then extract an API key.
If you figure it out, you can update the README file for the project and issue a pull request. The developer would probably appreciate the help.
RE: Internet Monitor
@nickthebeer - The WiFi symbol is actually a ping test to the testing server. Ping times > 150ms are marked as no signal, ping < 70ms is full strength.
Looking at the speedtest documentation, the API returns a “list of closest servers” after testing. Who knows how long that takes, especially if you’re using the original code without my updates. The
node_helper.jsthen pulls the closest server and does a ping test.
I think this is just going to be a patience thing. Watch the console log for the line:
ping. That’s the notification from the
node_helper.jsthat the ping is complete. If the Wifi symbol doesn’t appear after that, come back and we’ll look at it.
RE: This device is not allowed to access your mirror.
@Julia - Where are you receiving that error message? Are you getting that on your mobile device trying to use the configuration app? Or is that on the mirror itself?
I would try replacing the
'0.0.0.0'value with your Pi’s IP address.
RE: Raspberry Pi issue
@BandNerd1002 - Not to worry. First, let’s get your
config.jsoff of your SD card.
Using the Windows File Explorer, browse through the boot drive and look for the
config.jsfile. Copy that to your computer. (if it turns out that you can’t find this file, no worries. We’ll recreate it later).
If you were able to backup your
config.jsfile, great! If not, no big deal. At this point, I suggest you follow the Complete Setup Tutorial. It will walk you through prepping your SD card and getting your Magic Mirror reinstalled.
A couple things to note about the tutorial:
- It’s Raspian Stretch now. Download the full version with the recommended software.
- The command to clear out some installed & unnecessary software will fail due to some of the listed software not being included. Try running the command one application at a time and skipping the ones that aren’t found.
Once you have your mirror back up and running, you can copy your
config.jsfile back to your Raspberry Pi. Then you just have to re-clone and re-build all of the modules you had downloaded.