@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.
Read the statement by Michael Teeuw here.
Posts
-
RE: Nest Thermostat & Protect
-
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. -
RE: MMM-GPSWeather
Installation instructions:
Step 1: Download the module.
Rungit clone https://github.com/mochman/MMM-GPSWeather.gitin 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 yourconfig.jsfile.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 calledtmpin 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.jsfile
Open up yourconfig.jsfile with whatever text editor you like.
Add this to your config and edit the API Key’s,latlongUrlBase, andusernameas 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 calledgps-position.phpin yourserver/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. -
RE: Weather forecast from current location/calendar location
@EoinOG I can make some up for you. How far have you gotten with the installation?
-
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.
-
RE: Fresh install
@PointPubMedia Can you show us your
config.jssetup? Thanks. Just a dummy check, is your pi connected to the internet? -
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.
-
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?
-
RE: After installing MM2
The tutorial found here can help you with what to type to get your config correct.
-
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.
-
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.
-
RE: Nest Thermostat & Protect
Can you take a screenshot of what it is showing you and what it should be showing?
-
RE: Mirror Not Visable
Can you provide the errors you are receiving from npm.
-
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.jsshould 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.jsfile. Then you’ll have to edit thelocation, andappidsections 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 yourconfig.jsin theappid: '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.
-
RE: Mirror Not Visable
@C13INTZ There is a very in-depth installation guide posted here. Give that a try and see if it helps.
-
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.
-
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.