MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. CheapDad
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 17
    • Posts 61
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Editing core modules

      @sdetweil I’ll check that out; thank you!

      posted in Troubleshooting
      C
      CheapDad
    • RE: Compliments module external file

      Understood, but the entry in my config.js for just the line that says “compliments.” There’s no indication in config.js where that pulls from. The add-on compliments modules have extra lines with a website address, etc., but I don’t see where the core module is getting what it puts on the screen.

      posted in Troubleshooting
      C
      CheapDad
    • RE: Editing core modules

      @sdetweil On the location ID, the documentation indicates that it is not needed if you have “location” entered. If using just “location” without “location ID” is causing the error, then I’ll make the switch. Interestingly, its only the “feels like” that is off. (I figured out the that time difference is sunrise/sunset.)

      On config layouts, I may just do that. Generally, is there any required order of the config lines?

      CheapDad

      posted in Troubleshooting
      C
      CheapDad
    • RE: Compliments module external file

      May I ask a follow on question? Is the source of the core compliments editable? Meaning, not the source code, but the source of the sayings that appear on the screen. I like the existing compliments but would like to customize what actually appears on the screen.

      posted in Troubleshooting
      C
      CheapDad
    • RE: Editing core modules

      So, I fixed my own problem but created another! For the weather module, I placed the units code and round up code as the first entries in config and it worked! Well, sort of. I do get Fahrenheit and the temperatures are rounded up, except my “feels like” output is 293 degrees!

      Additionally, the time in the current weather field is about 8 hours different than the time in the time module (upper left).

      The code:

      {
      			module: "weather",
      			position: "top_right",
      			config: {
      				units: "Imperial",
      				roundTemp: "True",
      				weatherProvider: "openweathermap",
      				type: "current",
      				location: "Gainesville, US",
      				locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				apiKey: "663f6e5e85dfb8bf8d3293ab7cc8cbd1"
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				units: "Imperial",
      				roundTemp: "True",
      				weatherProvider: "openweathermap",
      				type: "forecast",
      				location: "Gainesville, US",
      				locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				apiKey: "663f6e5e85dfb8bf8d3293ab7cc8cbd1"
      			}
      
      posted in Troubleshooting
      C
      CheapDad
    • RE: MMM-RemoteControl: Can't see remote in MM and can't access

      @sdetweil That did it; thank you! Interestingly, I still don’t see a control menu on the mirror. I can access it through another device, though, so that’s good.

      posted in Troubleshooting
      C
      CheapDad
    • Editing core modules

      Thank you @sdetweil for helping me along. I’m working on editing the core modules to fit the config that I’d like. The problem I’m running into is that despite using the syntax that appears in the documentation, I’m getting errors.

      For example, my weather module is displaying either Kelvin or Celsius and I’d like it to be imperial. According to the documentation, I think all I need to do is add:

      units: “Imperial”,

      to the config file and I should be golden. However, that’s not what’s happened:

      		{
      			module: "weather",
      			position: "top_right",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "current",
      				location: "Gainesville, US",
      				locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				apiKey: "663f6e5e85dfb8bf8d3293ab7cc8cbd1"
      				units: "imperial",
      			}
      

      For us super noobs, it might be helpful to have a sample of the config section, where a user can simply delete the lines that they don’t need.

      BTW, I appreciate that will only help a very small subset of users and I’m grateful for the patience you all show us noobs.

      CheapDad

      posted in Troubleshooting
      C
      CheapDad
    • MMM-RemoteControl: Can't see remote in MM and can't access

      Noob here. I believe I’ve correctly installed the module. However, I cannot see it in the MM and I cannot access the MM from another device on my internal network. Here’s the key entries in my config.js:

      The network settings:

      config = {
      	address: '0.0.0.0', 	// 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 or empty, is "localhost"
      	port: 8080,
      	basePath: "/", 	// The URL path where MagicMirror is hosted. If you are using a Reverse proxy
      					// you must set the sub path here. basePath must end with a /
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.42", "::ffff:192.168.0.50"], 	// 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"],
      
      	useHttps: false, 		// Support HTTPS or not, default "false" will use HTTP
      	httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
      	httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true
      
      

      And for the module itself:

       {
          module: 'MMM-Remote-Control',
          // uncomment the following line to show the URL of the remote control on the mirror
          // position: 'bottom_left',
          // you can hide this module afterwards from the remote control itself
          config: {
              customCommand: {},  // Optional, See "Using Custom Commands" below
              showModuleApiMenu: true, // Optional, Enable the Module Controls menu
              secureEndpoints: true, // Optional, See API/README.md
              // uncomment any of the lines below if you're gonna use it
              // customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
              // apiKey: "", // Optional, See API/README.md for details
              // classes: {} // Optional, See "Custom Classes" below
          }
      },
      
      posted in Troubleshooting
      C
      CheapDad
    • RE: Need help installing modules

      @mykle1 Thank you. This was very helpful and I think I’m heading in the right direction.

      posted in Troubleshooting
      C
      CheapDad
    • RE: Forbidden" error posting

      @mykle1 Good news, logging out and logging back in solved it. I have no idea what generated it. It was simply a box that said “forbidden” similar to the error you receive posting when you do not select a category.

      Thank you for your help!

      posted in General Discussion
      C
      CheapDad
    • Need help installing modules

      Folks:

      I’ll try to keep this organized. If the mods believe this belongs elsewhere or would like to break this up into several posts so that it can be placed in different threads, please let me know.

      For context, I’m building a MM for my college-aged daughter. I know nothing about linux or coding, but am not afraid of terminal as it reminds me of the old DOS days.

      I set up my pi and installed MM. My file framework looks like this:
      /Home/pi/MagicMirror/ …

      First, I decided to start by installing MMPM. I copied the quick install text on Github and that resulted in an error. Install got up to “collecting MMPM” and then I got an error : “could not find a version that satisfies the requirement MMPM. No matching distribution found.”

      The weird thing is the I have an mmpm folder in the modules folder. If I navigate to that folder and run “npm install”, it appears to install in that a bunch of stuff happens in terminal. However, when I run mmpm --guided-setup, I get “error-command not found.”

      I’m dead in the water as I have no idea what I did wrong or how to fix it.

      I then tried to install modules individually using the install commands on the GitHub page. Those don’t work either. However, if I run “Git clone”, it will populate a folder in my modules folder. However, when I try to run “npm install” in that folder, I get same appearance of installation, but when I try to run any commands, I get command not found.

      Second, I’ve tried my hand at editing the config.js file and can’t figure that out either. For example, in calendar, I’d like it to show only 5 holidays. When I put "maximum entries:5 into the config.js under calendar, it breaks it. The example in the documentation page isn’t helpful because it’s a minimal installation. I need to see a full installation so that I can better understand where I’m getting syntax wrong.

      TIA,
      CheapDad

      posted in Troubleshooting modules
      C
      CheapDad
    • Forbidden" error posting

      I’m trying to post a lengthy post in the Troubleshooting section and all I get is “Forbidden” in the bottom right corner in red. What am doing wrong?

      CheapDad

      posted in General Discussion
      C
      CheapDad
    • Powering my mirror; PIR sensor wiring

      I’m ready to start building. I’ve disassembled my monitor. The power button is a blister type. I plan to glue the entire strip of buttons on the back of the LCD and use a sharpie to mark what they are.

      I plan to run the power cord for the monitor and the pi into a 3 into 1 adapter and then run an extension cord from the adapter to the outlet. Does that sound like a reasonable plan?

      On the PIR sensors, I’ve got one in my Amazon cart, I’d like to get the pre-made wire harnesses for it, but it seems like the smallest number I can purchase is 120. I only need a few, in the event I make a mistake. Any suggestions/

      CheapDad

      posted in Hardware
      C
      CheapDad
    • Please critique my plan ...

      I feel like I’m in a constant cycle of research out of fear that I miss something and have to start over. I’m ready to take a leap and start building.

      For context, I’ve got a Dell 19" monitor that measures, with the bezel on, 16’ x 13".

      My plan is to purchase:

      1. A 16x20 wood frame from the local craft store that has a piece of glass in it. I’ll add 1"x2" wood around the back of the frame to hold the monitor, pi, etc.

      2. I plan to mount the monitor on the top of the frame, leaving 7" of plain mirror at the bottom.

      3. I plan to purchase a piece of two way acryllic from here:
        https://www.amazon.com/12-Acrylic-See-Through-Mirror/dp/B01CZ35XWY/ref=sr_1_1?m=A25VKIYYECJBLT&s=merchant-items&ie=UTF8&qid=1487249576&sr=1-1&th=1

      4. I plan to sandwich the acryllic between the frame class and the monitor. I’m hoping that doing so will protect the acryllic from scratching and give it sufficient stiffening to prevent the funhouse effect.

      5. I’ll add some speakers, likely on the bottom of the frame facing outward.

      That leaves me with my last major decision. I’d like the mirror to go to wake up when someone walks in front of it. I think my options are a camera or a PIR sensor. I’m thinking I can drill a small hole for the PIR sensor to poke out of the top or bottom of the frame. I realize that I can do the same with a camera, but the hole would be much larger. For a clean appearance and because this will be in a bedroom, I’m leaning towards the PIR sensor.

      Please tell me what I’m missing or not appropriately considering.

      Thanks!

      posted in Hardware
      C
      CheapDad
    • RE: Help me choose my hardware

      @bert269 said in Help me choose my hardware:

      Hi.
      I also have a Dell(not sure the model) with DVI, VGA and DP outputs. Since I use the rPi 4 I got a converter cable from mini HDMI to DVI cheaper than HDMI to DP. So I went that route and it works fine.
      I would be really interested to learn how you manage to setup Google Assistant, once you reach that point, as I am really a hard time to do it. The problem that I found is that Google keep changing their device registration websites and I cannot find any updated guides to step one through this -really annoying. In regards to the microphone, I am using a USB model from Amazon which works just fine: https://www.amazon.com/your-orders/pop?ref=ppx_yo2_mob_b_pop__np_5_pp&orderId=111-3131203-6936200&lineItemId=lpkisvksqpotsny&shipmentId=DkND6yTsW&packageId=1&asin=B0779PKLV9
      I have not decided if I want to go camera yet or not. Also, I went with the mirror film and are pretty happy with it. It was my first attempt and although it did not come out 100% smooth, I am still very happy with the result.
      I am very curious to see how you manage to get Google Assistant installed and to learn from you, please. Thanks.

      Thanks @bert269 !

      posted in General Discussion
      C
      CheapDad
    • RE: Help me pick my two way option

      @cowboysdude I’d like to set up my mirror that it wakes up when someone either walks up to it or speaks to it. (I intend to add the google assistant and alexa modules.) What is the best way to do this and do I need to purchase glass vs acryllic to accomplish that?

      posted in Hardware
      C
      CheapDad
    • Help me pick my two way option

      Apologies for my post in general, but the short version is that I’m looking to build a MM with a Dell 1905fp monitor. With the bezel on, the monitor is roughly 16”x13”. I’m thinking of using a 20”x16” frame and mounting the monitor at the top of the frame.

      I’ve priced out both acrylic and glass options and I’m finding the cost to range between $75 and $150 (or more). That cost surprised me. Is that the correct range or am I making a mistake?

      I also plan on using either a PIR sensor or similar solution to get the mirror to sleep and wake, but that’s for another post.

      posted in Hardware
      C
      CheapDad
    • RE: Help me choose my hardware

      Perhaps I can put speaker components at the bottom of the frame with the monitor at the top.

      Related to the monitor, it only has DVI and VGA connections. I’m wondering if I should use a Pi 3 for the full sized HDMI connection and use an adapter, or does a mini HDMI to dvi or vga adapter exist?

      posted in General Discussion
      C
      CheapDad
    • RE: Help me choose my hardware

      Wow! That’s good to know. With a 16x20 project, what do you recommend?

      posted in General Discussion
      C
      CheapDad
    • RE: Help me choose my hardware

      @woelfle2004

      Thank you for the reply. As a financial middle ground between two way glass and acrylic, I’m planning on getting a piece of glass and using the two way film over top. Does anyone have thoughts on that?

      posted in General Discussion
      C
      CheapDad
    • 1
    • 2
    • 3
    • 4
    • 3 / 4