Badgeware Tufty WeatherStation
- 10 Devlogs
- 28 Total hours
A weather app that both pulls from a multisensor strip, and/or the internet for the Badgeware Tufty!
A weather app that both pulls from a multisensor strip, and/or the internet for the Badgeware Tufty!
In this devlog I:
In this devlog I:
things i’ve yet to add:
In this devlog I:
Stuff added since the last devlog:
2.0.2 to 3.0.2 though I’m pretty sure it works with 3.0.0 3.0.1
3.0
Things that have yet to be added (from the roadmap)
options.json through Flask or Bun (preferrably something self contained though)Stuff added in this devlog:
Potentially next I’ll code a precipitation levels display, and maybe some charts that show temperature and precipitation throughout the day when you press B.
The Badgeware Tufty is this cool conference badge from Pimoroni that is programmable with MicroPython. I’ve been making a Weather Station app for it, which can use a Pimoroni multisensor kit to show temperature, humidity and air pressure, but soon it will be able to fetch weather data around the world from the internet.
In the previous devlogs I added the multisensor screen. Now I’ve started working on the weather from the internet part. So far it gets coordinates from options.json, and can show the suburb/neighbourhood and the city from Openstreetmap Nominatim. You can also optionally set a nickname for a location.
Next up I’ll actually be putting the weather info in.
That’ll involve getting data from Openmeteo, drawing a bunch of pixel art icons for each (~80) weather codes and rendering out the data.
Added an option to use Fahrenheit or Kelvin instead of Celsius by editing options.json on the computer
I’m making a weather app for the Badgeware Tufty, a cool badge wearable that’s programmable with MicroPython!
First step that I’ve done for my app is coding a screen that shows the temperature, humidity and air pressure sensed from the multisensor strip that comes with the Badgeware Tufty STEM kit. I’ve made 30 pixel art icons so far that scale with the values.
Next up I’ll be adding the option to grab weather data from the internet using Openmeteo API for the weather data and Openstreetmap nominatim to get a place name. The locations would have to be configured through a JSON config file on the computer as the 5 buttons on the Tufty aren’t really enough for this kind of input. Maybe there could be some web UI to pick coordinates off a map and update the config file?