stevekrouse avatar
stevekrouse
umbrellaReminder
Cron
ā˜”ļø Umbrella reminder if there's rain today Setup Fork this val šŸ‘‰ https://val.town/v/stevekrouse.umbrellaReminder/fork Customize the location (line 8). You can supply any free-form description of a location. āš ļø Only works for US-based locations (where weather.gov covers). How it works Geocodes an free-form description of a location to latitude and longitude ā€“ @stevekrouse.nominatimSearch Converts a latitude and longitude to weather.gov grid ā€“ @stevekrouse.weatherGovGrid Gets the hourly forecast for that grid Filters the forecast for periods that are today and >30% chance of rain If there are any, it formats them appropriately, and sends me an email
9
willthereader avatar
willthereader
umbrellaReminder
Script
Forked from stevekrouse/umbrellaReminder
0
ayush37 avatar
ayush37
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
stevekrouse avatar
stevekrouse
easyAQI
Script
easyAQI Get the Air Quality Index (AQI) for a location via open data sources. It's "easy" because it strings together multiple lower-level APIs to give you a simple interface for AQI. Accepts a location in basically any string format (ie "downtown manhattan") Uses Nominatim to turn that into longitude and latitude Finds the closest sensor to you on OpenAQ Pulls the readings from OpenAQ Calculates the AQI via EPA's NowCAST algorithm Uses EPA's ranking to classify the severity of the score (ie "Unhealthy for Sensitive Groups") It uses blob storage to cache the openai location id for your location string to skip a couple steps for the next time. Example usage @stevekrouse.easyAQI({ location: "brooklyn navy yard" }) // Returns { "aqi": 23.6, "severity": "Good" } Forkable example: val.town/v/stevekrouse.easyAQIExample Also useful for getting alerts when the AQI is unhealthy near you: https://www.val.town/v/stevekrouse.aqi
3
nancypants avatar
nancypants
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
habosa avatar
habosa
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
samjb123 avatar
samjb123
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
phyllislim avatar
phyllislim
aqi
Cron
Forked from stevekrouse/aqi
0
codehruv avatar
codehruv
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
stevekrouse avatar
stevekrouse
planesAboveMe
Script
Planes Above Me Inspired by https://louison.substack.com/p/i-built-a-plane-spotter-for-my-son A little script that grabs that planes above you, just change line 4 to whatever location you want and it'll pull the lat/log for it and query.
3
bcongdon avatar
bcongdon
easyAQI
Script
Forked from stevekrouse/easyAQI
0
benrobo avatar
benrobo
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
endzel avatar
endzel
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
sarfrazkhan18 avatar
sarfrazkhan18
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
mattbrown avatar
mattbrown
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
2
Next
Updated: October 23, 2023