Git Product home page Git Product logo

mmm-uv-index's Introduction

MMM-uv-index

UV Index from openweathermap.org for MagicMirror²

MagicMirror Project on Github

Preview Image

Usage

To use this module, go to the modules subfolder of your mirror and clone this repository.

git clone https://github.com/Sketusky/MMM-uv-index

Configuration

To run the module, you need to add the following data to your config.js file.

{
  module: 'MMM-uv-index',
  position: 'bottom_right',
  header: 'Current UV Index',
  config: {
    lat: 52.229771, // lattitude http://openweathermap.org/help/city_list.txt
    lon: 21.011780, // longtitude, Warsaw
    appid: 'xyz', // openweathermap.org api key
    colors: true,
  }
}

You may want to set the following options in the config section as well:

Option Description
lat Lattitude value from your location to show UV Index.

This is REQUIRED.
lon Longtitude value from your location to show UV Index.

This is REQUIRED.
animationSpeed Speed of the update animation. (Milliseconds)

Possible values: 0 to 5000
Default value: 1000 (1 second)
colors Makes UV scale name colorful

Possible values: true or false
Default value: true
updateInterval How often would you like to update data? (Miliseconds)

Default value: 3600000 (1 hour)
Used Scale

Supported languages

English
Dutch
Polish

Feel free to open new issue and submit translation for your langauge!

Known Issues

Changelog

1.0.1 - 07.05.2018

Added Dutch language ISSUE
Introduced changelog and version information

1.0.0 - 03.05.2018

First working version of module

mmm-uv-index's People

Contributors

sketusky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.