Git Product home page Git Product logo

microdotweatherclock's Introduction

MicroDotWeatherClock

This little script will alternate between displaying the time, temperature and weather on a Pimoroni Micro Dot pHat.

IMAGE ALT TEXT HERE

You will need to install https://github.com/csparpa/pyowm as the script uses pyowm to query openweathermap. Create an account at https://openweathermap.org/ in order to get an API key.

The python script takes two parameters. -l is the location you want the weather of the -k is the open weather map key.

The included shell script demonstrates how to call the script and you can add your key to this to save having to enter is multiple times.

Simply edit the shell script and replace YOURKEYHERE with the key from your openweathermap account.

The script is currently set to refresh the weather data every 30 minutes but openweathermaps allows something like 60 requests a minute on a free account.

microdotweatherclock's People

Contributors

shane-powell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kenwong97 marzogh

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.