/Magic-Mirror

A simple webpage for a Raspberry Pi magic mirror that updates every 10 seconds.

Primary LanguageJavaScript

My Magic Mirror

A simple webpage for a Raspberry Pi magic mirror that updates every 10 seconds.

Within the js/scripts.js file, change ENTER_CITY and ENTER_STATE with your location:

...

$.simpleWeather({
  woeid: '',
  location: 'ENTER_CITY, ENTER_STATE',
  unit: 'f',

  ...

Then add your quotes in the "quote generator" function:

...

// quote generator
function getQuote() {
    var quotes = new Array(
        "Quote 1",
        "Quote 2",
        "Quote 3",
    ),

    ...