Skip to content

jdiegmueller/vesta-weather

 
 

Repository files navigation

A node package that allows you to display a visual representation of the weather on your Vestaboard, using colors to indicate intesnsity of each of four measurements: temperature, humidity, wind, and precipitation.

As it stands, it's an MVP for me (with NYC weather hard-coded), but I aim to clean it up and allow configuration.

This is designed as a node function so that I could put it up on a web endpoint (I've got it hosted at a Next.JS API endpoint on Vercel) and use shortcuts on iOS to request the weather, integrating it into my home automation setup.

Vestaboard representation of the weather

Video demo

Weatherkit API

The AuthKey for Apple's Weatherkit service is in this repo locally, but not committed to GitHub for security reasons. To generate a new Auth Bearer token, execute getWeatherkitToken.ts (ts-node src/getWeatherkitToken.ts from the project directory). The console logged token can be used with the instructions on Apple's Dev Center.

(Before shipping this to production for anyone but me I'd figure out a way to not need to do this manually)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%