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

    Posts

    Recent Best Controversial
    • RE: Nest Thermostat & Protect

      @pugsly It should work as requested now. I merged the branch with the master so you can just update the master now. If the text looks weird it’s probably because I don’t know css and just made up stuff until it worked on my screen.

      posted in Requests
      M
      mochman
    • RE: Weather forecast from current location/calendar location

      I updated this module page with a step-by-step’ish guide on how to install and configure the module. Let me know if you run into any issues.

      Since the module pulls lat/long data in JSON format from a file, you could just manually edit that file to update your location. This is in case you don’t want to use the GPS tracker on your phone.
      What this means is that if you want to tweak the code, you could just have a file on your raspberry pi, or somewhere else on your home network that the lat/long is pulled from instead of setting up a website.

      posted in Troubleshooting
      M
      mochman
    • RE: MMM-GPSWeather

      Installation instructions:

      Step 1: Download the module.
      Run git clone https://github.com/mochman/MMM-GPSWeather.git in your modules folder.

      Step 2: Get your API Keys
      To get your Google API Key, go to this website and follow the steps to get your location API key.
      To get your Wunderground API Key, go to this website and follow the steps to get your API key (cumulus plan).
      Copy those down since you will be adding it to your config.js file.

      Step 3: Add your server files
      You will need to have a webserver somewhere (could be on the Raspberry pi) that is accessible from the internet. I used host-ed.net since it was free.
      Place the *.php files contained from the server-files/ directory to the location of your webserver.
      The files will need to be placed in a folder and not in your webserver’s root.
      Create another folder called tmp in the folder you placed the server files.
      For example:
      mkdir -p /var/www/GPSLuke/tmp
      mv MMM-GPSWeather/server-files/*.php /var/www/Luke/
      The reason why the folder is called Luke is that the module will use this to display the username.

      Step 4: Edit your config.js file
      Open up your config.js file with whatever text editor you like.
      Add this to your config and edit the API Key’s, latlongUrlBase, and username as appropriate.

      {
          module: 'MMM-GPSWeather',
          position: 'bottom_left',    
          config: {
              locationAPIKey: '1234567890zbcdefghijkl',
              username: 'Luke',
              latlonUrlBase: "http://yourserver.net/", 
              WUAPIKey: '12391290348sjdf834'
           }
      },
      

      Step 5: Install the GPS Tracker software on your Android Phone
      Install the GPS Tracker on your phone and configure as appropriate by setting the server you used.
      If you enable the timestamp, the module will display a rough “last updated” time.

      Step 6: Run the tracker
      Then check your server, hopefully there will be a file called gps-position.php in your server/folder/tmp/ directory. It should have your GPS coords.

      Step 7: Run the module.
      If everything is setup correctly, you should see something like what I have pictured above.

      posted in Utilities
      M
      mochman
    • RE: Weather forecast from current location/calendar location

      @EoinOG I can make some up for you. How far have you gotten with the installation?

      posted in Troubleshooting
      M
      mochman
    • RE: Weather forecast from current location/calendar location

      @EoinOG I made something similar to what you want. It takes a GPS location from your phone and updates a webpage that the raspberry pulls in and give you weather in that location.

      MMM-GPSWeather

      posted in Troubleshooting
      M
      mochman
    • RE: Fresh install

      Glad I could help! :-/

      posted in Troubleshooting
      M
      mochman
    • RE: Fresh install

      @PointPubMedia Can you show us your config.js setup? Thanks. Just a dummy check, is your pi connected to the internet?

      posted in Troubleshooting
      M
      mochman
    • RE: Nest Thermostat & Protect

      It shouldn’t be that difficult. Can you add an issue to the repo and I’ll mess around with the code.

      posted in Requests
      M
      mochman
    • RE: Nest Thermostat & Protect

      Hmm, it looks like you have it set up to heat/cool. I haven’t programmed that function so I don’t know if the data the Nest API sends is correct. Can you switch it over to cooling only and see if that fixes your temp?

      posted in Requests
      M
      mochman
    • RE: After installing MM2

      The tutorial found here can help you with what to type to get your config correct.

      posted in Troubleshooting
      M
      mochman
    • RE: Nest Thermostat & Protect

      @pugsly Can you take a screenshot and post it along with what it should be showing? The way I have it configured, the small number is your current temp and the big number is the target temp.

      posted in Requests
      M
      mochman
    • RE: Nest Thermostat & Protect

      @Aartsie Any help would be great. I’ve been in the process of moving so all my stuff is still scattered around the house.

      posted in Requests
      M
      mochman
    • RE: Nest Thermostat & Protect

      Can you take a screenshot of what it is showing you and what it should be showing?

      posted in Requests
      M
      mochman
    • RE: WE NEED YOU!

      Great job! Looks amazing.

      posted in General Discussion
      M
      mochman
    • RE: FreeBox V6 Monitor

      I’m guessing MMM-FreeBox-Monitor is this module?

      posted in Utilities
      M
      mochman
    • RE: Mirror Not Visable

      Can you provide the errors you are receiving from npm.

      posted in Troubleshooting
      M
      mochman
    • RE: After installing MM2

      @cbryson89 Are you trying to configure the default modules? If so, you can go to the modules page and read the configuration settings. For example, if you want to display the current weather data, go to the module page. Take a look at the “Using the Module” section to see how your config.js should be modified. For the current weather example, you’ll have to add

      {
              module: 'currentweather',
              position: 'top_right',  // This can be any of the regions.
                                          // Best results in left or right regions.
              config: {
                  // See 'Configuration options' for more information.
                  location: 'Amsterdam,Netherlands',
                  locationID: '', //Location ID from http://bulk.openweather.org/sample/ 
                  appid: 'abcde12345abcde12345abcde12345ab' //openweathermap.org API key.
              }
          },
      

      to your config.js file. Then you’ll have to edit the location, and appid sections based on what you read in the Configuration Options section. As you can see, you’ll need to get an OpenWeather API key. After you get that, put the api key into your config.js in the appid: 'APIKEY HERE' section.

      Use this technique for adding/configuring other modules. Mostly all of the modules you can use for MagicMirror have a configuration page that will let you know what you need to setup to get the modules to work.

      posted in Troubleshooting
      M
      mochman
    • RE: Mirror Not Visable

      @C13INTZ There is a very in-depth installation guide posted here. Give that a try and see if it helps.

      posted in Troubleshooting
      M
      mochman
    • RE: New modules, don´t load

      @piedaniel Just quickly looking at your config.js, it looks like MMM-meteoblueCurrent module is the last one. Try taking out that last comma after you close out the module with the bracket.

      posted in Troubleshooting
      M
      mochman
    • RE: Nest Thermostat & Protect

      @Sachin Sure. I’m in the middle of a move right now, but once I get settled in I take a look at it. It should be pretty straightforward.

      posted in Requests
      M
      mochman
    • 1 / 1