I've slowly been making improvements over the past few weeks!
Code
The code is becoming more refined with every new problem I find (including when my local NWS radar station was down for 5 days for repairs).
- The navigation switch is more response, the zoom potentiometer is more zoomy, and things are failing more gracefully than before.
- There's now example code! For those that would like to see how I'm obtaining and displaying NWS radar images, there's now example code on the project's GitHub page. Currently it doesn't show the button handling or the OpenWeather/NWS forecast stuff, but as soon as I can stop myself from testing out new features, I'll debug everything and add those elements too!
- In addition to OpenWeather data, I'm now using NWS forecast data to provide a longer, text-based forecast for every forecast period. This is mostly handy for getting nuance from the forecast that OpenWeather doesn't provide (especially snow and ice accumulations!).
- Depending on the mood of the servers, this can sometimes be temperamental to get. I'm having a lot of fun with Try, Except, and Else statements.
- The forecast URLs can be easily obtained from the latitude/longitude point file that gets read when the Weather Radar gets the local radar station based on the target latitude and longitude.
Hardware
- I'm now using the Omzlo PiWatcher TB to monitor the Raspberry Pi and give me an external on/off button on the rear of the case.
- Along with the on/off button, I made a cover and put an external micro USB connector on the rear (instead of the hole I had before). This makes everything a lot neater and allows me to easily disconnect the USB cable.
- I 3D printed a black bezel for the hole for the navigation switch.
- Inside, there's now a mount for the PCF8591 and the PiWatcher.
- Because the Weather Radar spends most if it's time on my desk (looking very pretty and spitting out errors I hadn't considered), I've been propping it up to give it a slight angle. Instead of using whatever random thing I had on my desk, I designed and printed a leg to do this for me.
Future stuff!
Mostly a to do list for me:
- Refine and tidy up more of the code… and release it on Github!
- Clean up some aspects of the UI.
- Incorporate more data!
- I've been taking a look at the NWS graphical forecasts and thinking how I can include those images into the Weather Radar too!
- I'd like to add 511 traffic data for parts of a monthly commute where current road conditions help me to plan which route I'd like to take. Fortunately this looks like it'll be relatively easy to obtain from my state's Department of Transportation!
- Threading! It would be super handy to download new radar images while also displaying the previous images too.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.