Conversation
c320c63 to
44659df
Compare
|
This branch is now rebased on v1.30.0 (from upstream). @mattrossman Please let me know if you are interested in testing or adding this feature. I find it very handy tracking how windy it will get at different times of day. |
|
Hey, thanks for the contribution! Do you have screenshots of how this looks in practice? I'm curious when using fixed cap mode, what happens when values exceed that range, and how easy it is to interpret the wind amplitude amongst the other lines. At least for precipitation change it's a 0-100 value so the Y axis labels aren't really needed. I should note, lately I've started bumping up against the memory limits of the |
|
Today while running the watchface on aplite (pebble classic) I did notice some memory resource issues. For example if I received a notification, dismissed it, then was returned to the watchface, it either was a blank screen or might have some elements missing. I hadn't noticed this on the initial wind graph implementation I did on top of v1.24, so I'm guessing it's the combination with the latest v1.30 updates that's exceeding the memory limits. |
|
I'm making headway on freeing up some memory budget in #122! The calendar text was the main inefficiency from what I can tell, I guess recent features like night shading may have inched closer to the ceiling. Thanks for the screenshots, I like how the yellow line looks on Basalt more than I thought I would, fingers crossed I end up with enough memory budget to fit this in! Another weather feature on my wishlist is cloud coverage, which I want to render like a bar of "clouds" on the top of the weather graph (thickness corresponding to coverage amount). It takes some creativity to present several different trend values within one small region with different units and purposes. There's an endless amount of potential trend values people might want to display like UV exposure, humidity, air quality, etc. and only so much screen real estate. Point being, down the road I'm considering expanding that yellow line concept into a broader system for customizing a secondary trend value of the user's choice to be useful for more than just wind. |


Summary
Utilized Claude Sonnet 4.5/6 to develop and test this feature.
Adds a wind speed overlay line to the forecast graph, fetched alongside temperature and precipitation data. Wind speed is shown as a yellow line (or white on B&W) scaled independently from temperature, making it easy to spot gusty windows at a glance.
Changes
Weather data
openweathermap.js,wunderground.js) now include hourly wind speed in the forecast payload alongside temp/precipWIND_TREND_UINT8and stored in flash viapersist_set_wind_trend()Watchface rendering
forecast_layer.cdraws a wind speed line overlaid on the existing temp/precip graphSettings (3 new options in the Weather section)
Upgrade safety
displayNameare unchanged frommainConfigV1migration inconfig.chandles upgrading from existing main installs without crashing — field-by-field remapping from the old 17-byte layout to the new 22-byte layout, with sane defaults for new fieldsTesting