Skip to content

MagicMirror current weather using AccuWeather and icons

Notifications You must be signed in to change notification settings

MichaelByers/MMM-AC-Current

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-AC-Current

This a module for the MagicMirror. This module shows the current weather conditions using the AccuWeather API. It displays the overall weather condition, highest temperature, windspeed and gusts. This is designed to compliment the default Current Weather module.

Note: This is now based on the API offered by Accuweather. You will need your own API key!

Installation

  1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/MichaelByers/MMM-AC-Current. A new folder MMM-AC-Current will appear, navigate into it.

Config

The entry in config.js can include the following options:

Option Description
apikey Required This is the API key you need to use to request weather data from the AccuWeather site. Details on how to request an API key can be found here

Type: string
Default value: null
loc This is the loaction code for the city you want to get the weather for, from Accuweather location API call.

Type: number
Default value: 347810 //Denver
units Option to show units in metric.
Type string Use true for metric OR false for imperial.
Default value: M
lang This is the two character country code for the language you want the weather in.*

Type string
Default value en-us
interval How often the weather is updated.

Type: integer
Default value: 1800000 // 30 minutes

Here is an example of an entry in config.js

{
    module:     'MMM-AC-Current',
    position:   'top_left',
	config: {
		apikey:    'xxxxxxxxxxxxxxxxxxxxxx',
		loc:        '347810',
		metric:     'false',
		lang:       'en-us',
		interval:   1800000
	}
},

Dependencies

  • request (installed via npm install)

Notes

I hope you like this module, I know it duplicates many other weather modules, however I preferred the data from Accuweather. Feel free to submit pull requests or post issues and I'll do my best to respond.

Thanks To...

About

MagicMirror current weather using AccuWeather and icons

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published