Git Product home page Git Product logo

mmm-minigjenbruksstasjon's Introduction

MMM-Minigjenbruksstasjon

This is a tiny, simple module for MagicMirror², mostly for my own convenience. If you're living in central Oslo, you might be far from regular recycling stations. In these cases, mobile recycling stations are regularly placed on specific locations. This is simply a module to notify you if such a station is deployed. Uses simple configuration to indicate placement, as no API is availble, and scraping the information seems cumbersome.

Installation

Enter your MagicMirror² module folder, e.g.:

cd ~/MagicMirror/modules

Clone the repository

git clone https://github.com/blixhavn/MMM-Minigjenbruksstasjon.git

Add the module to your configuration file, for instance:

{
    module: "MMM-Minigjenbruksstasjon",
    position: "top_right",
    config: {
        dayOfWeek: "monday",
        timeFrom: "18:00",
        timeTo: "19:30"

    }
},

Configuration options

You can find your closest recycling station here, and read its opening hours from there. As far as I could see, all mobile recylcing stations are open on a specific day of the week. If this is not the case, feel free to make a PR to support your specific case, or make an issue on GitHub.

Configuration option Comment Default
dayOfWeek Literal, lower case weekday "tuesday"
timeFrom ISO formatted string to indicate opening time. "16:00"
timeTo ISO formatted string to indicate closing time "17:30"
updateSpeed Transition speed when updating the display (in milliseconds). 1000

Feedback and contributions

If you have any feedback, questions or suggestions, do not hesitate to make an issue on GitHub 🙂 Also, feel free to make contributions in form of pull requests!

License

MMM-Minigjenbruksstasjon is released under the MIT license. Have at it.


Made by Øystein Blixhavn

mmm-minigjenbruksstasjon's People

Stargazers

 avatar  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.