Git Product home page Git Product logo

mmm-swim-water-temperature's Introduction

Module for MagicMirror: Swim water temperature (Finland metropolitan area)

The MMM-swim-water-temperature module fetches swim water temperature from Forum Virium Helsinki api (Finland) and shows the swim water temperature for configured measurement point.

Screenshot

  • Swim water temperature screenshot

Swim water temperature screenshot

Using the module

  1. Clone this repository under MagicMirror/modules folder
  2. Run npm install in MagicMirror/modules/MMM-swim-water-temperature folder
  3. Add to the modules array in the MagicMirror/config/config.js file:
modules: [{
	module: "MMM-swim-water-temperature",
	position: "top_right",
	header: "Kuusijärvi",
	config: {
		sensor: "70B3D57050001ADA",
		waterIcon: "person-swimming",
		airIcon: "wind",
		updateInterval: 30 * 60 * 1000, // every 30 minutes
		apiUrl: "https://iot.fvh.fi/opendata/uiras/uiras2_v1.json"
	}
}]

Configuration options

The following properties can be configured:

Option Description
sensor Sensor identifier, default 70B3D57050001ADA. See others: https://iot.fvh.fi/opendata/uiras/uiras-meta.json
waterIcon Showed water temperature icon style class, default person-swimming. See others: https://fontawesome.com/icons?d=gallery
airIcon Showed air temperature icon style class, default wind. See others: https://fontawesome.com/icons?d=gallery
updateInterval Update interval in milliseconds, default 1800000
apiUrl Api url, default: https://iot.fvh.fi/opendata/uiras/uiras2_v1.json

mmm-swim-water-temperature's People

Contributors

kuosman avatar

Watchers

 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.