Home Information - Your home, your data, organized.
Python
Pre-release tweaks (2026-06-01) (#395)
Tony C342a7826fca8
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex ab40d02b..12758e63 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -16,7 +16,7 @@ We welcome all kinds of contributions! Whether you want to use the software and### 2. Join the Community (2 minutes)- Star the repository on GitHub- Watch the repository for updates on issues and discussions-- Check out our [Roadmap](https://github.com/users/cassandra/projects/1/views/3?sliceBy%5Bvalue%5D=Todo&sortedBy%5Bdirection%5D=asc&sortedBy%5BcolumnId%5D=168748500&visibleFields=%5B%22Title%22%2C168748500%2C%22Assignees%22%2C168599747%2C168599748%2C168599745%2C168599746%2C168599744%2C168603197%5D) to see where we're heading+- Check out our [Roadmap](https://github.com/users/cassandra/projects/1/views/3?visibleFields=%5B%22Title%22%2C168603197%2C168748500%2C%22Assignees%22%2C%22Labels%22%2C%22Status%22%5D) to see where we're heading### 3. Make Your First ContributionChoose what appeals to you:diff --git a/HI_VERSION b/HI_VERSIONindex f6a33ec3..6c67523f 100644--- a/HI_VERSION+++ b/HI_VERSION@@ -1 +1 @@-v1.1.6-dev+v1.2.0-devdiff --git a/LICENSE.md b/LICENSE.mdindex 4316154b..85538e89 100644--- a/LICENSE.md+++ b/LICENSE.md@@ -16,7 +16,7 @@ You may use, modify, and distribute the software **only** if you comply with theThe MIT License text is included below:``` text-Copyright 2025, Anthony R. Cassandra+Copyright 2025, 2026, Anthony R. CassandraPermission is hereby granted, free of charge, to any person obtaining a copy ofthis software and associated documentation files (the "Software"), to deal in@@ -40,7 +40,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.Any **commercial use** of this software **requires a separate license** from:-POMDP, Inc.+POMDP, LLCCommercial use includes, but is not limited to:- Using the software in a proprietary productdiff --git a/README.md b/README.mdindex 4f0be9ec..dc2f68e2 100644--- a/README.md+++ b/README.md@@ -6,7 +6,7 @@Home Information transforms how you manage your property by creating a visual, spatial, centralized hub for everything about your home. Instead of hunting through drawers, email attachments, and scattered notes, you'll have manuals, maintenance records, device controls, and security monitoring all organized exactly where they belong - visually positioned on a map of your home.-<img src="docs/img/screenshots/spatial-data-org-1024x768.png" alt="Kitchen Example" width="250"> <img src="docs/img/screenshots/security-view-active-closeup-400x300.png" alt="Security Example" width="250"> <img src="docs/img/screenshots/stream-browser-1024x768.png" alt="Camera Example" width="250">+<img src="docs/img/screenshots/spatial-data-org-1024x768.png" alt="Kitchen Example" width="300"> <img src="docs/img/screenshots/security-view-active-1024x768.png" alt="Security Example" width="300"> <img src="docs/img/screenshots/stream-browser-1024x768.png" alt="Camera Example" width="300">## Why Home Information?@@ -45,6 +45,7 @@ The install script automatically handles everything: Docker setup verification,- Upload and organize manuals, warranties, and documents by location- Store notes and specifications for every item in your home- Track maintenance histories and repair records+- Link to information stored in other apps like [Paperless-ngx, HomeBox and Immich](docs/Integrations.md)**Visual Organization:**- Position items exactly where they belong on floor plans or property maps@@ -54,10 +55,10 @@ The install script automatically handles everything: Docker setup verification,**Home Automation Integration:**- Control lights, switches, and devices through [Home Assistant](docs/Integrations.md)- Monitor device states and histories-- Set up automated alerts, rules and triggers+- Set up automated alerting rules**Security & Monitoring:**-- Integrate with [ZoneMinder](docs/Integrations.md) for camera management+- Integrate with [Frigate or ZoneMinder](docs/Integrations.md) for camera management- Visual security zone monitoring with color-coded status- Email alerts and customizable alarm sounds- Browse video event histories@@ -70,8 +71,9 @@ See the complete [Features List](docs/Features.md) for details.**What's Working:**- Full information management and visual organization-- Home Assistant and ZoneMinder integrations-- Security monitoring and alerts+- Floor plan editor+- Home Assistant, Frigate, Paperless-ngx, HomeBox, Immich and ZoneMinder integrations+- Security modes, monitoring and alerts- Multi-location and multi-view support**What's Evolving:**@@ -112,7 +114,7 @@ For technical details, see our [Development Documentation](docs/Development.md).- [Features](docs/Features.md) - Complete feature overview- [Getting Started](docs/GettingStarted.md) - First-time user walkthrough- [Layout Editor](docs/Editing.md) - Show how to use the layout editor-- [Integrations](docs/Integrations.md) - Home Assistant and ZoneMinder setup+- [Integrations](docs/Integrations.md) - Home Assistant, Frigate, Paperless-ngx, Immich, HomeBox and ZoneMinder setup- [Deployment Options](docs/Deployment.md) - Network access, custom compose stacks, production configuration- [FAQ](docs/FAQ.md) - Common questions and answersdiff --git a/docs/CLAUDE.md b/docs/CLAUDE.mdindex e1c7a84b..dc41e1a0 100644--- a/docs/CLAUDE.md+++ b/docs/CLAUDE.md@@ -22,6 +22,7 @@ This project has extensive custom commands for workflow automation. Use them pro### Quality & Maintenance Commands- **`/commit "message"`** - Smart commits following project standards+- **`/comments`** - Pre-PR comment analysis and rewrites- **`/review`** - Pre-PR quality preparation with expert analysis- **`/pr "title"`** - Pull request creation with proper template- **`/respond 112`** - Systematic PR feedback response@@ -58,7 +59,7 @@ This project has extensive custom commands for workflow automation. Use them pro- **When in doubt:** Check `docs/dev/workflow/workflow-guidelines.md` for process questions### AI Behavior Patterns-- **Quality over speed** - use well-factored solutions, not first working code+- **Quality over speed** - use well-factored solutions, not fastest working code- **Reference documentation** - commands point to authoritative sources- **Escalate when stuck** - pause after 3 attempts on difficult problems- **No Claude attribution** - keep commit messages and PR descriptions project-focused@@ -66,7 +67,6 @@ This project has extensive custom commands for workflow automation. Use them pro## Core Development Standards### Essential Technical Requirements-- **All files must end with newline** (prevents W391 linting failures)- **All imports at file top** (never inside functions/methods)- **Use `/bin/rm` not `rm`** (avoid interactive prompts)@@ -83,18 +83,18 @@ This project has extensive custom commands for workflow automation. Use them pro- **Trust the process** - commands implement project best practices## Tone and Behavior-- **Criticism is welcome** Please tell me when I am wrong or mistaken, or even when you think I might be wrong or mistaken.-- **Correct** Please tell me if there is a better approach than the one I am taking.-- **Be concise** I will let you know when I need longer explanations.-- **Do not flatter** Do not give compliments unless I am specifically asking for your judgement.-- **Ask** Feel free to ask many questions. If you are in doubt of my intent, don't guess. Ask.+- **Criticism is welcome** - Please tell me when I am wrong or mistaken, or even when you think I might be wrong or mistaken.+- **Correct** - Please tell me if there is a better approach than the one I am taking.+- **Be concise** - I will let you know when I need longer explanations.+- **Do not flatter** - Do not give compliments unless I am specifically asking for your judgement.+- **Ask** - Feel free to ask many questions. If you are in doubt of my intent, don't guess. Ask.## Key Project References-- **Project Structure** `docs/dev/shared/project-structure.md`-- **Workflows:** `docs/dev/workflow/workflow-guidelines.md`-- **Testing:** `docs/dev/testing/testing-guidelines.md`-- **Coding Standards:** `docs/dev/shared/coding-standards.md`-- **Architecture:** `docs/dev/shared/architecture-overview.md`+- **Project Structure** - `docs/dev/shared/project-structure.md`+- **Workflows:** - `docs/dev/workflow/workflow-guidelines.md`+- **Testing:** - `docs/dev/testing/testing-guidelines.md`+- **Coding Standards:** - `docs/dev/shared/coding-standards.md`+- **Architecture:** - `docs/dev/shared/architecture-overview.md`Commands automatically reference these documents - no need to read them manually unless working outside command workflows.diff --git a/docs/CustomBackgrounds.md b/docs/CustomBackgrounds.mdindex 097eb55c..265f5835 100644--- a/docs/CustomBackgrounds.md+++ b/docs/CustomBackgrounds.md@@ -6,21 +6,18 @@ Home Information includes a built-in floor plan editor that lets you draw your hIf you'd rather not draw your own, you can pick from a set of predefined templates or upload an SVG file you've created elsewhere.--*The floor plan editor with the element palette across the top*+<img src="img/screenshots/floor-plan-editor-1024x768.png" alt="The floor plan editor with the element palette across the top" width="400">## Getting StartedThe floor plan is the background image for each Space (Location) in the app. To create or change it:1. Enter **Edit Mode** using the Edit button-2. Select the Space you want to edit in the header dropdown-3. Click to edit the Space (next to header dropdown)+2. Switch to the **Space** tab in the sidebar4. Click the **BACKGROUND IMAGE** button in the Space properties panel sidebar5. Choose **Edit Current** to open the floor plan editor from modal selection--*The Background Image button in the Space properties panel*+<img src="img/screenshots/background-image-button-1024x768.png" alt="The Background Image button in the Space properties panel" width="350"> <img src="img/screenshots/template-selector-1024x768.png" alt="The Background Image dialog" width="350">From the Background Image dialog, you can also:- **Choose a Template** — pick from predefined floor plans to use as-is or as a starting point@@ -38,8 +35,7 @@ Drag any element from the palette and drop it onto the canvas. Elements are orga- **Features** — countertops, fireplaces, stairs, shelves, cabinets- **Exterior** — grass, ground, pavement, deck, fencing, property lines--*Dragging a wall element from the palette onto the canvas*+<img src="img/screenshots/palette-closeup-1024x768.png" alt="Dragging a wall element from the palette onto the canvas" width="350"> <img src="img/screenshots/palette-drag-drop-1024x768.png" alt="Dragging a wall element from the palette onto the canvas" width="350">### Editing Elements@@ -67,8 +63,7 @@ Your changes are saved to a draft while editing. If your browser closes unexpectThe template selector shows visual previews of all available floor plans. Selecting a template replaces the current background.--*Choosing from predefined floor plan templates*+<img src="img/screenshots/template-selector-1024x768.png" alt="The Background Image dialog" width="350"> <img src="img/screenshots/template-dialog-1024x768.png" alt="The Background template dialog" width="350">Templates are a good starting point — select one that roughly matches your layout, then use the editor to customize it.diff --git a/docs/DataImport.md b/docs/DataImport.mdindex 9d44eb42..8e974e9d 100644--- a/docs/DataImport.md+++ b/docs/DataImport.md@@ -27,6 +27,10 @@ after the import completes.You can re-run the same workflow later to bring in any new upstreamitems; existing imports are skipped by upstream identifier.+<img src="img/screenshots/data-import-config-1024x768.png" alt="Data Import config page" width="350"> <img src="img/screenshots/data-import-modal-1024x768.png" alt="Data Import config dialog" width="350">++<img src="img/screenshots/data-import-confirm-1024x768.png" alt="Data Import confirm dialog" width="300"> <img src="img/screenshots/data-import-result-1024x768.png" alt="Data Import result dialog" width="300"> <img src="img/screenshots/data-import-placement-1024x768.png" alt="Data Import placent dialog" width="300">+## Discarding imported dataTo remove imported items along with their custom data and attached@@ -40,4 +44,4 @@ bring the items back you would need to re-import.HomeBox inventory into HI as locally-owned items, with customfields and attached files preserved.-More integrations will offer Data Import as the framework matures.+More integrations will offer Data Import based on user feedback.diff --git a/docs/Editing.md b/docs/Editing.mdindex de5fa872..0fe1802e 100644--- a/docs/Editing.md+++ b/docs/Editing.md@@ -6,22 +6,20 @@ This page provides an overview of the item editing mode features and basic operaYou enter edit mode with the "EDIT" button near the top right of the screen.-<img src="img/getting-started/edit-button.png" alt="edit-button" width="100" />--<img src="img/editing/initial-edit-screen-1024x768.png" alt="initial-edit-screen-1024x768.png" width="400" />+<img src="img/getting-started/edit-button.png" alt="edit-button" width="350" /> <img src="img/editing/initial-edit-screen-1024x768.png" alt="initial-edit-screen-1024x768.png" width="350" />## Adding ItemsAs an example, we'll add a refrigerator by clicking the "ADD NEW ITEM" button, giving it a name and choosing the "type" of item it is:-<img src="img/editing/add-item-modal-1024x768.png" alt="Home Information Add Item Dialog" width="250">+<img src="img/editing/add-item-modal-1024x768.png" alt="Home Information Add Item Dialog" width="400">After clicking the add button, you will see an icon for the refrigerator in the middle of the screen. We can now use the mouse or touch screen to reposition it. Click the icon to highlight it, then drag it to the position you want. Use the `s` key (scale) and then the `+` and `-` keys to change its size.<img src="img/editing/first-item-center-1024x768.png" alt="Home Information Initial Item" width="350"> <img src="img/editing/first-item-moved-scaled-1024x768.png" alt="Home Information Moved Item" width="350">-When selecting an item, the right side of the screen changes to show the layout details of that item. Clicking the "X" in the upper right of that area returns the side view to allow adding more items.+When selecting an item, the right side of the screen changes to show the layout details of that item. Clicking the "Items tab returns the side view to allow adding more items.There are many options for adjusting the layout of an item. See the "EDIT HELP" button on the bottom right of the screen for more information.@@ -45,7 +43,7 @@ You are not limited to square shapes either. With a dot or line selected, press### Line Items-Another type of item is like an area, but for representing linear items. For example, suppose you have underground electric service and would like to show where the underground line runs.+Another type of item is like an area, but for representing linear items. For example, suppose you have underground electric service and would like to show where the underground line runs on sopme utilities view.Click "ADD NEW ITEM", give it the name "Electric Service Line", choose the "Electric Wire Line" type and click the "ADD" button.@@ -53,26 +51,26 @@ Click "ADD NEW ITEM", give it the name "Electric Service Line", choose the "ElecAs with the area items, clicking it will give you the ability to edit by moving and/or adding points to it, pressing the `ESC` key when done.-<img src="img/editing/first-line-edit-start-1024x768.png" alt="Home Information Electric Selected" width="250"> <img src="img/editing/first-line-edit-moved-1024x768.png" alt="Home Information Electric Moved" width="250"> <img src="img/editing/first-line-edit-done-1024x768.png" alt="Home Information Electric Done" width="250">+<img src="img/editing/first-line-edit-start-1024x768.png" alt="Home Information Electric Selected" width="300"> <img src="img/editing/first-line-edit-moved-1024x768.png" alt="Home Information Electric Moved" width="300"> <img src="img/editing/first-line-edit-done-1024x768.png" alt="Home Information Electric Done" width="300">### CollectionsNot every item you may want to keep information about will make sense to have a specific location. For example, power tools and small appliances are items that you may have user manuals, replacement part info, etc. Though you could add them as we have been doing, sometimes you just want to keep a list of these "movable" items.-A "collection" can be used to put items into meaningful groups, like "Small Appliances" or "Power Tools". The bottom left of the screen will show all the defined collections, though we need to add some first by clicking the "ADD" button which brings up a dialog.+A "collection" can be used to put items into meaningful groups, like "Small Appliances" or "Power Tools". The bottom left of the screen will show all the defined collections, though we need to add some first by clicking the "ADD COLLECTION" button on the bottom left which brings up a dialog.-<img src="img/editing/new-collection-button-1024x768.png" alt="Home Information Adding Collection" width="250">-<img src="img/editing/add-collection-modal-1024x768.png" alt="Home Information Adding Collection" width="300">+<img src="img/editing/new-collection-button-1024x768.png" alt="Home Information Adding Collection" width="350">+<img src="img/editing/add-collection-modal-1024x768.png" alt="Home Information Adding Collection" width="350">A few notes about this dialog:-- The "Display" can be a List or Grid view, depending on your preferences.-- The "Order Id" just defines the order they will appear at the bottom of the screen.+- The "Display" can be a List, Grid, etc. view, depending on your preferences.+- The "Order Id" just defines the order their buttons will appear at the bottom of the screen.- You can optionally represent the entire collection as one item in the graphical view if you want.After adding, you will now see a button for the new collection at the bottom left. Clicking the button will change the main center view from the graphical view to the collection view. Here we could add existing items by clicking the checkboxes on the right panel. Note that any items you add can appear in the graphical view, the collection or both and you can easily toggle them on and off with a click of those checkboxes on the right.-<img src="img/editing/collection-edit-view-empty-1024x768.png" alt="Home Information Empty Collection" width="350">+<img src="img/editing/collection-edit-view-empty-1024x768.png" alt="Home Information Empty Collection" width="400">However, since we have not added any small appliances yet, we can go and do this now by clicking the "ADD NEW ITEM" button. When viewing a collection, that button adds a new item and will also add it to the collection. When in the graphical view, it adds it to that view. Here is what the collection view look like after adding a bunch of small appliances. It shows both the list view (left) and grid view (right).@@ -82,23 +80,23 @@ However, since we have not added any small appliances yet, we can go and do thisSo far, we have seen just the one "view". As more and more items are added, a single screen can get cluttered, often with a mix of concerns that would be better separated. We can add as many different views as we need to do this. Each view can define which items do an do not appear in the view and you can switch between views with the top left buttons. An item can appear in just one or multiple views and/or multiple collections.-By default, you will see there is just one view created called "All". In editing mode you will also see the "ADD" button to create new views. Let's suppose we want to have a view that just focuses on the items in the Kitchen area. Click the "ADD" button, given it a name in the dialog and then you will see a new button and a new, but empty view.+By default, you will see there is just one view created called "All". In editing mode you will also see the "ADD VIEW" button on the top left to create new views. Let's suppose we want to have a view that just focuses on the items in the Kitchen area. Click the "ADD VIEW" button, given it a name in the dialog and then you will see a new button and a new, but empty view.<img src="img/editing/new-location-view-button-1024x768.png" alt="Home Information New Space View" width="350"> <img src="img/editing/add-location-view-modal-1024x768.png" alt="Home Information New Space View" width="350">We can add any existing kitchen items from the list at right, with the refrigerator being the only applicable one (unless you want to show all the small appliances too.) Let's toggle the refrigerator and add a bunch of our other kitchen items: oven, cooktop, microwave, etc. We move and scale them as we did with the refrigerator to get something like this:-<img src="img/editing/new-location-view-populated-1024x768.png" alt="Home Information Initial Space View" width="350">+<img src="img/editing/new-location-view-populated-1024x768.png" alt="Home Information Initial Space View" width="400">This is a good start, but we'd also like to zoom in to focus just on that kitchen area. The view allows zooming in and moving it around by clicking the background then using the mouse wheel, two finger pinching and/or dragging. By doing this, you can show only the kitchen area.-<img src="img/editing/new-location-view-zoomed-1024x768.png" alt="Home Information Zoomed Space View" width="350">+<img src="img/editing/new-location-view-zoomed-1024x768.png" alt="Home Information Zoomed Space View" width="400">However, most of the time, zooming and moving the view is done on a temporary basis as you move around the view. For the Kitchen view, we want to have this change permanent, so we need to enter the view editing pane in order for changes to be saved.-Near the top right, there is the "View: Kitchen" label and a "EDIT" button to its right. That is how to enter the editing mode for this view to make any zooming and moving permanent.+Click the **View** tab on the side panel to edit the view. You need to be in editing mode for this view to make any zooming and moving permanent.-<img src="img/editing/new-location-view-edit-zoomed-1024x768.png" alt="Home Information Space View Edit" width="350">+<img src="img/editing/new-location-view-edit-zoomed-1024x768.png" alt="Home Information Space View Edit" width="400">After adjusting the view with the view editing area open, click "UPDATE" and now when you click the "Kitchen" button on the top left, it will zoom in to that saved geometry.@@ -108,19 +106,20 @@ The views we've seen so far are all defined with respect to a single "Space", whHowever, if you have a two-story house, an attic or basement, you may want to define two or three spaces, so you can place items in a more logical place. For example, if your Air Conditioner's Air Handler is in your attic and you want to keep information about it, it would make sense to define an "Attic" space and represent it there instead of placing it on the floor below.-When in editing mode, there is a space drop-down on the top right that allows you to add a new space. This opens a dialog and you give it a name and an optional SVG background image and from then on can change to that space with the drop-down.+When in editing mode, click the **ALL SPACES** drop-down near the top right and select the **ADD NEW SPACE** item. This opens a dialog where you can you give it a name. From then on can change to that new space with the **ALL SPACES** drop-down.-<img src="img/editing/new-location-drop-down-1024x768.png" alt="Home Information New Space" width="250"> <img src="img/editing/add-location-modal-1024x768.png" alt="Home Information Space Dialog" width="250"> <img src="img/editing/new-location-added-drop-down-1024x768.png" alt="Home Information Space Menu" width="250">+<img src="img/editing/new-location-drop-down-1024x768.png" alt="Home Information New Space" width="300"> <img src="img/editing/add-location-modal-1024x768.png" alt="Home Information Space Dialog" width="300"> <img src="img/editing/new-location-added-drop-down-1024x768.png" alt="Home Information Space Menu" width="300">-Below is the Attic space's view after using a custom SVG background and adding the A/C Air Handler, some control wire routes, exhaust fans and a skylight.+The space will be created with a blank background. You can use the **BACKGROUND IMAGE** button on the **SPACE** side edit tab to customize the background.-<img src="img/editing/new-location-alt-svg-1024x768.png" alt="Home Information Attic Space" width="350">+<img src="img/screenshots/template-selector-1024x768.png" alt="Background selection" width="400">-## Custom Background Images+Below is the Attic space's view after using one of the predefined template SVG backgrounds and adding the A/C Air Handler, some control wire routes, exhaust fans and a skylight.-When creating a new space, you get a blank floor plan background to start. You can then customize this by using the Background Editor, choosing from a list of predefined templates or even upload your own SVG background image.+<img src="img/editing/new-location-alt-svg-1024x768.png" alt="Home Information Attic Space" width="400">-<img src="img/editing/location-layout-edit-button-1024x768.png" alt="location-layout-edit-button-1024x768.png" width="250" /> <img src="img/editing/location-layout-edit-1024x768.png" alt="location-layout-edit-1024x768.png" width="400" />+## Custom Background Images+After creating a new space, instead of choosing from a predefined template, you can create a custom floor plan from scratch using the built-in Floor Plan Editor. Alternatively, you can start with one of the templates as a basis, then use the editor to modify it to match your home.For more details, see the [Custom Background Image Page](CustomBackgrounds.md).diff --git a/docs/FAQ.md b/docs/FAQ.mdindex 9eaca0e8..2b573748 100644--- a/docs/FAQ.md+++ b/docs/FAQ.md@@ -5,7 +5,7 @@## Getting Started### Q: How long does it take to set up?-**A:** Basic installation takes 5-10 minutes if you have Docker installed. Setting up your first location and adding a few items takes another 15-30 minutes. You can start simple and build up your information over time - there's no need to do everything at once.+**A:** Basic installation takes just a few minutes if you have Docker installed. Setting up your first location and adding a few items takes another 15-30 minutes. You can start simple and build up your information over time - there's no need to do everything at once.### Q: Do I need to be technical to use this?**A:** The installation requires basic command line usage and Docker, but once it's running, the interface is point-and-click. If you're comfortable installing apps on your computer, you can handle the setup. We're working on making installation even simpler for future versions.@@ -58,17 +58,20 @@ We also provide some helper scripts [Helper Scripts README](../scripts/README.md## Integrations & Compatibility-### Q: Do I need Home Assistant, ZoneMinder, or HomeBox to use this?+### Q: Do I need Home Assistant, Frigate, HomeBox, etc. to use this?**A:** No, integrations are completely optional. Home Information provides value as a standalone information management system. Integrations add device control, monitoring, and inventory management capabilities when you want them.### Q: Will it work with my existing smart home setup?-**A:** If your devices work with Home Assistant, they'll integrate well. Home Assistant supports hundreds of device types and protocols. For security cameras, ZoneMinder integration works with most IP cameras and many older CCTV systems. For home inventory tracking, HomeBox items can be imported and displayed on your home layout.+**A:** If your devices work with Home Assistant, they'll integrate well. Home Assistant supports hundreds of device types and protocols. For security cameras, Frigate and ZoneMinder integrations work with most IP cameras and many older CCTV systems.++### Q: What if I already have a lot of data in Paperless-ngx, HomeBox, etc.?+**A:** For home inventory tracking, HomeBox items can be connected and displayed on your home layout. Documents from Paperless-ngx and images from Immich can be linked to any item in the Home Information views.### Q: What if my devices aren't supported?**A:** You can still use Home Information for documentation and information management about those devices. As the project grows, we'll add more integrations based on user demand.### Q: Can I use it with cloud-based home automation?-**A:** The philosophy of Home Information aligns best with local-control systems, but you can still use it to organize information about cloud-based devices. Direct integration would require additional development.+**A:** The philosophy of Home Information aligns best with local-control systems and we have focused on integrations with similar philsophies. Cloud-based integrations may be added if there is demand, but would require additional development.## Comparison with Alternatives@@ -79,12 +82,12 @@ We also provide some helper scripts [Helper Scripts README](../scripts/README.md**A:** Home Assistant is excellent for device control but wasn't designed for information management. Home Information complements Home Assistant by providing the spatial organization and document management that makes device control more meaningful.### Q: How does this compare to property management software?-**A:** Most property management tools are designed for landlords managing multiple properties, not homeowners managing their own home. Home Information focuses on the day-to-day information needs of people living in their space.+**A:** Most property management tools are designed for landlords managing multiple properties, not homeowners managing their own home. Home Information focuses on the day-to-day information needs of people living in their space with s special focus on spatial organization of that data.## Future Development### Q: What integrations are planned next?-**A:** We're guided by user demand. Popular requests include SmartThings, Hubitat, Blue Iris (cameras), and various IoT sensors. The integration architecture makes adding new systems straightforward.+**A:** We're guided by user demand and we have a few candidates on our roadmap. The integration architecture makes adding new systems straightforward.### Q: Will there be a mobile app?**A:** The web interface works well on mobile devices, but we're considering a dedicated mobile app for quick access and notifications when away from home.@@ -118,4 +121,4 @@ We also provide some helper scripts [Helper Scripts README](../scripts/README.md**A:** To create the missing piece that makes home technology actually useful for managing daily life. We want to bridge the gap between device-centric automation and people-centric information management.### Q: Is it really free?-**A:** Yes, Home Information is open source software released under the MIT license. You can use it freely, modify it, and even redistribute it. There are no subscription fees or premium tiers.+**A:** Yes, Home Information is open source software released under the MIT license for personal use. You can use it freely, modify it, and even redistribute it. There are no subscription fees or premium tiers.diff --git a/docs/Features.md b/docs/Features.mdindex 32cb1e9c..e3be15ae 100644--- a/docs/Features.md+++ b/docs/Features.md@@ -1,4 +1,4 @@-<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">+<img src="../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128"># Features@@ -8,12 +8,12 @@ Home Information provides comprehensive tools for organizing, monitoring, and co**What it does:** Store, organize, and access all your home-related documents, notes, and data using a visual, location-based approach.-<img src="img/screenshots/spatial-data-org-1024x768.png" alt="Kitchen Example" width="400"> <img src="img/screenshots/attribute-info-files-1024x768.png" alt="Info View/Edit Example" width="400">+<img src="img/screenshots/spatial-data-org-1024x768.png" alt="Kitchen Example" width="350"> <img src="img/screenshots/attribute-info-files-1024x768.png" alt="Info View/Edit Example" width="350">### Spatial Data Organization- **Position items visually** on floor plans or property maps- **Multiple location support** - separate views for different floors, attic, basement, or outdoor areas-- **Custom background images** - upload floor plans, property surveys, or photos of your actual spaces+- **Custom background images** - edit your floor plans, upload property surveys/photos of your actual spaces- **Flexible item types** - individual items (appliances, fixtures), areas (pool, garden), or linear features (electrical lines, plumbing)**Real-world benefit:** Instead of searching through folders for "kitchen appliance info," you click on your kitchen and see all relevant information right where you'd expect it.@@ -31,13 +31,18 @@ Home Information provides comprehensive tools for organizing, monitoring, and co- **Collections** - organize portable items like tools, small appliances, or seasonal decorations- **Zoom and focus** - save specific view settings for easy navigation to areas of interest-**Perfect for:** Managing complex properties where a single view becomes cluttered, or focusing on specific systems (like showing only HVAC-related items).+**Perfect for:** Managing complex properties where a single view becomes cluttered, or focusing on specific systems (like showing only HVAC-related items, utilties, irrigation system).++### Content Linking+- **Paperless-ngx** - Link documents and images to any items on your floor plan+- **Immich** - Link images and videos to any items on your floor plan++<img src="img/screenshots/reference-picker-1024x768.png" alt="Linking content" width="400">### HomeBox Inventory Integration-- **Item synchronization** - automatically import items from HomeBox into your home layout+- **Item synchronization** - automatically link items from HomeBox into your home layout- **Attribute display** - view item details, warranties, purchase info, and custom fields- **Attachment support** - access documents and photos attached to HomeBox items-- **Managed attributes** - HomeBox-sourced attributes are read-only to avoid conflicting edits**Use case example:** You track all your appliances and tools in HomeBox. Home Information pulls them in so you can position them on your floor plan alongside your smart home devices, giving you a complete view of everything in your home.@@ -51,7 +56,7 @@ Home Information provides comprehensive tools for organizing, monitoring, and co- **Historical data** - device state change histories and usage patterns- **Automated rules** - create rules that raise alerts or run actions when entity states match defined conditions-**Real-world benefit:** Instead of opening a separate app and navigating device lists, you see device status right on your home map and control them in context.+**Real-world benefit:** Instead of opening a separate app and navigating device lists, you see device status right on your home map and control them in context with a single tap.<img src="img/screenshots/automation-view-1024x768.png" alt="Automation View Example" width="400">@@ -65,7 +70,7 @@ Home Information provides comprehensive tools for organizing, monitoring, and co### Weather & Environmental Data- **Local weather integration** - current conditions and forecasts using your exact coordinates- **Astronomical data** - sunrise/sunset, moon phases for outdoor lighting and security planning-- **Integration with local sensors** - if you have weather stations or environmental monitoring+- **Integration with local sensors** - if you have weather stations or environmental monitoring (future)## Security & Monitoring@@ -76,12 +81,12 @@ Home Information provides comprehensive tools for organizing, monitoring, and co- **Multi-mode support** - different security profiles (Home, Away, Sleep) with different zone configurations- **Historical security data** - track arm/disarm events, sensor triggers, and security system activity-**Real-world benefit:** At a glance, see which areas of your home are secured and quickly identify any issues without navigating through security system menus.+**Real-world benefit:** At a glance, see which areas of your home are secured and quickly identify any issues without navigating through security system menus. Set up different alerting rules for when you are home, away or at night.-### ZoneMinder Camera Integration+### Frigate and ZoneMinder Camera Integration- **Camera positioning** - place camera icons exactly where cameras are located and define the areas they cover- **Live stream access** - click on camera icons to view live feeds-- **Event browsing** - review motion detection events and recordings+- **Event browsing** - review object and motion detection events and recordings- **Auto-viewing** - automatically display relevant camera feeds when alarms trigger**Use case example:** Motion sensor triggers in the backyard. The system automatically shows you the backyard camera feed while logging the event and can send email alerts with relevant information.@@ -117,6 +122,7 @@ Home Information provides comprehensive tools for organizing, monitoring, and co### Editing & Administration- **Visual editing mode** - drag and drop items, resize, and reshape areas+- **Floor Plan Editor** - integrated editor for creating custom floor plans to match your home- **Bulk operations** - efficiently manage multiple items or data imports- **User management** - multiple user accounts with different access levels (optional)- **Backup & restore** - keeps history of all information changes and one-click restoring@@ -131,14 +137,17 @@ Home Information provides comprehensive tools for organizing, monitoring, and co### Current Integrations- **Home Assistant** - Complete integration with the popular open-source home automation platform-- **ZoneMinder** - Full-featured security camera management+- **Frigate** - Full-featured security camera management with object detection+- **Paperless-ngx** - Full featured document management, OCR, search.- **HomeBox** - Home inventory management and item tracking+- **Immich** - Rich image and photo album management+- **ZoneMinder** - Full-featured security camera management with motion detection- **Weather APIs** - National Weather Service and OpenMeteo for local conditions### Integration Architecture- **API-based** - clean interfaces for adding new integrations- **Local-first** - integrations work within your network, no cloud dependencies required-- **Modular design** - enable only the integrations you need+- **Modular design** - enable only the integrations you need (or none at all)### Data Management- **Local storage** - all data stays on your devices using SQLitediff --git a/docs/GettingStarted.md b/docs/GettingStarted.mdindex 5b5ae13e..af90e958 100644--- a/docs/GettingStarted.md+++ b/docs/GettingStarted.md@@ -10,7 +10,7 @@ Choose which home type you want to use. If you choose "Two Story", you will see<img src="img/getting-started/initial-view-1024x768.png" alt="initial-view-1024x768" width="400" />-These provide defaults to get started quickly. You can modify and customize as much as you want after this.+These provide defaults to get started quickly. You can add, remove and customize these as much as you want afterwards.## Adding Information@@ -18,98 +18,85 @@ To core feature of Home Information is managing information about your home and<img src="img/getting-started/item-edit-modal-empty-1024x768.png" alt="item-edit-modal-empty-1024x768" width="400" />-Use the "Add Info" button to add some information about the item. Or use the "Add File" button to upload a document:+Use the "Add Info" button to add some information about the item. Or use the "Add File" button to upload a document or image:<img src="img/getting-started/item-edit-add-info-1024x768.png" alt="item-edit-add-info-1024x768" width="350" /> <img src="img/getting-started/item-edit-add-file-1024x768.png" alt="item-edit-add-file-1024x768" width="350" />-Some information may not be associated with an individual item, but the home overall. For that, use the top-right button to add the information to the home itself.+Some information may not be associated with an individual item, but the overall home itself. For that, use the top-right button to add the information to the home itself.-<img src="img/getting-started/location-info-button.png" alt="location-edit-modal-1024x768" width="200" />--<img src="img/getting-started/location-edit-modal-1024x768.png" alt="location-edit-modal-1024x768" width="400" />+<img src="img/getting-started/location-info-button.png" alt="location-edit-modal-1024x768" width="350" /> <img src="img/getting-started/location-edit-modal-1024x768.png" alt="location-edit-modal-1024x768" width="350" />## Multiple SpacesIf you have a multi-story house, basement, attic or even another vacation home or second property, you can create a different "space" for that. Here we have an extra space defined for the second floor rooms and crawl spaces.-<img src="img/getting-started/spaces-dropdown-1024x768.png" alt="spaces-dropdown-1024x768" width="250" /> <img src="img/getting-started/view-second-space-1024x768.png" alt="view-second-space-1024x768" width="300" />+<img src="img/getting-started/spaces-dropdown-1024x768.png" alt="spaces-dropdown-1024x768" width="350" /> <img src="img/getting-started/view-second-space-1024x768.png" alt="view-second-space-1024x768" width="350" />## Collections-Not everything in your home has a well defined location, so use the "collections" bottom buttons for those items and you can choose whether you prefer a list of grid layout.--<img src="img/getting-started/collections-buttons.png" alt="collections-buttons" width="200" />+Not everything in your home has a well defined location or needs a spatial position. For these items you can use the "collections" bottom buttons which offer different list and grid layouts.-<img src="img/getting-started/collections-grid-1024x768.png" alt="collections-grid-1024x768" width="350" /> & nbsp; <img src="img/getting-started/collections-list-1024x768.png" alt="collections-list-1024x768" width="350" />+<img src="img/getting-started/collections-buttons.png" alt="collections-buttons" width="300" /> <img src="img/getting-started/collections-grid-1024x768.png" alt="collections-grid-1024x768" width="300" /> <img src="img/getting-started/collections-list-1024x768.png" alt="collections-list-1024x768" width="300" />## Weather-There are some default weather integrations which also provide weather alerts. Tap on the weather information to see more details.+There are some default weather integrations which provide weather data and alerts. Tap on the weather information panel to drill into more details about weather or astronomical data.-<img src="img/getting-started/weather-details-1024x768.png" alt="weather-details-1024x768" width="400" /> <img src="img/getting-started/weather-forecast-1024x768.png" alt="weather-forecast-1024x768" width="400" />+<img src="img/getting-started/weather-details-1024x768.png" alt="weather-details-1024x768" width="350" /> <img src="img/getting-started/weather-forecast-1024x768.png" alt="weather-forecast-1024x768" width="350" />Seen sunrise times, sunset, moon phase, weather history and more.-<img src="img/getting-started/astronomical-details-1024x768.png" alt="astronomical-details-1024x768" width="400" /> <img src="img/getting-started/weather-history-1024x768.png" alt="weather-history-1024x768" width="400" />+<img src="img/getting-started/astronomical-details-1024x768.png" alt="astronomical-details-1024x768" width="350" /> <img src="img/getting-started/weather-history-1024x768.png" alt="weather-history-1024x768" width="350" />## Controls and Settings-Control alert sounds, screen brightness and lock your screen. The alerts and display keep running so you do not miss anything.--<img src="img/getting-started/bottom-right-buttons-1024x768.png" alt="bottom-right-buttons-1024x768" width="400" />--For accurate weather and time, be sure to set your timezone and geographic location in the configuration pages.+Control alert sounds, screen brightness and lock your screen. The alerts and display keep running so you do not miss anything. For accurate weather and time, be sure to set your timezone and geographic location in the configuration pages.-<img src="img/getting-started/console-settings-page-1024x768.png" alt="console-settings-page-1024x768" width="400" />+<img src="img/getting-started/bottom-right-buttons-1024x768.png" alt="bottom-right-buttons-1024x768" width="350" /> <img src="img/getting-started/console-settings-page-1024x768.png" alt="console-settings-page-1024x768" width="350" />## Layout Editing-You have full control of the layout of your items and the background image. These are all managed by choosing "EDIT" and entering "Editing Mode".+You have full control of the layout of your items and the background image. These are all managed by choosing "EDIT" and entering a special "Editing Mode".-<img src="img/getting-started/edit-button.png" alt="edit-button" width="250" />--<img src="img/getting-started/edit-mode-1024x768.png" alt="edit-mode-1024x768" width="400" />+<img src="img/getting-started/edit-button.png" alt="edit-button" width="350" /> <img src="img/getting-started/edit-mode-1024x768.png" alt="edit-mode-1024x768" width="350" />The [Editing Page](Editing.md) has many details on how to use the editor.## Integrations-For smart home device automation, go to the configuration area to enable one of the current integrations (e.g., Home Assistant).+For connecting to other applications, go to the configuration area to enable one of the current integrations (e.g., Home Assistant).++<img src="img/getting-started/integrations-page-empty-1024x768.png" alt="integrations-page-empty-1024x768" width="350" /> <img src="img/getting-started/integrations-enable-modal-1024x768.png" alt="integrations-enable-modal-1024x768" width="350" />-<img src="img/getting-started/integrations-page-empty-1024x768.png" alt="integrations-page-empty-1024x768" width="400" /> <img src="img/getting-started/integrations-enable-modal-1024x768.png" alt="integrations-enable-modal-1024x768" width="400" />+After enabled, you can connect all the items to add them to your views and collections.-After enabled, you can import all the items to add them to your views and collections.+<img src="img/getting-started/integrations-page-view-1024x768.png" alt="integrations-page-view-1024x768" width="300" /> <img src="img/getting-started/integrations-sync-result-1024x768.png" alt="integrations-sync-result-1024x768" width="300" /> <img src="img/getting-started/integrations-place-items-1024x768.png" alt="integrations-place-items-1024x768" width="300" />-<img src="img/getting-started/integrations-page-view-1024x768.png" alt="integrations-page-view-1024x768" width="400" /> <img src="img/getting-started/integrations-sync-result-1024x768.png" alt="integrations-sync-result-1024x768" width="400" />See the [Integrations Page](Integrations.md) for more details.### Cameras-If the integation provides cameras with video feeds (e.g., ZoneMinder), the cameras will appear in the side bar for easy access to their streams and for browsing the video stream history from past motion events.+If the integation provides cameras with video feeds (e.g., Frigate, ZoneMinder), the cameras will appear in the side bar for easy access to their streams and for browsing the video stream history from past motion events.-<img src="img/getting-started/video-stream-live-1024x768.png" alt="video-stream-live-1024x768.png" width="400" /> <img src="img/getting-started/video-stream-history-1024x768.png" alt="video-stream-history-1024x768.png" width="400" />+<img src="img/getting-started/video-stream-live-1024x768.png" alt="video-stream-live-1024x768.png" width="350" /> <img src="img/getting-started/video-stream-history-1024x768.png" alt="video-stream-history-1024x768.png" width="350" />### Alert Rules and Security Modes-By default, if you have motion sensors, open/close sensors, camera motion, etc. the integration item import automatically creates alert rules. You can view, refine and manage these in the configuration pages.--<img src="img/getting-started/trigger-rules-1024x768.png" alt="rules-1024x768" width="400" />--The rules allow you to target different "security modes" for better control of what alerts and when.+By default, if you have motion sensors, open/close sensors, camera motion, etc. the integration item import automatically creates alert rules. You can view, refine and manage these in the configuration pages. The rules allow you to target different "security modes" for better control of what alerts and when.-<img src="img/getting-started/security-modes.png" alt="security-modes" width="250" />+<img src="img/getting-started/trigger-rules-1024x768.png" alt="rules-1024x768" width="350" /> <img src="img/getting-started/security-modes.png" alt="security-modes" width="350" />-### Alert Areas+### Alerting Areas-In the editor, you can define areas and associate it with a device, like a camera. Then, if the camera detects motion, both the camera and the area will be highlighted.+In the editor, you can define areas and associate it with a device, like a camera. Then, if the camera detects motion, both the camera and the area will be highlighted. A default area is created automatically when you connect devices with motion sensing ability.-<img src="img/getting-started/camera-area-idle-1024x768.png" alt="camera-area-idle-1024x768.png" width="400" /> <img src="img/getting-started/camera-area-active-1024x768.png" alt="camera-area-active-1024x768.png" width="400" />+<img src="img/getting-started/camera-area-idle-1024x768.png" alt="camera-area-idle-1024x768.png" width="350" /> <img src="img/getting-started/camera-area-active-1024x768.png" alt="camera-area-active-1024x768.png" width="350" />The highlighting will change color over time so you can see what is currently alarming, recently alarmed or what was active in the near past.-<img src="img/getting-started/camera-area-recent-1024x768.png" alt="camera-area-recent-1024x768.png" width="400" /> <img src="img/getting-started/camera-area-past-1024x768.png" alt="camera-area-past-1024x768.png" width="400" />+<img src="img/getting-started/camera-area-recent-1024x768.png" alt="camera-area-recent-1024x768.png" width="350" /> <img src="img/getting-started/camera-area-past-1024x768.png" alt="camera-area-past-1024x768.png" width="350" />## Additional Detailsdiff --git a/docs/Integrations.md b/docs/Integrations.mdindex 5108e728..111c5f40 100644--- a/docs/Integrations.md+++ b/docs/Integrations.md@@ -2,25 +2,44 @@# Integrations-Home Information (HI) can optionally connect to external systems to-import items from them — alongside your own items and items from any+Home Information (HI) can optionally integrate with external systems to+connect items from them — alongside your own items and items from anyother integrations you enable. Integrations are not required; HIworks without any of them. Each integration has its own setup steps,credentials, and caveats — see the per-integration page for details.-You will need credentials for the upstream service before starting;+You will usually need credentials for the upstream service before starting;the per-integration pages below cover what to obtain and where toenter it.+## Types of Integrations++- **Connectors** — Adds new items to Home Information and connects their data to the external system. Home Information provides the spatial display, but the external remains the source of truth for the item.+- **Content Sources** — Allows linking documents, files and images in external systems to existing Home Information items. These can be items you created in Home Information, or items you connected from other systems.+- **Data Import** — Add new items to Home Information from external sources. Unlike connectors, this copies all the data and Home Information becomes the source of truth for the data. Any changes in the external source will not be reflected in Home Information.++All integrations can be enabled and managed on the config page using the lower right **CONFIGURE**. Each integration type has their own configuration tab.++<img src="img/getting-started/bottom-right-buttons-1024x768.png" alt="Configure button" width="400">++## Connectors and Content Sources vs. Data Import++Most integrations are live: HI mirrors the upstream+system continuously and changes flow in via the update action.+Content-source integrations (Paperless-ngx, Immich) are a different+shape — they contribute attachable references rather than importing+items, and they talk to the upstream service only when the operator+opens the picker.++A separate feature, [Data Import](DataImport.md), is a one-time+copy with no ongoing upstream link. Some integrations (HomeBox+today) offer both options.+## Enabling an integration-Most integrations are configured from the **Connectors** tab on the-Configure page. Content-source integrations (Paperless-ngx and-Immich) are configured from the **Content Sources** tab instead,-because they contribute searchable references rather than importing-items — see each integration's own page for the walkthrough.+### Connectors-For a Connectors-tab integration:+For a Connectors integration:1. In HI, click **CONFIGURE** at the bottom of the screen.2. Select the **Connectors** tab.@@ -32,18 +51,43 @@ For a Connectors-tab integration:4. Choose the integration you want to add and follow theconfiguration steps on its per-integration page below.+<img src="img/getting-started/integrations-page-empty-1024x768.png" alt="Configure button" width="350"> <img src="img/getting-started/integrations-enable-modal-1024x768.png" alt="All connector integrations" width="350">++<img src="img/getting-started/integrations-sync-result-1024x768.png" alt="Connector result dialog" width="350"> <img src="img/getting-started/integrations-place-items-1024x768.png" alt="Connector place items dialog" width="350">++### Content Sources++For a Content Source integration:++1. In HI, click **CONFIGURE** at the bottom of the screen.+2. Select the **Content Sources** tab.+3. Select the tab for the content source to configure+4. Fill in the URL and credentials, then click **ENABLE**++<img src="img/screenshots/content-sources-config-1024x768.png" alt="Content source config page" width="400">++Once enabled, you will see an extra **Link Content** button when you are editing items. Clicking that brings up a search dialog that searches the external source where you can select the content to link to the item. Once linked, when you open the item, that content will show up.++<img src="img/screenshots/link-content-button-1024x768.png" alt="Link content button" width="300"> <img src="img/screenshots/reference-picker-1024x768.png" alt="Content picker dialog" width="300"> <img src="img/screenshots/link-content-tab-1024x768.png" alt="Linked content tab" width="300">++### Data Import++See [Data Import](DataImport.md)+## Available integrations- **[Home Assistant](integrations/home-assistant.md)** — general-purposehome automation platform. Imports HA entities (lights, switches,sensors, cameras, climate devices, and more) and dispatches controlactions back to HA.-- **[ZoneMinder](integrations/zoneminder.md)** — open-source video- surveillance. Imports ZM monitors as cameras with motion sensors and- function controllers; provides live stream playback in HI.- **[Frigate](integrations/frigate.md)** — open-source NVR withobject detection. Imports Frigate cameras with an object-presencesensor that drives event playback in HI.+- **[Paperless-ngx](integrations/paperless-ngx.md)** — document+ management. Does not import items; instead lets you search+ paperless from inside HI and attach matching documents (warranty+ PDFs, manuals, receipts) as link references on items and+ Locations you already have.- **[HomeBox](integrations/homebox.md)** — home inventory tracking.Imports HomeBox items as read-only HI items with custom fields andattached files (manuals, receipts, photos).@@ -52,25 +96,10 @@ For a Connectors-tab integration:from inside HI and attach matching assets (appliance photos, roomsnapshots, serial-plate shots) as link references on items andLocations you already have.-- **[Paperless-ngx](integrations/paperless-ngx.md)** — document- management. Does not import items; instead lets you search- paperless from inside HI and attach matching documents (warranty- PDFs, manuals, receipts) as link references on items and- Locations you already have.+- **[ZoneMinder](integrations/zoneminder.md)** — open-source video+ surveillance. Imports ZM monitors as cameras with motion sensors and+ function controllers; provides live stream playback in HI.More integrations will be added as demand arises. The per-integrationpages each carry their own troubleshooting section that accretesreal-world fixes over time — start there if something is not working.--## Integrations vs. Data Import--Most integrations on this page are live: HI mirrors the upstream-system continuously and changes flow in via the update action.-Content-source integrations (Paperless-ngx, Immich) are a different-shape — they contribute attachable references rather than importing-items, and they talk to the upstream service only when the operator-opens the picker.--A separate feature, [Data Import](DataImport.md), is a one-time-copy with no ongoing upstream link. Some integrations (HomeBox-today) offer both options.diff --git a/docs/WhyHomeInformation.md b/docs/WhyHomeInformation.mdindex d390d12e..30177600 100644--- a/docs/WhyHomeInformation.md+++ b/docs/WhyHomeInformation.md@@ -2,7 +2,7 @@# Why Home Information?-<img src="img/screenshots/spatial-data-org-1024x768.png" alt="Kitchen Example" width="400"> <img src="img/screenshots/attribute-info-files-1024x768.png" alt="Info View/Edit Example" width="400">+<img src="img/screenshots/spatial-data-org-1024x768.png" alt="Kitchen Example" width="350"> <img src="img/screenshots/attribute-info-files-1024x768.png" alt="Info View/Edit Example" width="350">## The Home Information Problem@@ -23,41 +23,34 @@ Modern homes are more complex than ever. Between smart devices, security systems## The Home Information Approach-**Spatial Organization:** We organize information the way you think about your home - by location and context. Click on your kitchen, see everything kitchen-related. Click on your HVAC unit, see its manual, service history, and current status all in one place.+**Spatial Organization:** We organize information the way you think about your home - by location and context. Draw your floor plan right in the app or upload one you already have, then click your kitchen to see everything kitchen-related, or click your HVAC unit to see its manual, service history, and current status all in one place.**Information-First Design:** Instead of starting with devices and adding information as an afterthought, we start with information and integrate device control where it makes sense.-**Single Pane of Glass:** One interface that brings together documents, maintenance records, device controls, security monitoring, and any other home-related information you need to track.+**Single Pane of Glass:** One interface for your documents, maintenance records, device controls, and security monitoring. Home Information works fully on its own - and if you already run other self-hosted apps, it brings them into the same spatial view instead of replacing them.## Real-World Use Cases### The Organized Homeowner*Sarah wants to maintain her home proactively but struggles with scattered information.*-**Before:** Maintenance schedules in a phone app, manuals in a filing cabinet, warranty info in email, service company contacts in an address book, and no systematic way to track what's been done when.+**Before:** Maintenance schedules in a phone app, manuals in a filing cabinet, warranty info in email, service contacts in an address book - and no systematic way to track what's been done when.-**After:** Click on the HVAC unit in her Home Information view to see the manual, service history, warranty expiration, scheduled maintenance reminders, and the HVAC company's contact info. Everything needed to maintain that system in one logical place.+**After:** She clicks the HVAC unit to see its manual, service history, warranty expiration, and the installer's contact - everything needed to maintain that system in one logical place. It all lives in Home Information; no other apps required.-### The Tech-Savvy Family-*The Johnsons have invested in home automation and security but find managing it overwhelming.*+### The Tech-Savvy Household+*The Johnsons already run several self-hosted apps but find managing them overwhelming.*-**Before:** Home Assistant app for device control, ZoneMinder for cameras, separate apps for different smart devices, paperwork scattered everywhere, and no unified view of what's happening in their home.+**Before:** Home Assistant for devices, Frigate for cameras, Paperless-ngx for documents, Immich for photos, HomeBox for inventory - great apps, but five separate windows and nothing tied to where things actually are.-**After:** Their Home Information interface shows their home layout with all devices positioned where they actually are. Click on any room to see device status, control options, and relevant documentation. Security events and camera feeds integrate naturally with the spatial layout.+**After:** One floor plan shows it all in context. Click a room to control devices, review camera events, and open the right manual or photo - pulled live from the apps they already run. Home Information ties them together rather than replacing them.-### The New Homeowner-*Mike just bought his first house and feels overwhelmed by everything he needs to track.*+### The Remote Owner+*Lisa owns a mountain cabin she visits monthly and needs to monitor it remotely.*-**Before:** A box of random paperwork from the previous owner, phone photos of model numbers, scattered bookmarks for online manuals, and no systematic way to understand what he actually owns.+**Before:** Worrying about what might go wrong while away, difficult to check on systems remotely, and awkward handoffs to caretakers or repair services.-**After:** Systematically builds his Home Information database by adding items room by room, uploading manuals and warranty info as he discovers it, and creating a comprehensive record he can reference and build upon.--### The Vacation Home Owner-*Lisa owns a mountain cabin she visits monthly and needs to monitor remotely.*--**Before:** Worrying about what might go wrong while away, difficult to check on systems remotely, and complicated handoff of information to caretakers or repair services.--**After:** Integrated monitoring through security cameras and home automation, with all system information and service contacts readily available. Can quickly check status, review historical data, and provide comprehensive information to service providers when needed.+**After:** She checks system status and camera events from anywhere, with every service contact and manual a click away when something needs attention.## Key Differentiators@@ -69,7 +62,7 @@ Modern homes are more complex than ever. Between smart devices, security systems### vs. Generic Information Management Tools- **Spatial organization matches how you think about your home**- **Purpose-built for home management use cases**-- **Integrates monitoring and control capabilities**+- **Optional integrations bring your other apps into the same view**### vs. Maintenance Tracking Apps- **Visual, contextual interface rather than lists and forms**@@ -82,7 +75,7 @@ We believe home technology should make life simpler, not more complex. That mean**Starting with your mental model** - How do you think about your home? By rooms, by systems, by priorities. Not by manufacturers or device categories.-**Progressive enhancement** - Start simple with just information management. Add integration and automation as it provides value, not because the technology exists.+**Progressive enhancement** - Start with information management alone. Layer in device control, security, and connections to apps like Paperless-ngx or Frigate only as they add value. Integrations are always optional - Home Information works fully without any of them.**Ownership and control** - Your home information stays in your home, under your control. No cloud dependencies for core functionality.diff --git a/docs/img/editing/add-area-item-modal-1024x768.png b/docs/img/editing/add-area-item-modal-1024x768.pngindex d3bf5918..dc39327f 100644Binary files a/docs/img/editing/add-area-item-modal-1024x768.png and b/docs/img/editing/add-area-item-modal-1024x768.png differdiff --git a/docs/img/editing/add-collection-modal-1024x768.png b/docs/img/editing/add-collection-modal-1024x768.pngindex df9afc5f..8429b0a6 100644Binary files a/docs/img/editing/add-collection-modal-1024x768.png and b/docs/img/editing/add-collection-modal-1024x768.png differdiff --git a/docs/img/editing/add-item-modal-1024x768.png b/docs/img/editing/add-item-modal-1024x768.pngindex 36512e07..c1d31ce6 100644Binary files a/docs/img/editing/add-item-modal-1024x768.png and b/docs/img/editing/add-item-modal-1024x768.png differdiff --git a/docs/img/editing/add-line-item-modal-1024x768.png b/docs/img/editing/add-line-item-modal-1024x768.pngindex 79a7fb44..386d11f6 100644Binary files a/docs/img/editing/add-line-item-modal-1024x768.png and b/docs/img/editing/add-line-item-modal-1024x768.png differdiff --git a/docs/img/editing/add-location-modal-1024x768.png b/docs/img/editing/add-location-modal-1024x768.pngindex e3c96d11..00614d19 100644Binary files a/docs/img/editing/add-location-modal-1024x768.png and b/docs/img/editing/add-location-modal-1024x768.png differdiff --git a/docs/img/editing/add-location-view-modal-1024x768.png b/docs/img/editing/add-location-view-modal-1024x768.pngindex fd6760e9..07485e15 100644Binary files a/docs/img/editing/add-location-view-modal-1024x768.png and b/docs/img/editing/add-location-view-modal-1024x768.png differdiff --git a/docs/img/editing/collection-edit-grid-view-1024x768.png b/docs/img/editing/collection-edit-grid-view-1024x768.pngindex 71aadb4c..3f9720ec 100644Binary files a/docs/img/editing/collection-edit-grid-view-1024x768.png and b/docs/img/editing/collection-edit-grid-view-1024x768.png differdiff --git a/docs/img/editing/collection-edit-list-view-1024x768.png b/docs/img/editing/collection-edit-list-view-1024x768.pngindex 0406898c..62149d6d 100644Binary files a/docs/img/editing/collection-edit-list-view-1024x768.png and b/docs/img/editing/collection-edit-list-view-1024x768.png differdiff --git a/docs/img/editing/collection-edit-view-empty-1024x768.png b/docs/img/editing/collection-edit-view-empty-1024x768.pngindex 11fa9970..12965b96 100644Binary files a/docs/img/editing/collection-edit-view-empty-1024x768.png and b/docs/img/editing/collection-edit-view-empty-1024x768.png differdiff --git a/docs/img/editing/edit-reference-help-1024x768.png b/docs/img/editing/edit-reference-help-1024x768.pngindex f544c207..ac57a9b1 100644Binary files a/docs/img/editing/edit-reference-help-1024x768.png and b/docs/img/editing/edit-reference-help-1024x768.png differdiff --git a/docs/img/editing/first-area-center-1024x768.png b/docs/img/editing/first-area-center-1024x768.pngindex 9ad48306..d612eb1e 100644Binary files a/docs/img/editing/first-area-center-1024x768.png and b/docs/img/editing/first-area-center-1024x768.png differdiff --git a/docs/img/editing/first-area-edit-moved-1024x768.png b/docs/img/editing/first-area-edit-moved-1024x768.pngindex 5b7f3d8f..05912a3c 100644Binary files a/docs/img/editing/first-area-edit-moved-1024x768.png and b/docs/img/editing/first-area-edit-moved-1024x768.png differdiff --git a/docs/img/editing/first-area-edit-shaped-1024x768.png b/docs/img/editing/first-area-edit-shaped-1024x768.pngindex fc04517f..922ff252 100644Binary files a/docs/img/editing/first-area-edit-shaped-1024x768.png and b/docs/img/editing/first-area-edit-shaped-1024x768.png differdiff --git a/docs/img/editing/first-area-edit-start-1024x768.png b/docs/img/editing/first-area-edit-start-1024x768.pngindex 44628880..4d522280 100644Binary files a/docs/img/editing/first-area-edit-start-1024x768.png and b/docs/img/editing/first-area-edit-start-1024x768.png differdiff --git a/docs/img/editing/first-area-shaped-done-1024x768.png b/docs/img/editing/first-area-shaped-done-1024x768.pngindex 1073d7d1..1579025d 100644Binary files a/docs/img/editing/first-area-shaped-done-1024x768.png and b/docs/img/editing/first-area-shaped-done-1024x768.png differdiff --git a/docs/img/editing/first-item-center-1024x768.png b/docs/img/editing/first-item-center-1024x768.pngindex f6a849b2..e58ed4b8 100644Binary files a/docs/img/editing/first-item-center-1024x768.png and b/docs/img/editing/first-item-center-1024x768.png differdiff --git a/docs/img/editing/first-item-moved-scaled-1024x768.png b/docs/img/editing/first-item-moved-scaled-1024x768.pngindex 3e080978..edff8c6b 100644Binary files a/docs/img/editing/first-item-moved-scaled-1024x768.png and b/docs/img/editing/first-item-moved-scaled-1024x768.png differdiff --git a/docs/img/editing/first-line-center-1024x768.png b/docs/img/editing/first-line-center-1024x768.pngindex ddbd2482..f9f91915 100644Binary files a/docs/img/editing/first-line-center-1024x768.png and b/docs/img/editing/first-line-center-1024x768.png differdiff --git a/docs/img/editing/first-line-edit-done-1024x768.png b/docs/img/editing/first-line-edit-done-1024x768.pngindex 51d88418..d041391a 100644Binary files a/docs/img/editing/first-line-edit-done-1024x768.png and b/docs/img/editing/first-line-edit-done-1024x768.png differdiff --git a/docs/img/editing/first-line-edit-moved-1024x768.png b/docs/img/editing/first-line-edit-moved-1024x768.pngindex 1573ca51..409cb175 100644Binary files a/docs/img/editing/first-line-edit-moved-1024x768.png and b/docs/img/editing/first-line-edit-moved-1024x768.png differdiff --git a/docs/img/editing/first-line-edit-start-1024x768.png b/docs/img/editing/first-line-edit-start-1024x768.pngindex fe2a31a9..ad72e7c5 100644Binary files a/docs/img/editing/first-line-edit-start-1024x768.png and b/docs/img/editing/first-line-edit-start-1024x768.png differdiff --git a/docs/img/editing/initial-edit-screen-1024x768.png b/docs/img/editing/initial-edit-screen-1024x768.pngindex ff04aaee..f948ac50 100644Binary files a/docs/img/editing/initial-edit-screen-1024x768.png and b/docs/img/editing/initial-edit-screen-1024x768.png differdiff --git a/docs/img/editing/location-layout-edit-1024x768.png b/docs/img/editing/location-layout-edit-1024x768.pngdeleted file mode 100644index e0a34579..00000000Binary files a/docs/img/editing/location-layout-edit-1024x768.png and /dev/null differdiff --git a/docs/img/editing/location-layout-edit-button-1024x768.png b/docs/img/editing/location-layout-edit-button-1024x768.pngdeleted file mode 100644index a08b512d..00000000Binary files a/docs/img/editing/location-layout-edit-button-1024x768.png and /dev/null differdiff --git a/docs/img/editing/new-collection-button-1024x768.png b/docs/img/editing/new-collection-button-1024x768.pngindex 0dc9009c..afaa391d 100644Binary files a/docs/img/editing/new-collection-button-1024x768.png and b/docs/img/editing/new-collection-button-1024x768.png differdiff --git a/docs/img/editing/new-location-added-drop-down-1024x768.png b/docs/img/editing/new-location-added-drop-down-1024x768.pngindex dc684b62..76833d50 100644Binary files a/docs/img/editing/new-location-added-drop-down-1024x768.png and b/docs/img/editing/new-location-added-drop-down-1024x768.png differdiff --git a/docs/img/editing/new-location-alt-svg-1024x768.png b/docs/img/editing/new-location-alt-svg-1024x768.pngindex 38923f20..6b1dbf81 100644Binary files a/docs/img/editing/new-location-alt-svg-1024x768.png and b/docs/img/editing/new-location-alt-svg-1024x768.png differdiff --git a/docs/img/editing/new-location-drop-down-1024x768.png b/docs/img/editing/new-location-drop-down-1024x768.pngindex 52d1e6fa..057efc61 100644Binary files a/docs/img/editing/new-location-drop-down-1024x768.png and b/docs/img/editing/new-location-drop-down-1024x768.png differdiff --git a/docs/img/editing/new-location-view-button-1024x768.png b/docs/img/editing/new-location-view-button-1024x768.pngindex c5ae8ed1..c8a95dc7 100644Binary files a/docs/img/editing/new-location-view-button-1024x768.png and b/docs/img/editing/new-location-view-button-1024x768.png differdiff --git a/docs/img/editing/new-location-view-edit-zoomed-1024x768.png b/docs/img/editing/new-location-view-edit-zoomed-1024x768.pngindex f95129bc..47d41a14 100644Binary files a/docs/img/editing/new-location-view-edit-zoomed-1024x768.png and b/docs/img/editing/new-location-view-edit-zoomed-1024x768.png differdiff --git a/docs/img/editing/new-location-view-populated-1024x768.png b/docs/img/editing/new-location-view-populated-1024x768.pngindex 44cf4cc4..c6c9ec2e 100644Binary files a/docs/img/editing/new-location-view-populated-1024x768.png and b/docs/img/editing/new-location-view-populated-1024x768.png differdiff --git a/docs/img/editing/new-location-view-zoomed-1024x768.png b/docs/img/editing/new-location-view-zoomed-1024x768.pngindex c815068d..048c4b08 100644Binary files a/docs/img/editing/new-location-view-zoomed-1024x768.png and b/docs/img/editing/new-location-view-zoomed-1024x768.png differdiff --git a/docs/img/getting-started/astronomical-details-1024x768.png b/docs/img/getting-started/astronomical-details-1024x768.pngindex f6bb6aa6..b35ca6e9 100644Binary files a/docs/img/getting-started/astronomical-details-1024x768.png and b/docs/img/getting-started/astronomical-details-1024x768.png differdiff --git a/docs/img/getting-started/bottom-right-buttons-1024x768.png b/docs/img/getting-started/bottom-right-buttons-1024x768.pngindex 0b18c6bb..35bc4824 100644Binary files a/docs/img/getting-started/bottom-right-buttons-1024x768.png and b/docs/img/getting-started/bottom-right-buttons-1024x768.png differdiff --git a/docs/img/getting-started/camera-area-active-1024x768.png b/docs/img/getting-started/camera-area-active-1024x768.pngindex ce504f00..c04530fa 100644Binary files a/docs/img/getting-started/camera-area-active-1024x768.png and b/docs/img/getting-started/camera-area-active-1024x768.png differdiff --git a/docs/img/getting-started/camera-area-idle-1024x768.png b/docs/img/getting-started/camera-area-idle-1024x768.pngindex b58480cd..5568ed0a 100644Binary files a/docs/img/getting-started/camera-area-idle-1024x768.png and b/docs/img/getting-started/camera-area-idle-1024x768.png differdiff --git a/docs/img/getting-started/camera-area-past-1024x768.png b/docs/img/getting-started/camera-area-past-1024x768.pngindex 008a25b6..e75248c7 100644Binary files a/docs/img/getting-started/camera-area-past-1024x768.png and b/docs/img/getting-started/camera-area-past-1024x768.png differdiff --git a/docs/img/getting-started/camera-area-recent-1024x768.png b/docs/img/getting-started/camera-area-recent-1024x768.pngindex 0a04be11..ca3fb0f3 100644Binary files a/docs/img/getting-started/camera-area-recent-1024x768.png and b/docs/img/getting-started/camera-area-recent-1024x768.png differdiff --git a/docs/img/getting-started/collections-buttons.png b/docs/img/getting-started/collections-buttons.pngindex 28a68392..da0fb6b0 100644Binary files a/docs/img/getting-started/collections-buttons.png and b/docs/img/getting-started/collections-buttons.png differdiff --git a/docs/img/getting-started/collections-grid-1024x768.png b/docs/img/getting-started/collections-grid-1024x768.pngindex 8e43b966..86757295 100644Binary files a/docs/img/getting-started/collections-grid-1024x768.png and b/docs/img/getting-started/collections-grid-1024x768.png differdiff --git a/docs/img/getting-started/collections-list-1024x768.png b/docs/img/getting-started/collections-list-1024x768.pngindex 2e7943b3..6e79f5f6 100644Binary files a/docs/img/getting-started/collections-list-1024x768.png and b/docs/img/getting-started/collections-list-1024x768.png differdiff --git a/docs/img/getting-started/console-settings-page-1024x768.png b/docs/img/getting-started/console-settings-page-1024x768.pngindex 7d89bc1d..868c72fa 100644Binary files a/docs/img/getting-started/console-settings-page-1024x768.png and b/docs/img/getting-started/console-settings-page-1024x768.png differdiff --git a/docs/img/getting-started/edit-button.png b/docs/img/getting-started/edit-button.pngindex e191a3f7..b5cf135e 100644Binary files a/docs/img/getting-started/edit-button.png and b/docs/img/getting-started/edit-button.png differdiff --git a/docs/img/getting-started/edit-mode-1024x768.png b/docs/img/getting-started/edit-mode-1024x768.pngindex 0fdc2eed..14ee11b1 100644Binary files a/docs/img/getting-started/edit-mode-1024x768.png and b/docs/img/getting-started/edit-mode-1024x768.png differdiff --git a/docs/img/getting-started/initial-view-1024x768.png b/docs/img/getting-started/initial-view-1024x768.pngindex fe2b84f0..83d6a762 100644Binary files a/docs/img/getting-started/initial-view-1024x768.png and b/docs/img/getting-started/initial-view-1024x768.png differdiff --git a/docs/img/getting-started/integrations-enable-modal-1024x768.png b/docs/img/getting-started/integrations-enable-modal-1024x768.pngindex 362f1459..e021f5ca 100644Binary files a/docs/img/getting-started/integrations-enable-modal-1024x768.png and b/docs/img/getting-started/integrations-enable-modal-1024x768.png differdiff --git a/docs/img/getting-started/integrations-page-empty-1024x768.png b/docs/img/getting-started/integrations-page-empty-1024x768.pngindex 6e498bd6..bab53633 100644Binary files a/docs/img/getting-started/integrations-page-empty-1024x768.png and b/docs/img/getting-started/integrations-page-empty-1024x768.png differdiff --git a/docs/img/getting-started/integrations-page-view-1024x768.png b/docs/img/getting-started/integrations-page-view-1024x768.pngindex 41fbb925..23e54072 100644Binary files a/docs/img/getting-started/integrations-page-view-1024x768.png and b/docs/img/getting-started/integrations-page-view-1024x768.png differdiff --git a/docs/img/getting-started/integrations-place-items-1024x768.png b/docs/img/getting-started/integrations-place-items-1024x768.pngnew file mode 100644index 00000000..9466b807Binary files /dev/null and b/docs/img/getting-started/integrations-place-items-1024x768.png differdiff --git a/docs/img/getting-started/integrations-sync-result-1024x768.png b/docs/img/getting-started/integrations-sync-result-1024x768.pngindex c7987546..014fa93d 100644Binary files a/docs/img/getting-started/integrations-sync-result-1024x768.png and b/docs/img/getting-started/integrations-sync-result-1024x768.png differdiff --git a/docs/img/getting-started/item-edit-add-file-1024x768.png b/docs/img/getting-started/item-edit-add-file-1024x768.pngindex b7392abf..ff07a86f 100644Binary files a/docs/img/getting-started/item-edit-add-file-1024x768.png and b/docs/img/getting-started/item-edit-add-file-1024x768.png differdiff --git a/docs/img/getting-started/item-edit-add-info-1024x768.png b/docs/img/getting-started/item-edit-add-info-1024x768.pngindex 6704f07a..66b7f061 100644Binary files a/docs/img/getting-started/item-edit-add-info-1024x768.png and b/docs/img/getting-started/item-edit-add-info-1024x768.png differdiff --git a/docs/img/getting-started/item-edit-modal-empty-1024x768.png b/docs/img/getting-started/item-edit-modal-empty-1024x768.pngindex 39e6c701..c7d10246 100644Binary files a/docs/img/getting-started/item-edit-modal-empty-1024x768.png and b/docs/img/getting-started/item-edit-modal-empty-1024x768.png differdiff --git a/docs/img/getting-started/location-edit-modal-1024x768.png b/docs/img/getting-started/location-edit-modal-1024x768.pngindex 076fe3cd..a0b4dde4 100644Binary files a/docs/img/getting-started/location-edit-modal-1024x768.png and b/docs/img/getting-started/location-edit-modal-1024x768.png differdiff --git a/docs/img/getting-started/location-info-button.png b/docs/img/getting-started/location-info-button.pngindex b7d07d97..c5a6603f 100644Binary files a/docs/img/getting-started/location-info-button.png and b/docs/img/getting-started/location-info-button.png differdiff --git a/docs/img/getting-started/security-modes.png b/docs/img/getting-started/security-modes.pngindex 131ab0ed..ff9f3d4b 100644Binary files a/docs/img/getting-started/security-modes.png and b/docs/img/getting-started/security-modes.png differdiff --git a/docs/img/getting-started/spaces-dropdown-1024x768.png b/docs/img/getting-started/spaces-dropdown-1024x768.pngindex d903cfcc..2714c969 100644Binary files a/docs/img/getting-started/spaces-dropdown-1024x768.png and b/docs/img/getting-started/spaces-dropdown-1024x768.png differdiff --git a/docs/img/getting-started/start-page-1024x768.png b/docs/img/getting-started/start-page-1024x768.pngindex ac3dc8f6..aa050b35 100644Binary files a/docs/img/getting-started/start-page-1024x768.png and b/docs/img/getting-started/start-page-1024x768.png differdiff --git a/docs/img/getting-started/trigger-rules-1024x768.png b/docs/img/getting-started/trigger-rules-1024x768.pngindex 6d094174..607b15f4 100644Binary files a/docs/img/getting-started/trigger-rules-1024x768.png and b/docs/img/getting-started/trigger-rules-1024x768.png differdiff --git a/docs/img/getting-started/video-stream-history-1024x768.png b/docs/img/getting-started/video-stream-history-1024x768.pngindex 29c7717a..86c9d5af 100644Binary files a/docs/img/getting-started/video-stream-history-1024x768.png and b/docs/img/getting-started/video-stream-history-1024x768.png differdiff --git a/docs/img/getting-started/video-stream-live-1024x768.png b/docs/img/getting-started/video-stream-live-1024x768.pngindex 6b9f0ba6..91b251ca 100644Binary files a/docs/img/getting-started/video-stream-live-1024x768.png and b/docs/img/getting-started/video-stream-live-1024x768.png differdiff --git a/docs/img/getting-started/view-second-space-1024x768.png b/docs/img/getting-started/view-second-space-1024x768.pngindex 872ebdfb..9d53452d 100644Binary files a/docs/img/getting-started/view-second-space-1024x768.png and b/docs/img/getting-started/view-second-space-1024x768.png differdiff --git a/docs/img/getting-started/weather-details-1024x768.png b/docs/img/getting-started/weather-details-1024x768.pngindex 551ad45a..81049ed2 100644Binary files a/docs/img/getting-started/weather-details-1024x768.png and b/docs/img/getting-started/weather-details-1024x768.png differdiff --git a/docs/img/getting-started/weather-forecast-1024x768.png b/docs/img/getting-started/weather-forecast-1024x768.pngindex 5bc3c1ab..1f22f704 100644Binary files a/docs/img/getting-started/weather-forecast-1024x768.png and b/docs/img/getting-started/weather-forecast-1024x768.png differdiff --git a/docs/img/getting-started/weather-history-1024x768.png b/docs/img/getting-started/weather-history-1024x768.pngindex d627a1f6..5ba40846 100644Binary files a/docs/img/getting-started/weather-history-1024x768.png and b/docs/img/getting-started/weather-history-1024x768.png differdiff --git a/docs/img/screenshots/attribute-info-files-1024x768.png b/docs/img/screenshots/attribute-info-files-1024x768.pngindex 64c0b77d..f67a7f31 100644Binary files a/docs/img/screenshots/attribute-info-files-1024x768.png and b/docs/img/screenshots/attribute-info-files-1024x768.png differdiff --git a/docs/img/screenshots/automation-view-1024x768.png b/docs/img/screenshots/automation-view-1024x768.pngindex 47b1af32..639d3548 100644Binary files a/docs/img/screenshots/automation-view-1024x768.png and b/docs/img/screenshots/automation-view-1024x768.png differdiff --git a/docs/img/screenshots/background-image-button-1024x768-bordered.png b/docs/img/screenshots/background-image-button-1024x768-bordered.pngdeleted file mode 100644index a6972b0f..00000000Binary files a/docs/img/screenshots/background-image-button-1024x768-bordered.png and /dev/null differdiff --git a/docs/img/screenshots/background-image-button-1024x768.png b/docs/img/screenshots/background-image-button-1024x768.pngnew file mode 100644index 00000000..5f29691cBinary files /dev/null and b/docs/img/screenshots/background-image-button-1024x768.png differdiff --git a/docs/img/screenshots/content-sources-config-1024x768.png b/docs/img/screenshots/content-sources-config-1024x768.pngnew file mode 100644index 00000000..6aa77c55Binary files /dev/null and b/docs/img/screenshots/content-sources-config-1024x768.png differdiff --git a/docs/img/screenshots/data-import-config-1024x768.png b/docs/img/screenshots/data-import-config-1024x768.pngnew file mode 100644index 00000000..5ca1af66Binary files /dev/null and b/docs/img/screenshots/data-import-config-1024x768.png differdiff --git a/docs/img/screenshots/data-import-confirm-1024x768.png b/docs/img/screenshots/data-import-confirm-1024x768.pngnew file mode 100644index 00000000..f4b8fc5eBinary files /dev/null and b/docs/img/screenshots/data-import-confirm-1024x768.png differdiff --git a/docs/img/screenshots/data-import-modal-1024x768.png b/docs/img/screenshots/data-import-modal-1024x768.pngnew file mode 100644index 00000000..f5a89062Binary files /dev/null and b/docs/img/screenshots/data-import-modal-1024x768.png differdiff --git a/docs/img/screenshots/data-import-placement-1024x768.png b/docs/img/screenshots/data-import-placement-1024x768.pngnew file mode 100644index 00000000..eb032702Binary files /dev/null and b/docs/img/screenshots/data-import-placement-1024x768.png differdiff --git a/docs/img/screenshots/data-import-result-1024x768.png b/docs/img/screenshots/data-import-result-1024x768.pngnew file mode 100644index 00000000..502eda8eBinary files /dev/null and b/docs/img/screenshots/data-import-result-1024x768.png differdiff --git a/docs/img/screenshots/editing-view-1024x768.png b/docs/img/screenshots/editing-view-1024x768.pngindex fdcc33e8..95d5d7fa 100644Binary files a/docs/img/screenshots/editing-view-1024x768.png and b/docs/img/screenshots/editing-view-1024x768.png differdiff --git a/docs/img/screenshots/floor-plan-editor-1024x768-bordered.png b/docs/img/screenshots/floor-plan-editor-1024x768-bordered.pngdeleted file mode 100644index bca5ddcf..00000000Binary files a/docs/img/screenshots/floor-plan-editor-1024x768-bordered.png and /dev/null differdiff --git a/docs/img/screenshots/floor-plan-editor-1024x768.png b/docs/img/screenshots/floor-plan-editor-1024x768.pngnew file mode 100644index 00000000..9e50379aBinary files /dev/null and b/docs/img/screenshots/floor-plan-editor-1024x768.png differdiff --git a/docs/img/screenshots/link-content-button-1024x768.png b/docs/img/screenshots/link-content-button-1024x768.pngnew file mode 100644index 00000000..4fefeb50Binary files /dev/null and b/docs/img/screenshots/link-content-button-1024x768.png differdiff --git a/docs/img/screenshots/link-content-tab-1024x768.png b/docs/img/screenshots/link-content-tab-1024x768.pngnew file mode 100644index 00000000..39c4bb27Binary files /dev/null and b/docs/img/screenshots/link-content-tab-1024x768.png differdiff --git a/docs/img/screenshots/palette-closeup-1024x768.png b/docs/img/screenshots/palette-closeup-1024x768.pngnew file mode 100644index 00000000..180c4d03Binary files /dev/null and b/docs/img/screenshots/palette-closeup-1024x768.png differdiff --git a/docs/img/screenshots/palette-drag-drop-1024x768-bordered.png b/docs/img/screenshots/palette-drag-drop-1024x768-bordered.pngdeleted file mode 100644index 893eb6ef..00000000Binary files a/docs/img/screenshots/palette-drag-drop-1024x768-bordered.png and /dev/null differdiff --git a/docs/img/screenshots/palette-drag-drop-1024x768.png b/docs/img/screenshots/palette-drag-drop-1024x768.pngnew file mode 100644index 00000000..ed07b860Binary files /dev/null and b/docs/img/screenshots/palette-drag-drop-1024x768.png differdiff --git a/docs/img/screenshots/reference-picker-1024x768.png b/docs/img/screenshots/reference-picker-1024x768.pngnew file mode 100644index 00000000..3f5fb2c8Binary files /dev/null and b/docs/img/screenshots/reference-picker-1024x768.png differdiff --git a/docs/img/screenshots/security-view-active-1024x768.png b/docs/img/screenshots/security-view-active-1024x768.pngindex 3c2b71d6..85e886b6 100644Binary files a/docs/img/screenshots/security-view-active-1024x768.png and b/docs/img/screenshots/security-view-active-1024x768.png differdiff --git a/docs/img/screenshots/security-view-active-closeup-400x300.png b/docs/img/screenshots/security-view-active-closeup-400x300.pngindex c354a349..83074bc2 100644Binary files a/docs/img/screenshots/security-view-active-closeup-400x300.png and b/docs/img/screenshots/security-view-active-closeup-400x300.png differdiff --git a/docs/img/screenshots/spatial-data-org-1024x768.png b/docs/img/screenshots/spatial-data-org-1024x768.pngindex 96225cb7..7df1d000 100644Binary files a/docs/img/screenshots/spatial-data-org-1024x768.png and b/docs/img/screenshots/spatial-data-org-1024x768.png differdiff --git a/docs/img/screenshots/stream-browser-1024x768.png b/docs/img/screenshots/stream-browser-1024x768.pngindex 79d3f42f..d69457ac 100644Binary files a/docs/img/screenshots/stream-browser-1024x768.png and b/docs/img/screenshots/stream-browser-1024x768.png differdiff --git a/docs/img/screenshots/template-dialog-1024x768.png b/docs/img/screenshots/template-dialog-1024x768.pngnew file mode 100644index 00000000..f0ee6c81Binary files /dev/null and b/docs/img/screenshots/template-dialog-1024x768.png differdiff --git a/docs/img/screenshots/template-selector-1024x768-bordered.png b/docs/img/screenshots/template-selector-1024x768-bordered.pngdeleted file mode 100644index 9b3a51fb..00000000Binary files a/docs/img/screenshots/template-selector-1024x768-bordered.png and /dev/null differdiff --git a/docs/img/screenshots/template-selector-1024x768.png b/docs/img/screenshots/template-selector-1024x768.pngnew file mode 100644index 00000000..af52ec57Binary files /dev/null and b/docs/img/screenshots/template-selector-1024x768.png differdiff --git a/docs/integrations/frigate.md b/docs/integrations/frigate.mdindex a3a1281d..fba619bf 100644--- a/docs/integrations/frigate.md+++ b/docs/integrations/frigate.md@@ -1,13 +1,13 @@<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">-# Frigate+# <img src="../../src/hi/static/img/integrations/frigate.png" alt="Frigate Logo" width="36"> Frigate## Overview[Frigate](https://frigate.video/) is an open-source NVR with built-inobject detection. The Frigate integration imports each Frigate camerainto **Home Information (HI)** as a camera item with an-object-presence sensor. **HI** consumes Frigate's HTTP API only (no+object-presence sensor and alerting area. **HI** consumes Frigate's HTTP API only (noMQTT). It best serves users who want their security-camera events toparticipate in HI's spatial display and rule-based alarms alongsideother integrations.diff --git a/docs/integrations/home-assistant.md b/docs/integrations/home-assistant.mdindex a2ef26c7..230df636 100644--- a/docs/integrations/home-assistant.md+++ b/docs/integrations/home-assistant.md@@ -1,6 +1,6 @@<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">-# Home Assistant+# <img src="../../src/hi/static/img/integrations/home-assistant.png" alt="Home Assistant Logo" width="36"> Home Assistant## Overview@@ -12,7 +12,7 @@ actions back to HA.In practice, the integration has been exercised end-to-end withswitches, outlets, open/close sensors, and motion sensors. The-default allowlist also requests other HA domains (lights, cameras,+default **Allow Item Types** list also requests other HA domains (lights, cameras,climate, covers, locks, fans, media players) — the code attempts tomap them, but those types have not been verified against realdevices. See [Known limitations](#known-limitations).@@ -88,11 +88,11 @@ serve HA over plain HTTP on a trusted local network.## Known limitations-- **Verified device coverage is narrower than the allowlist+- **Verified device coverage is narrower than the allowable listsuggests.** Switches, outlets, open/close sensors, and motionsensors have been tested end-to-end. The other defaults (lights,cameras, climate, covers, locks, fans, media players) have code- paths but have not been exercised against real devices — capability+ paths tested through API simulation, but have not been exercised against real devices — capabilitydetection or control may not work as expected. If you rely on oneof those types, expect to file issues and iterate.- Capability detection is heuristic. HA's API does not always@@ -103,5 +103,4 @@ serve HA over plain HTTP on a trusted local network.- Multi-state HA devices (e.g., a single physical light exposed asboth a `light.` and a `switch.` entity) are deduplicated wherepossible, but the heuristics are not perfect.-- Polling cadence is fixed; there is no push-notification path from- HA into HI yet.+diff --git a/docs/integrations/homebox.md b/docs/integrations/homebox.mdindex 97d977c7..e3e02e46 100644--- a/docs/integrations/homebox.md+++ b/docs/integrations/homebox.md@@ -1,16 +1,13 @@<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">-# HomeBox+# <img src="../../src/hi/static/img/integrations/homebox.svg" alt="HomeBox Logo" width="36"> HomeBox## OverviewHomeBox is an open-source home inventory system for trackinghousehold items, warranties, and documentation. The HomeBox-integration imports each HomeBox item into Home Information (HI) as-an HI item with the metadata and custom fields exposed as read-only-attributes; attached files (manuals, receipts, photos) are-downloaded alongside. HomeBox is an inventory source — items are-not controllable, and there are no sensors or events.+integration connects or imports each HomeBox item into Home Information (HI) as+an HI item with the metadata, custom fields and attached files (manuals, receipts, photos). When used as a **Connector**, HomeBox items are shown as read-only and track to HomeBox as the source of truth. When used as a **Data Importer**, HomeBox items are copied into HI and become editable, but do not track to the original HomeBox items (HI becomes the source of truth).## Prerequisites@@ -49,6 +46,7 @@ HomeBox web interface — there is no separate API token to obtain.To pick up changes from HomeBox later (new items, renames,removals), click **UPDATE** on the integration's manage page.+## Troubleshooting### Connection refused / cannot reach serverdiff --git a/docs/integrations/immich.md b/docs/integrations/immich.mdindex ee9051a0..da00b24b 100644--- a/docs/integrations/immich.md+++ b/docs/integrations/immich.md@@ -1,6 +1,6 @@<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">-# Immich+# <img src="../../src/hi/static/img/integrations/immich.png" alt="Immich Logo" width="36"> Immich## Overviewdiff --git a/docs/integrations/paperless-ngx.md b/docs/integrations/paperless-ngx.mdindex 12c5febc..2f98a437 100644--- a/docs/integrations/paperless-ngx.md+++ b/docs/integrations/paperless-ngx.md@@ -1,6 +1,6 @@<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">-# Paperless-ngx+# <img src="../../src/hi/static/img/integrations/paperless.png" alt="Paperless-ngx Logo" width="36"> Paperless-ngx## Overviewdiff --git a/docs/integrations/zoneminder.md b/docs/integrations/zoneminder.mdindex 4fa7ae93..1bb90c39 100644--- a/docs/integrations/zoneminder.md+++ b/docs/integrations/zoneminder.md@@ -1,6 +1,6 @@<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">-# ZoneMinder+# <img src="../../src/hi/static/img/integrations/zoneminder.png" alt="ZoneMinder Logo" width="36"> ZoneMinder## Overviewdiff --git a/docs/migrations/issue_106_video_stream_migration.sql b/docs/migrations/issue_106_video_stream_migration.sqldeleted file mode 100644index b88670da..00000000--- a/docs/migrations/issue_106_video_stream_migration.sql+++ /dev/null@@ -1,77 +0,0 @@--- Data Migration for Issue #106 - VideoStream Infrastructure Refactor--- This SQL script provides the same migrations as the Django migration--- Use for manual verification or direct database migration if needed---- Pre-Migration Verification Counts--- Run these queries before migration to understand the impact:--SELECT 'VIDEO_STREAM states to delete' as description, COUNT(*) as count-FROM entity_entitystate-WHERE entity_state_type_str = 'video_stream';--SELECT 'ZM cameras to update' as description, COUNT(*) as count-FROM entity_entity-WHERE integration_id = 'zm' AND entity_type_str = 'camera';--SELECT 'MOVEMENT sensors to update' as description, COUNT(*) as count-FROM sense_sensor s-JOIN entity_entitystate es ON s.entity_state_id = es.id-JOIN entity_entity e ON es.entity_id = e.id-WHERE es.entity_state_type_str = 'movement' AND e.integration_id = 'zm';--SELECT 'VIDEO_STREAM delegations to cascade delete' as description, COUNT(*) as count-FROM entity_entitystatedelegation-WHERE entity_state_id IN (- SELECT id FROM entity_entitystate- WHERE entity_state_type_str = 'video_stream'-);---- Migration Steps--- Execute in order:---- 1. Update ZoneMinder camera entities to have video capability-UPDATE entity_entity-SET has_video_stream = TRUE-WHERE integration_id = 'zm'- AND entity_type_str = 'camera';---- 2. Update MOVEMENT sensors for ZM entities to provide video streams-UPDATE sense_sensor-SET provides_video_stream = TRUE-FROM entity_entitystate es-JOIN entity_entity e ON es.entity_id = e.id-WHERE sense_sensor.entity_state_id = es.id- AND es.entity_state_type_str = 'movement'- AND e.integration_id = 'zm';---- 3. Delete VIDEO_STREAM sensors (CASCADE handles SensorHistory)-DELETE FROM sense_sensor-WHERE entity_state_id IN (- SELECT id FROM entity_entitystate- WHERE entity_state_type_str = 'video_stream'-);---- 4. Delete VIDEO_STREAM EntityStates (CASCADE handles delegations)-DELETE FROM entity_entitystate-WHERE entity_state_type_str = 'video_stream';---- Post-Migration Verification--- Run these queries after migration to verify success:--SELECT 'Remaining VIDEO_STREAM states (should be 0)' as check, COUNT(*) as count-FROM entity_entitystate-WHERE entity_state_type_str = 'video_stream';--SELECT 'ZM cameras without video capability (should be 0)' as check, COUNT(*) as count-FROM entity_entity-WHERE integration_id = 'zm'- AND entity_type_str = 'camera'- AND has_video_stream = FALSE;--SELECT 'ZM MOVEMENT sensors without video capability (should be 0)' as check, COUNT(*) as count-FROM sense_sensor s-JOIN entity_entitystate es ON s.entity_state_id = es.id-JOIN entity_entity e ON es.entity_id = e.id-WHERE es.entity_state_type_str = 'movement'- AND e.integration_id = 'zm'- AND s.provides_video_stream = FALSE;\ No newline at end of filediff --git a/src/hi/apps/attribute/edit_template_context_builder.py b/src/hi/apps/attribute/edit_template_context_builder.pyindex f127fd61..10b7e3c8 100644--- a/src/hi/apps/attribute/edit_template_context_builder.py+++ b/src/hi/apps/attribute/edit_template_context_builder.py@@ -27,6 +27,7 @@ class AttributeEditTemplateContextBuilder:'file_attributes': edit_form_data.file_attributes,'deleted_attributes': edit_form_data.deleted_attributes,'regular_attributes_formset': edit_form_data.regular_attributes_formset,+ 'all_attributes_empty': edit_form_data.is_empty,# Duplicate with explicit naming for convenience.f'{attr_item_context.owner_type}_form': edit_form_data.owner_form,@@ -57,6 +58,7 @@ class AttributeEditTemplateContextBuilder:'file_attributes': edit_form_data.file_attributes,'deleted_attributes': edit_form_data.deleted_attributes,'regular_attributes_formset': edit_form_data.regular_attributes_formset,+ 'all_attributes_empty': edit_form_data.is_empty,'success_message': success_message,'error_message': error_message,'has_errors': has_errors,diff --git a/src/hi/apps/attribute/templates/attribute/components/edit_content_body.html b/src/hi/apps/attribute/templates/attribute/components/edit_content_body.htmlindex 02538086..f1cfa722 100644--- a/src/hi/apps/attribute/templates/attribute/components/edit_content_body.html+++ b/src/hi/apps/attribute/templates/attribute/components/edit_content_body.html@@ -116,17 +116,25 @@ by using the AttributeItemEditContext pattern.class="{{ DIVID.ATTR_V2_SCROLLABLE_CONTENT_CLASS }}">{% comment %}- Regular-attributes formset management form is hoisted above the- tabs so it survives ``tab1_pane`` overrides (e.g., the- integration-bound entity that swaps Tab 1 content for a "From- [integration]" panel). Without it the surrounding form would- POST without TOTAL_FORMS / INITIAL_FORMS / MIN / MAX, and- Django would reject the submission even for non-attribute- fields like the entity's name and type.+ Formset scaffolding (the management form) is rendered here, above+ and outside the tab structure, so it always reaches the POSTed form+ even when a subclass replaces ``tab1_pane`` (e.g. the+ integration-bound entity that swaps Tab 1 for a "From [integration]"+ panel). Without each bound formset's management form, Django rejects+ the whole submission — even non-attribute fields like the entity's+ name and type — for want of TOTAL_FORMS / INITIAL_FORMS / MIN / MAX.++ This is form scaffolding, not display: the visible attribute cards+ live in ``regular_attribute_list.html``. The default covers the+ single-formset owners (entity, location). The config "multi" surface+ binds several formsets and overrides this block to render each one's+ management form.{% endcomment %}+ {% block formset_scaffolding %}{% if regular_attributes_formset %}{{ regular_attributes_formset.management_form }}{% endif %}+ {% endblock %}{% comment %}Tabbed content region. The attribute framework owns Tab 1 (Home@@ -141,6 +149,8 @@ by using the AttributeItemEditContext pattern.any tab -- UPDATE applies to Tab 1 content only but staysvisible regardless of active tab.{% endcomment %}++ {% block tabs_nav_pane %}<ul class="nav nav-tabs" role="tablist"><li class="nav-item"><a class="nav-link {% block tab1_nav_active %}active{% endblock %}"@@ -154,7 +164,8 @@ by using the AttributeItemEditContext pattern.{% block tab2_nav %}{% endblock %}{% block tab3_nav %}{% endblock %}</ul>-+ {% endblock %}+<div class="tab-content"><div class="tab-pane {% block tab1_pane_active %}show active{% endblock %}"id="hi-attr-tab1-{{ attr_item_context.owner_id }}"@@ -174,15 +185,13 @@ by using the AttributeItemEditContext pattern.{% endblock %}{% block tab1_empty_state %}- {% with has_files=file_attributes|length has_regulars=regular_attributes_formset.queryset|length has_deleted=deleted_attributes|length %}- {% if not has_files and not has_regulars and not has_deleted %}+ {% if all_attributes_empty %}<div class="text-muted small p-3">No data yet. Use the action buttons above to<em>Add File</em>, <em>Add Info</em>, or <em>Link Content</em>(if enabled).</div>{% endif %}- {% endwith %}{% endblock %}{% else %}{% comment %}diff --git a/src/hi/apps/attribute/templates/attribute/components/regular_attribute_list.html b/src/hi/apps/attribute/templates/attribute/components/regular_attribute_list.htmlindex 2a2a4dbf..8c9f6329 100644--- a/src/hi/apps/attribute/templates/attribute/components/regular_attribute_list.html+++ b/src/hi/apps/attribute/templates/attribute/components/regular_attribute_list.html@@ -1,9 +1,10 @@{% load static %}{% if regular_attributes_formset %}{% comment %}-``regular_attributes_formset.management_form`` is rendered by the-parent (``edit_content_body.html``) above the tab structure so it-survives ``tab1_pane`` overrides. Do not duplicate it here.+Display only. The formset's ``management_form`` is rendered by the+``formset_scaffolding`` block in ``edit_content_body.html`` (above and+outside the tabs) so it survives ``tab1_pane`` overrides and works for+multi-formset surfaces. Do not render it here.{% endcomment %}<div class="attr-v2-attribute-section">{% if title %}diff --git a/src/hi/apps/attribute/transient_models.py b/src/hi/apps/attribute/transient_models.pyindex 0f4cbfa0..1c5dd179 100644--- a/src/hi/apps/attribute/transient_models.py+++ b/src/hi/apps/attribute/transient_models.py@@ -16,6 +16,16 @@ class AttributeEditFormData:regular_attributes_formset : BaseInlineFormSeterror_count : int = 0+ @property+ def is_empty(self) -> bool:+ """True when this owner has no files, no regular attributes, and no+ soft-deleted attributes — i.e. the default view has nothing to+ show. Computed here so the empty-state isn't derived by poking+ formset internals in the template."""+ formset = self.regular_attributes_formset+ has_regulars = bool( formset and formset.queryset )+ return not ( self.file_attributes or has_regulars or self.deleted_attributes )+@dataclassclass AttributeMultiEditFormData:diff --git a/src/hi/apps/collection/edit/views.py b/src/hi/apps/collection/edit/views.pyindex 85002843..9fc5b5ac 100644--- a/src/hi/apps/collection/edit/views.py+++ b/src/hi/apps/collection/edit/views.py@@ -80,7 +80,7 @@ class CollectionAddView( HiModalView ):}return self.modal_response( request, context )- cleaneds_data = collection_add_form.clean()+ cleaned_data = collection_add_form.clean()with transaction.atomic():collection = collection_add_form.save( commit = False )last_collection = Collection.objects.order_by( '-order_id' ).first()@@ -90,13 +90,14 @@ class CollectionAddView( HiModalView ):collection.order_id = 0collection.save()- if cleaneds_data['include_in_location_view']:+ if cleaned_data['include_in_location_view']:self._add_to_location_view(request = request,collection = collection,)- if request.view_parameters.view_type == ViewType.COLLECTION:+ if not cleaned_data['include_in_location_view']:+ request.view_parameters.view_type = ViewType.COLLECTIONrequest.view_parameters.update_collection( collection = collection )request.view_parameters.to_session( request )diff --git a/src/hi/apps/collection/templates/collection/edit/panes/collection_edit_mode_panel.html b/src/hi/apps/collection/templates/collection/edit/panes/collection_edit_mode_panel.htmlindex 7e5e16b9..a83a2f79 100644--- a/src/hi/apps/collection/templates/collection/edit/panes/collection_edit_mode_panel.html+++ b/src/hi/apps/collection/templates/collection/edit/panes/collection_edit_mode_panel.html@@ -3,6 +3,16 @@{% block view_tab_active %} active{% endblock %}+{% block tab_header %}+<div class="m-2">+ <a href="{% url 'collection_add' %}"+ class="btn btn-add btn-control" role="button"+ data-async="modal" >+ {% icon "plus" css_class="hi-icon-left" %}ADD NEW COLLECTION+ </a>+</div>+{% endblock %}+{% block tab_content %}<div id="{{ DIVID.COLLECTION_EDIT_PANE }}">{% include "collection/edit/panes/collection_properties_edit.html" %}diff --git a/src/hi/apps/collection/templates/collection/panes/collection_view.html b/src/hi/apps/collection/templates/collection/panes/collection_view.htmlindex da97166f..c622ae3b 100644--- a/src/hi/apps/collection/templates/collection/panes/collection_view.html+++ b/src/hi/apps/collection/templates/collection/panes/collection_view.html@@ -1,5 +1,5 @@<div id="hi-collection-view-main" class="hi-collection-view draggable-container">- <div class="h4"><small>Collection:</small> {{ collection.name }}</div>+ <div class="h4 pt-3"><small>Collection:</small> {{ collection.name }}</div>{% if state_panel_data_list %}diff --git a/src/hi/apps/collection/tests/test_views.py b/src/hi/apps/collection/tests/test_views.pyindex d58202ff..87bb80d9 100644--- a/src/hi/apps/collection/tests/test_views.py+++ b/src/hi/apps/collection/tests/test_views.py@@ -58,15 +58,16 @@ class TestCollectionViewDefaultView(SyncViewTestCase):self.assertEqual(session.get('collection_id'), self.collection.id)@patch.object(CollectionManager, 'get_default_collection')- def test_raises_bad_request_when_no_collections(self, mock_get_default):- """Test that BadRequest is raised when no collections exist."""+ def test_falls_back_to_location_view_when_no_collections(self, mock_get_default):+ """When no collection exists, fall back to the default location+ view rather than dead-ending on a BadRequest."""mock_get_default.side_effect = Collection.DoesNotExist()url = reverse('collection_view_default')response = self.client.get(url)- # BadRequest should result in 400 status- self.assertEqual(response.status_code, 400)+ self.assertEqual(response.status_code, 302)+ self.assertEqual(response.url, reverse('location_view_default'))class TestCollectionViewView(DualModeViewTestCase):diff --git a/src/hi/apps/collection/views.py b/src/hi/apps/collection/views.pyindex 741d7647..c5ac4c86 100644--- a/src/hi/apps/collection/views.py+++ b/src/hi/apps/collection/views.py@@ -1,6 +1,5 @@import logging-from django.core.exceptions import BadRequestfrom django.http import HttpResponseRedirectfrom django.urls import reversefrom django.views.generic import View@@ -22,19 +21,19 @@ class CollectionViewDefaultView( View ):def get(self, request, *args, **kwargs):- collection = self._get_default_collection( request )- redirect_url = reverse(- 'collection_view',- kwargs = { 'collection_id': collection.id }- )- return HttpResponseRedirect( redirect_url )-- def _get_default_collection( self, request ):try:- collection = CollectionManager().get_default_collection( request = request )+ collection = self._get_default_collection( request )+ redirect_url = reverse(+ 'collection_view',+ kwargs = { 'collection_id': collection.id }+ )except Collection.DoesNotExist:- raise BadRequest( 'No collections defined.' )+ redirect_url = reverse( 'location_view_default' )+ return HttpResponseRedirect( redirect_url )++ def _get_default_collection( self, request ):+ collection = CollectionManager().get_default_collection( request = request )request.view_parameters.view_type = ViewType.COLLECTIONrequest.view_parameters.update_collection( collection )request.view_parameters.to_session( request )diff --git a/src/hi/apps/common/delayed_signal_processor.py b/src/hi/apps/common/delayed_signal_processor.pyindex e9bd85d0..29f7b8cb 100644--- a/src/hi/apps/common/delayed_signal_processor.py+++ b/src/hi/apps/common/delayed_signal_processor.py@@ -2,6 +2,7 @@ import loggingfrom threading import local, Timerfrom typing import Callable+from django.conf import settingsfrom django.db import transactionlogger = logging.getLogger(__name__)@@ -55,6 +56,14 @@ class DelayedSignalProcessor:self._thread_local.processing_registered = Truetransaction.on_commit(self._queue_delayed_processing)+ def _run_synchronously(self) -> bool:+ """Whether to run the callback inline rather than on a background+ Timer thread. True under unit tests so the processor never opens a+ second DB connection that would race the in-memory shared-cache+ SQLite test database -> intermittent "database table is locked".+ (Tests of the asynchronous mechanics override this per instance.)"""+ return settings.UNIT_TESTING+def _queue_delayed_processing(self):# Cancel any existing timer to avoid duplicate processingif self._timer and self._timer.is_alive():@@ -64,6 +73,12 @@ class DelayedSignalProcessor:# This allows new signals to schedule additional processing if neededself._thread_local.processing_registered = False+ if self._run_synchronously():+ # Run on this (the committing) thread/connection instead of a+ # background thread; see _run_synchronously().+ self._execute_processing_background()+ return+# Schedule the processing to run in a background thread after delay# The delay ensures the current transaction can complete firstself._timer = Timer(self.delay_seconds, self._execute_processing_background)diff --git a/src/hi/apps/common/tests/test_delayed_signal_processor.py b/src/hi/apps/common/tests/test_delayed_signal_processor.pyindex afc97989..0cf5fb3c 100644--- a/src/hi/apps/common/tests/test_delayed_signal_processor.py+++ b/src/hi/apps/common/tests/test_delayed_signal_processor.py@@ -3,25 +3,43 @@ Tests for DelayedSignalProcessor functionality.Focuses on high-value testing: threading, transaction coordination, and state management."""+import loggingimport threadingimport timefrom unittest.mock import Mock, patch-from django.test import TransactionTestCase+from django.test import TransactionTestCase, override_settingsfrom django.db import transactionfrom hi.apps.common.delayed_signal_processor import DelayedSignalProcessor+logging.disable(logging.CRITICAL)+++def _force_async(processor):+ """Force a processor onto the background-Timer path for tests that+ exercise the asynchronous mechanics. Patches the instance only, so the+ global UNIT_TESTING flag (and the unrelated processors that honor it)+ is left alone."""+ processor._run_synchronously = lambda: False+ return processor+class TestDelayedSignalProcessor(TransactionTestCase):- """Test DelayedSignalProcessor threading and transaction coordination."""+ """Test DelayedSignalProcessor threading and transaction coordination.++ These exercise the asynchronous production path (Timer thread,+ debouncing, background execution); under UNIT_TESTING the processor+ runs synchronously instead, so each processor here is forced async via+ ``_force_async``. The synchronous test-mode path has its own test class+ below."""def setUp(self):self.callback_mock = Mock()- self.processor = DelayedSignalProcessor(+ self.processor = _force_async( DelayedSignalProcessor(name="test_processor",callback_func=self.callback_mock,delay_seconds=0.01 # Short delay for testing- )+ ) )def test_single_execution_within_transaction(self):"""HIGH-VALUE: Test deduplication within transactions."""@@ -133,11 +151,11 @@ class TestDelayedSignalProcessor(TransactionTestCase):"""HIGH-VALUE: Test error handling doesn't break future calls."""# Create processor with callback that raises exceptionerror_callback = Mock(side_effect=Exception("Test error"))- error_processor = DelayedSignalProcessor(+ error_processor = _force_async( DelayedSignalProcessor(name="error_processor",callback_func=error_callback,delay_seconds=0.01- )+ ) )# First call should handle exception gracefullywith transaction.atomic():@@ -160,11 +178,11 @@ class TestDelayedSignalProcessor(TransactionTestCase):execution_details['thread_name'] = threading.current_thread().nameexecution_details['called'] = True- processor = DelayedSignalProcessor(+ processor = _force_async( DelayedSignalProcessor(name="context_processor",callback_func=context_callback,delay_seconds=0.01- )+ ) )main_thread_name = threading.current_thread().name@@ -209,11 +227,11 @@ class TestDelayedSignalProcessor(TransactionTestCase):def test_multiple_processors_independence(self):"""Test that multiple processor instances don't interfere."""callback2 = Mock()- processor2 = DelayedSignalProcessor(+ processor2 = _force_async( DelayedSignalProcessor(name="processor2",callback_func=callback2,delay_seconds=0.01- )+ ) )# Schedule on both processorswith transaction.atomic():@@ -270,4 +288,28 @@ class TestDelayedSignalProcessor(TransactionTestCase):log_calls = [call.args[0] for call in mock_logger.debug.call_args_list]processor_name_in_logs = any('test_processor' in msg for msg in log_calls)self.assertTrue(processor_name_in_logs)-+++@override_settings(UNIT_TESTING=True)+class TestDelayedSignalProcessorUnitTestingSynchronous(TransactionTestCase):+ """Under UNIT_TESTING the processor must run synchronously (no Timer+ thread) so it never opens a second DB connection that would race the+ in-memory shared-cache SQLite test database ("database table is locked")."""++ def setUp(self):+ self.callback_mock = Mock()+ self.processor = DelayedSignalProcessor(+ name="sync_processor",+ callback_func=self.callback_mock,+ delay_seconds=0.01,+ )++ def test_runs_synchronously_on_commit_without_timer(self):+ with transaction.atomic():+ self.processor.schedule_processing()++ # No sleep: the callback ran synchronously when the transaction+ # committed, and no background Timer was created.+ self.assertEqual(self.callback_mock.call_count, 1)+ self.assertIsNone(self.processor._timer)+diff --git a/src/hi/apps/config/templates/config/panes/subsystem_edit_content_body.html b/src/hi/apps/config/templates/config/panes/subsystem_edit_content_body.htmlindex 79999a15..2c0a2882 100644--- a/src/hi/apps/config/templates/config/panes/subsystem_edit_content_body.html+++ b/src/hi/apps/config/templates/config/panes/subsystem_edit_content_body.html@@ -9,6 +9,18 @@ This is what gets replaced on form submission{% block basic_info %}{% endblock %}+{% block formset_scaffolding %}+{% comment %}+This surface binds one formset per subsystem, so render each one's+management form (the single-formset default in the base only covers+``regular_attributes_formset``). Kept above the tabs, separate from the+per-subsystem display in ``properties_section``.+{% endcomment %}+{% for multi_edit_form_data in multi_edit_form_data_list %}+{{ multi_edit_form_data.formset.management_form }}+{% endfor %}+{% endblock %}+{% block additional_buttons %}{% endblock %}@@ -24,14 +36,14 @@ This is what gets replaced on form submission</h4>{% endblock %}+{% block tabs_nav_pane %}{% endblock %}+{% block file_upload_button %}{% endblock %}{% block add_attribute_button %}{% endblock %}{% block files_section %}{% endblock %}-{% block tab1_empty_state %}{% endblock %}-{% block left_column %}<nav class="nav flex-column hi-vertical-nav mr-3" id="subsystemTabs" role="tablist">{% for multi_edit_form_data in multi_edit_form_data_list %}@@ -77,6 +89,7 @@ This is what gets replaced on form submission</button></div>{% endif %}+{% include "attribute/components/regular_attribute_list.html" with regular_attributes_formset=multi_edit_form_data.formset attr_item_context=multi_edit_form_data.context %}<div class="mt-4 pt-3 border-top text-right"><small class="text-muted mr-1">Problems with these settings?</small>@@ -99,8 +112,8 @@ This is what gets replaced on form submission{% if attr_page_context.can_restore_default %}{% for multi_edit_form_data in multi_edit_form_data_list %}{% if selected_subsystem_id == multi_edit_form_data.owner.id|stringformat:'s' %}- <div class="row mt-5 mb-4">- <div class="col-12 text-center">+ <div class="row my-3">+ <div class="col-12 text-right"><small class="text-muted mr-1">Need to start over?</small><a href="{% url 'subsystem_attribute_restore_all_confirm_modal' subsystem_id=multi_edit_form_data.owner.id %}"role="button"@@ -115,4 +128,4 @@ This is what gets replaced on form submission{% endif %}{% endfor %}{% endif %}-{% endblock %}\ No newline at end of file+{% endblock %}diff --git a/src/hi/apps/control/migrations/0006_controllerhistory_control_con_control_b1bac5_idx.py b/src/hi/apps/control/migrations/0006_controllerhistory_control_con_control_b1bac5_idx.pynew file mode 100644index 00000000..758b76e4--- /dev/null+++ b/src/hi/apps/control/migrations/0006_controllerhistory_control_con_control_b1bac5_idx.py@@ -0,0 +1,20 @@+# Generated by Django 5.2.14 on 2026-06-03 20:31++from django.db import migrations, models+++class Migration(migrations.Migration):++ dependencies = [+ ("control", "0005_add_previous_integration_identity"),+ ]++ operations = [+ migrations.AddIndex(+ model_name="controllerhistory",+ index=models.Index(+ fields=["controller", "-created_datetime"],+ name="control_con_control_b1bac5_idx",+ ),+ ),+ ]diff --git a/src/hi/apps/control/models.py b/src/hi/apps/control/models.pyindex de95c611..fc4a85c1 100644--- a/src/hi/apps/control/models.py+++ b/src/hi/apps/control/models.py@@ -89,3 +89,6 @@ class ControllerHistory(models.Model):verbose_name = 'Controller History'verbose_name_plural = 'Controller History'ordering = [ '-created_datetime' ]+ indexes = [+ models.Index( fields = [ 'controller', '-created_datetime' ] ),+ ]diff --git a/src/hi/apps/edit/templates/edit/panes/entity_picker.html b/src/hi/apps/edit/templates/edit/panes/entity_picker.htmlindex e2fb73f1..24671aa5 100644--- a/src/hi/apps/edit/templates/edit/panes/entity_picker.html+++ b/src/hi/apps/edit/templates/edit/panes/entity_picker.html@@ -8,7 +8,7 @@<div class="entity-picker-panel"><div class="entity-picker-header">- <div class="my-2">+ <div class="mb-2"><a href="{% url 'entity_edit_entity_add' %}"class="btn btn-add btn-block btn-control" role="button"data-async="modal">diff --git a/src/hi/apps/entity/entity_state_history.py b/src/hi/apps/entity/entity_state_history.pyindex f641482a..4eb88569 100644--- a/src/hi/apps/entity/entity_state_history.py+++ b/src/hi/apps/entity/entity_state_history.py@@ -148,7 +148,17 @@ def get_entity_state_history_page(Returned rows are descending by timestamp; the caller derivesthe next-page cursor from the oldest row's timestamp."""- obs_query = SensorHistory.objects.filter( sensor__entity_state = entity_state )+ # Filter on the instrument FK directly (resolving ids first) rather+ # than joining through Sensor/Controller on ``entity_state``. The join+ # form prevents SQLite from using the ``(sensor, -response_datetime)``+ # composite index to satisfy the ORDER BY, forcing a full temp-B-tree+ # sort of the sensor's entire history on every page. Filtering by+ # ``sensor_id__in`` lets the composite index serve both the filter and+ # the ordering, so only ``page_size`` rows are touched.+ sensor_ids = list( entity_state.sensors.values_list( 'id', flat = True ))+ controller_ids = list( entity_state.controllers.values_list( 'id', flat = True ))++ obs_query = SensorHistory.objects.filter( sensor_id__in = sensor_ids )if before is not None:obs_query = obs_query.filter( response_datetime__lt = before )observation_rows = list(@@ -156,7 +166,7 @@ def get_entity_state_history_page()intent_query = ControllerHistory.objects.filter(- controller__entity_state = entity_state,+ controller_id__in = controller_ids,)if before is not None:intent_query = intent_query.filter( created_datetime__lt = before )diff --git a/src/hi/apps/location/edit/tests/test_views.py b/src/hi/apps/location/edit/tests/test_views.pyindex d5058533..eec37fc4 100644--- a/src/hi/apps/location/edit/tests/test_views.py+++ b/src/hi/apps/location/edit/tests/test_views.py@@ -321,8 +321,16 @@ class TestLocationDeleteView(DualModeViewTestCase):svg_view_box_str='0 0 100 100')+ def _create_second_location(self):+ return LocationSyntheticData.create_test_location(+ name='Second Location',+ svg_fragment_filename='second.svg',+ svg_view_box_str='0 0 100 100',+ )+def test_get_location_delete_confirmation(self):- """Test getting location delete confirmation."""+ """Test getting location delete confirmation (not the last location)."""+ self._create_second_location()url = reverse('location_edit_location_delete', kwargs={'location_id': self.location.id})response = self.client.get(url)@@ -331,14 +339,25 @@ class TestLocationDeleteView(DualModeViewTestCase):self.assertTemplateRendered(response, 'location/edit/modals/location_delete.html')self.assertEqual(response.context['location'], self.location)+ def test_get_delete_last_location_blocked(self):+ """Opening the delete modal for the only location is rejected up+ front rather than offering a delete that can't proceed."""+ self.assertEqual(Location.objects.count(), 1)++ url = reverse('location_edit_location_delete', kwargs={'location_id': self.location.id})+ response = self.client.get(url)++ self.assertEqual(response.status_code, 400)+def test_get_location_delete_async(self):"""Test getting location delete confirmation with AJAX request."""+ self._create_second_location()url = reverse('location_edit_location_delete', kwargs={'location_id': self.location.id})response = self.async_get(url)self.assertSuccessResponse(response)self.assertJsonResponse(response)-+# HiModalView returns JSON with modal content for AJAX requestsdata = response.json()self.assertIn('modal', data)@@ -358,7 +377,13 @@ class TestLocationDeleteView(DualModeViewTestCase):self.assertEqual(response.status_code, 400)def test_post_delete_with_confirmation(self):- """Test POST request with proper confirmation."""+ """Test POST request with proper confirmation (not the last location)."""+ # A second location so the target is not the only one.+ LocationSyntheticData.create_test_location(+ name='Second Location',+ svg_fragment_filename='second.svg',+ svg_view_box_str='0 0 100 100',+ )url = reverse('location_edit_location_delete', kwargs={'location_id': self.location.id})response = self.client.post(url, {'action': 'confirm'})@@ -368,11 +393,22 @@ class TestLocationDeleteView(DualModeViewTestCase):response_data = response.json()expected_url = reverse('home')self.assertEqual(response_data['location'], expected_url)-+# Location should be deletedwith self.assertRaises(Location.DoesNotExist):Location.objects.get(id=self.location.id)+ def test_post_delete_last_location_blocked(self):+ """The only location cannot be deleted (the app requires at least+ one); the request is rejected and the location remains."""+ self.assertEqual(Location.objects.count(), 1)++ url = reverse('location_edit_location_delete', kwargs={'location_id': self.location.id})+ response = self.client.post(url, {'action': 'confirm'})++ self.assertEqual(response.status_code, 400)+ self.assertTrue( Location.objects.filter(id=self.location.id).exists() )+def test_post_invalid_location_id(self):"""Test POST request with invalid location ID."""# Can't use 'invalid' as location_id in URL - pattern expects digits@@ -514,6 +550,25 @@ class TestLocationViewDeleteView(DualModeViewTestCase):self.assertHtmlResponse(response)self.assertTemplateRendered(response, 'location/edit/modals/location_view_delete.html')self.assertEqual(response.context['location_view'], self.location_view)+ # Only view for the location -> confirmation flags the reset.+ self.assertTrue(response.context['is_last_view'])++ def test_get_delete_confirmation_not_last_view(self):+ """With more than one view, the confirmation is not flagged as a+ reset of the last view."""+ LocationView.objects.create(+ location=self.location,+ name='Second View',+ location_view_type_str='DETAIL',+ svg_view_box_str='0 0 100 100',+ svg_rotate=0.0,+ order_id=1,+ )+ url = reverse('location_edit_location_view_delete', kwargs={'location_view_id': self.location_view.id})+ response = self.client.get(url)++ self.assertSuccessResponse(response)+ self.assertFalse(response.context['is_last_view'])def test_post_delete_without_confirmation(self):"""Test POST request without confirmation."""@@ -534,11 +589,50 @@ class TestLocationViewDeleteView(DualModeViewTestCase):response_data = response.json()expected_url = reverse('home')self.assertEqual(response_data['location'], expected_url)-+# Location view should be deletedwith self.assertRaises(LocationView.DoesNotExist):LocationView.objects.get(id=self.location_view.id)+ def test_delete_last_view_resets_to_default_all_view(self):+ """Deleting a Location's only view enforces the invariant by+ minting a fresh default 'All' view (delete last view == reset)."""+ self.assertEqual(self.location.views.count(), 1)++ url = reverse('location_edit_location_view_delete',+ kwargs={'location_view_id': self.location_view.id})+ response = self.client.post(url, {'action': 'confirm'})++ self.assertEqual(response.status_code, 200)+ # Original view gone, but the Location is not left view-less.+ remaining_views = self.location.views.all()+ self.assertEqual(remaining_views.count(), 1)+ replacement = remaining_views.first()+ self.assertNotEqual(replacement.id, self.location_view.id)+ self.assertEqual(replacement.name, LocationManager.INITIAL_LOCATION_VIEW_NAME)++ def test_delete_non_last_view_does_not_auto_create(self):+ """Deleting a non-last view just removes it; no replacement is+ created since the invariant is not threatened."""+ second_view = LocationView.objects.create(+ location=self.location,+ name='Second View',+ location_view_type_str='DETAIL',+ svg_view_box_str='0 0 100 100',+ svg_rotate=0.0,+ order_id=1,+ )+ self.assertEqual(self.location.views.count(), 2)++ url = reverse('location_edit_location_view_delete',+ kwargs={'location_view_id': self.location_view.id})+ response = self.client.post(url, {'action': 'confirm'})++ self.assertEqual(response.status_code, 200)+ remaining_views = self.location.views.all()+ self.assertEqual(remaining_views.count(), 1)+ self.assertEqual(remaining_views.first().id, second_view.id)+def test_nonexistent_location_view_returns_404(self):"""Test that accessing nonexistent location view returns 404."""url = reverse('location_edit_location_view_delete', kwargs={'location_view_id': 99999})diff --git a/src/hi/apps/location/edit/views.py b/src/hi/apps/location/edit/views.pyindex 51239503..947b007f 100644--- a/src/hi/apps/location/edit/views.py+++ b/src/hi/apps/location/edit/views.py@@ -261,17 +261,24 @@ class LocationPropertiesEditView( View, LocationViewMixin, LocationEditViewMixin@method_decorator( edit_required, name='dispatch' )class LocationDeleteView( HiModalView, LocationViewMixin ):+ LAST_LOCATION_ERROR_MSG = (+ 'This is the only space, and the app requires at least one, so it cannot be deleted.'+ )+def get_template_name( self ) -> str:return 'location/edit/modals/location_delete.html'def get(self, request, *args, **kwargs):location = self.get_location( request, *args, **kwargs )+ if Location.objects.count() <= 1:+ raise BadRequest( self.LAST_LOCATION_ERROR_MSG )+context = {'location': location,}return self.modal_response( request, context )-+def post( self, request, *args, **kwargs ):try:location_id = int( kwargs.get('location_id'))@@ -289,6 +296,13 @@ class LocationDeleteView( HiModalView, LocationViewMixin ):if action != 'confirm':raise BadRequest( 'Missing confirmation value.' )+ # Invariant: at least one location must always exist (much of the+ # app assumes it, and deleting the last one would strand any+ # entities with nowhere to render). Deleting all data is an+ # out-of-band operation, not a UI action.+ if Location.objects.count() <= 1:+ raise BadRequest( self.LAST_LOCATION_ERROR_MSG )+location.delete()if request.view_parameters.location_id == location_id:@@ -359,9 +373,13 @@ class LocationViewDeleteView( HiModalView, LocationViewMixin ):context = {'location_view': location_view,+ # Deleting a Location's only view resets it to a fresh default+ # view rather than removing it (see post()); message that.+ 'is_last_view': bool( location_view.location.views.count() <= 1 ),+ 'default_view_name': LocationManager.INITIAL_LOCATION_VIEW_NAME,}return self.modal_response( request, context )-+def post( self, request, *args, **kwargs ):location_view = self.get_location_view( request, *args, **kwargs )@@ -369,12 +387,21 @@ class LocationViewDeleteView( HiModalView, LocationViewMixin ):if action != 'confirm':raise BadRequest( 'Missing confirmation value.' )+ location = location_view.location+ deleted_view_id = location_view.idlocation_view.delete()- if request.view_parameters.location_view_id == location_view.id:- request.view_parameters.update_location_view( location_view = None )+ # Invariant: every Location keeps at least one LocationView.+ # get_or_create_default_location_view() mints a fresh default 'All'+ # view when this was the Location's last one, so deleting the last+ # view acts as a reset/start-over rather than stranding the+ # Location with nothing to display.+ replacement_view = LocationManager().get_or_create_default_location_view( location )++ if request.view_parameters.location_view_id == deleted_view_id:+ request.view_parameters.update_location_view( location_view = replacement_view )request.view_parameters.to_session( request )-+redirect_url = reverse('home')return self.redirect_response( request, redirect_url )diff --git a/src/hi/apps/location/location_manager.py b/src/hi/apps/location/location_manager.pyindex 65fec8aa..c8a61b7e 100644--- a/src/hi/apps/location/location_manager.py+++ b/src/hi/apps/location/location_manager.py@@ -284,7 +284,23 @@ class LocationManager(Singleton):raise LocationView.DoesNotExist()return location_view-++ def get_or_create_default_location_view( self, location : Location ) -> LocationView:+ """Return the Location's first view, creating a fresh default+ 'All' view if it has none. This is the single point that enforces+ the invariant that every Location always has at least one+ LocationView: LocationViewDeleteView uses it so deleting the last+ view resets to a clean 'All' view, and LocationSwitchView uses it+ to recover a Location left view-less by legacy data or out-of-band+ deletes."""+ location_view = location.views.order_by( 'order_id' ).first()+ if location_view is None:+ location_view = self.create_location_view(+ location = location,+ name = self.INITIAL_LOCATION_VIEW_NAME,+ )+ return location_view+def get_location_view_data( self,location_view : LocationView,include_status_display_data : bool ):diff --git a/src/hi/apps/location/templates/location/edit/modals/location_view_delete.html b/src/hi/apps/location/templates/location/edit/modals/location_view_delete.htmlindex 307aae7f..f058c136 100644--- a/src/hi/apps/location/templates/location/edit/modals/location_view_delete.html+++ b/src/hi/apps/location/templates/location/edit/modals/location_view_delete.html@@ -14,9 +14,17 @@ Delete View?<span class="h4 text-primary">{{ location_view.name }}</span></ul></p>+{% if is_last_view %}+<p>+ This is the only view for this location. Deleting it will reset it to a+ new empty <b>{{ default_view_name }}</b> view; its current contents and+ layout will be cleared.+</p>+{% else %}<p>This action cannot be undone.</p>+{% endif %}{% endblock %}{% block action_right %}diff --git a/src/hi/apps/location/templates/location/edit/panes/location_edit_mode_panel.html b/src/hi/apps/location/templates/location/edit/panes/location_edit_mode_panel.htmlindex 58ae11bc..b774535f 100644--- a/src/hi/apps/location/templates/location/edit/panes/location_edit_mode_panel.html+++ b/src/hi/apps/location/templates/location/edit/panes/location_edit_mode_panel.html@@ -3,6 +3,16 @@{% block space_tab_active %} active{% endblock %}+{% block tab_header %}+<div class="m-2">+ <a href="{% url 'location_edit_location_add' %}"+ class="btn btn-add btn-control" role="button"+ data-async="modal">+ {% icon "plus" css_class="hi-icon-left" %}ADD NEW SPACE+ </a>+</div>+{% endblock %}+{% block tab_content %}<div id="{{ DIVID.LOCATION_PROPERTIES_PANE }}">{% include "location/edit/panes/location_properties_edit.html" %}diff --git a/src/hi/apps/location/templates/location/edit/panes/location_view_edit_mode_panel.html b/src/hi/apps/location/templates/location/edit/panes/location_view_edit_mode_panel.htmlindex 6a981737..30890eb1 100644--- a/src/hi/apps/location/templates/location/edit/panes/location_view_edit_mode_panel.html+++ b/src/hi/apps/location/templates/location/edit/panes/location_view_edit_mode_panel.html@@ -3,6 +3,16 @@{% block view_tab_active %} active{% endblock %}+{% block tab_header %}+<div class="p-2">+ <a href="{% url 'location_edit_location_view_add' %}"+ class="btn btn-add btn-control" role="button"+ data-async="modal" >+ {% icon "plus" css_class="hi-icon-left" %}ADD NEW VIEW+ </a>+</div>+{% endblock %}+{% block tab_content %}<div id="{{ DIVID.LOCATION_VIEW_EDIT_PANE }}">{% include "location/edit/panes/location_view_properties_edit.html" %}diff --git a/src/hi/apps/location/tests/test_views.py b/src/hi/apps/location/tests/test_views.pyindex 2cc8132d..b927ad71 100644--- a/src/hi/apps/location/tests/test_views.py+++ b/src/hi/apps/location/tests/test_views.py@@ -56,17 +56,65 @@ class TestLocationViewDefaultView(SyncViewTestCase):session = self.client.sessionself.assertEqual(session.get('view_type'), str(ViewType.LOCATION_VIEW))- @patch.object(LocationManager, 'get_default_location_view')- def test_redirect_to_start_when_no_location_view(self, mock_get_default):- """Test redirecting to start page when no default location view exists."""- mock_get_default.side_effect = LocationView.DoesNotExist()+ def test_redirect_to_start_when_no_location(self):+ """With no location at all, the view can render nothing, so it+ defers to StartView (the provisioning-state authority)."""+ LocationView.objects.all().delete()+ Location.objects.all().delete()++ url = reverse('location_view_default')+ response = self.client.get(url)++ self.assertEqual(response.status_code, 302)+ self.assertEqual(response.url, reverse('start'))++ def test_self_heals_when_location_has_no_view(self):+ """A location whose default view is missing is repaired with a fresh+ 'All' view (rather than failing) and shown."""+ LocationView.objects.all().delete()++ url = reverse('location_view_default')+ response = self.client.get(url)++ self.assertEqual(response.status_code, 302)+ new_view = self.location.views.order_by('order_id').first()+ self.assertIsNotNone(new_view)+ self.assertEqual(new_view.name, LocationManager.INITIAL_LOCATION_VIEW_NAME)+ self.assertEqual(+ response.url,+ reverse('location_view', kwargs={'location_view_id': new_view.id}),+ )++ def test_self_heals_to_existing_view_when_default_location_empty(self):+ """Regression for the infinite home<->start redirect loop: when the+ default (first-ordered) Location is left view-less while another+ Location still has a view, resolve onto the existing view instead+ of bouncing to start."""+ # self.location is first by order; strand it with no views.+ self.location_view.delete()+ other_location = Location.objects.create(+ name='Other Location',+ svg_fragment_filename='other.svg',+ svg_view_box_str='0 0 100 100',+ order_id=99,+ )+ other_view = LocationView.objects.create(+ location=other_location,+ name='Other View',+ location_view_type_str='MAIN',+ svg_view_box_str='0 0 100 100',+ svg_rotate=0.0,+ order_id=0,+ )url = reverse('location_view_default')response = self.client.get(url)self.assertEqual(response.status_code, 302)- expected_url = reverse('start')+ expected_url = reverse('location_view', kwargs={'location_view_id': other_view.id})self.assertEqual(response.url, expected_url)+ # Session should now point at the surviving view (loop broken).+ self.assertEqual(self.client.session.get('location_view_id'), other_view.id)def test_post_not_allowed(self):"""Test that POST requests are not allowed."""@@ -264,19 +312,25 @@ class TestLocationSwitchView(SyncViewTestCase):session = self.client.sessionself.assertEqual(session.get('view_type'), str(ViewType.LOCATION_VIEW))- def test_switch_to_location_with_no_views(self):- """Test switching to location with no views raises BadRequest."""- # Create location with no views+ def test_switch_to_location_with_no_views_auto_creates_default(self):+ """Switching to a view-less location mints a default 'All' view+ (invariant repair) and redirects to it, rather than dead-ending."""empty_location = Location.objects.create(name='Empty Location',svg_fragment_filename='empty.svg',svg_view_box_str='0 0 100 100')+ self.assertEqual(empty_location.views.count(), 0)url = reverse('location_switch', kwargs={'location_id': empty_location.id})response = self.client.get(url)- self.assertEqual(response.status_code, 400)+ self.assertEqual(response.status_code, 302)+ created_view = empty_location.views.order_by('order_id').first()+ self.assertIsNotNone(created_view)+ self.assertEqual(created_view.name, LocationManager.INITIAL_LOCATION_VIEW_NAME)+ expected_url = reverse('location_view', kwargs={'location_view_id': created_view.id})+ self.assertEqual(response.url, expected_url)def test_views_ordered_by_order_id(self):"""Test that views are selected in order_id order."""diff --git a/src/hi/apps/location/views.py b/src/hi/apps/location/views.pyindex 43df2f9c..d000cb52 100644--- a/src/hi/apps/location/views.py+++ b/src/hi/apps/location/views.py@@ -28,7 +28,7 @@ from hi.views import page_not_found_responsefrom .enums import LocationViewTypefrom .location_attribute_edit_context import LocationAttributeItemEditContextfrom .location_manager import LocationManager-from .models import LocationView, LocationAttribute+from .models import Location, LocationView, LocationAttributefrom hi.apps.location.view_mixins import LocationViewMixinlogger = logging.getLogger(__name__)@@ -37,8 +37,32 @@ logger = logging.getLogger(__name__)class LocationViewDefaultView( View ):def get(self, request, *args, **kwargs):+ # Hot path: resolve the default location's view in a single query+ # (get_default_location_view fetches the view joined with its+ # location). Only the rare failures do extra work:+ #+ # - Location.DoesNotExist: no location exists, so this view cannot+ # render anything. Defer to StartView, the canonical authority+ # on provisioning state, to decide where to go. (This also fixes+ # the previously uncaught Location.DoesNotExist 500.)+ #+ # - LocationView.DoesNotExist: a location exists but its default+ # view is missing. Switch to any other existing view; if none+ # exist anywhere, self-heal by creating a default 'All' view.+ location_view = Nonetry:location_view = LocationManager().get_default_location_view( request = request )+ except Location.DoesNotExist:+ redirect_url = reverse( 'start' )+ except LocationView.DoesNotExist:+ location_view = LocationView.objects.order_by(+ 'location__order_id', 'order_id',+ ).first()+ if location_view is None:+ location = LocationManager().get_default_location( request = request )+ location_view = LocationManager().get_or_create_default_location_view( location )++ if location_view is not None:request.view_parameters.view_type = ViewType.LOCATION_VIEWrequest.view_parameters.update_location_view( location_view )request.view_parameters.to_session( request )@@ -46,8 +70,6 @@ class LocationViewDefaultView( View ):'location_view',kwargs = { 'location_view_id': location_view.id })- except LocationView.DoesNotExist:- redirect_url = reverse( 'start' )query_string = request.META.get( 'QUERY_STRING', '' )if query_string:@@ -89,10 +111,11 @@ class LocationSwitchView( View, LocationViewMixin ):def get(self, request, *args, **kwargs):location = self.get_location( request, *args, **kwargs )-- location_view = location.views.order_by( 'order_id' ).first()- if not location_view:- raise BadRequest( 'No views defined for this location.' )++ # Invariant: every Location has at least one LocationView. If this+ # one was left view-less (legacy data / out-of-band deletes), mint+ # a default 'All' view rather than dead-ending on a BadRequest.+ location_view = LocationManager().get_or_create_default_location_view( location )request.view_parameters.view_type = ViewType.LOCATION_VIEWrequest.view_parameters.update_location_view( location_view = location_view )diff --git a/src/hi/apps/profiles/profile_manager.py b/src/hi/apps/profiles/profile_manager.pyindex e65237ad..9f3bdc22 100644--- a/src/hi/apps/profiles/profile_manager.py+++ b/src/hi/apps/profiles/profile_manager.py@@ -20,9 +20,23 @@ from hi.apps.collection.models import ()from hi.apps.collection.enums import CollectionType, CollectionViewType+from hi.enums import ProvisioningState+from .enums import ProfileTypeimport hi.apps.profiles.constants as PC++class ProfileError( Exception ):+ """Base class for profile-loading errors."""+ pass+++class ProfileLoadNotAllowedError( ProfileError ):+ """Raised when a profile load is attempted in a ProvisioningState other+ than ALLOWS_PROFILE (i.e. entities or locations already exist)."""+ pass++logger = logging.getLogger(__name__)@@ -123,13 +137,14 @@ class ProfileManager:ProfileLoadingStats: Detailed statistics about what succeeded and failed during loadingRaises:- ValueError: If database is not empty, fundamental validation fails,- or minimum requirements not met (at least 1 Location and 1 Entity)+ ProfileLoadNotAllowedError: If entities or locations already exist+ ValueError: If fundamental validation fails, or minimum requirements+ not met (at least 1 Location and 1 Entity)FileNotFoundError: If profile JSON file is missingjson.JSONDecodeError: If profile JSON is invalidException: For other fundamental errors during profile loading"""- self._validate_empty_database()+ self._require_profile_loadable_state()json_file_path = self._get_profile_json_path(profile_type)profile_data = self._load_json_file( json_file_path )@@ -197,16 +212,29 @@ class ProfileManager:return- def _validate_empty_database(self) -> None:- """Validate that database is empty before loading profile.-+ def get_provisioning_state(self) -> ProvisioningState:+ """Resolve the system's ProvisioningState from core-data presence.+ This is the single source of truth for first-run / recovery routing+ (HomeView, StartView, LocationViewDefaultView) and the profile-load+ precondition."""+ if Location.objects.exists():+ return ProvisioningState.PROVISIONED+ if Entity.objects.exists():+ return ProvisioningState.REQUIRES_LOCATION+ return ProvisioningState.ALLOWS_PROFILE++ def _require_profile_loadable_state(self) -> None:+ """A profile can only be loaded into a system with no entities or+ locations.+Raises:- ValueError: If database contains existing entities or locations+ ProfileLoadNotAllowedError: If the ProvisioningState is not+ ALLOWS_PROFILE (entities or locations already exist)."""- entity_count = Entity.objects.count()- location_count = Location.objects.count()- if ( entity_count > 0 ) or ( location_count > 0 ):- raise ValueError( 'Database must be empty to load profile.' )+ if self.get_provisioning_state() != ProvisioningState.ALLOWS_PROFILE:+ raise ProfileLoadNotAllowedError(+ 'A profile can only be loaded when no entities or locations exist.'+ )returndef _get_profile_json_path(self, profile_type: ProfileType) -> str:diff --git a/src/hi/apps/profiles/tests/test_profile_manager.py b/src/hi/apps/profiles/tests/test_profile_manager.pyindex 507b1f23..8ad7542f 100644--- a/src/hi/apps/profiles/tests/test_profile_manager.py+++ b/src/hi/apps/profiles/tests/test_profile_manager.py@@ -1,8 +1,9 @@import loggingfrom pathlib import Path-from hi.apps.profiles.profile_manager import ProfileManager+from hi.apps.profiles.profile_manager import ProfileManager, ProfileLoadNotAllowedErrorfrom hi.apps.profiles.enums import ProfileType+from hi.enums import ProvisioningStatefrom hi.apps.entity.models import Entity, EntityPositionfrom hi.apps.location.models import Location, LocationViewfrom hi.apps.collection.models import Collection, CollectionEntity@@ -169,15 +170,39 @@ class TestProfileManager(BaseTestCase):with self.in_memory_media_storage():self._test_profile_loading(ProfileType.APARTMENT)- def test_profile_requires_empty_database(self):- """Test that profile loading fails when database is not empty."""- # Create an entity to make database non-empty+ def test_profile_load_not_allowed_when_entities_exist(self):+ """Profile loading is only allowed in ProvisioningState.ALLOWS_PROFILE+ (no entities or locations); an existing entity blocks it."""+ # An entity with no location -> REQUIRES_LOCATIONEntity.objects.create(name='Existing Entity', entity_type_str='light')-- # Try to load a profile - should raise ValueError- with self.assertRaises(ValueError):+ self.assertEqual(+ self.profile_manager.get_provisioning_state(),+ ProvisioningState.REQUIRES_LOCATION,+ )++ with self.assertRaises(ProfileLoadNotAllowedError):self.profile_manager.load_profile(ProfileType.SINGLE_STORY)return++ def test_get_provisioning_state(self):+ """ProvisioningState reflects entity/location presence."""+ self.assertEqual(+ self.profile_manager.get_provisioning_state(),+ ProvisioningState.ALLOWS_PROFILE,+ )+ Entity.objects.create(name='E', entity_type_str='light')+ self.assertEqual(+ self.profile_manager.get_provisioning_state(),+ ProvisioningState.REQUIRES_LOCATION,+ )+ Location.objects.create(+ name='L', svg_fragment_filename='l.svg', svg_view_box_str='0 0 10 10',+ )+ self.assertEqual(+ self.profile_manager.get_provisioning_state(),+ ProvisioningState.PROVISIONED,+ )+ returndef test_profile_json_filename_generation(self):"""Test that ProfileType enum generates correct JSON filenames."""diff --git a/src/hi/apps/profiles/views.py b/src/hi/apps/profiles/views.pyindex 267aa3be..70a7a9e1 100644--- a/src/hi/apps/profiles/views.py+++ b/src/hi/apps/profiles/views.py@@ -9,7 +9,7 @@ from hi.hi_async_view import HiModalViewimport hi.apps.common.antinode as antinodefrom hi.apps.location.edit.views import LocationAddFirstView-from .profile_manager import ProfileManager+from .profile_manager import ProfileManager, ProfileLoadNotAllowedErrorfrom .enums import ProfileTypefrom .session_helpers import (mark_profile_initialized,@@ -55,15 +55,23 @@ class InitializePredefinedView(View):request.view_parameters.view_mode = ViewMode.MONITORrequest.view_parameters.to_session( request )-- redirect_url = reverse('home')- return antinode.redirect_response( redirect_url )-++ return antinode.redirect_response( reverse('home') )++ except ProfileLoadNotAllowedError:+ # Entities or locations already exist (e.g. a direct POST that+ # bypassed the start gate). Don't build a profile on top of+ # existing data; defer to StartView, the canonical authority on+ # provisioning state, to route appropriately.+ logger.warning( 'Profile load attempted when not allowed; deferring to start.' )+ return antinode.redirect_response( reverse('start') )+except Exception as e:- logger.error(f'Failed to load profile {profile_enum}: {e}')- # Fall back to manual setup flow - user can't fix system issues- redirect_url = reverse('profiles_initialize_custom')- return antinode.redirect_response( redirect_url )+ # Genuine load failure on a loadable system (e.g. bad profile+ # JSON). The user can't fix a system issue, so fall back to the+ # manual setup flow.+ logger.error( f'Failed to load profile {profile_enum}: {e}' )+ return antinode.redirect_response( reverse('profiles_initialize_custom') )class ViewReferenceHelpView( HiModalView ):diff --git a/src/hi/apps/sense/tests/test_sensor_response_manager.py b/src/hi/apps/sense/tests/test_sensor_response_manager.pyindex 62b703d8..8da867ec 100644--- a/src/hi/apps/sense/tests/test_sensor_response_manager.py+++ b/src/hi/apps/sense/tests/test_sensor_response_manager.py@@ -2,7 +2,7 @@ import loggingfrom datetime import datetime, timedeltafrom unittest.mock import AsyncMock, Mock, patchfrom django.utils import timezone-from hi.testing.async_task_utils import AsyncTaskFastTestCase, AsyncTaskTestCase+from hi.testing.async_task_utils import AsyncTaskFastTestCasefrom hi.apps.entity.models import Entity, EntityStatefrom hi.apps.sense.models import Sensor, SensorHistory@@ -322,13 +322,15 @@ class AsyncSensorResponseManagerTestCase(AsyncTaskFastTestCase):self.assertEqual(response_list[0].sensor, self.sensor)-class AsyncSensorResponseManagerCrossConnectionTestCase(AsyncTaskTestCase):- """Tests that exercise ``_add_latest_sensor_responses`` end-to-end.- The method fans out through ``sync_to_async`` to multiple DB- reads/writes; under TestCase the worker thread can't see setUp's- uncommitted Sensor row, so SQLite returns ``database table is- locked``. TransactionTestCase commits between methods, which is- the visibility this fan-out needs."""+class AsyncSensorResponseManagerDirtyFlagTestCase(AsyncTaskFastTestCase):+ """Verifies the cache-poisoning guard in+ ``_add_latest_sensor_responses``: the in-memory-map dirty flag must be+ set only AFTER the Redis pipeline executes. The DB fan-out (sensor+ lookup + history ``bulk_create``) runs before the Redis write and never+ touches the flag, so it is mocked here. Doing it for real fanned out a+ cross-connection ``sync_to_async`` write whose visibility was+ test-order dependent — the source of this test's flakiness — and that+ write path is covered separately by the sensor-history manager tests."""def setUp(self):super().setUp()@@ -370,6 +372,8 @@ class AsyncSensorResponseManagerCrossConnectionTestCase(AsyncTaskTestCase):value='on',timestamp=timezone.now(),)+ # Pre-resolve the sensor so _add_sensors skips its DB read.+ sensor_response.sensor = self.sensormock_pipeline = Mock()@@ -381,13 +385,23 @@ class AsyncSensorResponseManagerCrossConnectionTestCase(AsyncTaskTestCase):mock_pipeline.execute.side_effect = capture_dirty_state- with patch.object( self.manager, '_redis_client' ) as mock_redis:+ # Mock the history-manager write: it runs before the Redis+ # pipeline and is irrelevant to the dirty flag this test pins.+ mock_history_manager = Mock()+ mock_history_manager.add_to_sensor_history = AsyncMock( return_value = [] )++ with patch.object( self.manager, '_redis_client' ) as mock_redis, \+ patch.object( self.manager, 'sensor_history_manager_async',+ new = AsyncMock( return_value = mock_history_manager )):mock_redis.pipeline.return_value = mock_pipelineself.manager._latest_sensor_data_dirty = Falseawait self.manager._add_latest_sensor_responses( [ sensor_response ] )- import asyncio- asyncio.get_event_loop().run_until_complete( run() )+ # Use the class-managed event loop. asyncio.get_event_loop() would+ # return whatever loop is currently set, which another test class's+ # teardown may have already closed — the source of cross-test+ # flakiness under the parallel runner.+ self.run_async( run() )self.assertEqual(observed_dirty_at_execute, [ False ],diff --git a/src/hi/apps/weather/settings.py b/src/hi/apps/weather/settings.pyindex 2a59afff..eae02143 100644--- a/src/hi/apps/weather/settings.py+++ b/src/hi/apps/weather/settings.py@@ -45,6 +45,26 @@ def _create_dynamic_weather_settings() -> Dict[str, SettingDefinition]:initial_value=canonical_base_url,)+ # Sources with a distinct archive/historical host (e.g.+ # Open-Meteo) expose ``ARCHIVE_BASE_URL`` as a class constant.+ # Give it its own override setting so the archive endpoint can+ # also be pointed at a simulator/mirror independently.+ archive_base_url = getattr( source, 'ARCHIVE_BASE_URL', None )+ if archive_base_url:+ archive_base_url_key = f"{source_key_prefix}_ARCHIVE_BASE_URL"+ settings_dict[archive_base_url_key] = SettingDefinition(+ label=f'{source.label} Archive Base URL',+ description=(+ f'Base URL for {source.label} historical/archive HTTP requests. '+ f'Usually: {archive_base_url}'+ ),+ value_type=AttributeValueType.TEXT,+ value_range=None,+ is_editable=True,+ is_required=False,+ initial_value=archive_base_url,+ )+if source.requires_api_key():api_key_key = f"{source_key_prefix}_API_KEY"settings_dict[api_key_key] = SettingDefinition(diff --git a/src/hi/apps/weather/templates/weather/panes/astronomical_brief.html b/src/hi/apps/weather/templates/weather/panes/astronomical_brief.htmlindex 31eaf913..9e8bb7ed 100644--- a/src/hi/apps/weather/templates/weather/panes/astronomical_brief.html+++ b/src/hi/apps/weather/templates/weather/panes/astronomical_brief.html@@ -1,26 +1,34 @@{% load static %}{% load units %}-<div class="d-flex justify-content-between align-items-center">- <div class="small lh-sm">- <div>- Sunrise:- {% if astronomical_data.sunrise %}- {{ astronomical_data.sunrise.value }}- {% else %}- --- {% endif %}+<div class="d-flex justify-content-around align-items-center">+ <div class=" small lh-sm">+ <div class="d-flex justify-content-center">+ <div class="text-right">+ Sunrise: + </div>+ <div>+ {% if astronomical_data.sunrise %}+ {{ astronomical_data.sunrise.value }}+ {% else %}+ --+ {% endif %}+ </div></div>- <div>- Sunset:- {% if astronomical_data.sunset %}- {{ astronomical_data.sunset.value }}- {% else %}- --- {% endif %}+ <div class="d-flex justify-content-center">+ <div class="text-right">+ Sunset: + </div>+ <div>+ {% if astronomical_data.sunset %}+ {{ astronomical_data.sunset.value }}+ {% else %}+ --+ {% endif %}+ </div></div></div>- <div class="d-flex align-items-center small">+ <div class="d-flex align-items-center small text-center"><span class="mr-1">Moon:</span>{% if astronomical_data.moon_illumination %}{% with astronomical_data.moon_phase as moon_phase %}diff --git a/src/hi/apps/weather/templates/weather/panes/conditions.html b/src/hi/apps/weather/templates/weather/panes/conditions.htmlindex 5bea325e..05ee9760 100644--- a/src/hi/apps/weather/templates/weather/panes/conditions.html+++ b/src/hi/apps/weather/templates/weather/panes/conditions.html@@ -14,7 +14,7 @@<div class="row"><div class="col-6" >- <div class="h2">+ <div class="h2 text-primary text-center">{% if conditions.temperature is not None %}{{ conditions.temperature.quantity|format_magnitude:1 }}<small>{{ conditions.temperature.quantity|format_units }}</small>@@ -30,7 +30,7 @@{% with conditions.sky_condition as sky_condition %}<img height="32" src="{% static sky_condition.icon_filename %}"alt="{{ sky_condition.label }}" />-+ <br />{{ conditions.cloud_cover.quantity|format_magnitude:1 }}<small>{{ conditions.cloud_cover.quantity|format_units }}</small>{% endwith %}@@ -41,7 +41,7 @@</div></div><div>- <div class="d-flex justify-content-left">+ <div class="d-flex justify-content-between"><div>Min:{% if weather_stats.temperature is not None %}@@ -61,7 +61,7 @@{% endif %}</div></div>- <div>+ <div class="text-center">Humidity:{% if conditions.relative_humidity %}{{ conditions.relative_humidity.quantity|format_magnitude:1 }}@@ -73,7 +73,7 @@</div>-<div class="weather-pane-status mt-2">+<div class="weather-pane-status my-2 text-center">{% if weather_pane_status.caption_text %}<a href="{% url 'system_health_status' provider_id='hi.apps.weather.monitor' %}"class="alert {{ weather_pane_status.caption_alert_class }} py-1 px-2 mb-0 d-flex align-items-center small"diff --git a/src/hi/apps/weather/weather_settings_helper.py b/src/hi/apps/weather/weather_settings_helper.pyindex 1d996d04..5d567805 100644--- a/src/hi/apps/weather/weather_settings_helper.py+++ b/src/hi/apps/weather/weather_settings_helper.py@@ -54,6 +54,21 @@ class WeatherSettingsHelper( SettingsMixin ):value_str = str(value).strip()return value_str if value_str else None+ def get_weather_source_archive_base_url(self, source_id: str) -> Optional[str]:+ """Configured archive/historical base URL for this source.+ Returns ``None`` if unset / empty so the caller can fall back to+ the source's canonical ``ARCHIVE_BASE_URL`` constant."""+ setting_name = f"{self._source_setting_prefix(source_id)}_ARCHIVE_BASE_URL"+ try:+ setting_enum = getattr(WeatherSetting, setting_name)+ except AttributeError:+ return None+ value = self.settings_manager().get_setting_value(setting_enum)+ if value is None:+ return None+ value_str = str(value).strip()+ return value_str if value_str else None+def get_weather_source_api_key(self, source_id: str) -> str:api_key_setting_name = f"{self._source_setting_prefix(source_id)}_API_KEY"try:diff --git a/src/hi/apps/weather/weather_sources/openmeteo.py b/src/hi/apps/weather/weather_sources/openmeteo.pyindex f2c7c886..4861ad96 100644--- a/src/hi/apps/weather/weather_sources/openmeteo.py+++ b/src/hi/apps/weather/weather_sources/openmeteo.py@@ -815,11 +815,26 @@ class OpenMeteo(WeatherDataSource, WeatherMixin):ex = self.HISTORICAL_DATA_CACHE_EXPIRY_SECS)return historical_data+ def _get_archive_base_url( self ) -> str:+ """Effective base URL for archive/historical calls.++ Mirrors ``_get_base_url`` but for the separate archive host:+ consults the ``OPENMETEO_ARCHIVE_BASE_URL`` setting (lets an+ operator point historical fetches at a simulator/mirror) and+ falls back to the canonical ``ARCHIVE_BASE_URL`` constant.+ """+ helper = self._get_weather_settings_helper()+ if helper:+ override = helper.get_weather_source_archive_base_url( self.weather_source_id() )+ if override:+ return override+ return self.ARCHIVE_BASE_URL+def _get_historical_weather_data_from_api( self,geographic_location : GeographicLocation,start_date : date,end_date : date ) -> Dict[str, Any]:- url = (f"{self.ARCHIVE_BASE_URL}?"+ url = (f"{self._get_archive_base_url()}?"f"latitude={geographic_location.latitude}&"f"longitude={geographic_location.longitude}&"f"start_date={start_date}&"diff --git a/src/hi/enums.py b/src/hi/enums.pyindex 58df52dc..c58d5491 100644--- a/src/hi/enums.py+++ b/src/hi/enums.py@@ -49,6 +49,27 @@ class ViewMode(LabeledEnum):return bool( self == ViewMode.EDIT )+class ProvisioningState(LabeledEnum):+ """The system's setup state with respect to core data — Entities and+ Locations — used to route first-run and recovery navigation. The three+ states are mutually exclusive and derived purely from whether any+ Locations and/or Entities exist:++ ALLOWS_PROFILE no entities and no locations; a predefined profile+ can be loaded (the start page is valid).+ REQUIRES_LOCATION entities exist but no location does, so there is+ nothing to render; the user must add a location.+ PROVISIONED at least one location exists; normal operation.++ (Note: this is deliberately NOT called "empty database" — other tables+ may hold data; only entities and locations are relevant here.)+ """++ ALLOWS_PROFILE = ( 'Allows Profile', '' )+ REQUIRES_LOCATION = ( 'Requires Location', '' )+ PROVISIONED = ( 'Provisioned', '' )++class ViewDataPriority(LabeledEnum):"""Which category of owner-detail data the edit modal shouldforeground when multiple categories are present. Views computediff --git a/src/hi/integrations/templates/integrations/panes/integration_edit_content_body.html b/src/hi/integrations/templates/integrations/panes/integration_edit_content_body.htmlindex c4325ad0..fc5c211e 100644--- a/src/hi/integrations/templates/integrations/panes/integration_edit_content_body.html+++ b/src/hi/integrations/templates/integrations/panes/integration_edit_content_body.html@@ -26,6 +26,8 @@ enable/disable, etc.).{% endwith %}{% endblock %}+{% block tabs_nav_pane %}{% endblock %}+{% block file_upload_button %}{% endblock %}{% block add_attribute_button %}{% endblock %}diff --git a/src/hi/settings/base.py b/src/hi/settings/base.pyindex 26802a72..e6c75b13 100644--- a/src/hi/settings/base.py+++ b/src/hi/settings/base.py@@ -205,12 +205,17 @@ AUTH_PASSWORD_VALIDATORS = [},]+# True when invoked as ``manage.py test`` (WSGI / gunicorn / runserver /+# migrate / shell do not match, so production processes are unaffected).+# Drives test-only behavior: the fast password hasher below, plus the+# synchronous-in-test guards in email_utils, metrics, and+# DelayedSignalProcessor.+UNIT_TESTING = ( sys.argv[1:2] == ['test'] )+# Default PBKDF2 hashing is hundreds of ms per call by design; for tests# (where many setUps create a user) it dominates wall time. Swap to a-# fast hasher only when the process is invoked as ``manage.py test``.-# WSGI / gunicorn / runserver / migrate / shell do not match, so-# production processes are unaffected.-if sys.argv[1:2] == ['test']:+# fast hasher under test.+if UNIT_TESTING:PASSWORD_HASHERS = ['django.contrib.auth.hashers.MD5PasswordHasher',]@@ -403,8 +408,6 @@ BASE_URL_FOR_EMAIL_LINKS = f'http://{SITE_DOMAIN}'# Development-related Settings# (override in development.py, not here)-# When tests functionality requires knowing if in unit test context.-UNIT_TESTING = False# In development and debugging, because the background javascript is# polling frequently, this clutters up the console with log messages whichdiff --git a/src/hi/settings/simulator.py b/src/hi/settings/simulator.pyindex a87dae70..1b5f52a1 100644--- a/src/hi/settings/simulator.py+++ b/src/hi/settings/simulator.py@@ -25,6 +25,9 @@ INSTALLED_APPS = ['hi.simulator.services.immich','hi.simulator.services.zoneminder','hi.simulator.weather_sources.nws',+ 'hi.simulator.weather_sources.openmeteo',+ 'hi.simulator.weather_sources.sunrise_sunset_org',+ 'hi.simulator.weather_sources.usno',]MIDDLEWARE = [@@ -39,6 +42,7 @@ MIDDLEWARE = ['hi.simulator.middleware.NoStoreMiddleware','hi.simulator.services.middleware.ServiceFaultInjectionMiddleware',+ 'hi.simulator.weather_sources.middleware.WeatherFaultInjectionMiddleware',]ROOT_URLCONF = 'hi.simulator.urls'diff --git a/src/hi/simulator/fault_injection.py b/src/hi/simulator/fault_injection.pynew file mode 100644index 00000000..b6ae16c8--- /dev/null+++ b/src/hi/simulator/fault_injection.py@@ -0,0 +1,61 @@+"""Shared fault-injection primitives for the simulator.++A single ``FaultMode`` enum and one mode→response mapping, used by both+the services fault middleware and the weather-sources fault middleware.+The fault states are generic HTTP/network failures, identical regardless+of which kind of upstream is being simulated, so there is one definition+here rather than a copy per domain.+"""+import logging+import os+import time++from django.http import HttpResponse, JsonResponse++from hi.apps.common.enums import LabeledEnum++logger = logging.getLogger(__name__)++SLOW_FAULT_SECS = float( os.environ.get( 'HI_SIM_SLOW_FAULT_SECS', '10.0' ) )+++class FaultMode( LabeledEnum ):+ """Fault-injection state for a simulated upstream. Selected from the+ simulator UI; consumed by the fault middlewares to short-circuit API+ responses so the main app's failure paths can be exercised without+ standing up a real misbehaving server."""++ HEALTHY = ( 'Healthy', 'Pass requests through normally (default).' )+ AUTH_FAIL = ( 'Auth Fail', 'Return 401 from every API request.' )+ FORBIDDEN = ( 'Forbidden', 'Return 403 from every API request (credentials recognized, action forbidden — e.g., scope or role missing).' )+ SERVER_ERROR = ( 'Server Error', 'Return 500 from every API request.' )+ SLOW = ( 'Slow', 'Sleep past the integration probe timeout, then pass through.' )+ NON_JSON = ( 'Non-JSON', 'Return 200 with text/html body (simulates wrong base URL / proxy).' )++ @classmethod+ def default(cls):+ return cls.HEALTHY+++def apply_fault_mode( fault_mode, request, get_response ):+ """Return the response dictated by ``fault_mode``. HEALTHY passes+ through; SLOW sleeps first and then passes through (so the failure+ that surfaces upstream is a read timeout, not a 5xx); the rest return+ a synthetic error response."""+ if fault_mode == FaultMode.AUTH_FAIL:+ return JsonResponse( { 'message': 'Unauthorized' }, status = 401 )+ if fault_mode == FaultMode.FORBIDDEN:+ return JsonResponse( { 'message': 'Forbidden' }, status = 403 )+ if fault_mode == FaultMode.SERVER_ERROR:+ return JsonResponse( { 'message': 'Internal server error' }, status = 500 )+ if fault_mode == FaultMode.SLOW:+ logger.debug( f'Fault injection: sleeping {SLOW_FAULT_SECS}s for {request.path}' )+ time.sleep( SLOW_FAULT_SECS )+ return get_response( request )+ if fault_mode == FaultMode.NON_JSON:+ return HttpResponse(+ b'<html><body>simulated non-JSON response</body></html>',+ content_type = 'text/html',+ status = 200,+ )+ return get_response( request )diff --git a/src/hi/simulator/profile/profile_manager.py b/src/hi/simulator/profile/profile_manager.pyindex c122d60d..097593ee 100644--- a/src/hi/simulator/profile/profile_manager.py+++ b/src/hi/simulator/profile/profile_manager.py@@ -145,13 +145,19 @@ class ProfileManager( Singleton ):"""Profile rows referencing source via FK get duplicates pointingat target. Each owning sub-app is responsible for handling itsown clone via on_profile_cloned callback (future). For now,- copy DbSimEntity (services) and NwsSimAlert (nws) by import."""+ copy DbSimEntity (services), NwsSimAlert (nws), and the+ single-row astronomical state models by import."""# Imports kept local — these are cross-sub-app references and# we want lazy resolution so the profile sub-app remains# importable in isolation (e.g. management commands that touch# only profiles).from hi.simulator.services.models import DbSimEntity- from hi.simulator.weather_sources.nws.models import NwsSimAlert+ from hi.simulator.weather_sources.nws.models import NwsSimAlert, NwsSimConditions+ from hi.simulator.weather_sources.openmeteo.models import OpenMeteoSimState+ from hi.simulator.weather_sources.sunrise_sunset_org.models import (+ SunriseSunsetSimState,+ )+ from hi.simulator.weather_sources.usno.models import UsnoSimStateDbSimEntity.objects.bulk_create([DbSimEntity(@@ -160,7 +166,7 @@ class ProfileManager( Singleton ):sim_entity_type_str = row.sim_entity_type_str,sim_entity_fields_json = row.sim_entity_fields_json,)- for row in source_profile.dbsimentity_set.all()+ for row in source_profile.db_sim_entities.all()])NwsSimAlert.objects.bulk_create([NwsSimAlert(@@ -180,6 +186,63 @@ class ProfileManager( Singleton ):effective_offset_secs = row.effective_offset_secs,expires_offset_secs = row.expires_offset_secs,)- for row in source_profile.nwssimalert_set.all()+ for row in source_profile.nws_sim_alerts.all()])++ # OneToOne single-row state models: copy if the source profile+ # has one. ``hasattr`` guards the RelatedObjectDoesNotExist that+ # the reverse accessor raises when no row exists yet.+ if hasattr( source_profile, 'sunrise_sunset_sim_state' ):+ src = source_profile.sunrise_sunset_sim_state+ SunriseSunsetSimState.objects.create(+ sim_profile = target_profile,+ sunrise = src.sunrise,+ sunset = src.sunset,+ solar_noon = src.solar_noon,+ utc_offset_hours = src.utc_offset_hours,+ status_str = src.status_str,+ )+ if hasattr( source_profile, 'usno_sim_state' ):+ src = source_profile.usno_sim_state+ UsnoSimState.objects.create(+ sim_profile = target_profile,+ sunrise = src.sunrise,+ sunset = src.sunset,+ solar_noon = src.solar_noon,+ moonrise = src.moonrise,+ moonset = src.moonset,+ fracillum_percent = src.fracillum_percent,+ curphase_str = src.curphase_str,+ tz_offset_hours = src.tz_offset_hours,+ )+ if hasattr( source_profile, 'nws_sim_conditions' ):+ src = source_profile.nws_sim_conditions+ NwsSimConditions.objects.create(+ sim_profile = target_profile,+ text_description = src.text_description,+ temperature_c = src.temperature_c,+ dewpoint_c = src.dewpoint_c,+ relative_humidity_pct = src.relative_humidity_pct,+ wind_speed_kmh = src.wind_speed_kmh,+ wind_direction_deg = src.wind_direction_deg,+ barometric_pressure_hpa = src.barometric_pressure_hpa,+ cloud_amount = src.cloud_amount,+ precip_probability_pct = src.precip_probability_pct,+ is_daytime = src.is_daytime,+ )+ if hasattr( source_profile, 'openmeteo_sim_state' ):+ src = source_profile.openmeteo_sim_state+ OpenMeteoSimState.objects.create(+ sim_profile = target_profile,+ temperature_c = src.temperature_c,+ temperature_min_c = src.temperature_min_c,+ relative_humidity_pct = src.relative_humidity_pct,+ dewpoint_c = src.dewpoint_c,+ precipitation_mm = src.precipitation_mm,+ pressure_msl_hpa = src.pressure_msl_hpa,+ windspeed_kmh = src.windspeed_kmh,+ winddirection_deg = src.winddirection_deg,+ weathercode = src.weathercode,+ is_day = src.is_day,+ )returndiff --git a/src/hi/simulator/services/enums.py b/src/hi/simulator/services/enums.pyindex 1397a4f1..88ca59ae 100644--- a/src/hi/simulator/services/enums.py+++ b/src/hi/simulator/services/enums.py@@ -1,4 +1,5 @@from hi.apps.common.enums import LabeledEnum+from hi.simulator.fault_injection import FaultModeclass SimStateType(LabeledEnum):@@ -40,25 +41,12 @@ class SimStateType(LabeledEnum):return f'services/panes/sim_control_{self.name.lower()}.html'-class ServiceFaultMode(LabeledEnum):- """- Fault-injection state for a simulated service. Set per-simulator from- the simulator UI; consumed by ServiceFaultInjectionMiddleware to- short-circuit API responses so the main app's integration- validate_access probe paths can be exercised without standing up real- misbehaving servers.- """-- HEALTHY = ( 'Healthy' , 'Pass requests through normally (default).' )- AUTH_FAIL = ( 'Auth Fail' , 'Return 401 from every API request.' )- FORBIDDEN = ( 'Forbidden' , 'Return 403 from every API request (credentials recognized, action forbidden — e.g., scope or role missing).' )- SERVER_ERROR = ( 'Server Error' , 'Return 500 from every API request.' )- SLOW = ( 'Slow' , 'Sleep past the integration probe timeout, then pass through.' )- NON_JSON = ( 'Non-JSON' , 'Return 200 with text/html body (simulates wrong base URL / proxy).' )-- @classmethod- def default(cls):- return cls.HEALTHY+# Fault injection is a generic simulator concept (identical HTTP/network+# failures whether the upstream is a service or a weather source), so the+# enum lives in the shared ``hi.simulator.fault_injection`` module. Kept+# under the historical name here so existing services code (views,+# middleware, service_simulator) is unchanged.+ServiceFaultMode = FaultModeclass SimEntityType(LabeledEnum):diff --git a/src/hi/simulator/services/middleware.py b/src/hi/simulator/services/middleware.pyindex a5e9033a..e9fa0e27 100644--- a/src/hi/simulator/services/middleware.py+++ b/src/hi/simulator/services/middleware.py@@ -1,11 +1,8 @@import logging-import osimport re-import time-from django.http import HttpResponse, JsonResponse+from hi.simulator.fault_injection import apply_fault_mode-from .enums import ServiceFaultModefrom .service_simulator_manager import ServiceSimulatorManagerlogger = logging.getLogger(__name__)@@ -24,15 +21,13 @@ class ServiceFaultInjectionMiddleware:setter lives at a top-level simulator URL (/fault-mode/set/...) andtherefore never matches this prefix.- SLOW mode sleeps and then lets the real view run, so the failure that- surfaces upstream is the integration's read timeout — not a 5xx —- which is exactly the bucket we want to exercise.+ The mode→response mapping (including SLOW's sleep-then-passthrough) is+ shared with the weather-sources middleware via+ ``hi.simulator.fault_injection.apply_fault_mode``."""_SERVICE_PATH_RE = re.compile( r'^/services/(?P<short_name>[^/]+)/' )- SLOW_FAULT_SECS = float( os.environ.get( 'HI_SIM_SLOW_FAULT_SECS', '10.0' ))-def __init__(self, get_response):self.get_response = get_responsereturn@@ -46,41 +41,7 @@ class ServiceFaultInjectionMiddleware:if simulator is None:return self.get_response( request )- fault_mode = simulator.fault_mode- if fault_mode == ServiceFaultMode.HEALTHY:- return self.get_response( request )-- if fault_mode == ServiceFaultMode.AUTH_FAIL:- return JsonResponse(- { 'message': 'Unauthorized' },- status = 401,- )-- if fault_mode == ServiceFaultMode.FORBIDDEN:- return JsonResponse(- { 'message': 'Forbidden' },- status = 403,- )-- if fault_mode == ServiceFaultMode.SERVER_ERROR:- return JsonResponse(- { 'message': 'Internal server error' },- status = 500,- )-- if fault_mode == ServiceFaultMode.SLOW:- logger.debug( f'Fault injection: sleeping {self.SLOW_FAULT_SECS}s for {request.path}' )- time.sleep( self.SLOW_FAULT_SECS )- return self.get_response( request )-- if fault_mode == ServiceFaultMode.NON_JSON:- return HttpResponse(- b'<html><body>simulated non-JSON response</body></html>',- content_type = 'text/html',- status = 200,- )-- return self.get_response( request )+ return apply_fault_mode( simulator.fault_mode, request, self.get_response )def _resolve_simulator(self, short_name):# No cache — the lookup is cheap (small list, dict comprehension)diff --git a/src/hi/simulator/weather_sources/_captures/nws_alerts_active.json b/src/hi/simulator/weather_sources/_captures/nws_alerts_active.jsonnew file mode 100644index 00000000..4e0a1a99--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/nws_alerts_active.json@@ -0,0 +1,9 @@+{+ "@context": {+ "@version": "1.1"+ },+ "type": "FeatureCollection",+ "features": [],+ "title": "Current watches, warnings, and advisories for 38.8977 N, 77.0365 W",+ "updated": "2026-06-02T18:52:48+00:00"+}diff --git a/src/hi/simulator/weather_sources/_captures/nws_forecast_12h.json b/src/hi/simulator/weather_sources/_captures/nws_forecast_12h.jsonnew file mode 100644index 00000000..eafa693e--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/nws_forecast_12h.json@@ -0,0 +1,412 @@+{+ "@context": [+ "https://geojson.org/geojson-ld/geojson-context.jsonld",+ {+ "@version": "1.1",+ "wx": "https://api.weather.gov/ontology#",+ "geo": "http://www.opengis.net/ont/geosparql#",+ "unit": "http://codes.wmo.int/common/unit/",+ "@vocab": "https://api.weather.gov/ontology#"+ }+ ],+ "type": "Feature",+ "geometry": {+ "type": "Polygon",+ "coordinates": [+ [+ [+ -77.0125,+ 38.8759+ ],+ [+ -77.0088,+ 38.8979+ ],+ [+ -77.037,+ 38.9008+ ],+ [+ -77.0408,+ 38.8788+ ],+ [+ -77.0125,+ 38.8759+ ]+ ]+ ]+ },+ "properties": {+ "units": "us",+ "forecastGenerator": "BaselineForecastGenerator",+ "generatedAt": "2026-06-02T18:52:56+00:00",+ "updateTime": "2026-06-02T18:23:55+00:00",+ "validTimes": "2026-06-02T12:00:00+00:00/P7DT13H",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 6.096+ },+ "periods": [+ {+ "number": 1,+ "name": "This Afternoon",+ "startTime": "2026-06-02T14:00:00-04:00",+ "endTime": "2026-06-02T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 24.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=medium",+ "shortForecast": "Sunny",+ "detailedForecast": "Sunny, with a high near 76. North wind around 7 mph."+ },+ {+ "number": 2,+ "name": "Tonight",+ "startTime": "2026-06-02T18:00:00-04:00",+ "endTime": "2026-06-03T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=medium",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": "Partly cloudy, with a low around 57. Northwest wind around 6 mph."+ },+ {+ "number": 3,+ "name": "Wednesday",+ "startTime": "2026-06-03T06:00:00-04:00",+ "endTime": "2026-06-03T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=medium",+ "shortForecast": "Sunny",+ "detailedForecast": "Sunny, with a high near 82. North wind around 7 mph."+ },+ {+ "number": 4,+ "name": "Wednesday Night",+ "startTime": "2026-06-03T18:00:00-04:00",+ "endTime": "2026-06-04T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 9.26,+ "minValue": 0+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=medium",+ "shortForecast": "Clear",+ "detailedForecast": "Clear, with a low around 60. West wind 0 to 6 mph."+ },+ {+ "number": 5,+ "name": "Thursday",+ "startTime": "2026-06-04T06:00:00-04:00",+ "endTime": "2026-06-04T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 5.556,+ "minValue": 0+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/day/few?size=medium",+ "shortForecast": "Sunny",+ "detailedForecast": "Sunny, with a high near 88. Northwest wind 0 to 3 mph."+ },+ {+ "number": 6,+ "name": "Thursday Night",+ "startTime": "2026-06-04T18:00:00-04:00",+ "endTime": "2026-06-05T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "S",+ "icon": "https://api.weather.gov/icons/land/night/few?size=medium",+ "shortForecast": "Mostly Clear",+ "detailedForecast": "Mostly clear, with a low around 65."+ },+ {+ "number": 7,+ "name": "Friday",+ "startTime": "2026-06-05T06:00:00-04:00",+ "endTime": "2026-06-05T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.888888888888886+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 9.26,+ "minValue": 1.852+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=medium",+ "shortForecast": "Sunny",+ "detailedForecast": "Sunny, with a high near 93."+ },+ {+ "number": 8,+ "name": "Friday Night",+ "startTime": "2026-06-05T18:00:00-04:00",+ "endTime": "2026-06-06T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 9.26,+ "minValue": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=medium",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": "Partly cloudy, with a low around 70."+ },+ {+ "number": 9,+ "name": "Saturday",+ "startTime": "2026-06-06T06:00:00-04:00",+ "endTime": "2026-06-06T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 34.44444444444444+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 5+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 14.816,+ "minValue": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=medium",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": "Mostly sunny, with a high near 94."+ },+ {+ "number": 10,+ "name": "Saturday Night",+ "startTime": "2026-06-06T18:00:00-04:00",+ "endTime": "2026-06-07T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 19+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 12.964,+ "minValue": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/bkn/rain_showers,20?size=medium",+ "shortForecast": "Mostly Cloudy then Slight Chance Rain Showers",+ "detailedForecast": "A slight chance of rain showers after 2am. Mostly cloudy, with a low around 71."+ },+ {+ "number": 11,+ "name": "Sunday",+ "startTime": "2026-06-07T06:00:00-04:00",+ "endTime": "2026-06-07T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 38+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 12.964,+ "minValue": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20/tsra_hi,40?size=medium",+ "shortForecast": "Slight Chance Rain Showers then Chance Showers And Thunderstorms",+ "detailedForecast": "A slight chance of rain showers before 2pm, then a chance of showers and thunderstorms. Partly sunny, with a high near 89. Chance of precipitation is 40%."+ },+ {+ "number": 12,+ "name": "Sunday Night",+ "startTime": "2026-06-07T18:00:00-04:00",+ "endTime": "2026-06-08T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=medium",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": "A chance of showers and thunderstorms. Mostly cloudy, with a low around 65. Chance of precipitation is 40%."+ },+ {+ "number": 13,+ "name": "Monday",+ "startTime": "2026-06-08T06:00:00-04:00",+ "endTime": "2026-06-08T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 16.668,+ "minValue": 11.112+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,40/tsra_hi,40?size=medium",+ "shortForecast": "Chance Rain Showers then Chance Showers And Thunderstorms",+ "detailedForecast": "A chance of rain showers before 2pm, then a chance of showers and thunderstorms. Partly sunny, with a high near 81. Chance of precipitation is 40%."+ },+ {+ "number": 14,+ "name": "Monday Night",+ "startTime": "2026-06-08T18:00:00-04:00",+ "endTime": "2026-06-09T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "maxValue": 16.668,+ "minValue": 5.556+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40/tsra_hi,30?size=medium",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": "A chance of showers and thunderstorms before 8pm, then a chance of showers and thunderstorms. Mostly cloudy, with a low around 62."+ }+ ]+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/nws_forecast_hourly.json b/src/hi/simulator/weather_sources/_captures/nws_forecast_hourly.jsonnew file mode 100644index 00000000..7605fbf6--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/nws_forecast_hourly.json@@ -0,0 +1,5201 @@+{+ "@context": [+ "https://geojson.org/geojson-ld/geojson-context.jsonld",+ {+ "@version": "1.1",+ "wx": "https://api.weather.gov/ontology#",+ "geo": "http://www.opengis.net/ont/geosparql#",+ "unit": "http://codes.wmo.int/common/unit/",+ "@vocab": "https://api.weather.gov/ontology#"+ }+ ],+ "type": "Feature",+ "geometry": {+ "type": "Polygon",+ "coordinates": [+ [+ [+ -77.0125,+ 38.8759+ ],+ [+ -77.0088,+ 38.8979+ ],+ [+ -77.037,+ 38.9008+ ],+ [+ -77.0408,+ 38.8788+ ],+ [+ -77.0125,+ 38.8759+ ]+ ]+ ]+ },+ "properties": {+ "units": "us",+ "forecastGenerator": "HourlyForecastGenerator",+ "generatedAt": "2026-06-02T18:52:56+00:00",+ "updateTime": "2026-06-02T18:23:55+00:00",+ "validTimes": "2026-06-02T12:00:00+00:00/P7DT13H",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 6.096+ },+ "periods": [+ {+ "number": 1,+ "name": "",+ "startTime": "2026-06-02T14:00:00-04:00",+ "endTime": "2026-06-02T15:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 2.7777777777777777+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 26+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "NE",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 2,+ "name": "",+ "startTime": "2026-06-02T15:00:00-04:00",+ "endTime": "2026-06-02T16:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 3.3333333333333335+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 26+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 3,+ "name": "",+ "startTime": "2026-06-02T16:00:00-04:00",+ "endTime": "2026-06-02T17:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 3.3333333333333335+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 4,+ "name": "",+ "startTime": "2026-06-02T17:00:00-04:00",+ "endTime": "2026-06-02T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 24.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 4.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 5,+ "name": "",+ "startTime": "2026-06-02T18:00:00-04:00",+ "endTime": "2026-06-02T19:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 24.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 4.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 6,+ "name": "",+ "startTime": "2026-06-02T19:00:00-04:00",+ "endTime": "2026-06-02T20:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 5+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 30+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 7,+ "name": "",+ "startTime": "2026-06-02T20:00:00-04:00",+ "endTime": "2026-06-02T21:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 5.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 8,+ "name": "",+ "startTime": "2026-06-02T21:00:00-04:00",+ "endTime": "2026-06-02T22:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 6.111111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 9,+ "name": "",+ "startTime": "2026-06-02T22:00:00-04:00",+ "endTime": "2026-06-02T23:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 6.666666666666667+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 45+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 10,+ "name": "",+ "startTime": "2026-06-02T23:00:00-04:00",+ "endTime": "2026-06-03T00:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 6.666666666666667+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 46+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 11,+ "name": "",+ "startTime": "2026-06-03T00:00:00-04:00",+ "endTime": "2026-06-03T01:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 17.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 6.666666666666667+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 50+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 12,+ "name": "",+ "startTime": "2026-06-03T01:00:00-04:00",+ "endTime": "2026-06-03T02:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 54+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 13,+ "name": "",+ "startTime": "2026-06-03T02:00:00-04:00",+ "endTime": "2026-06-03T03:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 56+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 14,+ "name": "",+ "startTime": "2026-06-03T03:00:00-04:00",+ "endTime": "2026-06-03T04:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 58+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 15,+ "name": "",+ "startTime": "2026-06-03T04:00:00-04:00",+ "endTime": "2026-06-03T05:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 60+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 16,+ "name": "",+ "startTime": "2026-06-03T05:00:00-04:00",+ "endTime": "2026-06-03T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 62+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 17,+ "name": "",+ "startTime": "2026-06-03T06:00:00-04:00",+ "endTime": "2026-06-03T07:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 6.666666666666667+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 59+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 18,+ "name": "",+ "startTime": "2026-06-03T07:00:00-04:00",+ "endTime": "2026-06-03T08:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 56+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 19,+ "name": "",+ "startTime": "2026-06-03T08:00:00-04:00",+ "endTime": "2026-06-03T09:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 17.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.777777777777778+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 52+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 20,+ "name": "",+ "startTime": "2026-06-03T09:00:00-04:00",+ "endTime": "2026-06-03T10:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.777777777777778+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 45+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 21,+ "name": "",+ "startTime": "2026-06-03T10:00:00-04:00",+ "endTime": "2026-06-03T11:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.777777777777778+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 22,+ "name": "",+ "startTime": "2026-06-03T11:00:00-04:00",+ "endTime": "2026-06-03T12:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.777777777777778+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 36+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 23,+ "name": "",+ "startTime": "2026-06-03T12:00:00-04:00",+ "endTime": "2026-06-03T13:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 31+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 24,+ "name": "",+ "startTime": "2026-06-03T13:00:00-04:00",+ "endTime": "2026-06-03T14:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 30+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 25,+ "name": "",+ "startTime": "2026-06-03T14:00:00-04:00",+ "endTime": "2026-06-03T15:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 28+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 26,+ "name": "",+ "startTime": "2026-06-03T15:00:00-04:00",+ "endTime": "2026-06-03T16:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 6.666666666666667+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 26+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 27,+ "name": "",+ "startTime": "2026-06-03T16:00:00-04:00",+ "endTime": "2026-06-03T17:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 6.666666666666667+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 26+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 28,+ "name": "",+ "startTime": "2026-06-03T17:00:00-04:00",+ "endTime": "2026-06-03T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 29,+ "name": "",+ "startTime": "2026-06-03T18:00:00-04:00",+ "endTime": "2026-06-03T19:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 29+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 30,+ "name": "",+ "startTime": "2026-06-03T19:00:00-04:00",+ "endTime": "2026-06-03T20:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.222222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 31+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 31,+ "name": "",+ "startTime": "2026-06-03T20:00:00-04:00",+ "endTime": "2026-06-03T21:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 7.777777777777778+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 36+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 32,+ "name": "",+ "startTime": "2026-06-03T21:00:00-04:00",+ "endTime": "2026-06-03T22:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 8.333333333333334+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 33,+ "name": "",+ "startTime": "2026-06-03T22:00:00-04:00",+ "endTime": "2026-06-03T23:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 8.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 45+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 34,+ "name": "",+ "startTime": "2026-06-03T23:00:00-04:00",+ "endTime": "2026-06-04T00:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 8.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 49+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 35,+ "name": "",+ "startTime": "2026-06-04T00:00:00-04:00",+ "endTime": "2026-06-04T01:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 8.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 52+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 36,+ "name": "",+ "startTime": "2026-06-04T01:00:00-04:00",+ "endTime": "2026-06-04T02:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 9.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 56+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 37,+ "name": "",+ "startTime": "2026-06-04T02:00:00-04:00",+ "endTime": "2026-06-04T03:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 17.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 9.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 60+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 38,+ "name": "",+ "startTime": "2026-06-04T03:00:00-04:00",+ "endTime": "2026-06-04T04:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 9.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 65+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 39,+ "name": "",+ "startTime": "2026-06-04T04:00:00-04:00",+ "endTime": "2026-06-04T05:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 9.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 67+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 40,+ "name": "",+ "startTime": "2026-06-04T05:00:00-04:00",+ "endTime": "2026-06-04T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 9.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 67+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/night/skc?size=small",+ "shortForecast": "Clear",+ "detailedForecast": ""+ },+ {+ "number": 41,+ "name": "",+ "startTime": "2026-06-04T06:00:00-04:00",+ "endTime": "2026-06-04T07:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 67+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 42,+ "name": "",+ "startTime": "2026-06-04T07:00:00-04:00",+ "endTime": "2026-06-04T08:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 17.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 60+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 43,+ "name": "",+ "startTime": "2026-06-04T08:00:00-04:00",+ "endTime": "2026-06-04T09:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 54+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 44,+ "name": "",+ "startTime": "2026-06-04T09:00:00-04:00",+ "endTime": "2026-06-04T10:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 48+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 45,+ "name": "",+ "startTime": "2026-06-04T10:00:00-04:00",+ "endTime": "2026-06-04T11:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0+ },+ "windGust": null,+ "windDirection": "",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 46,+ "name": "",+ "startTime": "2026-06-04T11:00:00-04:00",+ "endTime": "2026-06-04T12:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 35+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 47,+ "name": "",+ "startTime": "2026-06-04T12:00:00-04:00",+ "endTime": "2026-06-04T13:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 28.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 32+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 48,+ "name": "",+ "startTime": "2026-06-04T13:00:00-04:00",+ "endTime": "2026-06-04T14:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 30+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 29+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 49,+ "name": "",+ "startTime": "2026-06-04T14:00:00-04:00",+ "endTime": "2026-06-04T15:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 30.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 28+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 50,+ "name": "",+ "startTime": "2026-06-04T15:00:00-04:00",+ "endTime": "2026-06-04T16:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 51,+ "name": "",+ "startTime": "2026-06-04T16:00:00-04:00",+ "endTime": "2026-06-04T17:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "NW",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 52,+ "name": "",+ "startTime": "2026-06-04T17:00:00-04:00",+ "endTime": "2026-06-04T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 53,+ "name": "",+ "startTime": "2026-06-04T18:00:00-04:00",+ "endTime": "2026-06-04T19:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 30.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 28+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 54,+ "name": "",+ "startTime": "2026-06-04T19:00:00-04:00",+ "endTime": "2026-06-04T20:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 29.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 31+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "S",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 55,+ "name": "",+ "startTime": "2026-06-04T20:00:00-04:00",+ "endTime": "2026-06-04T21:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 10.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 34+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SE",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 56,+ "name": "",+ "startTime": "2026-06-04T21:00:00-04:00",+ "endTime": "2026-06-04T22:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "S",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 57,+ "name": "",+ "startTime": "2026-06-04T22:00:00-04:00",+ "endTime": "2026-06-04T23:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 45+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "S",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 58,+ "name": "",+ "startTime": "2026-06-04T23:00:00-04:00",+ "endTime": "2026-06-05T00:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.666666666666666+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 49+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "S",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 59,+ "name": "",+ "startTime": "2026-06-05T00:00:00-04:00",+ "endTime": "2026-06-05T01:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.222222222222221+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 55+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "S",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 60,+ "name": "",+ "startTime": "2026-06-05T01:00:00-04:00",+ "endTime": "2026-06-05T02:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.222222222222221+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 57+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 61,+ "name": "",+ "startTime": "2026-06-05T02:00:00-04:00",+ "endTime": "2026-06-05T03:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.222222222222221+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 59+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 62,+ "name": "",+ "startTime": "2026-06-05T03:00:00-04:00",+ "endTime": "2026-06-05T04:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.222222222222221+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 61+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 63,+ "name": "",+ "startTime": "2026-06-05T04:00:00-04:00",+ "endTime": "2026-06-05T05:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.666666666666666+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 63+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 64,+ "name": "",+ "startTime": "2026-06-05T05:00:00-04:00",+ "endTime": "2026-06-05T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.666666666666666+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 65+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 65,+ "name": "",+ "startTime": "2026-06-05T06:00:00-04:00",+ "endTime": "2026-06-05T07:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.222222222222221+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 65+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 66,+ "name": "",+ "startTime": "2026-06-05T07:00:00-04:00",+ "endTime": "2026-06-05T08:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.222222222222221+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 59+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 67,+ "name": "",+ "startTime": "2026-06-05T08:00:00-04:00",+ "endTime": "2026-06-05T09:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.777777777777779+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 53+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 68,+ "name": "",+ "startTime": "2026-06-05T09:00:00-04:00",+ "endTime": "2026-06-05T10:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.777777777777779+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 47+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 69,+ "name": "",+ "startTime": "2026-06-05T10:00:00-04:00",+ "endTime": "2026-06-05T11:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.777777777777779+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 70,+ "name": "",+ "startTime": "2026-06-05T11:00:00-04:00",+ "endTime": "2026-06-05T12:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 30+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.222222222222221+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 34+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 71,+ "name": "",+ "startTime": "2026-06-05T12:00:00-04:00",+ "endTime": "2026-06-05T13:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.666666666666666+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 29+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 72,+ "name": "",+ "startTime": "2026-06-05T13:00:00-04:00",+ "endTime": "2026-06-05T14:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 32.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.666666666666666+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 28+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 73,+ "name": "",+ "startTime": "2026-06-05T14:00:00-04:00",+ "endTime": "2026-06-05T15:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.333333333333336+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 26+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 74,+ "name": "",+ "startTime": "2026-06-05T15:00:00-04:00",+ "endTime": "2026-06-05T16:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.888888888888886+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 25+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 75,+ "name": "",+ "startTime": "2026-06-05T16:00:00-04:00",+ "endTime": "2026-06-05T17:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.888888888888886+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 25+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 76,+ "name": "",+ "startTime": "2026-06-05T17:00:00-04:00",+ "endTime": "2026-06-05T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.333333333333336+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 26+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/few?size=small",+ "shortForecast": "Sunny",+ "detailedForecast": ""+ },+ {+ "number": 77,+ "name": "",+ "startTime": "2026-06-05T18:00:00-04:00",+ "endTime": "2026-06-05T19:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 32.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 78,+ "name": "",+ "startTime": "2026-06-05T19:00:00-04:00",+ "endTime": "2026-06-05T20:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 32.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/few?size=small",+ "shortForecast": "Mostly Clear",+ "detailedForecast": ""+ },+ {+ "number": 79,+ "name": "",+ "startTime": "2026-06-05T20:00:00-04:00",+ "endTime": "2026-06-05T21:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 11.666666666666666+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 30+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 80,+ "name": "",+ "startTime": "2026-06-05T21:00:00-04:00",+ "endTime": "2026-06-05T22:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 29.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.222222222222221+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 35+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 81,+ "name": "",+ "startTime": "2026-06-05T22:00:00-04:00",+ "endTime": "2026-06-05T23:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 12.777777777777779+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 82,+ "name": "",+ "startTime": "2026-06-05T23:00:00-04:00",+ "endTime": "2026-06-06T00:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.333333333333334+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 45+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 83,+ "name": "",+ "startTime": "2026-06-06T00:00:00-04:00",+ "endTime": "2026-06-06T01:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 50+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 84,+ "name": "",+ "startTime": "2026-06-06T01:00:00-04:00",+ "endTime": "2026-06-06T02:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 54+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 85,+ "name": "",+ "startTime": "2026-06-06T02:00:00-04:00",+ "endTime": "2026-06-06T03:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 55+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 86,+ "name": "",+ "startTime": "2026-06-06T03:00:00-04:00",+ "endTime": "2026-06-06T04:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 59+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 87,+ "name": "",+ "startTime": "2026-06-06T04:00:00-04:00",+ "endTime": "2026-06-06T05:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 61+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 88,+ "name": "",+ "startTime": "2026-06-06T05:00:00-04:00",+ "endTime": "2026-06-06T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 63+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 89,+ "name": "",+ "startTime": "2026-06-06T06:00:00-04:00",+ "endTime": "2026-06-06T07:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 66+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 90,+ "name": "",+ "startTime": "2026-06-06T07:00:00-04:00",+ "endTime": "2026-06-06T08:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 0+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 61+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 91,+ "name": "",+ "startTime": "2026-06-06T08:00:00-04:00",+ "endTime": "2026-06-06T09:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 59+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 1.852+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 92,+ "name": "",+ "startTime": "2026-06-06T09:00:00-04:00",+ "endTime": "2026-06-06T10:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 52+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 93,+ "name": "",+ "startTime": "2026-06-06T10:00:00-04:00",+ "endTime": "2026-06-06T11:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 28.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 44+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 94,+ "name": "",+ "startTime": "2026-06-06T11:00:00-04:00",+ "endTime": "2026-06-06T12:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 30.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 38+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 95,+ "name": "",+ "startTime": "2026-06-06T12:00:00-04:00",+ "endTime": "2026-06-06T13:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 32.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 96,+ "name": "",+ "startTime": "2026-06-06T13:00:00-04:00",+ "endTime": "2026-06-06T14:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 32.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 1+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 32+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 97,+ "name": "",+ "startTime": "2026-06-06T14:00:00-04:00",+ "endTime": "2026-06-06T15:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.333333333333336+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 5+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.333333333333334+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 30+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 98,+ "name": "",+ "startTime": "2026-06-06T15:00:00-04:00",+ "endTime": "2026-06-06T16:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.888888888888886+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 5+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.333333333333334+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 29+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 99,+ "name": "",+ "startTime": "2026-06-06T16:00:00-04:00",+ "endTime": "2026-06-06T17:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.888888888888886+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 5+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.333333333333334+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 29+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 14.816+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 100,+ "name": "",+ "startTime": "2026-06-06T17:00:00-04:00",+ "endTime": "2026-06-06T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.888888888888886+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 5+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.333333333333334+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 29+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 14.816+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/sct?size=small",+ "shortForecast": "Mostly Sunny",+ "detailedForecast": ""+ },+ {+ "number": 101,+ "name": "",+ "startTime": "2026-06-06T18:00:00-04:00",+ "endTime": "2026-06-06T19:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 33.333333333333336+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 5+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 31+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 102,+ "name": "",+ "startTime": "2026-06-06T19:00:00-04:00",+ "endTime": "2026-06-06T20:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 32.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 5+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 13.88888888888889+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/sct?size=small",+ "shortForecast": "Partly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 103,+ "name": "",+ "startTime": "2026-06-06T20:00:00-04:00",+ "endTime": "2026-06-06T21:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 11+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 36+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/bkn?size=small",+ "shortForecast": "Mostly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 104,+ "name": "",+ "startTime": "2026-06-06T21:00:00-04:00",+ "endTime": "2026-06-06T22:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 29.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 11+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 41+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/bkn?size=small",+ "shortForecast": "Mostly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 105,+ "name": "",+ "startTime": "2026-06-06T22:00:00-04:00",+ "endTime": "2026-06-06T23:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 28.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 11+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 44+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/bkn?size=small",+ "shortForecast": "Mostly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 106,+ "name": "",+ "startTime": "2026-06-06T23:00:00-04:00",+ "endTime": "2026-06-07T00:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 11+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 51+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/bkn?size=small",+ "shortForecast": "Mostly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 107,+ "name": "",+ "startTime": "2026-06-07T00:00:00-04:00",+ "endTime": "2026-06-07T01:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 11+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 54+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/bkn?size=small",+ "shortForecast": "Mostly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 108,+ "name": "",+ "startTime": "2026-06-07T01:00:00-04:00",+ "endTime": "2026-06-07T02:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 11+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 56+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/bkn?size=small",+ "shortForecast": "Mostly Cloudy",+ "detailedForecast": ""+ },+ {+ "number": 109,+ "name": "",+ "startTime": "2026-06-07T02:00:00-04:00",+ "endTime": "2026-06-07T03:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 24.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 19+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 58+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 110,+ "name": "",+ "startTime": "2026-06-07T03:00:00-04:00",+ "endTime": "2026-06-07T04:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 19+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 62+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 3.704+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 111,+ "name": "",+ "startTime": "2026-06-07T04:00:00-04:00",+ "endTime": "2026-06-07T05:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 19+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 66+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 112,+ "name": "",+ "startTime": "2026-06-07T05:00:00-04:00",+ "endTime": "2026-06-07T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 19+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 68+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/night/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 113,+ "name": "",+ "startTime": "2026-06-07T06:00:00-04:00",+ "endTime": "2026-06-07T07:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 19+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 71+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 5.556+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 114,+ "name": "",+ "startTime": "2026-06-07T07:00:00-04:00",+ "endTime": "2026-06-07T08:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 19+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 17.22222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 73+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 115,+ "name": "",+ "startTime": "2026-06-07T08:00:00-04:00",+ "endTime": "2026-06-07T09:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 23+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 17.22222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 71+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 116,+ "name": "",+ "startTime": "2026-06-07T09:00:00-04:00",+ "endTime": "2026-06-07T10:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 24.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 23+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 17.22222222222222+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 64+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "SW",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 117,+ "name": "",+ "startTime": "2026-06-07T10:00:00-04:00",+ "endTime": "2026-06-07T11:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 23+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 56+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 118,+ "name": "",+ "startTime": "2026-06-07T11:00:00-04:00",+ "endTime": "2026-06-07T12:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 27.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 23+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 51+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 119,+ "name": "",+ "startTime": "2026-06-07T12:00:00-04:00",+ "endTime": "2026-06-07T13:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 28.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 23+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 48+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 120,+ "name": "",+ "startTime": "2026-06-07T13:00:00-04:00",+ "endTime": "2026-06-07T14:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 30+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 23+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 43+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,20?size=small",+ "shortForecast": "Slight Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 121,+ "name": "",+ "startTime": "2026-06-07T14:00:00-04:00",+ "endTime": "2026-06-07T15:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 30.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 38+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 42+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 122,+ "name": "",+ "startTime": "2026-06-07T15:00:00-04:00",+ "endTime": "2026-06-07T16:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 38+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 123,+ "name": "",+ "startTime": "2026-06-07T16:00:00-04:00",+ "endTime": "2026-06-07T17:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 38+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 42+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 124,+ "name": "",+ "startTime": "2026-06-07T17:00:00-04:00",+ "endTime": "2026-06-07T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 31.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 38+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 42+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/day/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 125,+ "name": "",+ "startTime": "2026-06-07T18:00:00-04:00",+ "endTime": "2026-06-07T19:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 30.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 38+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 43+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "W",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 126,+ "name": "",+ "startTime": "2026-06-07T19:00:00-04:00",+ "endTime": "2026-06-07T20:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 29.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 38+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 46+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 127,+ "name": "",+ "startTime": "2026-06-07T20:00:00-04:00",+ "endTime": "2026-06-07T21:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 28.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 49+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 128,+ "name": "",+ "startTime": "2026-06-07T21:00:00-04:00",+ "endTime": "2026-06-07T22:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 54+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "N",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 129,+ "name": "",+ "startTime": "2026-06-07T22:00:00-04:00",+ "endTime": "2026-06-07T23:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 60+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "NE",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 130,+ "name": "",+ "startTime": "2026-06-07T23:00:00-04:00",+ "endTime": "2026-06-08T00:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.333333333333332+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 66+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "NE",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 131,+ "name": "",+ "startTime": "2026-06-08T00:00:00-04:00",+ "endTime": "2026-06-08T01:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.22222222222222+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 71+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "NE",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 132,+ "name": "",+ "startTime": "2026-06-08T01:00:00-04:00",+ "endTime": "2026-06-08T02:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 39+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 73+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 133,+ "name": "",+ "startTime": "2026-06-08T02:00:00-04:00",+ "endTime": "2026-06-08T03:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 76+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/rain_showers,30?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 134,+ "name": "",+ "startTime": "2026-06-08T03:00:00-04:00",+ "endTime": "2026-06-08T04:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.666666666666668+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 78+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/rain_showers,30?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 135,+ "name": "",+ "startTime": "2026-06-08T04:00:00-04:00",+ "endTime": "2026-06-08T05:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 78+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/rain_showers,30?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 136,+ "name": "",+ "startTime": "2026-06-08T05:00:00-04:00",+ "endTime": "2026-06-08T06:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 19.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 81+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/rain_showers,30?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 137,+ "name": "",+ "startTime": "2026-06-08T06:00:00-04:00",+ "endTime": "2026-06-08T07:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 19.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 81+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,30?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 138,+ "name": "",+ "startTime": "2026-06-08T07:00:00-04:00",+ "endTime": "2026-06-08T08:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 19.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 81+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,30?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 139,+ "name": "",+ "startTime": "2026-06-08T08:00:00-04:00",+ "endTime": "2026-06-08T09:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 35+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 78+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,40?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 140,+ "name": "",+ "startTime": "2026-06-08T09:00:00-04:00",+ "endTime": "2026-06-08T10:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 35+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 73+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,40?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 141,+ "name": "",+ "startTime": "2026-06-08T10:00:00-04:00",+ "endTime": "2026-06-08T11:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 35+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 66+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,40?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 142,+ "name": "",+ "startTime": "2026-06-08T11:00:00-04:00",+ "endTime": "2026-06-08T12:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 35+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 62+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,40?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 143,+ "name": "",+ "startTime": "2026-06-08T12:00:00-04:00",+ "endTime": "2026-06-08T13:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 35+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 16.11111111111111+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 58+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,40?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 144,+ "name": "",+ "startTime": "2026-06-08T13:00:00-04:00",+ "endTime": "2026-06-08T14:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 35+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 54+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 14.816+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/rain_showers,40?size=small",+ "shortForecast": "Chance Rain Showers",+ "detailedForecast": ""+ },+ {+ "number": 145,+ "name": "",+ "startTime": "2026-06-08T14:00:00-04:00",+ "endTime": "2026-06-08T15:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 52+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 14.816+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/tsra_sct,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 146,+ "name": "",+ "startTime": "2026-06-08T15:00:00-04:00",+ "endTime": "2026-06-08T16:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15.555555555555555+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 51+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 14.816+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/tsra_sct,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 147,+ "name": "",+ "startTime": "2026-06-08T16:00:00-04:00",+ "endTime": "2026-06-08T17:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 49+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 16.668+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/tsra_sct,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 148,+ "name": "",+ "startTime": "2026-06-08T17:00:00-04:00",+ "endTime": "2026-06-08T18:00:00-04:00",+ "isDaytime": true,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 49+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 16.668+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/day/tsra_sct,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 149,+ "name": "",+ "startTime": "2026-06-08T18:00:00-04:00",+ "endTime": "2026-06-08T19:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 26.11111111111111+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 15+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 50+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 16.668+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_sct,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 150,+ "name": "",+ "startTime": "2026-06-08T19:00:00-04:00",+ "endTime": "2026-06-08T20:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 25+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 40+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 52+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 14.816+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_sct,40?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 151,+ "name": "",+ "startTime": "2026-06-08T20:00:00-04:00",+ "endTime": "2026-06-08T21:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 55+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 12.964+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,30?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 152,+ "name": "",+ "startTime": "2026-06-08T21:00:00-04:00",+ "endTime": "2026-06-08T22:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 22.77777777777778+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 59+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,30?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 153,+ "name": "",+ "startTime": "2026-06-08T22:00:00-04:00",+ "endTime": "2026-06-08T23:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 21.666666666666668+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 63+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 11.112+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,30?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 154,+ "name": "",+ "startTime": "2026-06-08T23:00:00-04:00",+ "endTime": "2026-06-09T00:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 20.555555555555557+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 68+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 9.26+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,30?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 155,+ "name": "",+ "startTime": "2026-06-09T00:00:00-04:00",+ "endTime": "2026-06-09T01:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 19.444444444444443+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 73+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,30?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ },+ {+ "number": 156,+ "name": "",+ "startTime": "2026-06-09T01:00:00-04:00",+ "endTime": "2026-06-09T02:00:00-04:00",+ "isDaytime": false,+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 18.88888888888889+ },+ "temperatureTrend": null,+ "probabilityOfPrecipitation": {+ "unitCode": "wmoUnit:percent",+ "value": 33+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 14.444444444444445+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 75+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 7.408+ },+ "windGust": null,+ "windDirection": "E",+ "icon": "https://api.weather.gov/icons/land/night/tsra_hi,30?size=small",+ "shortForecast": "Chance Showers And Thunderstorms",+ "detailedForecast": ""+ }+ ]+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/nws_observations_latest.json b/src/hi/simulator/weather_sources/_captures/nws_observations_latest.jsonnew file mode 100644index 00000000..5db0bde8--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/nws_observations_latest.json@@ -0,0 +1,147 @@+{+ "@context": [+ "https://geojson.org/geojson-ld/geojson-context.jsonld",+ {+ "@version": "1.1",+ "wx": "https://api.weather.gov/ontology#",+ "s": "https://schema.org/",+ "geo": "http://www.opengis.net/ont/geosparql#",+ "unit": "http://codes.wmo.int/common/unit/",+ "@vocab": "https://api.weather.gov/ontology#",+ "geometry": {+ "@id": "s:GeoCoordinates",+ "@type": "geo:wktLiteral"+ },+ "city": "s:addressLocality",+ "state": "s:addressRegion",+ "distance": {+ "@id": "s:Distance",+ "@type": "s:QuantitativeValue"+ },+ "bearing": {+ "@type": "s:QuantitativeValue"+ },+ "value": {+ "@id": "s:value"+ },+ "unitCode": {+ "@id": "s:unitCode",+ "@type": "@id"+ },+ "forecastOffice": {+ "@type": "@id"+ },+ "forecastGridData": {+ "@type": "@id"+ },+ "publicZone": {+ "@type": "@id"+ },+ "county": {+ "@type": "@id"+ }+ }+ ],+ "id": "https://api.weather.gov/stations/KDCA/observations/2026-06-02T18:35:00+00:00",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.03,+ 38.85+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KDCA/observations/2026-06-02T18:35:00+00:00",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 20+ },+ "station": "https://api.weather.gov/stations/KDCA",+ "stationId": "KDCA",+ "stationName": "Washington/Reagan National Airport, DC",+ "timestamp": "2026-06-02T18:35:00+00:00",+ "rawMessage": "",+ "textDescription": "Clear",+ "icon": "https://api.weather.gov/icons/land/day/skc?size=medium",+ "presentWeather": [],+ "temperature": {+ "unitCode": "wmoUnit:degC",+ "value": 23,+ "qualityControl": "V"+ },+ "dewpoint": {+ "unitCode": "wmoUnit:degC",+ "value": 3,+ "qualityControl": "V"+ },+ "windDirection": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 0,+ "qualityControl": "V"+ },+ "windSpeed": {+ "unitCode": "wmoUnit:km_h-1",+ "value": 0,+ "qualityControl": "V"+ },+ "windGust": {+ "unitCode": "wmoUnit:km_h-1",+ "value": null,+ "qualityControl": "Z"+ },+ "barometricPressure": {+ "unitCode": "wmoUnit:Pa",+ "value": 102268.94,+ "qualityControl": "V"+ },+ "seaLevelPressure": {+ "unitCode": "wmoUnit:Pa",+ "value": null,+ "qualityControl": "Z"+ },+ "visibility": {+ "unitCode": "wmoUnit:m",+ "value": 16093.44,+ "qualityControl": "C"+ },+ "maxTemperatureLast24Hours": {+ "unitCode": "wmoUnit:degC",+ "value": null+ },+ "minTemperatureLast24Hours": {+ "unitCode": "wmoUnit:degC",+ "value": null+ },+ "precipitationLast3Hours": {+ "unitCode": "wmoUnit:mm",+ "value": null,+ "qualityControl": "Z"+ },+ "relativeHumidity": {+ "unitCode": "wmoUnit:percent",+ "value": 27.013513332628,+ "qualityControl": "V"+ },+ "windChill": {+ "unitCode": "wmoUnit:degC",+ "value": null,+ "qualityControl": "V"+ },+ "heatIndex": {+ "unitCode": "wmoUnit:degC",+ "value": 22.060908403685556,+ "qualityControl": "V"+ },+ "cloudLayers": [+ {+ "base": {+ "unitCode": "wmoUnit:m",+ "value": 3810+ },+ "amount": "CLR"+ }+ ]+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/nws_points.json b/src/hi/simulator/weather_sources/_captures/nws_points.jsonnew file mode 100644index 00000000..1414f0bd--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/nws_points.json@@ -0,0 +1,112 @@+{+ "@context": [+ "https://geojson.org/geojson-ld/geojson-context.jsonld",+ {+ "@version": "1.1",+ "wx": "https://api.weather.gov/ontology#",+ "s": "https://schema.org/",+ "geo": "http://www.opengis.net/ont/geosparql#",+ "unit": "http://codes.wmo.int/common/unit/",+ "@vocab": "https://api.weather.gov/ontology#",+ "geometry": {+ "@id": "s:GeoCoordinates",+ "@type": "geo:wktLiteral"+ },+ "city": "s:addressLocality",+ "state": "s:addressRegion",+ "distance": {+ "@id": "s:Distance",+ "@type": "s:QuantitativeValue"+ },+ "bearing": {+ "@type": "s:QuantitativeValue"+ },+ "value": {+ "@id": "s:value"+ },+ "unitCode": {+ "@id": "s:unitCode",+ "@type": "@id"+ },+ "forecastOffice": {+ "@type": "@id"+ },+ "forecastGridData": {+ "@type": "@id"+ },+ "publicZone": {+ "@type": "@id"+ },+ "county": {+ "@type": "@id"+ }+ }+ ],+ "id": "https://api.weather.gov/points/38.8977,-77.0365",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.0365,+ 38.8977+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/points/38.8977,-77.0365",+ "@type": "wx:Point",+ "cwa": "LWX",+ "type": "land",+ "forecastOffice": "https://api.weather.gov/offices/LWX",+ "gridId": "LWX",+ "gridX": 97,+ "gridY": 71,+ "forecast": "https://api.weather.gov/gridpoints/LWX/97,71/forecast",+ "forecastHourly": "https://api.weather.gov/gridpoints/LWX/97,71/forecast/hourly",+ "forecastGridData": "https://api.weather.gov/gridpoints/LWX/97,71",+ "observationStations": "https://api.weather.gov/gridpoints/LWX/97,71/stations",+ "relativeLocation": {+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.017229,+ 38.904103+ ]+ },+ "properties": {+ "city": "Washington",+ "state": "DC",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 1813.2587921459+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 246+ }+ }+ },+ "forecastZone": "https://api.weather.gov/zones/forecast/DCZ001",+ "county": "https://api.weather.gov/zones/county/DCC001",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/DCZ001",+ "timeZone": "America/New_York",+ "radarStation": "KLWX",+ "astronomicalData": {+ "sunrise": "2026-06-02T05:42:37-04:00",+ "sunset": "2026-06-02T20:29:47-04:00",+ "transit": "2026-06-02T13:06:12-04:00",+ "civilTwilightBegin": "2026-06-02T05:12:42-04:00",+ "civilTwilightEnd": "2026-06-02T20:59:41-04:00",+ "nauticalTwilightBegin": "2026-06-02T04:33:18-04:00",+ "nauticalTwilightEnd": "2026-06-02T21:39:06-04:00",+ "astronomicalTwilightBegin": "2026-06-02T03:48:39-04:00",+ "astronomicalTwilightEnd": "2026-06-02T22:23:44-04:00"+ },+ "nwr": {+ "transmitter": "WNG736",+ "sameCode": "011001",+ "areaBroadcast": "https://api.weather.gov/radio/WNG736/broadcast",+ "pointBroadcast": "https://api.weather.gov/points/38.8977,-77.0365/radio"+ }+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/nws_stations.json b/src/hi/simulator/weather_sources/_captures/nws_stations.jsonnew file mode 100644index 00000000..7aa3242b--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/nws_stations.json@@ -0,0 +1,2073 @@+{+ "@context": [+ "https://geojson.org/geojson-ld/geojson-context.jsonld",+ {+ "@version": "1.1",+ "wx": "https://api.weather.gov/ontology#",+ "s": "https://schema.org/",+ "geo": "http://www.opengis.net/ont/geosparql#",+ "unit": "http://codes.wmo.int/common/unit/",+ "@vocab": "https://api.weather.gov/ontology#",+ "geometry": {+ "@id": "s:GeoCoordinates",+ "@type": "geo:wktLiteral"+ },+ "city": "s:addressLocality",+ "state": "s:addressRegion",+ "distance": {+ "@id": "s:Distance",+ "@type": "s:QuantitativeValue"+ },+ "bearing": {+ "@type": "s:QuantitativeValue"+ },+ "value": {+ "@id": "s:value"+ },+ "unitCode": {+ "@id": "s:unitCode",+ "@type": "@id"+ },+ "forecastOffice": {+ "@type": "@id"+ },+ "forecastGridData": {+ "@type": "@id"+ },+ "publicZone": {+ "@type": "@id"+ },+ "county": {+ "@type": "@id"+ },+ "observationStations": {+ "@container": "@list",+ "@type": "@id"+ }+ }+ ],+ "type": "FeatureCollection",+ "features": [+ {+ "id": "https://api.weather.gov/stations/KDCA",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.03417,+ 38.84833+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KDCA",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 3.9624+ },+ "stationIdentifier": "KDCA",+ "name": "Washington/Reagan National Airport, DC",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 4523.9414318537+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 190+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ054",+ "county": "https://api.weather.gov/zones/county/VAC013",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ054"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KCGS",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.9223,+ 38.9806+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KCGS",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 14.9352+ },+ "stationIdentifier": "KCGS",+ "name": "College Park Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 13556.437457705+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 40+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ013",+ "county": "https://api.weather.gov/zones/county/MDC033",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ013"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KADW",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.85,+ 38.81667+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KADW",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 85.9536+ },+ "stationIdentifier": "KADW",+ "name": "Camp Springs / Andrews Air Force Base",+ "timeZone": "America/New_York",+ "provider": "NonFedAWOS",+ "subProvider": "TG",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 17104.966337266+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 117+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ013",+ "county": "https://api.weather.gov/zones/county/MDC033",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ013"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KDAA",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.18333,+ 38.71667+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KDAA",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 21.0312+ },+ "stationIdentifier": "KDAA",+ "name": "Fort Belvoir",+ "timeZone": "America/New_York",+ "provider": "NonFedAWOS",+ "subProvider": "TG",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 23520.55583809+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 215+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ053",+ "county": "https://api.weather.gov/zones/county/VAC059",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ053"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KFME",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.76667,+ 39.08333+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KFME",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 46.0248+ },+ "stationIdentifier": "KFME",+ "name": "Fort Meade / Tipton",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 31108.066710672+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 45+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ014",+ "county": "https://api.weather.gov/zones/county/MDC003",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ014"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KGAI",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.16551,+ 39.16957+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KGAI",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 150.876+ },+ "stationIdentifier": "KGAI",+ "name": "Gaithersburg - Montgomery County Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 33550.08247988+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 338+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ504",+ "county": "https://api.weather.gov/zones/county/MDC031",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ504"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KIAD",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.4475,+ 38.93472+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KIAD",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 95.0976+ },+ "stationIdentifier": "KIAD",+ "name": "Washington/Dulles International Airport, DC",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 36937.126157004+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 278+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ053",+ "county": "https://api.weather.gov/zones/county/VAC059",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ053"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KBWI",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.68404,+ 39.17329+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KBWI",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 41.148+ },+ "stationIdentifier": "KBWI",+ "name": "Baltimore, Baltimore-Washington International Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 43244.294412109+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 42+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ014",+ "county": "https://api.weather.gov/zones/county/MDC003",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ014"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KHEF",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.51667,+ 38.71667+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KHEF",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 59.1312+ },+ "stationIdentifier": "KHEF",+ "name": "Manassas, Manassas Regional Airport/Harry P. Davis Field",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 46705.112525674+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 246+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ527",+ "county": "https://api.weather.gov/zones/county/VAC683",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ527"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KNAK",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.48907,+ 38.99125+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KNAK",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 0.9144+ },+ "stationIdentifier": "KNAK",+ "name": "Annapolis, United States Naval Academy",+ "timeZone": "America/New_York",+ "provider": "ASOS",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 47723.804555673+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 75+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ014",+ "county": "https://api.weather.gov/zones/county/MDC003",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ014"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KNYG",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.30129,+ 38.50326+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KNYG",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 2.1336+ },+ "stationIdentifier": "KNYG",+ "name": "Quantico Marine Corps Airfield - Turner Field",+ "timeZone": "America/New_York",+ "provider": "ASOS",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 49086.182399763+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 209+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ527",+ "county": "https://api.weather.gov/zones/county/VAC153",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ527"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KJYO",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.56667,+ 39.08333+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KJYO",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 118.872+ },+ "stationIdentifier": "KJYO",+ "name": "Leesburg / Godfrey",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 51611.761197491+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 295+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ506",+ "county": "https://api.weather.gov/zones/county/VAC107",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ506"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KDMH",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.61667,+ 39.28333+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KDMH",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 6.096+ },+ "stationIdentifier": "KDMH",+ "name": "Baltimore, Inner Harbor",+ "timeZone": "America/New_York",+ "provider": "ASOS",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 56299.21085862+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 38+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ011",+ "county": "https://api.weather.gov/zones/county/MDC510",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ011"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KW29",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.33,+ 38.9767+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KW29",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 14.9352+ },+ "stationIdentifier": "KW29",+ "name": "Bay Bridge Field",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 60893.365193527+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 80+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ015",+ "county": "https://api.weather.gov/zones/county/MDC035",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ015"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KFDK",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.36982,+ 39.41775+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KFDK",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 81.9912+ },+ "stationIdentifier": "KFDK",+ "name": "Frederick Municipal Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 65958.052899728+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 333+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ004",+ "county": "https://api.weather.gov/zones/county/MDC021",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ004"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KRMN",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.45528,+ 38.39806+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KRMN",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 64.9224+ },+ "stationIdentifier": "KRMN",+ "name": "Stafford, Stafford Regional Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 66106.946740512+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 214+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ055",+ "county": "https://api.weather.gov/zones/county/VAC179",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ055"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KHWY",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.71501,+ 38.58765+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KHWY",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 92.0496+ },+ "stationIdentifier": "KHWY",+ "name": "Warrenton-Fauquier Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 68571.2377585+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 241+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ502",+ "county": "https://api.weather.gov/zones/county/VAC061",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ502"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KMTN",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.41667,+ 39.33333+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KMTN",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 7.0104+ },+ "stationIdentifier": "KMTN",+ "name": "Baltimore / Martin",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 72117.350339954+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 46+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ011",+ "county": "https://api.weather.gov/zones/county/MDC005",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ011"+ }+ },+ {+ "id": "https://api.weather.gov/stations/K2W6",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.5501,+ 38.3154+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/K2W6",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 43.8912+ },+ "stationIdentifier": "K2W6",+ "name": "St Marys County Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 75896.530374644+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 146+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ017",+ "county": "https://api.weather.gov/zones/county/MDC037",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ017"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KEZF",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.45,+ 38.26667+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KEZF",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 25.908+ },+ "stationIdentifier": "KEZF",+ "name": "Fredericksburg, Shannon Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 78389.994839883+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 208+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ056",+ "county": "https://api.weather.gov/zones/county/VAC177",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ056"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KDMW",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.0077,+ 39.6083+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KDMW",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 240.4872+ },+ "stationIdentifier": "KDMW",+ "name": "Carroll County Regional Jack B Poage Field",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 80068.242027815+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 1+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ005",+ "county": "https://api.weather.gov/zones/county/MDC013",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ005"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KCJR",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.85738,+ 38.52607+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KCJR",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 89.916+ },+ "stationIdentifier": "KCJR",+ "name": "Culpeper Regional Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 82717.892118562+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 241+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ051",+ "county": "https://api.weather.gov/zones/county/VAC047",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ051"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KESN",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.06667,+ 38.8+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KESN",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 21.9456+ },+ "stationIdentifier": "KESN",+ "name": "Easton Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 83555.448350419+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 96+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ019",+ "county": "https://api.weather.gov/zones/county/MDC041",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ019"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KNHK",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.41389,+ 38.27861+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KNHK",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 11.8872+ },+ "stationIdentifier": "KNHK",+ "name": "Patuxent River, Naval Air Station",+ "timeZone": "America/New_York",+ "provider": "ASOS",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 86117.675947822+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 141+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ017",+ "county": "https://api.weather.gov/zones/county/MDC037",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ017"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KRSP",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.468,+ 39.645+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KRSP",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 561.1368+ },+ "stationIdentifier": "KRSP",+ "name": "Camp David",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 92383.236917873+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 335+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ004",+ "county": "https://api.weather.gov/zones/county/MDC021",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ004"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KNUI",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.42,+ 38.14889+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KNUI",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 6.096+ },+ "stationIdentifier": "KNUI",+ "name": "St. Inigoes, Webster Field, Naval Electronic Systems Engineering Activity",+ "timeZone": "America/New_York",+ "provider": "ASOS",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 97617.021789798+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 147+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ017",+ "county": "https://api.weather.gov/zones/county/MDC037",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ017"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KAPG",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.16667,+ 39.46667+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KAPG",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 17.9832+ },+ "stationIdentifier": "KAPG",+ "name": "Phillips Army Air Field / Aberdeen",+ "timeZone": "America/New_York",+ "provider": "NonFedAWOS",+ "subProvider": "TG",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 98010.872774394+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 48+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ508",+ "county": "https://api.weather.gov/zones/county/MDC025",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ508"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KMRB",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.975,+ 39.40372+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KMRB",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 163.9824+ },+ "stationIdentifier": "KMRB",+ "name": "Eastern WV Regional Airport/Shepherd Field",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 99993.238819952+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 305+ },+ "forecast": "https://api.weather.gov/zones/forecast/WVZ052",+ "county": "https://api.weather.gov/zones/county/WVC003",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/WVZ052"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KOKV",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.15,+ 39.15+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KOKV",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 221.8944+ },+ "stationIdentifier": "KOKV",+ "name": "Winchester Regional",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 101469.54739877+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 287+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ028",+ "county": "https://api.weather.gov/zones/county/VAC069",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ028"+ }+ },+ {+ "id": "https://api.weather.gov/stations/K0W3",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.20297,+ 39.5682+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/K0W3",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 125.5776+ },+ "stationIdentifier": "K0W3",+ "name": "Harford County Airport",+ "timeZone": "America/New_York",+ "provider": "NonFedAWOS",+ "subProvider": "TG",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 103562.5821684+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 42+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ508",+ "county": "https://api.weather.gov/zones/county/MDC025",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ508"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KFRR",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.2535,+ 38.9175+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KFRR",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 216.1032+ },+ "stationIdentifier": "KFRR",+ "name": "Front Royal-warren County Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 106374.35405511+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 272+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ030",+ "county": "https://api.weather.gov/zones/county/VAC187",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ030"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KHGR",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.73,+ 39.70583+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KHGR",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 213.9696+ },+ "stationIdentifier": "KHGR",+ "name": "Hagerstown, Washington County Regional Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 109294.31232847+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 326+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ003",+ "county": "https://api.weather.gov/zones/county/MDC043",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ003"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KOMH",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.04556,+ 38.24722+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KOMH",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 142.0368+ },+ "stationIdentifier": "KOMH",+ "name": "Orange, Orange County Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 113833.89014008+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 231+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ050",+ "county": "https://api.weather.gov/zones/county/VAC137",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ050"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KTHV",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.87694,+ 39.91944+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KTHV",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 145.9992+ },+ "stationIdentifier": "KTHV",+ "name": "York, York Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 115353.35642993+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 6+ },+ "forecast": "https://api.weather.gov/zones/forecast/PAZ065",+ "county": "https://api.weather.gov/zones/county/PAC133",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/PAZ065"+ }+ },+ {+ "id": "https://api.weather.gov/stations/K7W4",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.7459,+ 37.9658+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/K7W4",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 106.9848+ },+ "stationIdentifier": "K7W4",+ "name": "Lake Anna Airport",+ "timeZone": "America/New_York",+ "provider": "NonFedAWOS",+ "subProvider": "TG",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 120287.52351643+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 211+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ510",+ "county": "https://api.weather.gov/zones/county/VAC109",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ510"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KLKU",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.97028,+ 38.00972+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KLKU",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 149.9616+ },+ "stationIdentifier": "KLKU",+ "name": "Louisa, Louisa County Airport/Freeman Field",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 127766.75036682+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 220+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ510",+ "county": "https://api.weather.gov/zones/county/VAC109",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ510"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KGVE",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.1658,+ 38.156+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KGVE",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 138.0744+ },+ "stationIdentifier": "KGVE",+ "name": "Gordonsville Municipal Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 128391.2961789+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 230+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ050",+ "county": "https://api.weather.gov/zones/county/VAC137",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ050"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KOFP",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.43444,+ 37.70806+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KOFP",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 61.8744+ },+ "stationIdentifier": "KOFP",+ "name": "Ashland, Hanover County Municipal Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 136024.0305297+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 195+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ511",+ "county": "https://api.weather.gov/zones/county/VAC085",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ511"+ }+ },+ {+ "id": "https://api.weather.gov/stations/K8W2",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.7081,+ 38.6557+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/K8W2",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 297.18+ },+ "stationIdentifier": "K8W2",+ "name": "New Market Airport",+ "timeZone": "America/New_York",+ "provider": "NonFedAWOS",+ "subProvider": "TG",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 148204.89525294+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 260+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ027",+ "county": "https://api.weather.gov/zones/county/VAC171",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ027"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KCHO",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.45516,+ 38.13738+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KCHO",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 195.072+ },+ "stationIdentifier": "KCHO",+ "name": "Charlottesville-Albemarle Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 149868.65924751+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 236+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ037",+ "county": "https://api.weather.gov/zones/county/VAC003",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ037"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KILG",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -75.60567,+ 39.67442+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KILG",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 21.9456+ },+ "stationIdentifier": "KILG",+ "name": "Wilmington Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 150192.24736691+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 53+ },+ "forecast": "https://api.weather.gov/zones/forecast/DEZ001",+ "county": "https://api.weather.gov/zones/county/DEC003",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/DEZ001"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KLNS",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -76.29446,+ 40.12058+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KLNS",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 121.0056+ },+ "stationIdentifier": "KLNS",+ "name": "Lancaster, Lancaster Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 150662.99625282+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 24+ },+ "forecast": "https://api.weather.gov/zones/forecast/PAZ066",+ "county": "https://api.weather.gov/zones/county/PAC071",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/PAZ066"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KRIC",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -77.32333,+ 37.51111+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KRIC",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 50.9016+ },+ "stationIdentifier": "KRIC",+ "name": "Richmond, Richmond International Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 155348.51781551+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 189+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ516",+ "county": "https://api.weather.gov/zones/county/VAC087",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ516"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KCBE",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.76083,+ 39.61528+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KCBE",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 235.9152+ },+ "stationIdentifier": "KCBE",+ "name": "Cumberland, Greater Cumberland Regional Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 169935.34418411+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 298+ },+ "forecast": "https://api.weather.gov/zones/forecast/WVZ504",+ "county": "https://api.weather.gov/zones/county/WVC057",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/WVZ504"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KMFV",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -75.76667,+ 37.65+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KMFV",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 14.9352+ },+ "stationIdentifier": "KMFV",+ "name": "Melfa / Accomack Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 176132.36120548+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 141+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ099",+ "county": "https://api.weather.gov/zones/county/VAC001",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ099"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KSHD",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.9,+ 38.26667+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KSHD",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 366.0648+ },+ "stationIdentifier": "KSHD",+ "name": "Staunton / Shenandoah",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 177057.76389612+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 247+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ025",+ "county": "https://api.weather.gov/zones/county/VAC015",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ025"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KVBW",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.96033,+ 38.36674+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KVBW",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 355.092+ },+ "stationIdentifier": "KVBW",+ "name": "Bridgewater Air Park",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 177856.00773665+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 251+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ026",+ "county": "https://api.weather.gov/zones/county/VAC165",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ026"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KW13",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.9444,+ 38.0769+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KW13",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 437.9976+ },+ "stationIdentifier": "KW13",+ "name": "Eagles Nest Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 189889.96881512+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 242+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ025",+ "county": "https://api.weather.gov/zones/county/VAC015",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ025"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KFVX",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -78.43333,+ 37.35+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KFVX",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 124.968+ },+ "stationIdentifier": "KFVX",+ "name": "Farmville",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 210810.53435535+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 216+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ061",+ "county": "https://api.weather.gov/zones/county/VAC049",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ061"+ }+ },+ {+ "id": "https://api.weather.gov/stations/K2G9",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -79.015,+ 40.0389+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/K2G9",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 693.42+ },+ "stationIdentifier": "K2G9",+ "name": "Somerset County Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 213433.56633747+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 307+ },+ "forecast": "https://api.weather.gov/zones/forecast/PAZ033",+ "county": "https://api.weather.gov/zones/county/PAC111",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/PAZ033"+ }+ },+ {+ "id": "https://api.weather.gov/stations/K2G4",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -79.3394,+ 39.5803+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/K2G4",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 893.9784+ },+ "stationIdentifier": "K2G4",+ "name": "Garrett County Airport",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 213678.17822955+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 291+ },+ "forecast": "https://api.weather.gov/zones/forecast/MDZ509",+ "county": "https://api.weather.gov/zones/county/MDC023",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/MDZ509"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KEKN",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -79.85278,+ 38.88528+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KEKN",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 605.028+ },+ "stationIdentifier": "KEKN",+ "name": "Elkins, Elkins-Randolph County-Jennings Randolph Field",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 244762.62251309+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 270+ },+ "forecast": "https://api.weather.gov/zones/forecast/WVZ525",+ "county": "https://api.weather.gov/zones/county/WVC083",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/WVZ525"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KLYH",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -79.20667,+ 37.32083+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KLYH",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 284.988+ },+ "stationIdentifier": "KLYH",+ "name": "Lynchburg, Lynchburg Regional Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 258495.03031807+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 228+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ045",+ "county": "https://api.weather.gov/zones/county/VAC031",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ045"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KMGW",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -79.92065,+ 39.64985+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KMGW",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 373.9896+ },+ "stationIdentifier": "KMGW",+ "name": "Morgantown Municipal-Hart Field",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 263264.84117026+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 289+ },+ "forecast": "https://api.weather.gov/zones/forecast/WVZ509",+ "county": "https://api.weather.gov/zones/county/WVC061",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/WVZ509"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KHSP",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -79.83333,+ 37.95+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KHSP",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 1156.1064+ },+ "stationIdentifier": "KHSP",+ "name": "Hot Springs / Ingalls",+ "timeZone": "America/New_York",+ "provider": "OTHER-MTR",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 265983.16324739+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 247+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ020",+ "county": "https://api.weather.gov/zones/county/VAC017",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ020"+ }+ },+ {+ "id": "https://api.weather.gov/stations/KROA",+ "type": "Feature",+ "geometry": {+ "type": "Point",+ "coordinates": [+ -79.97417,+ 37.31694+ ]+ },+ "properties": {+ "@id": "https://api.weather.gov/stations/KROA",+ "@type": "wx:ObservationStation",+ "elevation": {+ "unitCode": "wmoUnit:m",+ "value": 358.14+ },+ "stationIdentifier": "KROA",+ "name": "Roanoke, Roanoke Regional Airport",+ "timeZone": "America/New_York",+ "provider": "ASOS-HFM",+ "subProvider": "",+ "distance": {+ "unitCode": "wmoUnit:m",+ "value": 311633.96452436+ },+ "bearing": {+ "unitCode": "wmoUnit:degree_(angle)",+ "value": 236+ },+ "forecast": "https://api.weather.gov/zones/forecast/VAZ022",+ "county": "https://api.weather.gov/zones/county/VAC770",+ "fireWeatherZone": "https://api.weather.gov/zones/fire/VAZ022"+ }+ }+ ],+ "observationStations": [+ "https://api.weather.gov/stations/KDCA",+ "https://api.weather.gov/stations/KCGS",+ "https://api.weather.gov/stations/KADW",+ "https://api.weather.gov/stations/KDAA",+ "https://api.weather.gov/stations/KFME",+ "https://api.weather.gov/stations/KGAI",+ "https://api.weather.gov/stations/KIAD",+ "https://api.weather.gov/stations/KBWI",+ "https://api.weather.gov/stations/KHEF",+ "https://api.weather.gov/stations/KNAK",+ "https://api.weather.gov/stations/KNYG",+ "https://api.weather.gov/stations/KJYO",+ "https://api.weather.gov/stations/KDMH",+ "https://api.weather.gov/stations/KW29",+ "https://api.weather.gov/stations/KFDK",+ "https://api.weather.gov/stations/KRMN",+ "https://api.weather.gov/stations/KHWY",+ "https://api.weather.gov/stations/KMTN",+ "https://api.weather.gov/stations/K2W6",+ "https://api.weather.gov/stations/KEZF",+ "https://api.weather.gov/stations/KDMW",+ "https://api.weather.gov/stations/KCJR",+ "https://api.weather.gov/stations/KESN",+ "https://api.weather.gov/stations/KNHK",+ "https://api.weather.gov/stations/KRSP",+ "https://api.weather.gov/stations/KNUI",+ "https://api.weather.gov/stations/KAPG",+ "https://api.weather.gov/stations/KMRB",+ "https://api.weather.gov/stations/KOKV",+ "https://api.weather.gov/stations/K0W3",+ "https://api.weather.gov/stations/KFRR",+ "https://api.weather.gov/stations/KHGR",+ "https://api.weather.gov/stations/KOMH",+ "https://api.weather.gov/stations/KTHV",+ "https://api.weather.gov/stations/K7W4",+ "https://api.weather.gov/stations/KLKU",+ "https://api.weather.gov/stations/KGVE",+ "https://api.weather.gov/stations/KOFP",+ "https://api.weather.gov/stations/K8W2",+ "https://api.weather.gov/stations/KCHO",+ "https://api.weather.gov/stations/KILG",+ "https://api.weather.gov/stations/KLNS",+ "https://api.weather.gov/stations/KRIC",+ "https://api.weather.gov/stations/KCBE",+ "https://api.weather.gov/stations/KMFV",+ "https://api.weather.gov/stations/KSHD",+ "https://api.weather.gov/stations/KVBW",+ "https://api.weather.gov/stations/KW13",+ "https://api.weather.gov/stations/KFVX",+ "https://api.weather.gov/stations/K2G9",+ "https://api.weather.gov/stations/K2G4",+ "https://api.weather.gov/stations/KEKN",+ "https://api.weather.gov/stations/KLYH",+ "https://api.weather.gov/stations/KMGW",+ "https://api.weather.gov/stations/KHSP",+ "https://api.weather.gov/stations/KROA"+ ],+ "pagination": {+ "next": "https://api.weather.gov/stations?id%5B0%5D=K0W3&id%5B1%5D=K2G4&id%5B2%5D=K2G9&id%5B3%5D=K2W6&id%5B4%5D=K7W4&id%5B5%5D=K8W2&id%5B6%5D=KADW&id%5B7%5D=KAPG&id%5B8%5D=KBWI&id%5B9%5D=KCBE&id%5B10%5D=KCGS&id%5B11%5D=KCHO&id%5B12%5D=KCJR&id%5B13%5D=KDAA&id%5B14%5D=KDCA&id%5B15%5D=KDMH&id%5B16%5D=KDMW&id%5B17%5D=KEKN&id%5B18%5D=KESN&id%5B19%5D=KEZF&id%5B20%5D=KFDK&id%5B21%5D=KFME&id%5B22%5D=KFRR&id%5B23%5D=KFVX&id%5B24%5D=KGAI&id%5B25%5D=KGVE&id%5B26%5D=KHEF&id%5B27%5D=KHGR&id%5B28%5D=KHSP&id%5B29%5D=KHWY&id%5B30%5D=KIAD&id%5B31%5D=KILG&id%5B32%5D=KJYO&id%5B33%5D=KLKU&id%5B34%5D=KLNS&id%5B35%5D=KLYH&id%5B36%5D=KMFV&id%5B37%5D=KMGW&id%5B38%5D=KMRB&id%5B39%5D=KMTN&id%5B40%5D=KNAK&id%5B41%5D=KNHK&id%5B42%5D=KNUI&id%5B43%5D=KNYG&id%5B44%5D=KOFP&id%5B45%5D=KOKV&id%5B46%5D=KOMH&id%5B47%5D=KRIC&id%5B48%5D=KRMN&id%5B49%5D=KROA&id%5B50%5D=KRSP&id%5B51%5D=KSHD&id%5B52%5D=KTHV&id%5B53%5D=KVBW&id%5B54%5D=KW13&id%5B55%5D=KW29&cursor=eyJzIjo1MDB9"+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/openmeteo_archive.json b/src/hi/simulator/weather_sources/_captures/openmeteo_archive.jsonnew file mode 100644index 00000000..387a5399--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/openmeteo_archive.json@@ -0,0 +1,68 @@+{+ "latitude": 38.910366,+ "longitude": -77.07251,+ "generationtime_ms": 56.61880970001221,+ "utc_offset_seconds": 0,+ "timezone": "GMT",+ "timezone_abbreviation": "GMT",+ "elevation": 20.0,+ "daily_units": {+ "time": "iso8601",+ "weathercode": "wmo code",+ "temperature_2m_max": "\u00b0C",+ "temperature_2m_min": "\u00b0C",+ "precipitation_sum": "mm"+ },+ "daily": {+ "time": [+ "2026-05-25",+ "2026-05-26",+ "2026-05-27",+ "2026-05-28",+ "2026-05-29",+ "2026-05-30",+ "2026-05-31",+ "2026-06-01"+ ],+ "weathercode": [+ 55,+ 61,+ 61,+ 53,+ 0,+ 2,+ 0,+ 3+ ],+ "temperature_2m_max": [+ 23.3,+ 24.0,+ 26.5,+ 25.6,+ 25.6,+ 23.3,+ 26.4,+ 27.1+ ],+ "temperature_2m_min": [+ 16.0,+ 17.9,+ 20.5,+ 19.6,+ 12.6,+ 18.7,+ 11.6,+ 15.6+ ],+ "precipitation_sum": [+ 5.3,+ 5.8,+ 5.0,+ 0.8,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/openmeteo_current.json b/src/hi/simulator/weather_sources/_captures/openmeteo_current.jsonnew file mode 100644index 00000000..7c7b8e83--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/openmeteo_current.json@@ -0,0 +1,1057 @@+{+ "latitude": 38.890526,+ "longitude": -77.02716,+ "generationtime_ms": 0.3249645233154297,+ "utc_offset_seconds": 0,+ "timezone": "GMT",+ "timezone_abbreviation": "GMT",+ "elevation": 20.0,+ "current_weather_units": {+ "time": "iso8601",+ "interval": "seconds",+ "temperature": "\u00b0C",+ "windspeed": "km/h",+ "winddirection": "\u00b0",+ "is_day": "",+ "weathercode": "wmo code"+ },+ "current_weather": {+ "time": "2026-06-02T18:45",+ "interval": 900,+ "temperature": 23.8,+ "windspeed": 9.8,+ "winddirection": 8,+ "is_day": 1,+ "weathercode": 0+ },+ "hourly_units": {+ "time": "iso8601",+ "temperature_2m": "\u00b0C",+ "relativehumidity_2m": "%",+ "dewpoint_2m": "\u00b0C",+ "precipitation": "mm",+ "pressure_msl": "hPa"+ },+ "hourly": {+ "time": [+ "2026-06-02T00:00",+ "2026-06-02T01:00",+ "2026-06-02T02:00",+ "2026-06-02T03:00",+ "2026-06-02T04:00",+ "2026-06-02T05:00",+ "2026-06-02T06:00",+ "2026-06-02T07:00",+ "2026-06-02T08:00",+ "2026-06-02T09:00",+ "2026-06-02T10:00",+ "2026-06-02T11:00",+ "2026-06-02T12:00",+ "2026-06-02T13:00",+ "2026-06-02T14:00",+ "2026-06-02T15:00",+ "2026-06-02T16:00",+ "2026-06-02T17:00",+ "2026-06-02T18:00",+ "2026-06-02T19:00",+ "2026-06-02T20:00",+ "2026-06-02T21:00",+ "2026-06-02T22:00",+ "2026-06-02T23:00",+ "2026-06-03T00:00",+ "2026-06-03T01:00",+ "2026-06-03T02:00",+ "2026-06-03T03:00",+ "2026-06-03T04:00",+ "2026-06-03T05:00",+ "2026-06-03T06:00",+ "2026-06-03T07:00",+ "2026-06-03T08:00",+ "2026-06-03T09:00",+ "2026-06-03T10:00",+ "2026-06-03T11:00",+ "2026-06-03T12:00",+ "2026-06-03T13:00",+ "2026-06-03T14:00",+ "2026-06-03T15:00",+ "2026-06-03T16:00",+ "2026-06-03T17:00",+ "2026-06-03T18:00",+ "2026-06-03T19:00",+ "2026-06-03T20:00",+ "2026-06-03T21:00",+ "2026-06-03T22:00",+ "2026-06-03T23:00",+ "2026-06-04T00:00",+ "2026-06-04T01:00",+ "2026-06-04T02:00",+ "2026-06-04T03:00",+ "2026-06-04T04:00",+ "2026-06-04T05:00",+ "2026-06-04T06:00",+ "2026-06-04T07:00",+ "2026-06-04T08:00",+ "2026-06-04T09:00",+ "2026-06-04T10:00",+ "2026-06-04T11:00",+ "2026-06-04T12:00",+ "2026-06-04T13:00",+ "2026-06-04T14:00",+ "2026-06-04T15:00",+ "2026-06-04T16:00",+ "2026-06-04T17:00",+ "2026-06-04T18:00",+ "2026-06-04T19:00",+ "2026-06-04T20:00",+ "2026-06-04T21:00",+ "2026-06-04T22:00",+ "2026-06-04T23:00",+ "2026-06-05T00:00",+ "2026-06-05T01:00",+ "2026-06-05T02:00",+ "2026-06-05T03:00",+ "2026-06-05T04:00",+ "2026-06-05T05:00",+ "2026-06-05T06:00",+ "2026-06-05T07:00",+ "2026-06-05T08:00",+ "2026-06-05T09:00",+ "2026-06-05T10:00",+ "2026-06-05T11:00",+ "2026-06-05T12:00",+ "2026-06-05T13:00",+ "2026-06-05T14:00",+ "2026-06-05T15:00",+ "2026-06-05T16:00",+ "2026-06-05T17:00",+ "2026-06-05T18:00",+ "2026-06-05T19:00",+ "2026-06-05T20:00",+ "2026-06-05T21:00",+ "2026-06-05T22:00",+ "2026-06-05T23:00",+ "2026-06-06T00:00",+ "2026-06-06T01:00",+ "2026-06-06T02:00",+ "2026-06-06T03:00",+ "2026-06-06T04:00",+ "2026-06-06T05:00",+ "2026-06-06T06:00",+ "2026-06-06T07:00",+ "2026-06-06T08:00",+ "2026-06-06T09:00",+ "2026-06-06T10:00",+ "2026-06-06T11:00",+ "2026-06-06T12:00",+ "2026-06-06T13:00",+ "2026-06-06T14:00",+ "2026-06-06T15:00",+ "2026-06-06T16:00",+ "2026-06-06T17:00",+ "2026-06-06T18:00",+ "2026-06-06T19:00",+ "2026-06-06T20:00",+ "2026-06-06T21:00",+ "2026-06-06T22:00",+ "2026-06-06T23:00",+ "2026-06-07T00:00",+ "2026-06-07T01:00",+ "2026-06-07T02:00",+ "2026-06-07T03:00",+ "2026-06-07T04:00",+ "2026-06-07T05:00",+ "2026-06-07T06:00",+ "2026-06-07T07:00",+ "2026-06-07T08:00",+ "2026-06-07T09:00",+ "2026-06-07T10:00",+ "2026-06-07T11:00",+ "2026-06-07T12:00",+ "2026-06-07T13:00",+ "2026-06-07T14:00",+ "2026-06-07T15:00",+ "2026-06-07T16:00",+ "2026-06-07T17:00",+ "2026-06-07T18:00",+ "2026-06-07T19:00",+ "2026-06-07T20:00",+ "2026-06-07T21:00",+ "2026-06-07T22:00",+ "2026-06-07T23:00",+ "2026-06-08T00:00",+ "2026-06-08T01:00",+ "2026-06-08T02:00",+ "2026-06-08T03:00",+ "2026-06-08T04:00",+ "2026-06-08T05:00",+ "2026-06-08T06:00",+ "2026-06-08T07:00",+ "2026-06-08T08:00",+ "2026-06-08T09:00",+ "2026-06-08T10:00",+ "2026-06-08T11:00",+ "2026-06-08T12:00",+ "2026-06-08T13:00",+ "2026-06-08T14:00",+ "2026-06-08T15:00",+ "2026-06-08T16:00",+ "2026-06-08T17:00",+ "2026-06-08T18:00",+ "2026-06-08T19:00",+ "2026-06-08T20:00",+ "2026-06-08T21:00",+ "2026-06-08T22:00",+ "2026-06-08T23:00"+ ],+ "temperature_2m": [+ 23.1,+ 20.8,+ 19.1,+ 18.2,+ 16.2,+ 15.4,+ 14.6,+ 13.8,+ 13.2,+ 12.2,+ 11.9,+ 13.4,+ 15.2,+ 16.9,+ 18.5,+ 20.4,+ 22.0,+ 23.0,+ 23.4,+ 23.9,+ 24.3,+ 24.4,+ 24.3,+ 23.8,+ 22.4,+ 20.3,+ 18.7,+ 17.6,+ 16.8,+ 16.0,+ 15.6,+ 14.6,+ 13.9,+ 13.3,+ 12.7,+ 14.5,+ 18.9,+ 21.4,+ 23.0,+ 24.6,+ 25.6,+ 26.4,+ 27.0,+ 27.5,+ 27.9,+ 27.9,+ 27.6,+ 27.1,+ 25.3,+ 23.1,+ 21.0,+ 19.7,+ 17.9,+ 16.8,+ 16.0,+ 15.2,+ 14.6,+ 14.0,+ 14.0,+ 16.3,+ 19.5,+ 22.6,+ 24.9,+ 27.0,+ 28.4,+ 29.4,+ 29.8,+ 30.2,+ 30.4,+ 30.0,+ 29.1,+ 28.0,+ 25.1,+ 23.1,+ 22.0,+ 21.3,+ 20.7,+ 20.2,+ 19.5,+ 18.9,+ 18.4,+ 17.7,+ 17.3,+ 18.8,+ 21.0,+ 23.9,+ 27.3,+ 29.6,+ 31.0,+ 32.0,+ 32.5,+ 32.8,+ 32.8,+ 32.5,+ 32.4,+ 31.8,+ 28.3,+ 25.4,+ 24.1,+ 23.5,+ 23.3,+ 22.9,+ 22.1,+ 21.4,+ 20.6,+ 20.2,+ 19.8,+ 21.1,+ 23.7,+ 26.7,+ 29.8,+ 32.0,+ 33.4,+ 34.5,+ 35.1,+ 35.6,+ 35.9,+ 35.6,+ 35.0,+ 34.1,+ 31.2,+ 29.6,+ 28.6,+ 26.9,+ 26.1,+ 25.7,+ 25.0,+ 24.0,+ 23.9,+ 23.7,+ 23.1,+ 23.1,+ 25.0,+ 26.3,+ 27.8,+ 29.2,+ 30.5,+ 31.7,+ 32.3,+ 32.2,+ 31.5,+ 30.6,+ 29.6,+ 28.4,+ 27.1,+ 25.8,+ 24.4,+ 23.1,+ 22.1,+ 21.1,+ 20.2,+ 19.1,+ 18.0,+ 17.4,+ 17.6,+ 18.4,+ 19.0,+ 19.7,+ 20.2,+ 20.3,+ 19.5,+ 18.2,+ 17.0,+ 16.3,+ 15.8,+ 15.4,+ 15.2,+ 15.1+ ],+ "relativehumidity_2m": [+ 39,+ 48,+ 49,+ 45,+ 59,+ 62,+ 67,+ 73,+ 75,+ 80,+ 81,+ 80,+ 74,+ 59,+ 49,+ 42,+ 36,+ 28,+ 27,+ 29,+ 24,+ 26,+ 29,+ 30,+ 32,+ 33,+ 39,+ 41,+ 42,+ 43,+ 45,+ 48,+ 50,+ 52,+ 53,+ 54,+ 41,+ 38,+ 35,+ 32,+ 30,+ 27,+ 26,+ 24,+ 23,+ 22,+ 22,+ 23,+ 26,+ 26,+ 31,+ 34,+ 46,+ 54,+ 58,+ 63,+ 67,+ 70,+ 70,+ 67,+ 55,+ 45,+ 40,+ 35,+ 32,+ 29,+ 28,+ 28,+ 27,+ 28,+ 31,+ 35,+ 47,+ 53,+ 56,+ 58,+ 60,+ 61,+ 63,+ 64,+ 66,+ 69,+ 70,+ 64,+ 55,+ 48,+ 40,+ 33,+ 28,+ 25,+ 24,+ 24,+ 25,+ 26,+ 26,+ 27,+ 38,+ 47,+ 51,+ 53,+ 51,+ 51,+ 54,+ 58,+ 62,+ 61,+ 62,+ 58,+ 49,+ 42,+ 35,+ 30,+ 27,+ 25,+ 24,+ 23,+ 22,+ 22,+ 22,+ 25,+ 31,+ 38,+ 40,+ 45,+ 48,+ 49,+ 49,+ 50,+ 52,+ 53,+ 55,+ 56,+ 51,+ 49,+ 47,+ 44,+ 41,+ 38,+ 37,+ 38,+ 41,+ 44,+ 48,+ 52,+ 57,+ 63,+ 68,+ 72,+ 72,+ 69,+ 68,+ 71,+ 75,+ 77,+ 75,+ 71,+ 67,+ 64,+ 62,+ 63,+ 69,+ 77,+ 84,+ 86,+ 86,+ 86,+ 85,+ 83+ ],+ "dewpoint_2m": [+ 8.4,+ 9.4,+ 8.2,+ 6.1,+ 8.2,+ 8.1,+ 8.6,+ 9.1,+ 8.9,+ 8.9,+ 8.7,+ 10.0,+ 10.6,+ 8.9,+ 7.6,+ 7.1,+ 6.3,+ 3.5,+ 3.4,+ 4.8,+ 2.4,+ 3.7,+ 5.2,+ 5.2,+ 4.9,+ 3.5,+ 4.5,+ 4.2,+ 3.8,+ 3.4,+ 3.7,+ 3.7,+ 3.7,+ 3.7,+ 3.3,+ 5.3,+ 5.3,+ 6.5,+ 6.7,+ 6.8,+ 6.7,+ 5.9,+ 5.9,+ 5.2,+ 4.8,+ 4.2,+ 4.0,+ 4.2,+ 4.4,+ 2.6,+ 3.2,+ 3.4,+ 6.1,+ 7.4,+ 7.7,+ 8.2,+ 8.5,+ 8.6,+ 8.6,+ 10.1,+ 10.1,+ 10.1,+ 10.4,+ 10.3,+ 10.1,+ 9.5,+ 9.4,+ 9.7,+ 9.3,+ 9.5,+ 10.3,+ 11.1,+ 13.0,+ 13.0,+ 12.8,+ 12.7,+ 12.7,+ 12.5,+ 12.3,+ 12.0,+ 12.0,+ 12.0,+ 11.8,+ 11.9,+ 11.6,+ 12.3,+ 12.5,+ 11.7,+ 10.4,+ 9.5,+ 9.4,+ 9.6,+ 10.2,+ 10.6,+ 10.5,+ 10.5,+ 12.7,+ 13.3,+ 13.4,+ 13.4,+ 12.6,+ 12.3,+ 12.4,+ 12.8,+ 13.1,+ 12.5,+ 12.3,+ 12.5,+ 12.4,+ 12.8,+ 12.7,+ 12.3,+ 11.9,+ 11.7,+ 11.5,+ 11.3,+ 10.9,+ 10.6,+ 10.1,+ 11.3,+ 12.1,+ 13.8,+ 13.7,+ 14.0,+ 14.3,+ 14.2,+ 13.6,+ 13.0,+ 13.5,+ 13.6,+ 13.6,+ 13.9,+ 14.2,+ 14.7,+ 15.4,+ 15.7,+ 15.8,+ 15.6,+ 15.8,+ 16.1,+ 16.7,+ 17.0,+ 17.5,+ 17.6,+ 17.9,+ 18.2,+ 18.1,+ 17.8,+ 16.8,+ 15.2,+ 14.1,+ 13.7,+ 13.5,+ 13.4,+ 13.1,+ 13.0,+ 12.8,+ 12.7,+ 12.7,+ 13.1,+ 13.7,+ 14.1,+ 14.3,+ 14.0,+ 13.4,+ 13.1,+ 12.7,+ 12.3+ ],+ "precipitation": [+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ],+ "pressure_msl": [+ 1016.4,+ 1017.4,+ 1018.7,+ 1019.6,+ 1020.3,+ 1021.0,+ 1021.5,+ 1022.0,+ 1022.0,+ 1022.3,+ 1022.7,+ 1023.2,+ 1023.6,+ 1024.1,+ 1024.1,+ 1024.2,+ 1024.0,+ 1023.6,+ 1021.9,+ 1021.1,+ 1022.0,+ 1021.8,+ 1021.8,+ 1021.9,+ 1022.1,+ 1021.6,+ 1022.1,+ 1022.5,+ 1022.3,+ 1021.8,+ 1022.2,+ 1022.4,+ 1022.6,+ 1022.5,+ 1022.5,+ 1023.5,+ 1023.9,+ 1024.5,+ 1024.4,+ 1024.3,+ 1024.6,+ 1024.2,+ 1023.5,+ 1023.1,+ 1022.8,+ 1022.0,+ 1021.9,+ 1022.0,+ 1022.5,+ 1022.7,+ 1022.5,+ 1022.9,+ 1023.5,+ 1023.3,+ 1023.1,+ 1023.1,+ 1023.5,+ 1023.6,+ 1023.5,+ 1023.8,+ 1024.0,+ 1023.6,+ 1023.2,+ 1022.7,+ 1022.1,+ 1021.5,+ 1020.9,+ 1020.0,+ 1019.5,+ 1018.9,+ 1018.5,+ 1018.3,+ 1018.4,+ 1018.6,+ 1019.1,+ 1019.2,+ 1019.3,+ 1019.4,+ 1019.5,+ 1019.5,+ 1019.1,+ 1019.0,+ 1018.9,+ 1019.0,+ 1019.1,+ 1019.1,+ 1018.6,+ 1018.3,+ 1017.9,+ 1017.4,+ 1016.9,+ 1016.3,+ 1016.0,+ 1015.5,+ 1015.0,+ 1014.6,+ 1014.8,+ 1015.2,+ 1015.5,+ 1015.9,+ 1015.5,+ 1015.0,+ 1015.0,+ 1014.9,+ 1015.0,+ 1014.8,+ 1015.0,+ 1015.6,+ 1015.7,+ 1015.4,+ 1015.0,+ 1014.4,+ 1013.7,+ 1012.9,+ 1012.1,+ 1011.1,+ 1010.4,+ 1009.9,+ 1009.4,+ 1009.2,+ 1009.8,+ 1010.5,+ 1010.9,+ 1010.7,+ 1010.5,+ 1010.5,+ 1010.1,+ 1010.3,+ 1010.3,+ 1010.4,+ 1010.4,+ 1010.4,+ 1010.5,+ 1010.6,+ 1010.6,+ 1010.5,+ 1010.1,+ 1009.7,+ 1009.3,+ 1009.1,+ 1009.1,+ 1009.2,+ 1009.5,+ 1010.0,+ 1010.5,+ 1011.1,+ 1011.6,+ 1012.2,+ 1012.7,+ 1013.1,+ 1013.5,+ 1014.0,+ 1014.4,+ 1014.9,+ 1015.3,+ 1015.8,+ 1016.3,+ 1016.9,+ 1017.6,+ 1018.2,+ 1018.7,+ 1019.2,+ 1019.7,+ 1020.3,+ 1020.9,+ 1021.4,+ 1021.8,+ 1022.2+ ]+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/openmeteo_forecast_daily.json b/src/hi/simulator/weather_sources/_captures/openmeteo_forecast_daily.jsonnew file mode 100644index 00000000..63d9c316--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/openmeteo_forecast_daily.json@@ -0,0 +1,98 @@+{+ "latitude": 38.890526,+ "longitude": -77.02716,+ "generationtime_ms": 0.3412961959838867,+ "utc_offset_seconds": 0,+ "timezone": "GMT",+ "timezone_abbreviation": "GMT",+ "elevation": 20.0,+ "daily_units": {+ "time": "iso8601",+ "weathercode": "wmo code",+ "temperature_2m_max": "\u00b0C",+ "temperature_2m_min": "\u00b0C",+ "precipitation_sum": "mm"+ },+ "daily": {+ "time": [+ "2026-06-02",+ "2026-06-03",+ "2026-06-04",+ "2026-06-05",+ "2026-06-06",+ "2026-06-07",+ "2026-06-08",+ "2026-06-09",+ "2026-06-10",+ "2026-06-11",+ "2026-06-12",+ "2026-06-13",+ "2026-06-14",+ "2026-06-15"+ ],+ "weathercode": [+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 51,+ 51,+ 3,+ 3,+ 3,+ 1+ ],+ "temperature_2m_max": [+ 24.4,+ 27.9,+ 30.4,+ 32.8,+ 35.9,+ 32.3,+ 27.1,+ 19.6,+ 20.2,+ 31.2,+ 32.7,+ 29.7,+ 34.3,+ 36.3+ ],+ "temperature_2m_min": [+ 11.9,+ 12.7,+ 14.0,+ 17.3,+ 19.8,+ 23.1,+ 15.1,+ 15.1,+ 14.9,+ 18.1,+ 20.1,+ 15.3,+ 18.5,+ 22.7+ ],+ "precipitation_sum": [+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.1,+ 0.4,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/openmeteo_forecast_hourly.json b/src/hi/simulator/weather_sources/_captures/openmeteo_forecast_hourly.jsonnew file mode 100644index 00000000..f698df16--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/openmeteo_forecast_hourly.json@@ -0,0 +1,1210 @@+{+ "latitude": 38.890526,+ "longitude": -77.02716,+ "generationtime_ms": 0.2830028533935547,+ "utc_offset_seconds": 0,+ "timezone": "GMT",+ "timezone_abbreviation": "GMT",+ "elevation": 20.0,+ "hourly_units": {+ "time": "iso8601",+ "temperature_2m": "\u00b0C",+ "relativehumidity_2m": "%",+ "windspeed_10m": "km/h",+ "winddirection_10m": "\u00b0",+ "precipitation": "mm",+ "weathercode": "wmo code"+ },+ "hourly": {+ "time": [+ "2026-06-02T00:00",+ "2026-06-02T01:00",+ "2026-06-02T02:00",+ "2026-06-02T03:00",+ "2026-06-02T04:00",+ "2026-06-02T05:00",+ "2026-06-02T06:00",+ "2026-06-02T07:00",+ "2026-06-02T08:00",+ "2026-06-02T09:00",+ "2026-06-02T10:00",+ "2026-06-02T11:00",+ "2026-06-02T12:00",+ "2026-06-02T13:00",+ "2026-06-02T14:00",+ "2026-06-02T15:00",+ "2026-06-02T16:00",+ "2026-06-02T17:00",+ "2026-06-02T18:00",+ "2026-06-02T19:00",+ "2026-06-02T20:00",+ "2026-06-02T21:00",+ "2026-06-02T22:00",+ "2026-06-02T23:00",+ "2026-06-03T00:00",+ "2026-06-03T01:00",+ "2026-06-03T02:00",+ "2026-06-03T03:00",+ "2026-06-03T04:00",+ "2026-06-03T05:00",+ "2026-06-03T06:00",+ "2026-06-03T07:00",+ "2026-06-03T08:00",+ "2026-06-03T09:00",+ "2026-06-03T10:00",+ "2026-06-03T11:00",+ "2026-06-03T12:00",+ "2026-06-03T13:00",+ "2026-06-03T14:00",+ "2026-06-03T15:00",+ "2026-06-03T16:00",+ "2026-06-03T17:00",+ "2026-06-03T18:00",+ "2026-06-03T19:00",+ "2026-06-03T20:00",+ "2026-06-03T21:00",+ "2026-06-03T22:00",+ "2026-06-03T23:00",+ "2026-06-04T00:00",+ "2026-06-04T01:00",+ "2026-06-04T02:00",+ "2026-06-04T03:00",+ "2026-06-04T04:00",+ "2026-06-04T05:00",+ "2026-06-04T06:00",+ "2026-06-04T07:00",+ "2026-06-04T08:00",+ "2026-06-04T09:00",+ "2026-06-04T10:00",+ "2026-06-04T11:00",+ "2026-06-04T12:00",+ "2026-06-04T13:00",+ "2026-06-04T14:00",+ "2026-06-04T15:00",+ "2026-06-04T16:00",+ "2026-06-04T17:00",+ "2026-06-04T18:00",+ "2026-06-04T19:00",+ "2026-06-04T20:00",+ "2026-06-04T21:00",+ "2026-06-04T22:00",+ "2026-06-04T23:00",+ "2026-06-05T00:00",+ "2026-06-05T01:00",+ "2026-06-05T02:00",+ "2026-06-05T03:00",+ "2026-06-05T04:00",+ "2026-06-05T05:00",+ "2026-06-05T06:00",+ "2026-06-05T07:00",+ "2026-06-05T08:00",+ "2026-06-05T09:00",+ "2026-06-05T10:00",+ "2026-06-05T11:00",+ "2026-06-05T12:00",+ "2026-06-05T13:00",+ "2026-06-05T14:00",+ "2026-06-05T15:00",+ "2026-06-05T16:00",+ "2026-06-05T17:00",+ "2026-06-05T18:00",+ "2026-06-05T19:00",+ "2026-06-05T20:00",+ "2026-06-05T21:00",+ "2026-06-05T22:00",+ "2026-06-05T23:00",+ "2026-06-06T00:00",+ "2026-06-06T01:00",+ "2026-06-06T02:00",+ "2026-06-06T03:00",+ "2026-06-06T04:00",+ "2026-06-06T05:00",+ "2026-06-06T06:00",+ "2026-06-06T07:00",+ "2026-06-06T08:00",+ "2026-06-06T09:00",+ "2026-06-06T10:00",+ "2026-06-06T11:00",+ "2026-06-06T12:00",+ "2026-06-06T13:00",+ "2026-06-06T14:00",+ "2026-06-06T15:00",+ "2026-06-06T16:00",+ "2026-06-06T17:00",+ "2026-06-06T18:00",+ "2026-06-06T19:00",+ "2026-06-06T20:00",+ "2026-06-06T21:00",+ "2026-06-06T22:00",+ "2026-06-06T23:00",+ "2026-06-07T00:00",+ "2026-06-07T01:00",+ "2026-06-07T02:00",+ "2026-06-07T03:00",+ "2026-06-07T04:00",+ "2026-06-07T05:00",+ "2026-06-07T06:00",+ "2026-06-07T07:00",+ "2026-06-07T08:00",+ "2026-06-07T09:00",+ "2026-06-07T10:00",+ "2026-06-07T11:00",+ "2026-06-07T12:00",+ "2026-06-07T13:00",+ "2026-06-07T14:00",+ "2026-06-07T15:00",+ "2026-06-07T16:00",+ "2026-06-07T17:00",+ "2026-06-07T18:00",+ "2026-06-07T19:00",+ "2026-06-07T20:00",+ "2026-06-07T21:00",+ "2026-06-07T22:00",+ "2026-06-07T23:00",+ "2026-06-08T00:00",+ "2026-06-08T01:00",+ "2026-06-08T02:00",+ "2026-06-08T03:00",+ "2026-06-08T04:00",+ "2026-06-08T05:00",+ "2026-06-08T06:00",+ "2026-06-08T07:00",+ "2026-06-08T08:00",+ "2026-06-08T09:00",+ "2026-06-08T10:00",+ "2026-06-08T11:00",+ "2026-06-08T12:00",+ "2026-06-08T13:00",+ "2026-06-08T14:00",+ "2026-06-08T15:00",+ "2026-06-08T16:00",+ "2026-06-08T17:00",+ "2026-06-08T18:00",+ "2026-06-08T19:00",+ "2026-06-08T20:00",+ "2026-06-08T21:00",+ "2026-06-08T22:00",+ "2026-06-08T23:00"+ ],+ "temperature_2m": [+ 23.1,+ 20.8,+ 19.1,+ 18.2,+ 16.2,+ 15.4,+ 14.6,+ 13.8,+ 13.2,+ 12.2,+ 11.9,+ 13.4,+ 15.2,+ 16.9,+ 18.5,+ 20.4,+ 22.0,+ 23.0,+ 23.4,+ 23.9,+ 24.3,+ 24.4,+ 24.3,+ 23.8,+ 22.4,+ 20.3,+ 18.7,+ 17.6,+ 16.8,+ 16.0,+ 15.6,+ 14.6,+ 13.9,+ 13.3,+ 12.7,+ 14.5,+ 18.9,+ 21.4,+ 23.0,+ 24.6,+ 25.6,+ 26.4,+ 27.0,+ 27.5,+ 27.9,+ 27.9,+ 27.6,+ 27.1,+ 25.3,+ 23.1,+ 21.0,+ 19.7,+ 17.9,+ 16.8,+ 16.0,+ 15.2,+ 14.6,+ 14.0,+ 14.0,+ 16.3,+ 19.5,+ 22.6,+ 24.9,+ 27.0,+ 28.4,+ 29.4,+ 29.8,+ 30.2,+ 30.4,+ 30.0,+ 29.1,+ 28.0,+ 25.1,+ 23.1,+ 22.0,+ 21.3,+ 20.7,+ 20.2,+ 19.5,+ 18.9,+ 18.4,+ 17.7,+ 17.3,+ 18.8,+ 21.0,+ 23.9,+ 27.3,+ 29.6,+ 31.0,+ 32.0,+ 32.5,+ 32.8,+ 32.8,+ 32.5,+ 32.4,+ 31.8,+ 28.3,+ 25.4,+ 24.1,+ 23.5,+ 23.3,+ 22.9,+ 22.1,+ 21.4,+ 20.6,+ 20.2,+ 19.8,+ 21.1,+ 23.7,+ 26.7,+ 29.8,+ 32.0,+ 33.4,+ 34.5,+ 35.1,+ 35.6,+ 35.9,+ 35.6,+ 35.0,+ 34.1,+ 31.2,+ 29.6,+ 28.6,+ 26.9,+ 26.1,+ 25.7,+ 25.0,+ 24.0,+ 23.9,+ 23.7,+ 23.1,+ 23.1,+ 25.0,+ 26.3,+ 27.8,+ 29.2,+ 30.5,+ 31.7,+ 32.3,+ 32.2,+ 31.5,+ 30.6,+ 29.6,+ 28.4,+ 27.1,+ 25.8,+ 24.4,+ 23.1,+ 22.1,+ 21.1,+ 20.2,+ 19.1,+ 18.0,+ 17.4,+ 17.6,+ 18.4,+ 19.0,+ 19.7,+ 20.2,+ 20.3,+ 19.5,+ 18.2,+ 17.0,+ 16.3,+ 15.8,+ 15.4,+ 15.2,+ 15.1+ ],+ "relativehumidity_2m": [+ 39,+ 48,+ 49,+ 45,+ 59,+ 62,+ 67,+ 73,+ 75,+ 80,+ 81,+ 80,+ 74,+ 59,+ 49,+ 42,+ 36,+ 28,+ 27,+ 29,+ 24,+ 26,+ 29,+ 30,+ 32,+ 33,+ 39,+ 41,+ 42,+ 43,+ 45,+ 48,+ 50,+ 52,+ 53,+ 54,+ 41,+ 38,+ 35,+ 32,+ 30,+ 27,+ 26,+ 24,+ 23,+ 22,+ 22,+ 23,+ 26,+ 26,+ 31,+ 34,+ 46,+ 54,+ 58,+ 63,+ 67,+ 70,+ 70,+ 67,+ 55,+ 45,+ 40,+ 35,+ 32,+ 29,+ 28,+ 28,+ 27,+ 28,+ 31,+ 35,+ 47,+ 53,+ 56,+ 58,+ 60,+ 61,+ 63,+ 64,+ 66,+ 69,+ 70,+ 64,+ 55,+ 48,+ 40,+ 33,+ 28,+ 25,+ 24,+ 24,+ 25,+ 26,+ 26,+ 27,+ 38,+ 47,+ 51,+ 53,+ 51,+ 51,+ 54,+ 58,+ 62,+ 61,+ 62,+ 58,+ 49,+ 42,+ 35,+ 30,+ 27,+ 25,+ 24,+ 23,+ 22,+ 22,+ 22,+ 25,+ 31,+ 38,+ 40,+ 45,+ 48,+ 49,+ 49,+ 50,+ 52,+ 53,+ 55,+ 56,+ 51,+ 49,+ 47,+ 44,+ 41,+ 38,+ 37,+ 38,+ 41,+ 44,+ 48,+ 52,+ 57,+ 63,+ 68,+ 72,+ 72,+ 69,+ 68,+ 71,+ 75,+ 77,+ 75,+ 71,+ 67,+ 64,+ 62,+ 63,+ 69,+ 77,+ 84,+ 86,+ 86,+ 86,+ 85,+ 83+ ],+ "windspeed_10m": [+ 14.8,+ 9.5,+ 10.9,+ 10.0,+ 9.0,+ 4.8,+ 3.8,+ 3.8,+ 6.3,+ 3.7,+ 5.1,+ 6.8,+ 10.5,+ 8.2,+ 6.2,+ 8.4,+ 7.1,+ 8.4,+ 12.8,+ 11.3,+ 13.2,+ 9.4,+ 10.8,+ 10.0,+ 5.4,+ 8.4,+ 7.4,+ 1.8,+ 4.9,+ 4.0,+ 5.9,+ 3.4,+ 3.1,+ 4.7,+ 1.5,+ 3.9,+ 8.0,+ 11.5,+ 13.0,+ 15.6,+ 17.4,+ 17.6,+ 17.0,+ 16.3,+ 15.5,+ 14.1,+ 12.6,+ 9.7,+ 5.4,+ 6.9,+ 5.8,+ 3.0,+ 7.3,+ 5.4,+ 4.3,+ 3.1,+ 1.8,+ 1.4,+ 1.9,+ 2.9,+ 6.7,+ 7.0,+ 7.6,+ 7.4,+ 8.0,+ 9.7,+ 12.5,+ 12.0,+ 12.8,+ 11.8,+ 10.8,+ 8.3,+ 4.0,+ 6.9,+ 6.9,+ 8.0,+ 9.3,+ 10.3,+ 9.9,+ 9.2,+ 8.2,+ 6.9,+ 6.4,+ 6.2,+ 6.8,+ 6.3,+ 7.4,+ 8.9,+ 11.2,+ 12.2,+ 13.8,+ 14.5,+ 14.5,+ 13.0,+ 6.5,+ 6.0,+ 7.2,+ 6.6,+ 5.4,+ 2.4,+ 3.7,+ 4.0,+ 4.8,+ 6.0,+ 7.5,+ 6.7,+ 6.6,+ 7.4,+ 7.5,+ 7.1,+ 7.6,+ 8.9,+ 9.4,+ 11.4,+ 13.9,+ 16.1,+ 17.2,+ 17.8,+ 16.1,+ 15.5,+ 14.5,+ 10.1,+ 8.0,+ 7.2,+ 4.4,+ 6.9,+ 7.2,+ 5.9,+ 4.0,+ 6.4,+ 6.5,+ 7.9,+ 12.7,+ 12.4,+ 13.0,+ 14.9,+ 16.3,+ 17.0,+ 17.3,+ 17.8,+ 18.6,+ 18.7,+ 16.9,+ 14.6,+ 13.0,+ 10.8,+ 8.3,+ 6.9,+ 7.6,+ 9.0,+ 10.5,+ 10.9,+ 10.9,+ 11.3,+ 12.3,+ 13.3,+ 14.4,+ 14.6,+ 14.5,+ 14.7,+ 15.0,+ 15.6,+ 15.6,+ 15.3,+ 15.0,+ 14.6,+ 14.0,+ 13.0+ ],+ "winddirection_10m": [+ 86,+ 99,+ 73,+ 77,+ 74,+ 77,+ 73,+ 343,+ 13,+ 11,+ 352,+ 18,+ 6,+ 15,+ 36,+ 25,+ 45,+ 31,+ 10,+ 9,+ 11,+ 2,+ 360,+ 15,+ 352,+ 320,+ 309,+ 307,+ 197,+ 297,+ 313,+ 302,+ 249,+ 302,+ 256,+ 202,+ 352,+ 358,+ 2,+ 353,+ 353,+ 1,+ 4,+ 5,+ 360,+ 4,+ 360,+ 356,+ 4,+ 332,+ 90,+ 284,+ 189,+ 180,+ 180,+ 159,+ 169,+ 270,+ 348,+ 310,+ 296,+ 339,+ 341,+ 346,+ 350,+ 345,+ 342,+ 339,+ 338,+ 337,+ 334,+ 342,+ 80,+ 141,+ 174,+ 188,+ 196,+ 205,+ 213,+ 219,+ 221,+ 227,+ 232,+ 249,+ 273,+ 301,+ 309,+ 310,+ 310,+ 313,+ 313,+ 314,+ 316,+ 321,+ 304,+ 205,+ 143,+ 99,+ 110,+ 207,+ 209,+ 207,+ 207,+ 197,+ 215,+ 216,+ 225,+ 231,+ 235,+ 240,+ 239,+ 243,+ 247,+ 252,+ 239,+ 230,+ 233,+ 234,+ 220,+ 202,+ 210,+ 268,+ 288,+ 297,+ 215,+ 189,+ 198,+ 227,+ 275,+ 207,+ 214,+ 204,+ 235,+ 253,+ 275,+ 290,+ 292,+ 291,+ 293,+ 302,+ 311,+ 320,+ 331,+ 344,+ 357,+ 4,+ 5,+ 6,+ 3,+ 358,+ 354,+ 352,+ 352,+ 353,+ 357,+ 360,+ 4,+ 9,+ 14,+ 17,+ 17,+ 15,+ 15,+ 19,+ 27,+ 33,+ 35,+ 34+ ],+ "precipitation": [+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ],+ "weathercode": [+ 3,+ 1,+ 3,+ 3,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 2,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 1,+ 0,+ 0,+ 1,+ 2,+ 3,+ 3,+ 3,+ 3,+ 1,+ 0,+ 0,+ 0,+ 3,+ 3,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 2,+ 1,+ 3,+ 2,+ 0,+ 0,+ 3,+ 3,+ 2,+ 3,+ 2,+ 0,+ 0,+ 2,+ 3,+ 3,+ 3,+ 1,+ 0,+ 3,+ 3,+ 3,+ 0,+ 1,+ 0,+ 2,+ 3,+ 0,+ 0,+ 3,+ 0,+ 1,+ 2,+ 2,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 3,+ 3,+ 2,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 2,+ 2,+ 1,+ 1,+ 1,+ 1,+ 1,+ 1,+ 1,+ 1,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 0,+ 1,+ 1,+ 2,+ 2,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3,+ 3+ ]+ }+}diff --git a/src/hi/simulator/weather_sources/_captures/sunrise_sunset.json b/src/hi/simulator/weather_sources/_captures/sunrise_sunset.jsonnew file mode 100644index 00000000..036b7f76--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/sunrise_sunset.json@@ -0,0 +1,16 @@+{+ "results": {+ "sunrise": "2026-06-02T09:42:37+00:00",+ "sunset": "2026-06-03T00:29:47+00:00",+ "solar_noon": "2026-06-02T17:06:12+00:00",+ "day_length": 53230,+ "civil_twilight_begin": "2026-06-02T09:12:42+00:00",+ "civil_twilight_end": "2026-06-03T00:59:41+00:00",+ "nautical_twilight_begin": "2026-06-02T08:33:18+00:00",+ "nautical_twilight_end": "2026-06-03T01:39:06+00:00",+ "astronomical_twilight_begin": "2026-06-02T07:48:39+00:00",+ "astronomical_twilight_end": "2026-06-03T02:23:44+00:00"+ },+ "status": "OK",+ "tzid": "UTC"+}diff --git a/src/hi/simulator/weather_sources/_captures/usno_oneday.json b/src/hi/simulator/weather_sources/_captures/usno_oneday.jsonnew file mode 100644index 00000000..f799bdcb--- /dev/null+++ b/src/hi/simulator/weather_sources/_captures/usno_oneday.json@@ -0,0 +1,67 @@+{+ "apiversion": "4.0.1",+ "geometry": {+ "coordinates": [+ -77.0365,+ 38.8977+ ],+ "type": "Point"+ },+ "properties": {+ "data": {+ "closestphase": {+ "day": 31,+ "month": 5,+ "phase": "Full Moon",+ "time": "04:45",+ "year": 2026+ },+ "curphase": "Waning Gibbous",+ "day": 2,+ "day_of_week": "Tuesday",+ "fracillum": "95%",+ "isdst": false,+ "label": null,+ "month": 6,+ "moondata": [+ {+ "phen": "Upper Transit",+ "time": "02:37"+ },+ {+ "phen": "Set",+ "time": "07:06"+ },+ {+ "phen": "Rise",+ "time": "22:55"+ }+ ],+ "sundata": [+ {+ "phen": "Begin Civil Twilight",+ "time": "05:13"+ },+ {+ "phen": "Rise",+ "time": "05:44"+ },+ {+ "phen": "Upper Transit",+ "time": "13:06"+ },+ {+ "phen": "Set",+ "time": "20:28"+ },+ {+ "phen": "End Civil Twilight",+ "time": "21:00"+ }+ ],+ "tz": -4.0,+ "year": 2026+ }+ },+ "type": "Feature"+}diff --git a/src/hi/simulator/weather_sources/fault_state.py b/src/hi/simulator/weather_sources/fault_state.pynew file mode 100644index 00000000..aaa591fe--- /dev/null+++ b/src/hi/simulator/weather_sources/fault_state.py@@ -0,0 +1,24 @@+"""In-memory fault-mode selection per weather source.++Mirrors how the services simulator holds fault mode: a transient testing+toggle (not profile-scoped, not persisted) that resets on restart. Keyed+by the source's short name — the same segment that appears in its API+URL path (``/weather/<short_name>/api/...``).+"""+import threading++from hi.simulator.fault_injection import FaultMode++_lock = threading.Lock()+_fault_mode_by_source = {}+++def get_fault_mode( short_name : str ) -> FaultMode:+ with _lock:+ return _fault_mode_by_source.get( short_name, FaultMode.default() )+++def set_fault_mode( short_name : str, fault_mode : FaultMode ) -> None:+ with _lock:+ _fault_mode_by_source[ short_name ] = fault_mode+ returndiff --git a/src/hi/simulator/weather_sources/middleware.py b/src/hi/simulator/weather_sources/middleware.pynew file mode 100644index 00000000..8de1f6bc--- /dev/null+++ b/src/hi/simulator/weather_sources/middleware.py@@ -0,0 +1,30 @@+"""Fault injection for the weather-source simulators.++Parallels ``ServiceFaultInjectionMiddleware`` but scoped to each weather+source's API surface. The matcher targets ``/weather/<short_name>/api/``+only, so the tab pages and the fault-mode / state setters (which live+off the ``api/`` subpath) are never themselves faulted. A single source+short name covers all of that source's API endpoints — e.g. Open-Meteo's+forecast and archive endpoints both sit under ``/weather/openmeteo/api/``.+"""+import re++from hi.simulator.fault_injection import apply_fault_mode++from .fault_state import get_fault_mode+++class WeatherFaultInjectionMiddleware:++ _WEATHER_API_RE = re.compile( r'^/weather/(?P<short_name>[^/]+)/api/' )++ def __init__(self, get_response):+ self.get_response = get_response+ return++ def __call__(self, request):+ match = self._WEATHER_API_RE.match( request.path )+ if not match:+ return self.get_response( request )+ fault_mode = get_fault_mode( match.group( 'short_name' ) )+ return apply_fault_mode( fault_mode, request, self.get_response )diff --git a/src/hi/simulator/weather_sources/nws/constants.py b/src/hi/simulator/weather_sources/nws/constants.pyindex 4b0bafbb..0905b9d9 100644--- a/src/hi/simulator/weather_sources/nws/constants.py+++ b/src/hi/simulator/weather_sources/nws/constants.py@@ -87,3 +87,13 @@ EVENT_CODE_CHOICES = [( 'LAE', 'LAE — Local Area Emergency' ),( 'TST', 'TST — Test Message' ),]++# METAR sky-cover codes for the observation ``cloudLayers`` amount. The+# main app maps these to a cloud-cover percentage.+CLOUD_AMOUNT_CHOICES = [+ ( 'CLR', 'CLR — Clear' ),+ ( 'FEW', 'FEW — Few' ),+ ( 'SCT', 'SCT — Scattered' ),+ ( 'BKN', 'BKN — Broken' ),+ ( 'OVC', 'OVC — Overcast' ),+]diff --git a/src/hi/simulator/weather_sources/nws/forms.py b/src/hi/simulator/weather_sources/nws/forms.pyindex af588815..71934c45 100644--- a/src/hi/simulator/weather_sources/nws/forms.py+++ b/src/hi/simulator/weather_sources/nws/forms.py@@ -1,6 +1,61 @@from django import forms-from .models import NwsSimAlert+from .models import NwsSimAlert, NwsSimConditions+++class NwsSimConditionsForm( forms.ModelForm ):++ def __init__( self, *args, **kwargs ):+ super().__init__( *args, **kwargs )+ # Each control auto-submits on change (edits take effect+ # immediately in-page) and uses the compact -sm sizing so the+ # label / input / description fit on one row.+ for field in self.fields.values():+ widget = field.widget+ widget.attrs['onchange-async'] = 'true'+ css = widget.attrs.get( 'class', '' )+ if isinstance( widget, forms.Select ):+ widget.attrs['class'] = f'{css} custom-select-sm'.strip()+ elif not isinstance( widget, forms.CheckboxInput ):+ widget.attrs['class'] = f'{css} form-control-sm'.strip()++ class Meta:+ model = NwsSimConditions+ fields = (+ 'text_description',+ 'temperature_c',+ 'dewpoint_c',+ 'relative_humidity_pct',+ 'wind_speed_kmh',+ 'wind_direction_deg',+ 'barometric_pressure_hpa',+ 'cloud_amount',+ 'precip_probability_pct',+ 'is_daytime',+ )+ widgets = {+ 'text_description': forms.TextInput( attrs = { 'class': 'form-control' } ),+ 'temperature_c': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'dewpoint_c': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'relative_humidity_pct': forms.NumberInput( attrs = { 'class': 'form-control' } ),+ 'wind_speed_kmh': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'wind_direction_deg': forms.NumberInput( attrs = { 'class': 'form-control' } ),+ 'barometric_pressure_hpa': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'cloud_amount': forms.Select( attrs = { 'class': 'custom-select' } ),+ 'precip_probability_pct': forms.NumberInput( attrs = { 'class': 'form-control' } ),+ }+ labels = {+ 'text_description': 'Conditions Text',+ 'temperature_c': 'Temperature (°C)',+ 'dewpoint_c': 'Dew Point (°C)',+ 'relative_humidity_pct': 'Relative Humidity (%)',+ 'wind_speed_kmh': 'Wind Speed (km/h)',+ 'wind_direction_deg': 'Wind Direction (°)',+ 'barometric_pressure_hpa': 'Pressure (hPa)',+ 'cloud_amount': 'Sky Cover',+ 'precip_probability_pct': 'Precip Probability (%)',+ 'is_daytime': 'Is Daytime',+ }class NwsSimAlertForm( forms.ModelForm ):diff --git a/src/hi/simulator/weather_sources/nws/migrations/0003_nwssimconditions.py b/src/hi/simulator/weather_sources/nws/migrations/0003_nwssimconditions.pynew file mode 100644index 00000000..37ee9bc1--- /dev/null+++ b/src/hi/simulator/weather_sources/nws/migrations/0003_nwssimconditions.py@@ -0,0 +1,128 @@+# Generated by Django 5.2.14 on 2026-06-02 21:00++import django.core.validators+import django.db.models.deletion+from django.db import migrations, models+++class Migration(migrations.Migration):++ dependencies = [+ ("nws", "0002_alter_nwssimalert_effective_offset_secs_and_more"),+ ("simulator_profile", "0001_initial"),+ ]++ operations = [+ migrations.CreateModel(+ name="NwsSimConditions",+ fields=[+ (+ "id",+ models.BigAutoField(+ auto_created=True,+ primary_key=True,+ serialize=False,+ verbose_name="ID",+ ),+ ),+ (+ "text_description",+ models.CharField(+ default="Partly Cloudy",+ help_text="Short text shown for current conditions and forecast periods.",+ max_length=64,+ ),+ ),+ (+ "temperature_c",+ models.FloatField(+ default=22.0,+ help_text="Temperature °C (conditions and forecast).",+ ),+ ),+ (+ "dewpoint_c",+ models.FloatField(default=12.0, help_text="Dew point °C."),+ ),+ (+ "relative_humidity_pct",+ models.IntegerField(+ default=55,+ help_text="Relative humidity (0-100%).",+ validators=[+ django.core.validators.MinValueValidator(0),+ django.core.validators.MaxValueValidator(100),+ ],+ ),+ ),+ (+ "wind_speed_kmh",+ models.FloatField(default=12.0, help_text="Wind speed in km/h."),+ ),+ (+ "wind_direction_deg",+ models.IntegerField(+ default=200,+ help_text="Wind direction degrees (forecast uses the nearest compass point).",+ validators=[+ django.core.validators.MinValueValidator(0),+ django.core.validators.MaxValueValidator(360),+ ],+ ),+ ),+ (+ "barometric_pressure_hpa",+ models.FloatField(+ default=1015.0,+ help_text="Barometric pressure in hPa (emitted as Pa).",+ ),+ ),+ (+ "cloud_amount",+ models.CharField(+ choices=[+ ("CLR", "CLR — Clear"),+ ("FEW", "FEW — Few"),+ ("SCT", "SCT — Scattered"),+ ("BKN", "BKN — Broken"),+ ("OVC", "OVC — Overcast"),+ ],+ default="SCT",+ help_text="Sky cover for current conditions.",+ max_length=3,+ ),+ ),+ (+ "precip_probability_pct",+ models.IntegerField(+ default=10,+ help_text="Forecast probability of precipitation (0-100%).",+ validators=[+ django.core.validators.MinValueValidator(0),+ django.core.validators.MaxValueValidator(100),+ ],+ ),+ ),+ (+ "is_daytime",+ models.BooleanField(+ default=True,+ help_text="Daytime flag for the first forecast period.",+ ),+ ),+ ("updated_datetime", models.DateTimeField(auto_now=True)),+ (+ "sim_profile",+ models.OneToOneField(+ on_delete=django.db.models.deletion.CASCADE,+ related_name="nws_sim_conditions",+ to="simulator_profile.simprofile",+ ),+ ),+ ],+ options={+ "verbose_name": "NWS Sim Conditions",+ "verbose_name_plural": "NWS Sim Conditions",+ },+ ),+ ]diff --git a/src/hi/simulator/weather_sources/nws/models.py b/src/hi/simulator/weather_sources/nws/models.pyindex 0a77cf2e..db29fb50 100644--- a/src/hi/simulator/weather_sources/nws/models.py+++ b/src/hi/simulator/weather_sources/nws/models.py@@ -1,3 +1,4 @@+from django.core.validators import MaxValueValidator, MinValueValidatorfrom django.db import modelsfrom hi.simulator.profile.models import SimProfile@@ -5,6 +6,67 @@ from hi.simulator.profile.models import SimProfilefrom . import constants+class NwsSimConditions( models.Model ):+ """Operator-controlled NWS current conditions + forecast, one row per+ profile (the same SimProfile that scopes this profile's alerts, so a+ single NWS profile defines everything).++ Drives the observations/latest endpoint plus both forecast endpoints;+ the chain's points/stations responses are fixed plumbing. Each value+ is reused across the generated forecast periods, with time axes+ anchored to "now".+ """++ class Meta:+ verbose_name = 'NWS Sim Conditions'+ verbose_name_plural = 'NWS Sim Conditions'++ sim_profile = models.OneToOneField(+ SimProfile,+ related_name = 'nws_sim_conditions',+ on_delete = models.CASCADE,+ )+ text_description = models.CharField(+ max_length = 64,+ default = 'Partly Cloudy',+ help_text = 'Short text shown for current conditions and forecast periods.',+ )+ temperature_c = models.FloatField(+ default = 22.0, help_text = 'Temperature °C (conditions and forecast).',+ )+ dewpoint_c = models.FloatField(+ default = 12.0, help_text = 'Dew point °C.',+ )+ relative_humidity_pct = models.IntegerField(+ default = 55, validators = [ MinValueValidator( 0 ), MaxValueValidator( 100 ) ],+ help_text = 'Relative humidity (0-100%).',+ )+ wind_speed_kmh = models.FloatField(+ default = 12.0, help_text = 'Wind speed in km/h.',+ )+ wind_direction_deg = models.IntegerField(+ default = 200, validators = [ MinValueValidator( 0 ), MaxValueValidator( 360 ) ],+ help_text = 'Wind direction degrees (forecast uses the nearest compass point).',+ )+ barometric_pressure_hpa = models.FloatField(+ default = 1015.0, help_text = 'Barometric pressure in hPa (emitted as Pa).',+ )+ cloud_amount = models.CharField(+ max_length = 3,+ choices = constants.CLOUD_AMOUNT_CHOICES,+ default = 'SCT',+ help_text = 'Sky cover for current conditions.',+ )+ precip_probability_pct = models.IntegerField(+ default = 10, validators = [ MinValueValidator( 0 ), MaxValueValidator( 100 ) ],+ help_text = 'Forecast probability of precipitation (0-100%).',+ )+ is_daytime = models.BooleanField(+ default = True, help_text = 'Daytime flag for the first forecast period.',+ )+ updated_datetime = models.DateTimeField( auto_now = True )++class NwsSimAlert( models.Model ):"""One operator-managed simulated NWS alert.diff --git a/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/panes/conditions_form.html b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/panes/conditions_form.htmlnew file mode 100644index 00000000..0faa8d37--- /dev/null+++ b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/panes/conditions_form.html@@ -0,0 +1,30 @@+{% comment %}+Inline conditions/forecast editor. Each control auto-submits+(onchange-async) to the set endpoint, which re-renders and swaps this+fragment in place. Compact layout: label / input / description per row.+Context: form (NwsSimConditionsForm bound to the current state).+{% endcomment %}+<form id="hi-nws-sim-conditions-form"+ data-async="#hi-nws-sim-conditions-form" data-mode="replace"+ method="post" action="{% url 'simulator_weather_nws_conditions_set' %}"+ class="form sim-state-form">+ {% csrf_token %}+ {% if form.non_field_errors %}+ <div class="non-field-errors">+ {% for err in form.non_field_errors %}+ <p class="form-error text-danger">ERROR: {{ err }}</p>+ {% endfor %}+ </div>+ {% endif %}++ {% for field in form %}+ <div class="form-row align-items-center mb-1">+ <label for="{{ field.id_for_label }}" class="col-4 col-md-3 mb-0 small">{{ field.label }}</label>+ <div class="col-4 col-md-3">{{ field }}</div>+ <div class="col small">+ {% if field.errors %}<span class="form-error text-danger">{{ field.errors|join:", " }}</span>+ {% elif field.help_text %}<span class="text-muted">{{ field.help_text }}</span>{% endif %}+ </div>+ </div>+ {% endfor %}+</form>diff --git a/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/forecast.json b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/forecast.jsonnew file mode 100644index 00000000..2d04724e--- /dev/null+++ b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/forecast.json@@ -0,0 +1,6 @@+{+ "properties": {+ "generatedAt": {{ generated_at }},+ "periods": {{ periods }}+ }+}diff --git a/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/observations.json b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/observations.jsonnew file mode 100644index 00000000..04ef13ea--- /dev/null+++ b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/observations.json@@ -0,0 +1,15 @@+{+ "properties": {+ "@type": "wx:ObservationStation",+ "timestamp": {{ timestamp }},+ "textDescription": {{ text_description }},+ "temperature": { "unitCode": "wmoUnit:degC", "value": {{ temperature }}, "qualityControl": "V" },+ "dewpoint": { "unitCode": "wmoUnit:degC", "value": {{ dewpoint }}, "qualityControl": "V" },+ "windDirection": { "unitCode": "wmoUnit:degree_(angle)", "value": {{ wind_direction }}, "qualityControl": "V" },+ "windSpeed": { "unitCode": "wmoUnit:km_h-1", "value": {{ wind_speed }}, "qualityControl": "V" },+ "barometricPressure": { "unitCode": "wmoUnit:Pa", "value": {{ barometric_pressure }}, "qualityControl": "V" },+ "relativeHumidity": { "unitCode": "wmoUnit:percent", "value": {{ relative_humidity }}, "qualityControl": "V" },+ "cloudLayers": {{ cloud_layers }},+ "presentWeather": []+ }+}diff --git a/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/points.json b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/points.jsonnew file mode 100644index 00000000..be52248b--- /dev/null+++ b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/points.json@@ -0,0 +1,13 @@+{+ "id": "simulator",+ "type": "Feature",+ "geometry": {{ geometry }},+ "properties": {+ "@type": "wx:Point",+ "gridId": {{ grid_id }},+ "forecastOffice": {{ forecast_office }},+ "forecast": {{ forecast_url }},+ "forecastHourly": {{ forecast_hourly_url }},+ "observationStations": {{ observation_stations_url }}+ }+}diff --git a/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/stations.json b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/stations.jsonnew file mode 100644index 00000000..02b89318--- /dev/null+++ b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/payloads/stations.json@@ -0,0 +1,4 @@+{+ "type": "FeatureCollection",+ "features": {{ features }}+}diff --git a/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/tab.html b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/tab.htmlindex b658a502..fe70cfda 100644--- a/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/tab.html+++ b/src/hi/simulator/weather_sources/nws/templates/weather_sources/nws/tab.html@@ -1,18 +1,15 @@{% load icons %}+{% load nws_sim_alert_tags %}<div class="nws-sim-alert-tab">- <div class="d-flex justify-content-between align-items-center my-3">- <div class="text-muted small">- To route NWS API calls here, paste this into the main app's- Weather settings under <em>NWS Base URL</em>:- <code>{{ request.scheme }}://{{ request.get_host }}/weather/nws/api/</code>- </div>- <a class="btn btn-sm btn-outline-primary" data-async="modal"- href="{% url 'simulator_weather_nws_alert_add' %}">- {% icon "plus" size="sm" css_class="hi-icon-left" %}Add Alert- </a>- </div>+ {% url 'simulator_weather_nws_alert_add' as add_alert_url %}+ {% include "weather_sources/panes/source_header.html" with url1_label="Base" url1_path="/weather/nws/api/" add_url=add_alert_url add_label="Add Alert" %}++ <h6 class="mt-3">Current Conditions & Forecast</h6>+ {% nws_sim_conditions_form as conditions_form %}+ {% include "weather_sources/nws/panes/conditions_form.html" with form=conditions_form %}++ <h6 class="mt-4 mb-2">Active Alerts</h6>- {% load nws_sim_alert_tags %}{% nws_sim_alert_list as nws_sim_alert_list %}{% if nws_sim_alert_list %}diff --git a/src/hi/simulator/weather_sources/nws/templatetags/nws_sim_alert_tags.py b/src/hi/simulator/weather_sources/nws/templatetags/nws_sim_alert_tags.pyindex 0f981ded..d1137c53 100644--- a/src/hi/simulator/weather_sources/nws/templatetags/nws_sim_alert_tags.py+++ b/src/hi/simulator/weather_sources/nws/templatetags/nws_sim_alert_tags.py@@ -3,7 +3,9 @@ from django import templatefrom hi.simulator.profile.profile_manager import ProfileManagerfrom ..apps import NwsWeatherSimConfig+from ..forms import NwsSimConditionsFormfrom ..models import NwsSimAlert+from ..views import get_current_conditionsregister = template.Library()@@ -17,3 +19,9 @@ def nws_sim_alert_list():.filter( sim_profile = current_profile ).order_by( '-created_datetime' ))+++def nws_sim_conditions_form():+ """Conditions/forecast form bound to the current-profile state."""+ return NwsSimConditionsForm( instance = get_current_conditions() )diff --git a/src/hi/simulator/weather_sources/nws/urls.py b/src/hi/simulator/weather_sources/nws/urls.pyindex 4284d066..2303ba6f 100644--- a/src/hi/simulator/weather_sources/nws/urls.py+++ b/src/hi/simulator/weather_sources/nws/urls.py@@ -8,6 +8,33 @@ urlpatterns = [views.NwsAlertsActiveView.as_view(),name = 'simulator_weather_nws_alerts_active' ),+ # Current-conditions / forecast chain (points → stations →+ # observations + forecasts). The main app follows the URLs our+ # points/stations responses hand back.+ path( 'api/points/<str:coords>',+ views.NwsPointsView.as_view(),+ name = 'simulator_weather_nws_points' ),++ path( 'api/gridpoints/<str:office>/<str:grid>/stations',+ views.NwsStationsView.as_view(),+ name = 'simulator_weather_nws_stations' ),++ path( 'api/gridpoints/<str:office>/<str:grid>/forecast/hourly',+ views.NwsForecastHourlyView.as_view(),+ name = 'simulator_weather_nws_forecast_hourly' ),++ path( 'api/gridpoints/<str:office>/<str:grid>/forecast',+ views.NwsForecastView.as_view(),+ name = 'simulator_weather_nws_forecast' ),++ path( 'api/stations/<str:station_id>/observations/latest',+ views.NwsObservationsView.as_view(),+ name = 'simulator_weather_nws_observations' ),++ path( 'conditions/set',+ views.NwsSimConditionsSetView.as_view(),+ name = 'simulator_weather_nws_conditions_set' ),+path( 'alert/add',views.NwsSimAlertAddView.as_view(),name = 'simulator_weather_nws_alert_add' ),diff --git a/src/hi/simulator/weather_sources/nws/views.py b/src/hi/simulator/weather_sources/nws/views.pyindex 544116b5..a62d2e3e 100644--- a/src/hi/simulator/weather_sources/nws/views.py+++ b/src/hi/simulator/weather_sources/nws/views.py@@ -4,16 +4,220 @@ from typing import Any, Dict, Listfrom django.http import JsonResponsefrom django.shortcuts import get_object_or_404, render+from django.urls import reversefrom django.views.generic import Viewimport hi.apps.common.antinode as antinodeimport hi.apps.common.datetimeproxy as datetimeproxy+from hi.simulator.profile.profile_manager import ProfileManager+from hi.simulator.weather_sources import payload_utils-from .forms import NwsSimAlertForm-from .models import NwsSimAlert+from .apps import NwsWeatherSimConfig+from .forms import NwsSimAlertForm, NwsSimConditionsForm+from .models import NwsSimAlert, NwsSimConditionslogger = logging.getLogger(__name__)+# Fixed identifiers for the simulated points→stations→observations+# chain. Their exact values don't matter to the main app (it follows+# whatever URLs our points/stations responses hand back); they only+# need to be self-consistent across the chain's routes.+SIM_OFFICE = 'SIM'+SIM_GRID = '1,1'+SIM_STATION = 'SIM'++PAYLOAD_DIR = 'weather_sources/nws/payloads'+POINTS_TEMPLATE = f'{PAYLOAD_DIR}/points.json'+STATIONS_TEMPLATE = f'{PAYLOAD_DIR}/stations.json'+OBSERVATIONS_TEMPLATE = f'{PAYLOAD_DIR}/observations.json'+FORECAST_TEMPLATE = f'{PAYLOAD_DIR}/forecast.json'++TWELVE_HOUR_PERIODS = 14+HOURLY_PERIODS = 24++_COMPASS_16 = [ 'N', 'NNE', 'NE', 'ENE', 'E', 'ESE', 'SE', 'SSE',+ 'S', 'SSW', 'SW', 'WSW', 'W', 'WNW', 'NW', 'NNW' ]+++def _deg_to_compass( degrees : int ) -> str:+ return _COMPASS_16[ int( ( degrees % 360 ) / 22.5 + 0.5 ) % 16 ]+++def _iso( dt ) -> str:+ return dt.strftime( '%Y-%m-%dT%H:%M:%S+00:00' )+++def get_current_conditions() -> NwsSimConditions:+ """Conditions/forecast state for NWS's currently-selected profile —+ the same SimProfile that scopes this profile's alerts."""+ current_profile = ProfileManager().get_current( NwsWeatherSimConfig.name )+ state, _created = NwsSimConditions.objects.get_or_create( sim_profile = current_profile )+ return state+++def _build_periods( state : NwsSimConditions, count : int, hours_each : int,+ named : bool ) -> List[ Dict[ str, Any ] ]:+ """Generate forecast periods reusing the operator's values, with the+ time axis anchored to now. 12h periods get day/night names and+ alternate ``isDaytime``; hourly periods derive it from the hour."""+ start = payload_utils.now_hour()+ first_is_day = state.is_daytime+ periods = []+ for index in range( count ):+ period_start = start + timedelta( hours = hours_each * index )+ period_end = period_start + timedelta( hours = hours_each )+ if named:+ is_daytime = ( ( index % 2 == 0 ) == first_is_day )+ weekday = period_start.strftime( '%A' )+ name = weekday if is_daytime else f'{weekday} Night'+ else:+ is_daytime = ( 6 <= period_start.hour < 18 )+ name = ''+ # Light per-period jitter around the operator's values so the+ # forecast isn't a flat line; deterministic per index (stable+ # across polls). Condition text is left as set.+ temperature = round( payload_utils.jitter( state.temperature_c, 2.0, index, 1 ), 1 )+ dewpoint = round( payload_utils.jitter( state.dewpoint_c, 1.5, index, 2 ), 1 )+ humidity = int( payload_utils.clamp(+ payload_utils.jitter( state.relative_humidity_pct, 8, index, 3 ), 0, 100 ) )+ wind_speed = round( max( 0.0, payload_utils.jitter( state.wind_speed_kmh, 4.0, index, 4 ) ), 1 )+ precip = int( payload_utils.clamp(+ payload_utils.jitter( state.precip_probability_pct, 15, index, 5 ), 0, 100 ) )+ wind_deg = int( payload_utils.jitter( state.wind_direction_deg, 25, index, 6 ) ) % 360+ periods.append({+ 'number': index + 1,+ 'name': name,+ 'startTime': _iso( period_start ),+ 'endTime': _iso( period_end ),+ 'isDaytime': is_daytime,+ 'temperature': { 'unitCode': 'wmoUnit:degC', 'value': temperature },+ 'probabilityOfPrecipitation': { 'unitCode': 'wmoUnit:percent', 'value': precip },+ 'dewpoint': { 'unitCode': 'wmoUnit:degC', 'value': dewpoint },+ 'relativeHumidity': { 'unitCode': 'wmoUnit:percent', 'value': humidity },+ 'windSpeed': { 'unitCode': 'wmoUnit:km_h-1', 'value': wind_speed },+ 'windDirection': _deg_to_compass( wind_deg ),+ 'shortForecast': state.text_description,+ 'detailedForecast': state.text_description if named else '',+ })+ return periods+++class NwsPointsView( View ):+ """Entry point of the chain. Hands the main app simulator-hosted URLs+ for stations and both forecasts so the rest of the chain stays here."""++ def get( self, request, coords, *args, **kwargs ):+ try:+ lat_str, lon_str = coords.split( ',' )+ latitude, longitude = float( lat_str ), float( lon_str )+ except ( ValueError, TypeError ):+ latitude = longitude = 0.0++ def abs_url( name ):+ return request.build_absolute_uri(+ reverse( name, kwargs = { 'office': SIM_OFFICE, 'grid': SIM_GRID } ) )++ context = {+ 'grid_id': SIM_OFFICE,+ 'forecast_office': request.build_absolute_uri( '/weather/nws/' ),+ 'observation_stations_url': abs_url( 'simulator_weather_nws_stations' ),+ 'forecast_url': abs_url( 'simulator_weather_nws_forecast' ),+ 'forecast_hourly_url': abs_url( 'simulator_weather_nws_forecast_hourly' ),+ 'geometry': { 'type': 'Point', 'coordinates': [ longitude, latitude ] },+ }+ return JsonResponse(+ payload_utils.render_json_payload( POINTS_TEMPLATE, context, encode = True ) )+++class NwsStationsView( View ):+ """One observation station whose ``@id`` points back at our+ observations endpoint (the main app appends ``/observations/latest``)."""++ def get( self, request, office, grid, *args, **kwargs ):+ observations_path = reverse(+ 'simulator_weather_nws_observations', kwargs = { 'station_id': SIM_STATION } )+ station_id_url = request.build_absolute_uri(+ observations_path[ : -len( '/observations/latest' ) ] )+ feature = {+ 'geometry': { 'type': 'Point', 'coordinates': [ 0.0, 0.0 ] },+ 'properties': {+ '@id': station_id_url,+ '@type': 'wx:ObservationStation',+ 'stationIdentifier': SIM_STATION,+ 'name': 'Simulator Station',+ 'elevation': { 'unitCode': 'wmoUnit:m', 'value': 10 },+ },+ }+ return JsonResponse(+ payload_utils.render_json_payload(+ STATIONS_TEMPLATE, { 'features': [ feature ] }, encode = True ) )+++class NwsObservationsView( View ):+ """Current conditions from the profile's conditions state."""++ def get( self, request, station_id, *args, **kwargs ):+ state = get_current_conditions()+ cloud_layers = [ {+ 'base': { 'unitCode': 'wmoUnit:m', 'value': 3000 },+ 'amount': state.cloud_amount,+ } ]+ context = {+ # Stamp the actual current time (not the top of the hour) so each+ # poll presents a strictly newer source_datetime; otherwise the+ # main app's same-source freshness gate keeps the prior value and+ # operator edits don't surface until the hour rolls over.+ 'timestamp': _iso( datetimeproxy.now() ),+ 'text_description': state.text_description,+ 'temperature': state.temperature_c,+ 'dewpoint': state.dewpoint_c,+ 'wind_direction': state.wind_direction_deg,+ 'wind_speed': state.wind_speed_kmh,+ # NWS reports barometric pressure in pascals.+ 'barometric_pressure': int( round( state.barometric_pressure_hpa * 100 ) ),+ 'relative_humidity': state.relative_humidity_pct,+ 'cloud_layers': cloud_layers,+ }+ return JsonResponse(+ payload_utils.render_json_payload( OBSERVATIONS_TEMPLATE, context, encode = True ) )+++class NwsForecastView( View ):+ """12-hour forecast (feeds the main app's daily slot)."""++ def get( self, request, office, grid, *args, **kwargs ):+ periods = _build_periods(+ get_current_conditions(), TWELVE_HOUR_PERIODS, hours_each = 12, named = True )+ context = { 'generated_at': _iso( datetimeproxy.now() ), 'periods': periods }+ return JsonResponse(+ payload_utils.render_json_payload( FORECAST_TEMPLATE, context, encode = True ) )+++class NwsForecastHourlyView( View ):+ """Hourly forecast."""++ def get( self, request, office, grid, *args, **kwargs ):+ periods = _build_periods(+ get_current_conditions(), HOURLY_PERIODS, hours_each = 1, named = False )+ context = { 'generated_at': _iso( datetimeproxy.now() ), 'periods': periods }+ return JsonResponse(+ payload_utils.render_json_payload( FORECAST_TEMPLATE, context, encode = True ) )+++class NwsSimConditionsSetView( View ):+ """Auto-submit target for the inline conditions form; saves and+ re-renders the fragment for in-place swap."""++ PANE_TEMPLATE = 'weather_sources/nws/panes/conditions_form.html'++ def post( self, request, *args, **kwargs ):+ state = get_current_conditions()+ form = NwsSimConditionsForm( request.POST, instance = state )+ if form.is_valid():+ form.save()+ form = NwsSimConditionsForm( instance = state )+ return render( request, self.PANE_TEMPLATE, { 'form': form } )+class NwsAlertsActiveView( View ):"""NWS-shaped /alerts/active endpoint backed by NwsSimAlert rows."""@@ -75,7 +279,12 @@ class NwsSimAlertAddView( View ):'form': form,'is_add': True,})- form.save()+ # The form has no sim_profile field; new alerts belong to NWS's+ # currently-selected profile (the same one that scopes the alert+ # list and this profile's conditions).+ alert = form.save( commit = False )+ alert.sim_profile = ProfileManager().get_current( NwsWeatherSimConfig.name )+ alert.save()return antinode.refresh_response()diff --git a/src/hi/simulator/weather_sources/openmeteo/__init__.py b/src/hi/simulator/weather_sources/openmeteo/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/openmeteo/apps.py b/src/hi/simulator/weather_sources/openmeteo/apps.pynew file mode 100644index 00000000..0794814e--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/apps.py@@ -0,0 +1,12 @@+from django.apps import AppConfig+++class OpenMeteoWeatherSimConfig( AppConfig ):+ default_auto_field = 'django.db.models.BigAutoField'+ name = 'hi.simulator.weather_sources.openmeteo'++ simulator_module_label = 'Open-Meteo'++ weather_source_short_name = 'openmeteo'+ weather_source_label = 'Open-Meteo'+ weather_source_tab_template = 'weather_sources/openmeteo/tab.html'diff --git a/src/hi/simulator/weather_sources/openmeteo/constants.py b/src/hi/simulator/weather_sources/openmeteo/constants.pynew file mode 100644index 00000000..5cb0a087--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/constants.py@@ -0,0 +1,34 @@+"""Choice lists for the Open-Meteo simulator state editor.++Self-contained on purpose — the weather simulators do not import from+``hi.apps.weather`` (see ``payload_utils`` module docstring). The codes+are the WMO weather-interpretation codes Open-Meteo returns; the main+app maps them to descriptions on its side.+"""++# A useful subset of WMO codes spanning clear → severe. Operators who+# need a code not listed can extend this list.+WEATHER_CODE_CHOICES = [+ ( 0, '0 — Clear sky' ),+ ( 1, '1 — Mainly clear' ),+ ( 2, '2 — Partly cloudy' ),+ ( 3, '3 — Overcast' ),+ ( 45, '45 — Fog' ),+ ( 48, '48 — Depositing rime fog' ),+ ( 51, '51 — Light drizzle' ),+ ( 53, '53 — Moderate drizzle' ),+ ( 55, '55 — Dense drizzle' ),+ ( 61, '61 — Slight rain' ),+ ( 63, '63 — Moderate rain' ),+ ( 65, '65 — Heavy rain' ),+ ( 66, '66 — Light freezing rain' ),+ ( 71, '71 — Slight snow' ),+ ( 73, '73 — Moderate snow' ),+ ( 75, '75 — Heavy snow' ),+ ( 80, '80 — Slight rain showers' ),+ ( 81, '81 — Moderate rain showers' ),+ ( 82, '82 — Violent rain showers' ),+ ( 85, '85 — Slight snow showers' ),+ ( 95, '95 — Thunderstorm' ),+ ( 96, '96 — Thunderstorm with slight hail' ),+]diff --git a/src/hi/simulator/weather_sources/openmeteo/forms.py b/src/hi/simulator/weather_sources/openmeteo/forms.pynew file mode 100644index 00000000..068bca6c--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/forms.py@@ -0,0 +1,58 @@+from django import forms++from .models import OpenMeteoSimState+++class OpenMeteoSimStateForm( forms.ModelForm ):++ def __init__( self, *args, **kwargs ):+ super().__init__( *args, **kwargs )+ # Each control auto-submits on change (edits take effect+ # immediately in-page) and uses the compact -sm sizing so the+ # label / input / description fit on one row.+ for field in self.fields.values():+ widget = field.widget+ widget.attrs['onchange-async'] = 'true'+ css = widget.attrs.get( 'class', '' )+ if isinstance( widget, forms.Select ):+ widget.attrs['class'] = f'{css} custom-select-sm'.strip()+ elif not isinstance( widget, forms.CheckboxInput ):+ widget.attrs['class'] = f'{css} form-control-sm'.strip()++ class Meta:+ model = OpenMeteoSimState+ fields = (+ 'temperature_c',+ 'temperature_min_c',+ 'relative_humidity_pct',+ 'dewpoint_c',+ 'precipitation_mm',+ 'pressure_msl_hpa',+ 'windspeed_kmh',+ 'winddirection_deg',+ 'weathercode',+ 'is_day',+ )+ widgets = {+ 'temperature_c': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'temperature_min_c': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'relative_humidity_pct': forms.NumberInput( attrs = { 'class': 'form-control' } ),+ 'dewpoint_c': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'precipitation_mm': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'pressure_msl_hpa': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'windspeed_kmh': forms.NumberInput( attrs = { 'class': 'form-control', 'step': 'any' } ),+ 'winddirection_deg': forms.NumberInput( attrs = { 'class': 'form-control' } ),+ 'weathercode': forms.Select( attrs = { 'class': 'custom-select' } ),+ }+ labels = {+ 'temperature_c': 'Temperature (°C)',+ 'temperature_min_c': 'Daily Low (°C)',+ 'relative_humidity_pct': 'Relative Humidity (%)',+ 'dewpoint_c': 'Dew Point (°C)',+ 'precipitation_mm': 'Precipitation (mm)',+ 'pressure_msl_hpa': 'Pressure MSL (hPa)',+ 'windspeed_kmh': 'Wind Speed (km/h)',+ 'winddirection_deg': 'Wind Direction (°)',+ 'weathercode': 'Weather Code',+ 'is_day': 'Is Daytime',+ }diff --git a/src/hi/simulator/weather_sources/openmeteo/migrations/0001_initial.py b/src/hi/simulator/weather_sources/openmeteo/migrations/0001_initial.pynew file mode 100644index 00000000..8a05c332--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/migrations/0001_initial.py@@ -0,0 +1,141 @@+# Generated by Django 5.2.14 on 2026-06-02 19:38++import django.core.validators+import django.db.models.deletion+from django.db import migrations, models+++class Migration(migrations.Migration):++ initial = True++ dependencies = [+ ("simulator_profile", "0001_initial"),+ ]++ operations = [+ migrations.CreateModel(+ name="OpenMeteoSimState",+ fields=[+ (+ "id",+ models.BigAutoField(+ auto_created=True,+ primary_key=True,+ serialize=False,+ verbose_name="ID",+ ),+ ),+ (+ "temperature_c",+ models.FloatField(+ default=22.0,+ help_text="Temperature °C (current, hourly, and daily high).",+ ),+ ),+ (+ "temperature_min_c",+ models.FloatField(+ default=14.0,+ help_text="Daily low temperature °C (daily forecast and archive).",+ ),+ ),+ (+ "relative_humidity_pct",+ models.IntegerField(+ default=55,+ help_text="Relative humidity (0-100%).",+ validators=[+ django.core.validators.MinValueValidator(0),+ django.core.validators.MaxValueValidator(100),+ ],+ ),+ ),+ (+ "dewpoint_c",+ models.FloatField(+ default=12.0, help_text="Dew point °C (current conditions)."+ ),+ ),+ (+ "precipitation_mm",+ models.FloatField(+ default=0.0,+ help_text="Precipitation in mm (per hour / daily sum).",+ ),+ ),+ (+ "pressure_msl_hpa",+ models.FloatField(+ default=1015.0,+ help_text="Mean sea-level pressure in hPa (current conditions).",+ ),+ ),+ (+ "windspeed_kmh",+ models.FloatField(default=12.0, help_text="Wind speed in km/h."),+ ),+ (+ "winddirection_deg",+ models.IntegerField(+ default=200,+ help_text="Wind direction in degrees (0-360).",+ validators=[+ django.core.validators.MinValueValidator(0),+ django.core.validators.MaxValueValidator(360),+ ],+ ),+ ),+ (+ "weathercode",+ models.IntegerField(+ choices=[+ (0, "0 — Clear sky"),+ (1, "1 — Mainly clear"),+ (2, "2 — Partly cloudy"),+ (3, "3 — Overcast"),+ (45, "45 — Fog"),+ (48, "48 — Depositing rime fog"),+ (51, "51 — Light drizzle"),+ (53, "53 — Moderate drizzle"),+ (55, "55 — Dense drizzle"),+ (61, "61 — Slight rain"),+ (63, "63 — Moderate rain"),+ (65, "65 — Heavy rain"),+ (66, "66 — Light freezing rain"),+ (71, "71 — Slight snow"),+ (73, "73 — Moderate snow"),+ (75, "75 — Heavy snow"),+ (80, "80 — Slight rain showers"),+ (81, "81 — Moderate rain showers"),+ (82, "82 — Violent rain showers"),+ (85, "85 — Slight snow showers"),+ (95, "95 — Thunderstorm"),+ (96, "96 — Thunderstorm with slight hail"),+ ],+ default=1,+ help_text="WMO weather code; the main app maps it to a description.",+ ),+ ),+ (+ "is_day",+ models.BooleanField(+ default=True, help_text="Daytime flag for current conditions."+ ),+ ),+ ("updated_datetime", models.DateTimeField(auto_now=True)),+ (+ "sim_profile",+ models.OneToOneField(+ on_delete=django.db.models.deletion.CASCADE,+ related_name="openmeteo_sim_state",+ to="simulator_profile.simprofile",+ ),+ ),+ ],+ options={+ "verbose_name": "Open-Meteo Sim State",+ "verbose_name_plural": "Open-Meteo Sim States",+ },+ ),+ ]diff --git a/src/hi/simulator/weather_sources/openmeteo/migrations/__init__.py b/src/hi/simulator/weather_sources/openmeteo/migrations/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/openmeteo/models.py b/src/hi/simulator/weather_sources/openmeteo/models.pynew file mode 100644index 00000000..125c723d--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/models.py@@ -0,0 +1,71 @@+from django.core.validators import MaxValueValidator, MinValueValidator+from django.db import models++from hi.simulator.profile.models import SimProfile++from . import constants+++class OpenMeteoSimState( models.Model ):+ """Single operator-controlled Open-Meteo response set per profile.++ One row drives all three ``forecast`` variants (current / hourly /+ daily) plus the archive endpoint. The simulator fills each time+ series with the value held here and generates the time axis anchored+ to "now", so the operator controls the values and never the+ timestamps.+ """++ class Meta:+ verbose_name = 'Open-Meteo Sim State'+ verbose_name_plural = 'Open-Meteo Sim States'++ sim_profile = models.OneToOneField(+ SimProfile,+ related_name = 'openmeteo_sim_state',+ on_delete = models.CASCADE,+ )+ temperature_c = models.FloatField(+ default = 22.0,+ help_text = 'Temperature °C (current, hourly, and daily high).',+ )+ temperature_min_c = models.FloatField(+ default = 14.0,+ help_text = 'Daily low temperature °C (daily forecast and archive).',+ )+ relative_humidity_pct = models.IntegerField(+ default = 55,+ validators = [ MinValueValidator( 0 ), MaxValueValidator( 100 ) ],+ help_text = 'Relative humidity (0-100%).',+ )+ dewpoint_c = models.FloatField(+ default = 12.0,+ help_text = 'Dew point °C (current conditions).',+ )+ precipitation_mm = models.FloatField(+ default = 0.0,+ help_text = 'Precipitation in mm (per hour / daily sum).',+ )+ pressure_msl_hpa = models.FloatField(+ default = 1015.0,+ help_text = 'Mean sea-level pressure in hPa (current conditions).',+ )+ windspeed_kmh = models.FloatField(+ default = 12.0,+ help_text = 'Wind speed in km/h.',+ )+ winddirection_deg = models.IntegerField(+ default = 200,+ validators = [ MinValueValidator( 0 ), MaxValueValidator( 360 ) ],+ help_text = 'Wind direction in degrees (0-360).',+ )+ weathercode = models.IntegerField(+ choices = constants.WEATHER_CODE_CHOICES,+ default = 1,+ help_text = 'WMO weather code; the main app maps it to a description.',+ )+ is_day = models.BooleanField(+ default = True,+ help_text = 'Daytime flag for current conditions.',+ )+ updated_datetime = models.DateTimeField( auto_now = True )diff --git a/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/panes/state_form.html b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/panes/state_form.htmlnew file mode 100644index 00000000..f46e19ad--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/panes/state_form.html@@ -0,0 +1,30 @@+{% comment %}+Inline state editor. Each control auto-submits (onchange-async) to the+set endpoint, which re-renders and swaps this fragment in place.+Compact layout: label / input / description on one row.+Context: form (OpenMeteoSimStateForm bound to the current state).+{% endcomment %}+<form id="hi-openmeteo-sim-form"+ data-async="#hi-openmeteo-sim-form" data-mode="replace"+ method="post" action="{% url 'simulator_weather_openmeteo_state_set' %}"+ class="form sim-state-form">+ {% csrf_token %}+ {% if form.non_field_errors %}+ <div class="non-field-errors">+ {% for err in form.non_field_errors %}+ <p class="form-error text-danger">ERROR: {{ err }}</p>+ {% endfor %}+ </div>+ {% endif %}++ {% for field in form %}+ <div class="form-row align-items-center mb-1">+ <label for="{{ field.id_for_label }}" class="col-4 col-md-3 mb-0 small">{{ field.label }}</label>+ <div class="col-4 col-md-3">{{ field }}</div>+ <div class="col small">+ {% if field.errors %}<span class="form-error text-danger">{{ field.errors|join:", " }}</span>+ {% elif field.help_text %}<span class="text-muted">{{ field.help_text }}</span>{% endif %}+ </div>+ </div>+ {% endfor %}+</form>diff --git a/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/archive.json b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/archive.jsonnew file mode 100644index 00000000..c1c68cb0--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/archive.json@@ -0,0 +1,19 @@+{+ "latitude": {{ latitude }},+ "longitude": {{ longitude }},+ "elevation": {{ elevation }},+ "daily_units": {+ "time": "iso8601",+ "weathercode": "wmo code",+ "temperature_2m_max": "°C",+ "temperature_2m_min": "°C",+ "precipitation_sum": "mm"+ },+ "daily": {+ "time": {{ daily_time }},+ "weathercode": {{ daily_weathercode }},+ "temperature_2m_max": {{ daily_tmax }},+ "temperature_2m_min": {{ daily_tmin }},+ "precipitation_sum": {{ daily_precip }}+ }+}diff --git a/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/current.json b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/current.jsonnew file mode 100644index 00000000..71ef9fe5--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/current.json@@ -0,0 +1,37 @@+{+ "latitude": {{ latitude }},+ "longitude": {{ longitude }},+ "elevation": {{ elevation }},+ "current_weather_units": {+ "time": "iso8601",+ "temperature": "°C",+ "windspeed": "km/h",+ "winddirection": "°",+ "is_day": "",+ "weathercode": "wmo code"+ },+ "current_weather": {+ "time": {{ current_time }},+ "temperature": {{ temperature }},+ "windspeed": {{ windspeed }},+ "winddirection": {{ winddirection }},+ "is_day": {{ is_day }},+ "weathercode": {{ weathercode }}+ },+ "hourly_units": {+ "time": "iso8601",+ "temperature_2m": "°C",+ "relativehumidity_2m": "%",+ "dewpoint_2m": "°C",+ "precipitation": "mm",+ "pressure_msl": "hPa"+ },+ "hourly": {+ "time": {{ hourly_time }},+ "temperature_2m": {{ hourly_temperature }},+ "relativehumidity_2m": {{ hourly_humidity }},+ "dewpoint_2m": {{ hourly_dewpoint }},+ "precipitation": {{ hourly_precip }},+ "pressure_msl": {{ hourly_pressure }}+ }+}diff --git a/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/forecast_daily.json b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/forecast_daily.jsonnew file mode 100644index 00000000..c1c68cb0--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/forecast_daily.json@@ -0,0 +1,19 @@+{+ "latitude": {{ latitude }},+ "longitude": {{ longitude }},+ "elevation": {{ elevation }},+ "daily_units": {+ "time": "iso8601",+ "weathercode": "wmo code",+ "temperature_2m_max": "°C",+ "temperature_2m_min": "°C",+ "precipitation_sum": "mm"+ },+ "daily": {+ "time": {{ daily_time }},+ "weathercode": {{ daily_weathercode }},+ "temperature_2m_max": {{ daily_tmax }},+ "temperature_2m_min": {{ daily_tmin }},+ "precipitation_sum": {{ daily_precip }}+ }+}diff --git a/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/forecast_hourly.json b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/forecast_hourly.jsonnew file mode 100644index 00000000..2e8426ed--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/payloads/forecast_hourly.json@@ -0,0 +1,23 @@+{+ "latitude": {{ latitude }},+ "longitude": {{ longitude }},+ "elevation": {{ elevation }},+ "hourly_units": {+ "time": "iso8601",+ "temperature_2m": "°C",+ "relativehumidity_2m": "%",+ "windspeed_10m": "km/h",+ "winddirection_10m": "°",+ "precipitation": "mm",+ "weathercode": "wmo code"+ },+ "hourly": {+ "time": {{ hourly_time }},+ "temperature_2m": {{ hourly_temperature }},+ "relativehumidity_2m": {{ hourly_humidity }},+ "windspeed_10m": {{ hourly_windspeed }},+ "winddirection_10m": {{ hourly_winddirection }},+ "precipitation": {{ hourly_precip }},+ "weathercode": {{ hourly_weathercode }}+ }+}diff --git a/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/tab.html b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/tab.htmlnew file mode 100644index 00000000..893a26f2--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/templates/weather_sources/openmeteo/tab.html@@ -0,0 +1,13 @@+{% load openmeteo_sim_tags %}++<div class="openmeteo-sim-tab">+ {% include "weather_sources/panes/source_header.html" with url1_label="Base" url1_path="/weather/openmeteo/api/v1/" url2_label="Archive" url2_path="/weather/openmeteo/api/archive" %}++ {% openmeteo_sim_form as form %}+ {% include "weather_sources/openmeteo/panes/state_form.html" %}++ <div class="text-muted small mt-2">+ One value set drives current conditions, the hourly/daily forecasts, and the+ archive endpoint; time axes are generated automatically anchored to now.+ </div>+</div>diff --git a/src/hi/simulator/weather_sources/openmeteo/templatetags/__init__.py b/src/hi/simulator/weather_sources/openmeteo/templatetags/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/openmeteo/templatetags/openmeteo_sim_tags.py b/src/hi/simulator/weather_sources/openmeteo/templatetags/openmeteo_sim_tags.pynew file mode 100644index 00000000..db1ddd39--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/templatetags/openmeteo_sim_tags.py@@ -0,0 +1,12 @@+from django import template++from ..forms import OpenMeteoSimStateForm+from ..views import get_current_state++register = template.Library()+++def openmeteo_sim_form():+ """Form bound to the current-profile state, for the inline tab pane."""+ return OpenMeteoSimStateForm( instance = get_current_state() )diff --git a/src/hi/simulator/weather_sources/openmeteo/urls.py b/src/hi/simulator/weather_sources/openmeteo/urls.pynew file mode 100644index 00000000..2300debf--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/urls.py@@ -0,0 +1,18 @@+from django.urls import path++from . import views+++urlpatterns = [+ path( 'api/v1/forecast',+ views.OpenMeteoForecastApiView.as_view(),+ name = 'simulator_weather_openmeteo_forecast' ),++ path( 'api/archive',+ views.OpenMeteoArchiveApiView.as_view(),+ name = 'simulator_weather_openmeteo_archive' ),++ path( 'state/set',+ views.OpenMeteoSimStateSetView.as_view(),+ name = 'simulator_weather_openmeteo_state_set' ),+]diff --git a/src/hi/simulator/weather_sources/openmeteo/views.py b/src/hi/simulator/weather_sources/openmeteo/views.pynew file mode 100644index 00000000..a0cf00d1--- /dev/null+++ b/src/hi/simulator/weather_sources/openmeteo/views.py@@ -0,0 +1,181 @@+import logging++from django.http import JsonResponse+from django.shortcuts import render+from django.views.generic import View++import hi.apps.common.datetimeproxy as datetimeproxy+from hi.simulator.profile.profile_manager import ProfileManager+from hi.simulator.weather_sources import payload_utils++from .apps import OpenMeteoWeatherSimConfig+from .forms import OpenMeteoSimStateForm+from .models import OpenMeteoSimState++logger = logging.getLogger(__name__)++TEMPLATE_DIR = 'weather_sources/openmeteo/payloads'+CURRENT_TEMPLATE = f'{TEMPLATE_DIR}/current.json'+HOURLY_TEMPLATE = f'{TEMPLATE_DIR}/forecast_hourly.json'+DAILY_TEMPLATE = f'{TEMPLATE_DIR}/forecast_daily.json'+ARCHIVE_TEMPLATE = f'{TEMPLATE_DIR}/archive.json'++HOURLY_FORECAST_HOURS = 7 * 24 # matches the main app's forecast_days=7+DAILY_FORECAST_DAYS = 14 # matches the main app's forecast_days=14+ELEVATION_M = 10.0+++def get_current_state() -> OpenMeteoSimState:+ """The single state row for Open-Meteo's currently-selected profile,+ created on first access."""+ current_profile = ProfileManager().get_current( OpenMeteoWeatherSimConfig.name )+ state, _created = OpenMeteoSimState.objects.get_or_create( sim_profile = current_profile )+ return state+++def _parse_float( value : str, default : float ) -> float:+ try:+ return float( value )+ except ( TypeError, ValueError ):+ return default+++def _location_context( request ) -> dict:+ return {+ 'latitude': _parse_float( request.GET.get( 'latitude' ), 0.0 ),+ 'longitude': _parse_float( request.GET.get( 'longitude' ), 0.0 ),+ 'elevation': ELEVATION_M,+ }+++class OpenMeteoForecastApiView( View ):+ """The ``/v1/forecast`` endpoint serves three shapes off one path,+ so we dispatch on the same query params the main app sends:+ ``current_weather=true`` → current, else ``daily`` → daily, else+ ``hourly`` → hourly forecast."""++ def get( self, request, *args, **kwargs ):+ get = request.GET+ if 'current_weather' in get:+ return self._current( request )+ if 'daily' in get:+ return self._daily_forecast( request )+ if 'hourly' in get:+ return self._hourly_forecast( request )+ # No recognized selector — current is the safe default.+ return self._current( request )++ def _current( self, request ):+ state = get_current_state()+ day_start = payload_utils.now_hour().replace( hour = 0 )+ times = payload_utils.hourly_time_strings( 24, day_start )+ count = len( times )++ context = _location_context( request )+ context.update({+ # Minute-resolution "now" (not the top of the hour) so each poll's+ # source_datetime advances and the main app's freshness gate accepts+ # operator edits. The parser truncates this to the hour (HH:00) when+ # locating the current entry in the hourly arrays, so the lookup+ # still matches.+ 'current_time': datetimeproxy.now().strftime( '%Y-%m-%dT%H:%M' ),+ 'temperature': state.temperature_c,+ 'windspeed': state.windspeed_kmh,+ 'winddirection': state.winddirection_deg,+ 'is_day': 1 if state.is_day else 0,+ 'weathercode': state.weathercode,+ 'hourly_time': times,+ 'hourly_temperature': [ state.temperature_c ] * count,+ 'hourly_humidity': [ state.relative_humidity_pct ] * count,+ 'hourly_dewpoint': [ state.dewpoint_c ] * count,+ 'hourly_precip': [ state.precipitation_mm ] * count,+ 'hourly_pressure': [ state.pressure_msl_hpa ] * count,+ })+ return JsonResponse(+ payload_utils.render_json_payload( CURRENT_TEMPLATE, context, encode = True ) )++ def _hourly_forecast( self, request ):+ state = get_current_state()+ day_start = payload_utils.now_hour().replace( hour = 0 )+ times = payload_utils.hourly_time_strings( HOURLY_FORECAST_HOURS, day_start )+ count = len( times )++ # Light per-hour jitter around the operator's values so the forecast+ # isn't a flat line; deterministic per index (stable across polls).+ # Weather code is left as set.+ j = payload_utils.jitter+ clamp = payload_utils.clamp+ context = _location_context( request )+ context.update({+ 'hourly_time': times,+ 'hourly_temperature': [ round( j( state.temperature_c, 2.0, i, 1 ), 1 ) for i in range( count ) ],+ 'hourly_humidity': [ int( clamp( j( state.relative_humidity_pct, 8, i, 3 ), 0, 100 ) ) for i in range( count ) ],+ 'hourly_windspeed': [ round( max( 0.0, j( state.windspeed_kmh, 4.0, i, 4 ) ), 1 ) for i in range( count ) ],+ 'hourly_winddirection': [ int( j( state.winddirection_deg, 25, i, 6 ) ) % 360 for i in range( count ) ],+ 'hourly_precip': [ round( max( 0.0, j( state.precipitation_mm, 0.6, i, 7 ) ), 1 ) for i in range( count ) ],+ 'hourly_weathercode': [ state.weathercode ] * count,+ })+ return JsonResponse(+ payload_utils.render_json_payload( HOURLY_TEMPLATE, context, encode = True ) )++ def _daily_forecast( self, request ):+ state = get_current_state()+ dates = payload_utils.daily_date_strings(+ DAILY_FORECAST_DAYS, payload_utils.now_hour().date() )+ return JsonResponse(+ payload_utils.render_json_payload(+ DAILY_TEMPLATE, _daily_context( request, state, dates ), encode = True ) )+++class OpenMeteoArchiveApiView( View ):+ """The separate archive host's endpoint; same daily shape over the+ explicit ``start_date``..``end_date`` range the main app requests."""++ def get( self, request, *args, **kwargs ):+ state = get_current_state()+ start = payload_utils.parse_request_date( request.GET.get( 'start_date' ) )+ end = payload_utils.parse_request_date( request.GET.get( 'end_date' ) )+ dates = payload_utils.date_range_strings( start, end )+ return JsonResponse(+ payload_utils.render_json_payload(+ ARCHIVE_TEMPLATE, _daily_context( request, state, dates ), encode = True ) )+++def _daily_context( request, state, dates ) -> dict:+ count = len( dates )+ j = payload_utils.jitter+ tmax, tmin, precip = [], [], []+ for i in range( count ):+ # Jitter high and low independently, then order them so the low never+ # exceeds the high. Deterministic per day; weather code left as set.+ hi = round( j( state.temperature_c, 2.0, i, 1 ), 1 )+ lo = round( j( state.temperature_min_c, 2.0, i, 2 ), 1 )+ lo, hi = sorted( ( lo, hi ) )+ tmax.append( hi )+ tmin.append( lo )+ precip.append( round( max( 0.0, j( state.precipitation_mm, 0.8, i, 7 ) ), 1 ) )+ context = _location_context( request )+ context.update({+ 'daily_time': dates,+ 'daily_weathercode': [ state.weathercode ] * count,+ 'daily_tmax': tmax,+ 'daily_tmin': tmin,+ 'daily_precip': precip,+ })+ return context+++class OpenMeteoSimStateSetView( View ):+ """Auto-submit target for the inline state form. Saves the changed+ field(s) and re-renders the form fragment, which antinode swaps in+ place."""++ PANE_TEMPLATE = 'weather_sources/openmeteo/panes/state_form.html'++ def post( self, request, *args, **kwargs ):+ state = get_current_state()+ form = OpenMeteoSimStateForm( request.POST, instance = state )+ if form.is_valid():+ form.save()+ form = OpenMeteoSimStateForm( instance = state )+ return render( request, self.PANE_TEMPLATE, { 'form': form })diff --git a/src/hi/simulator/weather_sources/payload_utils.py b/src/hi/simulator/weather_sources/payload_utils.pynew file mode 100644index 00000000..c9d4b4da--- /dev/null+++ b/src/hi/simulator/weather_sources/payload_utils.py@@ -0,0 +1,115 @@+"""Helpers shared by the weather-source simulators.++Deliberately depends only on the standard library, Django, and+``hi.apps.common`` (all of which the simulator settings already+install). The weather simulators must NOT import anything from+``hi.apps.weather`` — the simulator reproduces the upstream wire+format independently, the same way ``nws/constants.py`` hardcodes the+NWS/CAP choice strings instead of importing the main-app enums. The+only contract with the main app is the JSON each endpoint emits and+the ``<SOURCE>_BASE_URL`` setting the operator points at us.+"""+from datetime import date, datetime, timedelta+import json+import random++from django.template.loader import render_to_string+from django.utils.safestring import mark_safe++import hi.apps.common.datetimeproxy as datetimeproxy+++def jitter( base, amount, index, salt = 0 ):+ """Deterministic pseudo-random offset of ±``amount`` around ``base``.++ Seeded only by ``index`` (plus a per-field ``salt`` so different fields+ don't move in lockstep) — never by time. So forecast series look like+ believable noise that varies period-to-period, stay stable across polls+ (no 20s flicker), and simply recenter when the operator edits the base.+ """+ rng = random.Random( ( ( index + 1 ) * 2654435761 ) ^ ( ( salt + 1 ) * 40503 ) )+ return base + rng.uniform( -amount, amount )+++def clamp( value, low, high ):+ return max( low, min( high, value ) )+++def render_json_payload( template_name : str, context : dict, encode : bool = False ) -> dict:+ """Render a JSON template file to a parsed dict.++ Templates live in each source app's ``payloads/`` template dir and+ carry ``{{ }}`` placeholders only where the operator gets control.++ With ``encode = False`` (default) the caller supplies already-safe+ primitives and the template quotes strings itself — fine for the+ scalar astronomical payloads. With ``encode = True`` every context+ value is ``json.dumps``-serialized and marked safe, so the template+ uses bare ``{{ x }}`` placeholders for both scalars and arrays; this+ is what the array-heavy Open-Meteo payloads use (a JSON list lands+ in value position without hand-managing commas or quote-escaping).+ """+ if encode:+ context = { key: mark_safe( json.dumps( value ) ) for key, value in context.items() }+ rendered = render_to_string( template_name, context )+ return json.loads( rendered )+++def now_hour() -> datetime:+ """Current time truncated to the top of the hour (UTC)."""+ return datetimeproxy.now().replace( minute = 0, second = 0, microsecond = 0 )+++def hourly_time_strings( count : int, start : datetime ) -> list:+ """Open-Meteo-style naive hourly timestamps (``YYYY-MM-DDTHH:00``).+ Format matches what the main app uses to locate the current hour."""+ return [ ( start + timedelta( hours = i ) ).strftime( '%Y-%m-%dT%H:00' )+ for i in range( count ) ]+++def daily_date_strings( count : int, start : date ) -> list:+ """Open-Meteo-style ``YYYY-MM-DD`` dates for ``count`` consecutive days."""+ return [ ( start + timedelta( days = i ) ).isoformat() for i in range( count ) ]+++def date_range_strings( start : date, end : date ) -> list:+ """Inclusive ``YYYY-MM-DD`` list spanning ``start``..``end`` (archive+ requests pass an explicit range)."""+ span = max( 0, ( end - start ).days )+ return [ ( start + timedelta( days = i ) ).isoformat() for i in range( span + 1 ) ]+++def parse_request_date( date_str : str ) -> date:+ """The astronomical sources are polled once per day for a run of+ consecutive dates. Echo the requested date back so each day's+ payload is self-consistent; fall back to today on anything+ unparseable."""+ if date_str:+ try:+ return date.fromisoformat( date_str )+ except ValueError:+ pass+ return datetimeproxy.now().date()+++def local_hhmm_to_utc_iso( hhmm : str, utc_offset_hours : int, on_date : date ) -> str:+ """Convert an operator-entered local ``HH:MM`` into the UTC ISO+ string shape sources like Sunrise-Sunset.org return (``...+00:00``).++ The main app re-localizes that instant to its own console timezone,+ so to make a time *display* at ``hhmm`` the operator sets+ ``utc_offset_hours`` to their console's UTC offset:+ ``utc = local - offset`` ⇒ ``local = utc + offset``.+ """+ hour, minute = ( int( part ) for part in hhmm.split( ':' ) )+ local_dt = datetime( on_date.year, on_date.month, on_date.day, hour, minute )+ utc_dt = local_dt - timedelta( hours = utc_offset_hours )+ return utc_dt.strftime( '%Y-%m-%dT%H:%M:%S+00:00' )+++def shift_utc_iso( utc_iso : str, minutes : int ) -> str:+ """Offset a ``local_hhmm_to_utc_iso`` result by ``minutes`` (used to+ derive twilight boundaries from sunrise/sunset)."""+ base = datetime.strptime( utc_iso, '%Y-%m-%dT%H:%M:%S+00:00' )+ shifted = base + timedelta( minutes = minutes )+ return shifted.strftime( '%Y-%m-%dT%H:%M:%S+00:00' )diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/__init__.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/apps.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/apps.pynew file mode 100644index 00000000..ff96f446--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/apps.py@@ -0,0 +1,12 @@+from django.apps import AppConfig+++class SunriseSunsetWeatherSimConfig( AppConfig ):+ default_auto_field = 'django.db.models.BigAutoField'+ name = 'hi.simulator.weather_sources.sunrise_sunset_org'++ simulator_module_label = 'Sunrise-Sunset.org'++ weather_source_short_name = 'sunrise_sunset_org'+ weather_source_label = 'Sunrise-Sunset.org'+ weather_source_tab_template = 'weather_sources/sunrise_sunset_org/tab.html'diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/constants.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/constants.pynew file mode 100644index 00000000..e106dfb6--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/constants.py@@ -0,0 +1,25 @@+"""Choice lists for the Sunrise-Sunset.org simulator state editor.++Self-contained on purpose — the weather simulators do not import from+``hi.apps.weather`` (see ``payload_utils`` module docstring).+"""++# The API's top-level ``status`` field. The main-app parser raises+# unless this is exactly ``OK``; the error values are offered so an+# operator can exercise the main app's failure handling.+STATUS_CHOICES = [+ ( 'OK', 'OK' ),+ ( 'INVALID_REQUEST', 'INVALID_REQUEST' ),+ ( 'INVALID_DATE', 'INVALID_DATE' ),+ ( 'UNKNOWN_ERROR', 'UNKNOWN_ERROR' ),+ ( 'INVALID_TZID', 'INVALID_TZID' ),+]++# Minutes from sunrise/sunset to each twilight boundary. Derived rather+# than separately editable to keep the form to a few fields; add real+# controls only if a screenshot ever needs them.+TWILIGHT_OFFSETS_MINUTES = {+ 'civil': 30,+ 'nautical': 60,+ 'astronomical': 90,+}diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/forms.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/forms.pynew file mode 100644index 00000000..ee81126f--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/forms.py@@ -0,0 +1,44 @@+from django import forms++from .models import SunriseSunsetSimState+++class SunriseSunsetSimStateForm( forms.ModelForm ):++ def __init__( self, *args, **kwargs ):+ super().__init__( *args, **kwargs )+ # Each control auto-submits on change (edits take effect+ # immediately in-page) and uses the compact -sm sizing so the+ # label / input / description fit on one row.+ for field in self.fields.values():+ widget = field.widget+ widget.attrs['onchange-async'] = 'true'+ css = widget.attrs.get( 'class', '' )+ if isinstance( widget, forms.Select ):+ widget.attrs['class'] = f'{css} custom-select-sm'.strip()+ elif not isinstance( widget, forms.CheckboxInput ):+ widget.attrs['class'] = f'{css} form-control-sm'.strip()++ class Meta:+ model = SunriseSunsetSimState+ fields = (+ 'sunrise',+ 'sunset',+ 'solar_noon',+ 'utc_offset_hours',+ 'status_str',+ )+ widgets = {+ 'sunrise': forms.TextInput( attrs = { 'class': 'form-control', 'placeholder': 'HH:MM' } ),+ 'sunset': forms.TextInput( attrs = { 'class': 'form-control', 'placeholder': 'HH:MM' } ),+ 'solar_noon': forms.TextInput( attrs = { 'class': 'form-control', 'placeholder': 'HH:MM' } ),+ 'utc_offset_hours': forms.NumberInput( attrs = { 'class': 'form-control' } ),+ 'status_str': forms.Select( attrs = { 'class': 'custom-select' } ),+ }+ labels = {+ 'sunrise': 'Sunrise',+ 'sunset': 'Sunset',+ 'solar_noon': 'Solar Noon',+ 'utc_offset_hours': 'Console UTC Offset (hours)',+ 'status_str': 'API Status',+ }diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/migrations/0001_initial.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/migrations/0001_initial.pynew file mode 100644index 00000000..d2fc381e--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/migrations/0001_initial.py@@ -0,0 +1,108 @@+# Generated by Django 5.2.14 on 2026-06-02 19:06++import django.core.validators+import django.db.models.deletion+from django.db import migrations, models+++class Migration(migrations.Migration):++ initial = True++ dependencies = [+ ("simulator_profile", "0001_initial"),+ ]++ operations = [+ migrations.CreateModel(+ name="SunriseSunsetSimState",+ fields=[+ (+ "id",+ models.BigAutoField(+ auto_created=True,+ primary_key=True,+ serialize=False,+ verbose_name="ID",+ ),+ ),+ (+ "sunrise",+ models.CharField(+ default="06:00",+ help_text="Local sunrise time (HH:MM).",+ max_length=5,+ validators=[+ django.core.validators.RegexValidator(+ message="Enter a time as HH:MM (24-hour).",+ regex="^\\d{1,2}:\\d{2}$",+ )+ ],+ ),+ ),+ (+ "sunset",+ models.CharField(+ default="20:00",+ help_text="Local sunset time (HH:MM).",+ max_length=5,+ validators=[+ django.core.validators.RegexValidator(+ message="Enter a time as HH:MM (24-hour).",+ regex="^\\d{1,2}:\\d{2}$",+ )+ ],+ ),+ ),+ (+ "solar_noon",+ models.CharField(+ default="13:00",+ help_text="Local solar-noon time (HH:MM).",+ max_length=5,+ validators=[+ django.core.validators.RegexValidator(+ message="Enter a time as HH:MM (24-hour).",+ regex="^\\d{1,2}:\\d{2}$",+ )+ ],+ ),+ ),+ (+ "utc_offset_hours",+ models.IntegerField(+ default=0,+ help_text="Set to your main-app console UTC offset (e.g. -5 for EST) so the times above display as entered. The API returns UTC instants that the main app re-localizes; 0 emits the times as UTC.",+ ),+ ),+ (+ "status_str",+ models.CharField(+ choices=[+ ("OK", "OK"),+ ("INVALID_REQUEST", "INVALID_REQUEST"),+ ("INVALID_DATE", "INVALID_DATE"),+ ("UNKNOWN_ERROR", "UNKNOWN_ERROR"),+ ("INVALID_TZID", "INVALID_TZID"),+ ],+ default="OK",+ help_text="Top-level API status. Anything but OK exercises the main-app error path.",+ max_length=24,+ ),+ ),+ ("updated_datetime", models.DateTimeField(auto_now=True)),+ (+ "sim_profile",+ models.OneToOneField(+ on_delete=django.db.models.deletion.CASCADE,+ related_name="sunrise_sunset_sim_state",+ to="simulator_profile.simprofile",+ ),+ ),+ ],+ options={+ "verbose_name": "Sunrise-Sunset Sim State",+ "verbose_name_plural": "Sunrise-Sunset Sim States",+ },+ ),+ ]diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/migrations/__init__.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/migrations/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/models.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/models.pynew file mode 100644index 00000000..57267193--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/models.py@@ -0,0 +1,64 @@+from django.core.validators import RegexValidator+from django.db import models++from hi.simulator.profile.models import SimProfile++from . import constants+++HHMM_VALIDATOR = RegexValidator(+ regex = r'^\d{1,2}:\d{2}$',+ message = 'Enter a time as HH:MM (24-hour).',+)+++class SunriseSunsetSimState( models.Model ):+ """Single operator-controlled astronomical response per profile.++ The API endpoint renders one ``results`` payload from this row on+ each request, anchored to whatever date the main app asks for, so+ the same sun times appear across the multi-day poll.+ """++ class Meta:+ verbose_name = 'Sunrise-Sunset Sim State'+ verbose_name_plural = 'Sunrise-Sunset Sim States'++ sim_profile = models.OneToOneField(+ SimProfile,+ related_name = 'sunrise_sunset_sim_state',+ on_delete = models.CASCADE,+ )+ sunrise = models.CharField(+ max_length = 5,+ default = '06:00',+ validators = [ HHMM_VALIDATOR ],+ help_text = 'Local sunrise time (HH:MM).',+ )+ sunset = models.CharField(+ max_length = 5,+ default = '20:00',+ validators = [ HHMM_VALIDATOR ],+ help_text = 'Local sunset time (HH:MM).',+ )+ solar_noon = models.CharField(+ max_length = 5,+ default = '13:00',+ validators = [ HHMM_VALIDATOR ],+ help_text = 'Local solar-noon time (HH:MM).',+ )+ utc_offset_hours = models.IntegerField(+ default = 0,+ help_text = (+ 'Set to your main-app console UTC offset (e.g. -5 for EST) so the '+ 'times above display as entered. The API returns UTC instants that '+ 'the main app re-localizes; 0 emits the times as UTC.'+ ),+ )+ status_str = models.CharField(+ max_length = 24,+ choices = constants.STATUS_CHOICES,+ default = 'OK',+ help_text = 'Top-level API status. Anything but OK exercises the main-app error path.',+ )+ updated_datetime = models.DateTimeField( auto_now = True )diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/panes/state_form.html b/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/panes/state_form.htmlnew file mode 100644index 00000000..e7794030--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/panes/state_form.html@@ -0,0 +1,30 @@+{% comment %}+Inline state editor. Each control auto-submits (onchange-async) to the+set endpoint, which re-renders and swaps this fragment in place.+Compact layout: label / input / description on one row.+Context: form (SunriseSunsetSimStateForm bound to the current state).+{% endcomment %}+<form id="hi-sunrise-sunset-sim-form"+ data-async="#hi-sunrise-sunset-sim-form" data-mode="replace"+ method="post" action="{% url 'simulator_weather_sunrise_sunset_state_set' %}"+ class="form sim-state-form">+ {% csrf_token %}+ {% if form.non_field_errors %}+ <div class="non-field-errors">+ {% for err in form.non_field_errors %}+ <p class="form-error text-danger">ERROR: {{ err }}</p>+ {% endfor %}+ </div>+ {% endif %}++ {% for field in form %}+ <div class="form-row align-items-center mb-1">+ <label for="{{ field.id_for_label }}" class="col-4 col-md-3 mb-0 small">{{ field.label }}</label>+ <div class="col-4 col-md-3">{{ field }}</div>+ <div class="col small">+ {% if field.errors %}<span class="form-error text-danger">{{ field.errors|join:", " }}</span>+ {% elif field.help_text %}<span class="text-muted">{{ field.help_text }}</span>{% endif %}+ </div>+ </div>+ {% endfor %}+</form>diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/payloads/astronomical.json b/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/payloads/astronomical.jsonnew file mode 100644index 00000000..fbe95a2c--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/payloads/astronomical.json@@ -0,0 +1,16 @@+{+ "results": {+ "sunrise": "{{ sunrise }}",+ "sunset": "{{ sunset }}",+ "solar_noon": "{{ solar_noon }}",+ "day_length": 0,+ "civil_twilight_begin": "{{ civil_begin }}",+ "civil_twilight_end": "{{ civil_end }}",+ "nautical_twilight_begin": "{{ nautical_begin }}",+ "nautical_twilight_end": "{{ nautical_end }}",+ "astronomical_twilight_begin": "{{ astronomical_begin }}",+ "astronomical_twilight_end": "{{ astronomical_end }}"+ },+ "status": "{{ status }}",+ "tzid": "UTC"+}diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/tab.html b/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/tab.htmlnew file mode 100644index 00000000..b6d7e648--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/templates/weather_sources/sunrise_sunset_org/tab.html@@ -0,0 +1,13 @@+{% load sunrise_sunset_sim_tags %}++<div class="sunrise-sunset-sim-tab">+ {% include "weather_sources/panes/source_header.html" with url1_label="Base" url1_path="/weather/sunrise_sunset_org/api/json" %}++ {% sunrise_sunset_sim_form as form %}+ {% include "weather_sources/sunrise_sunset_org/panes/state_form.html" %}++ <div class="text-muted small mt-2">+ Civil / nautical / astronomical twilight are derived automatically from+ sunrise and sunset.+ </div>+</div>diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/templatetags/__init__.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/templatetags/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/templatetags/sunrise_sunset_sim_tags.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/templatetags/sunrise_sunset_sim_tags.pynew file mode 100644index 00000000..e72fdc45--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/templatetags/sunrise_sunset_sim_tags.py@@ -0,0 +1,12 @@+from django import template++from ..forms import SunriseSunsetSimStateForm+from ..views import get_current_state++register = template.Library()+++def sunrise_sunset_sim_form():+ """Form bound to the current-profile state, for the inline tab pane."""+ return SunriseSunsetSimStateForm( instance = get_current_state() )diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/urls.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/urls.pynew file mode 100644index 00000000..ad2ade24--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/urls.py@@ -0,0 +1,14 @@+from django.urls import path++from . import views+++urlpatterns = [+ path( 'api/json',+ views.SunriseSunsetApiView.as_view(),+ name = 'simulator_weather_sunrise_sunset_api' ),++ path( 'state/set',+ views.SunriseSunsetSimStateSetView.as_view(),+ name = 'simulator_weather_sunrise_sunset_state_set' ),+]diff --git a/src/hi/simulator/weather_sources/sunrise_sunset_org/views.py b/src/hi/simulator/weather_sources/sunrise_sunset_org/views.pynew file mode 100644index 00000000..11ac5ec2--- /dev/null+++ b/src/hi/simulator/weather_sources/sunrise_sunset_org/views.py@@ -0,0 +1,79 @@+import logging++from django.http import JsonResponse+from django.shortcuts import render+from django.views.generic import View++from hi.simulator.profile.profile_manager import ProfileManager+from hi.simulator.weather_sources import payload_utils++from .apps import SunriseSunsetWeatherSimConfig+from .constants import TWILIGHT_OFFSETS_MINUTES+from .forms import SunriseSunsetSimStateForm+from .models import SunriseSunsetSimState++logger = logging.getLogger(__name__)++PAYLOAD_TEMPLATE = 'weather_sources/sunrise_sunset_org/payloads/astronomical.json'+++def get_current_state() -> SunriseSunsetSimState:+ """The single state row for Sunrise-Sunset's currently-selected+ profile, created on first access."""+ current_profile = ProfileManager().get_current( SunriseSunsetWeatherSimConfig.name )+ state, _created = SunriseSunsetSimState.objects.get_or_create(+ sim_profile = current_profile,+ )+ return state+++class SunriseSunsetApiView( View ):+ """Sunrise-Sunset.org-shaped ``/json`` endpoint backed by the+ current profile's state row."""++ def get( self, request, *args, **kwargs ):+ state = get_current_state()+ on_date = payload_utils.parse_request_date( request.GET.get( 'date' ) )++ sunrise = payload_utils.local_hhmm_to_utc_iso(+ state.sunrise, state.utc_offset_hours, on_date )+ sunset = payload_utils.local_hhmm_to_utc_iso(+ state.sunset, state.utc_offset_hours, on_date )+ solar_noon = payload_utils.local_hhmm_to_utc_iso(+ state.solar_noon, state.utc_offset_hours, on_date )++ context = {+ 'sunrise': sunrise,+ 'sunset': sunset,+ 'solar_noon': solar_noon,+ 'civil_begin': payload_utils.shift_utc_iso(+ sunrise, -TWILIGHT_OFFSETS_MINUTES['civil'] ),+ 'civil_end': payload_utils.shift_utc_iso(+ sunset, TWILIGHT_OFFSETS_MINUTES['civil'] ),+ 'nautical_begin': payload_utils.shift_utc_iso(+ sunrise, -TWILIGHT_OFFSETS_MINUTES['nautical'] ),+ 'nautical_end': payload_utils.shift_utc_iso(+ sunset, TWILIGHT_OFFSETS_MINUTES['nautical'] ),+ 'astronomical_begin': payload_utils.shift_utc_iso(+ sunrise, -TWILIGHT_OFFSETS_MINUTES['astronomical'] ),+ 'astronomical_end': payload_utils.shift_utc_iso(+ sunset, TWILIGHT_OFFSETS_MINUTES['astronomical'] ),+ 'status': state.status_str,+ }+ return JsonResponse( payload_utils.render_json_payload( PAYLOAD_TEMPLATE, context ) )+++class SunriseSunsetSimStateSetView( View ):+ """Auto-submit target for the inline state form. Saves the changed+ field(s) and re-renders the form fragment, which antinode swaps in+ place."""++ PANE_TEMPLATE = 'weather_sources/sunrise_sunset_org/panes/state_form.html'++ def post( self, request, *args, **kwargs ):+ state = get_current_state()+ form = SunriseSunsetSimStateForm( request.POST, instance = state )+ if form.is_valid():+ form.save()+ form = SunriseSunsetSimStateForm( instance = state )+ return render( request, self.PANE_TEMPLATE, { 'form': form })diff --git a/src/hi/simulator/weather_sources/templates/weather_sources/pages/source.html b/src/hi/simulator/weather_sources/templates/weather_sources/pages/source.htmlindex d96d605a..e32700e7 100644--- a/src/hi/simulator/weather_sources/templates/weather_sources/pages/source.html+++ b/src/hi/simulator/weather_sources/templates/weather_sources/pages/source.html@@ -1,8 +1,6 @@{% extends "pages/tabbed.html" %}{% block tab_body %}-<div class="d-flex align-items-center mb-2">- {% include "profile/panes/profile_selector.html" with module=module profile_list=profile_list current_profile=current_profile %}-</div>+{# Each source's tab builds its own one-row header (see panes/source_header.html). #}{% include source_data.tab_template %}{% endblock %}diff --git a/src/hi/simulator/weather_sources/templates/weather_sources/panes/fault_mode_form.html b/src/hi/simulator/weather_sources/templates/weather_sources/panes/fault_mode_form.htmlnew file mode 100644index 00000000..eb386d2a--- /dev/null+++ b/src/hi/simulator/weather_sources/templates/weather_sources/panes/fault_mode_form.html@@ -0,0 +1,21 @@+{% comment %}+Inline per-source fault-mode dropdown. Auto-submits on change to the set+endpoint, which re-renders and swaps this fragment in place.+Context: short_name, current (FaultMode), choices (list of FaultMode).+{% endcomment %}+<div id="hi-weather-fault-mode-{{ short_name }}" class="hi-fault-mode-form-wrap">+ <form action="{% url 'simulator_weather_fault_mode_set' short_name=short_name %}"+ method="post" class="form-inline hi-fault-mode-form"+ data-async="#hi-weather-fault-mode-{{ short_name }}" data-mode="replace">+ {% csrf_token %}+ <label class="mr-2 mb-0" for="weather-fault-mode-{{ short_name }}">Fault mode:</label>+ <select id="weather-fault-mode-{{ short_name }}" name="fault_mode"+ class="form-control form-control-sm" onchange-async="true">+ {% for mode in choices %}+ <option value="{{ mode.name }}" {% if current == mode %}selected{% endif %}>+ {{ mode.label }}+ </option>+ {% endfor %}+ </select>+ </form>+</div>diff --git a/src/hi/simulator/weather_sources/templates/weather_sources/panes/source_header.html b/src/hi/simulator/weather_sources/templates/weather_sources/panes/source_header.htmlnew file mode 100644index 00000000..c6980635--- /dev/null+++ b/src/hi/simulator/weather_sources/templates/weather_sources/panes/source_header.html@@ -0,0 +1,40 @@+{% comment %}+One-row weather-source tab header, matching the services layout:+ left — profile selector + actions, then the optional Add button+ center — base URL(s) to paste into the main app's Weather settings+ right — fault-mode control+Params (via include ``with``):+ url1_label / url1_path (required)+ url2_label / url2_path (optional — stacked under the first)+ add_url / add_label (optional — extra left-group button)+Profile context (module / profile_list / current_profile) and source_data+come from the enclosing tab context.+{% endcomment %}+{% load icons %}+{% load weather_fault_tags %}+<div class="d-flex align-items-center justify-content-between mb-2">++ <div class="d-flex align-items-center">+ {% include "profile/panes/profile_selector.html" with module=module profile_list=profile_list current_profile=current_profile %}+ {% if add_url %}+ <a class="btn btn-sm btn-outline-primary ml-2" data-async="modal" href="{{ add_url }}">+ {% icon "plus" size="sm" css_class="hi-icon-left" %}{{ add_label }}+ </a>+ {% endif %}+ </div>++ <div class="text-muted small mx-3 flex-grow-1 text-center">+ <div>+ <strong>{{ url1_label }}:</strong>+ <code>{{ request.scheme }}://{{ request.get_host }}{{ url1_path }}</code>+ </div>+ {% if url2_path %}+ <div>+ <strong>{{ url2_label }}:</strong>+ <code>{{ request.scheme }}://{{ request.get_host }}{{ url2_path }}</code>+ </div>+ {% endif %}+ </div>++ {% weather_fault_mode_form source_data.short_name %}+</div>diff --git a/src/hi/simulator/weather_sources/templatetags/__init__.py b/src/hi/simulator/weather_sources/templatetags/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/templatetags/weather_fault_tags.py b/src/hi/simulator/weather_sources/templatetags/weather_fault_tags.pynew file mode 100644index 00000000..88906f05--- /dev/null+++ b/src/hi/simulator/weather_sources/templatetags/weather_fault_tags.py@@ -0,0 +1,18 @@+from django import template++from hi.simulator.fault_injection import FaultMode++from ..fault_state import get_fault_mode++register = template.Library()++[email protected]_tag( 'weather_sources/panes/fault_mode_form.html' )+def weather_fault_mode_form( short_name ):+ """Render a source's inline fault-mode dropdown (current selection ++ choices). Shares its template with the set-view's async re-render."""+ return {+ 'short_name': short_name,+ 'current': get_fault_mode( short_name ),+ 'choices': list( FaultMode ),+ }diff --git a/src/hi/simulator/weather_sources/urls.py b/src/hi/simulator/weather_sources/urls.pyindex 2d90a6de..d942c4f8 100644--- a/src/hi/simulator/weather_sources/urls.py+++ b/src/hi/simulator/weather_sources/urls.py@@ -18,6 +18,10 @@ urlpatterns = [path( 'tab/<slug:short_name>/',views.WeatherSourceView.as_view(),name = 'simulator_weather_source' ),++ path( 'fault-mode/<slug:short_name>/set',+ views.WeatherFaultModeSetView.as_view(),+ name = 'simulator_weather_fault_mode_set' ),]diff --git a/src/hi/simulator/weather_sources/usno/__init__.py b/src/hi/simulator/weather_sources/usno/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/usno/apps.py b/src/hi/simulator/weather_sources/usno/apps.pynew file mode 100644index 00000000..a2ba7765--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/apps.py@@ -0,0 +1,12 @@+from django.apps import AppConfig+++class UsnoWeatherSimConfig( AppConfig ):+ default_auto_field = 'django.db.models.BigAutoField'+ name = 'hi.simulator.weather_sources.usno'++ simulator_module_label = 'US Naval Observatory'++ weather_source_short_name = 'usno'+ weather_source_label = 'US Naval Observatory'+ weather_source_tab_template = 'weather_sources/usno/tab.html'diff --git a/src/hi/simulator/weather_sources/usno/constants.py b/src/hi/simulator/weather_sources/usno/constants.pynew file mode 100644index 00000000..08e4d40e--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/constants.py@@ -0,0 +1,20 @@+"""Choice lists for the USNO simulator state editor.++Self-contained on purpose — the weather simulators do not import from+``hi.apps.weather`` (see ``payload_utils`` module docstring).++The main app derives the moon's waxing/waning flag from the phase name+substring (``waxing`` / ``waning`` / ``new`` / ``full`` / ``first`` /+``last``), so these standard names all map cleanly.+"""++MOON_PHASE_CHOICES = [+ ( 'New Moon', 'New Moon' ),+ ( 'Waxing Crescent', 'Waxing Crescent' ),+ ( 'First Quarter', 'First Quarter' ),+ ( 'Waxing Gibbous', 'Waxing Gibbous' ),+ ( 'Full Moon', 'Full Moon' ),+ ( 'Waning Gibbous', 'Waning Gibbous' ),+ ( 'Last Quarter', 'Last Quarter' ),+ ( 'Waning Crescent', 'Waning Crescent' ),+]diff --git a/src/hi/simulator/weather_sources/usno/forms.py b/src/hi/simulator/weather_sources/usno/forms.pynew file mode 100644index 00000000..388c420f--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/forms.py@@ -0,0 +1,53 @@+from django import forms++from .models import UsnoSimState+++class UsnoSimStateForm( forms.ModelForm ):++ def __init__( self, *args, **kwargs ):+ super().__init__( *args, **kwargs )+ # Each control auto-submits on change (edits take effect+ # immediately in-page) and uses the compact -sm sizing so the+ # label / input / description fit on one row.+ for field in self.fields.values():+ widget = field.widget+ widget.attrs['onchange-async'] = 'true'+ css = widget.attrs.get( 'class', '' )+ if isinstance( widget, forms.Select ):+ widget.attrs['class'] = f'{css} custom-select-sm'.strip()+ elif not isinstance( widget, forms.CheckboxInput ):+ widget.attrs['class'] = f'{css} form-control-sm'.strip()++ class Meta:+ model = UsnoSimState+ fields = (+ 'sunrise',+ 'sunset',+ 'solar_noon',+ 'moonrise',+ 'moonset',+ 'fracillum_percent',+ 'curphase_str',+ 'tz_offset_hours',+ )+ widgets = {+ 'sunrise': forms.TextInput( attrs = { 'class': 'form-control', 'placeholder': 'HH:MM' } ),+ 'sunset': forms.TextInput( attrs = { 'class': 'form-control', 'placeholder': 'HH:MM' } ),+ 'solar_noon': forms.TextInput( attrs = { 'class': 'form-control', 'placeholder': 'HH:MM' } ),+ 'moonrise': forms.TextInput( attrs = { 'class': 'form-control', 'placeholder': 'HH:MM' } ),+ 'moonset': forms.TextInput( attrs = { 'class': 'form-control', 'placeholder': 'HH:MM' } ),+ 'fracillum_percent': forms.NumberInput( attrs = { 'class': 'form-control' } ),+ 'curphase_str': forms.Select( attrs = { 'class': 'custom-select' } ),+ 'tz_offset_hours': forms.NumberInput( attrs = { 'class': 'form-control' } ),+ }+ labels = {+ 'sunrise': 'Sunrise',+ 'sunset': 'Sunset',+ 'solar_noon': 'Solar Noon',+ 'moonrise': 'Moonrise',+ 'moonset': 'Moonset',+ 'fracillum_percent': 'Moon Illumination (%)',+ 'curphase_str': 'Moon Phase',+ 'tz_offset_hours': 'TZ Offset (cosmetic)',+ }diff --git a/src/hi/simulator/weather_sources/usno/migrations/0001_initial.py b/src/hi/simulator/weather_sources/usno/migrations/0001_initial.pynew file mode 100644index 00000000..feeba1c8--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/migrations/0001_initial.py@@ -0,0 +1,150 @@+# Generated by Django 5.2.14 on 2026-06-02 19:06++import django.core.validators+import django.db.models.deletion+from django.db import migrations, models+++class Migration(migrations.Migration):++ initial = True++ dependencies = [+ ("simulator_profile", "0001_initial"),+ ]++ operations = [+ migrations.CreateModel(+ name="UsnoSimState",+ fields=[+ (+ "id",+ models.BigAutoField(+ auto_created=True,+ primary_key=True,+ serialize=False,+ verbose_name="ID",+ ),+ ),+ (+ "sunrise",+ models.CharField(+ default="05:44",+ help_text="Local sunrise time (HH:MM).",+ max_length=5,+ validators=[+ django.core.validators.RegexValidator(+ message="Enter a time as HH:MM (24-hour).",+ regex="^\\d{1,2}:\\d{2}$",+ )+ ],+ ),+ ),+ (+ "sunset",+ models.CharField(+ default="20:28",+ help_text="Local sunset time (HH:MM).",+ max_length=5,+ validators=[+ django.core.validators.RegexValidator(+ message="Enter a time as HH:MM (24-hour).",+ regex="^\\d{1,2}:\\d{2}$",+ )+ ],+ ),+ ),+ (+ "solar_noon",+ models.CharField(+ default="13:06",+ help_text="Local solar-noon (upper-transit) time (HH:MM).",+ max_length=5,+ validators=[+ django.core.validators.RegexValidator(+ message="Enter a time as HH:MM (24-hour).",+ regex="^\\d{1,2}:\\d{2}$",+ )+ ],+ ),+ ),+ (+ "moonrise",+ models.CharField(+ default="22:55",+ help_text="Local moonrise time (HH:MM).",+ max_length=5,+ validators=[+ django.core.validators.RegexValidator(+ message="Enter a time as HH:MM (24-hour).",+ regex="^\\d{1,2}:\\d{2}$",+ )+ ],+ ),+ ),+ (+ "moonset",+ models.CharField(+ default="07:06",+ help_text="Local moonset time (HH:MM).",+ max_length=5,+ validators=[+ django.core.validators.RegexValidator(+ message="Enter a time as HH:MM (24-hour).",+ regex="^\\d{1,2}:\\d{2}$",+ )+ ],+ ),+ ),+ (+ "fracillum_percent",+ models.IntegerField(+ default=95,+ help_text="Moon illuminated fraction (0-100%).",+ validators=[+ django.core.validators.MinValueValidator(0),+ django.core.validators.MaxValueValidator(100),+ ],+ ),+ ),+ (+ "curphase_str",+ models.CharField(+ choices=[+ ("New Moon", "New Moon"),+ ("Waxing Crescent", "Waxing Crescent"),+ ("First Quarter", "First Quarter"),+ ("Waxing Gibbous", "Waxing Gibbous"),+ ("Full Moon", "Full Moon"),+ ("Waning Gibbous", "Waning Gibbous"),+ ("Last Quarter", "Last Quarter"),+ ("Waning Crescent", "Waning Crescent"),+ ],+ default="Waning Gibbous",+ help_text="Current moon phase; drives the waxing/waning flag.",+ max_length=24,+ ),+ ),+ (+ "tz_offset_hours",+ models.IntegerField(+ default=0,+ help_text="Cosmetic tz value echoed in the payload; the main app ignores it.",+ ),+ ),+ ("updated_datetime", models.DateTimeField(auto_now=True)),+ (+ "sim_profile",+ models.OneToOneField(+ on_delete=django.db.models.deletion.CASCADE,+ related_name="usno_sim_state",+ to="simulator_profile.simprofile",+ ),+ ),+ ],+ options={+ "verbose_name": "USNO Sim State",+ "verbose_name_plural": "USNO Sim States",+ },+ ),+ ]diff --git a/src/hi/simulator/weather_sources/usno/migrations/__init__.py b/src/hi/simulator/weather_sources/usno/migrations/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/usno/models.py b/src/hi/simulator/weather_sources/usno/models.pynew file mode 100644index 00000000..a4e1742d--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/models.py@@ -0,0 +1,67 @@+from django.core.validators import MaxValueValidator, MinValueValidator, RegexValidator+from django.db import models++from hi.simulator.profile.models import SimProfile++from . import constants+++HHMM_VALIDATOR = RegexValidator(+ regex = r'^\d{1,2}:\d{2}$',+ message = 'Enter a time as HH:MM (24-hour).',+)+++class UsnoSimState( models.Model ):+ """Single operator-controlled USNO ``oneday`` response per profile.++ USNO returns times already in local wall-clock (the main app sends+ a tz offset on the request), so the HH:MM values here are emitted+ directly — no UTC conversion needed.+ """++ class Meta:+ verbose_name = 'USNO Sim State'+ verbose_name_plural = 'USNO Sim States'++ sim_profile = models.OneToOneField(+ SimProfile,+ related_name = 'usno_sim_state',+ on_delete = models.CASCADE,+ )+ sunrise = models.CharField(+ max_length = 5, default = '05:44', validators = [ HHMM_VALIDATOR ],+ help_text = 'Local sunrise time (HH:MM).',+ )+ sunset = models.CharField(+ max_length = 5, default = '20:28', validators = [ HHMM_VALIDATOR ],+ help_text = 'Local sunset time (HH:MM).',+ )+ solar_noon = models.CharField(+ max_length = 5, default = '13:06', validators = [ HHMM_VALIDATOR ],+ help_text = 'Local solar-noon (upper-transit) time (HH:MM).',+ )+ moonrise = models.CharField(+ max_length = 5, default = '22:55', validators = [ HHMM_VALIDATOR ],+ help_text = 'Local moonrise time (HH:MM).',+ )+ moonset = models.CharField(+ max_length = 5, default = '07:06', validators = [ HHMM_VALIDATOR ],+ help_text = 'Local moonset time (HH:MM).',+ )+ fracillum_percent = models.IntegerField(+ default = 95,+ validators = [ MinValueValidator( 0 ), MaxValueValidator( 100 ) ],+ help_text = 'Moon illuminated fraction (0-100%).',+ )+ curphase_str = models.CharField(+ max_length = 24,+ choices = constants.MOON_PHASE_CHOICES,+ default = 'Waning Gibbous',+ help_text = 'Current moon phase; drives the waxing/waning flag.',+ )+ tz_offset_hours = models.IntegerField(+ default = 0,+ help_text = 'Cosmetic tz value echoed in the payload; the main app ignores it.',+ )+ updated_datetime = models.DateTimeField( auto_now = True )diff --git a/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/panes/state_form.html b/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/panes/state_form.htmlnew file mode 100644index 00000000..21ace8b4--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/panes/state_form.html@@ -0,0 +1,30 @@+{% comment %}+Inline state editor. Each control auto-submits (onchange-async) to the+set endpoint, which re-renders and swaps this fragment in place.+Compact layout: label / input / description on one row.+Context: form (UsnoSimStateForm bound to the current state).+{% endcomment %}+<form id="hi-usno-sim-form"+ data-async="#hi-usno-sim-form" data-mode="replace"+ method="post" action="{% url 'simulator_weather_usno_state_set' %}"+ class="form sim-state-form">+ {% csrf_token %}+ {% if form.non_field_errors %}+ <div class="non-field-errors">+ {% for err in form.non_field_errors %}+ <p class="form-error text-danger">ERROR: {{ err }}</p>+ {% endfor %}+ </div>+ {% endif %}++ {% for field in form %}+ <div class="form-row align-items-center mb-1">+ <label for="{{ field.id_for_label }}" class="col-4 col-md-3 mb-0 small">{{ field.label }}</label>+ <div class="col-4 col-md-3">{{ field }}</div>+ <div class="col small">+ {% if field.errors %}<span class="form-error text-danger">{{ field.errors|join:", " }}</span>+ {% elif field.help_text %}<span class="text-muted">{{ field.help_text }}</span>{% endif %}+ </div>+ </div>+ {% endfor %}+</form>diff --git a/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/payloads/oneday.json b/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/payloads/oneday.jsonnew file mode 100644index 00000000..15559e03--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/payloads/oneday.json@@ -0,0 +1,30 @@+{+ "apiversion": "4.0.1",+ "geometry": {+ "coordinates": [ {{ longitude }}, {{ latitude }} ],+ "type": "Point"+ },+ "properties": {+ "data": {+ "curphase": "{{ curphase }}",+ "day": {{ day }},+ "day_of_week": "{{ day_of_week }}",+ "fracillum": "{{ fracillum }}%",+ "isdst": false,+ "label": null,+ "month": {{ month }},+ "moondata": [+ { "phen": "Rise", "time": "{{ moonrise }}" },+ { "phen": "Set", "time": "{{ moonset }}" }+ ],+ "sundata": [+ { "phen": "Rise", "time": "{{ sunrise }}" },+ { "phen": "Upper Transit", "time": "{{ solar_noon }}" },+ { "phen": "Set", "time": "{{ sunset }}" }+ ],+ "tz": {{ tz }},+ "year": {{ year }}+ }+ },+ "type": "Feature"+}diff --git a/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/tab.html b/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/tab.htmlnew file mode 100644index 00000000..b52f08cf--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/templates/weather_sources/usno/tab.html@@ -0,0 +1,13 @@+{% load usno_sim_tags %}++<div class="usno-sim-tab">+ {% include "weather_sources/panes/source_header.html" with url1_label="Base" url1_path="/weather/usno/api/oneday" %}++ {% usno_sim_form as form %}+ {% include "weather_sources/usno/panes/state_form.html" %}++ <div class="text-muted small mt-2">+ Times are emitted as local wall-clock, matching what USNO returns when the+ main app sends its timezone offset.+ </div>+</div>diff --git a/src/hi/simulator/weather_sources/usno/templatetags/__init__.py b/src/hi/simulator/weather_sources/usno/templatetags/__init__.pynew file mode 100644index 00000000..e69de29bdiff --git a/src/hi/simulator/weather_sources/usno/templatetags/usno_sim_tags.py b/src/hi/simulator/weather_sources/usno/templatetags/usno_sim_tags.pynew file mode 100644index 00000000..2e58a2dc--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/templatetags/usno_sim_tags.py@@ -0,0 +1,12 @@+from django import template++from ..forms import UsnoSimStateForm+from ..views import get_current_state++register = template.Library()+++def usno_sim_form():+ """Form bound to the current-profile state, for the inline tab pane."""+ return UsnoSimStateForm( instance = get_current_state() )diff --git a/src/hi/simulator/weather_sources/usno/urls.py b/src/hi/simulator/weather_sources/usno/urls.pynew file mode 100644index 00000000..6714f952--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/urls.py@@ -0,0 +1,14 @@+from django.urls import path++from . import views+++urlpatterns = [+ path( 'api/oneday',+ views.UsnoApiView.as_view(),+ name = 'simulator_weather_usno_api' ),++ path( 'state/set',+ views.UsnoSimStateSetView.as_view(),+ name = 'simulator_weather_usno_state_set' ),+]diff --git a/src/hi/simulator/weather_sources/usno/views.py b/src/hi/simulator/weather_sources/usno/views.pynew file mode 100644index 00000000..de8c0af6--- /dev/null+++ b/src/hi/simulator/weather_sources/usno/views.py@@ -0,0 +1,80 @@+import logging++from django.http import JsonResponse+from django.shortcuts import render+from django.views.generic import View++from hi.simulator.profile.profile_manager import ProfileManager+from hi.simulator.weather_sources import payload_utils++from .apps import UsnoWeatherSimConfig+from .forms import UsnoSimStateForm+from .models import UsnoSimState++logger = logging.getLogger(__name__)++PAYLOAD_TEMPLATE = 'weather_sources/usno/payloads/oneday.json'+++def get_current_state() -> UsnoSimState:+ """The single state row for USNO's currently-selected profile,+ created on first access."""+ current_profile = ProfileManager().get_current( UsnoWeatherSimConfig.name )+ state, _created = UsnoSimState.objects.get_or_create( sim_profile = current_profile )+ return state+++def _parse_coords( coords_str : str ):+ """``coords`` is ``lat,lon``; echo it back into the geometry. Defaults+ keep the payload valid if the param is missing/malformed."""+ if coords_str:+ try:+ lat_str, lon_str = coords_str.split( ',' )+ return float( lat_str ), float( lon_str )+ except ( ValueError, TypeError ):+ pass+ return 0.0, 0.0+++class UsnoApiView( View ):+ """USNO ``oneday``-shaped endpoint backed by the current profile's+ state row."""++ def get( self, request, *args, **kwargs ):+ state = get_current_state()+ on_date = payload_utils.parse_request_date( request.GET.get( 'date' ) )+ latitude, longitude = _parse_coords( request.GET.get( 'coords' ) )++ context = {+ 'latitude': latitude,+ 'longitude': longitude,+ 'sunrise': state.sunrise,+ 'sunset': state.sunset,+ 'solar_noon': state.solar_noon,+ 'moonrise': state.moonrise,+ 'moonset': state.moonset,+ 'fracillum': state.fracillum_percent,+ 'curphase': state.curphase_str,+ 'tz': float( state.tz_offset_hours ),+ 'day': on_date.day,+ 'month': on_date.month,+ 'year': on_date.year,+ 'day_of_week': on_date.strftime( '%A' ),+ }+ return JsonResponse( payload_utils.render_json_payload( PAYLOAD_TEMPLATE, context ) )+++class UsnoSimStateSetView( View ):+ """Auto-submit target for the inline state form. Saves the changed+ field(s) and re-renders the form fragment, which antinode swaps in+ place."""++ PANE_TEMPLATE = 'weather_sources/usno/panes/state_form.html'++ def post( self, request, *args, **kwargs ):+ state = get_current_state()+ form = UsnoSimStateForm( request.POST, instance = state )+ if form.is_valid():+ form.save()+ form = UsnoSimStateForm( instance = state )+ return render( request, self.PANE_TEMPLATE, { 'form': form })diff --git a/src/hi/simulator/weather_sources/views.py b/src/hi/simulator/weather_sources/views.pyindex fec29e48..83c49766 100644--- a/src/hi/simulator/weather_sources/views.py+++ b/src/hi/simulator/weather_sources/views.py@@ -1,12 +1,25 @@+from django.core.exceptions import BadRequestfrom django.http import Http404, HttpResponseRedirectfrom django.shortcuts import renderfrom django.urls import reversefrom django.views.generic import View+from hi.simulator.fault_injection import FaultModefrom hi.simulator.profile.profile_manager import ProfileManager+from .fault_state import get_fault_mode, set_fault_modefrom .registry import get_weather_source_data_list+FAULT_MODE_TEMPLATE = 'weather_sources/panes/fault_mode_form.html'+++def _fault_mode_context( short_name : str ) -> dict:+ return {+ 'short_name': short_name,+ 'current': get_fault_mode( short_name ),+ 'choices': list( FaultMode ),+ }+def _build_weather_tab_specs( active_short_name : str ):"""Tab strip data for the Weather section. Each entry routes to@@ -67,3 +80,22 @@ class WeatherSourceView( View ):'current_profile': profile_manager.get_current( source_data.module_key ),}return render( request, 'weather_sources/pages/source.html', context )+++class WeatherFaultModeSetView( View ):+ """Auto-submit target for a source's inline fault-mode dropdown. Sets+ the in-memory mode and re-renders the fragment for in-place swap."""++ def post(self, request, short_name, *args, **kwargs):+ known = { s.short_name for s in get_weather_source_data_list() }+ if short_name not in known:+ raise Http404( f'Unknown weather source: {short_name!r}' )++ fault_mode_name = request.POST.get( 'fault_mode' )+ try:+ fault_mode = FaultMode[ fault_mode_name ]+ except KeyError:+ raise BadRequest( f'Invalid fault mode: {fault_mode_name}' )++ set_fault_mode( short_name, fault_mode )+ return render( request, FAULT_MODE_TEMPLATE, _fault_mode_context( short_name ) )diff --git a/src/hi/static/css/main.css b/src/hi/static/css/main.cssindex f6fcf9e1..cd8f416a 100644--- a/src/hi/static/css/main.css+++ b/src/hi/static/css/main.css@@ -132,7 +132,7 @@ a.clickable-card:active {.profile-selection-container {display: flex;justify-content: center;- gap: clamp(1rem, 3vw, 2rem);+ gap: clamp(1rem, 3vw, 4rem);margin: clamp(1rem, 3vh, 2rem) 0;flex-wrap: wrap;}@@ -141,14 +141,14 @@ a.clickable-card:active {display: flex;flex-direction: column;align-items: center;- padding: clamp(1rem, 2vh, 1.5rem) clamp(1.5rem, 3vw, 2rem) clamp(0.5rem, 1vh, 1rem);+ padding: clamp(1rem, 2vh, 2.5rem) clamp(1.5rem, 3vw, 3rem) clamp(0.5rem, 1vh, 1.5rem);border: 2px solid var(--line-color);border-radius: 8px;text-decoration: none;color: inherit;transition: all 0.3s ease;background: white;- min-width: clamp(120px, 15vw, 140px);+ min-width: clamp(120px, 15vw, 220px);flex: 0 1 auto;}@@ -161,8 +161,8 @@ a.clickable-card:active {}.profile-icon {- width: clamp(60px, 8vw, 100px);- height: clamp(60px, 8vw, 100px);+ width: clamp(60px, 8vw, 160px);+ height: clamp(60px, 8vw, 160px);max-width: 100%;margin-bottom: clamp(0.5rem, 1vh, 0.75rem);}@@ -401,7 +401,7 @@ a.clickable-card:active {.interstitial-page {display: flex;flex-direction: column;- justify-content: flex-start;+ justify-content: center;align-items: center;min-height: 100vh;max-width: 1200px;diff --git a/src/hi/static/img/integrations/nws.png b/src/hi/static/img/integrations/nws.pngnew file mode 100644index 00000000..7ef7738aBinary files /dev/null and b/src/hi/static/img/integrations/nws.png differdiff --git a/src/hi/static/js/svg-entity-edit.js b/src/hi/static/js/svg-entity-edit.jsindex 19da76e0..1f60ae0d 100644--- a/src/hi/static/js/svg-entity-edit.js+++ b/src/hi/static/js/svg-entity-edit.js@@ -274,6 +274,24 @@},});+ // Fit the server-rendered viewBox to the container once the+ // page has laid out. Deferred to a frame after ready so the+ // container has its final size (reading it at ready can yield+ // 0). Without this the view paints letterboxed until the first+ // pan/zoom. A resize re-fits for the same reason; this only+ // rewrites the viewBox locally and never triggers a save.+ function fitToContainer() {+ window.requestAnimationFrame( function() {+ Hi.SvgPanZoomCore.fitViewBoxToContainer();+ });+ }+ $(document).ready( fitToContainer );++ var resizeFitTimer = null;+ $(window).on( 'resize', function() {+ clearTimeout( resizeFitTimer );+ resizeFitTimer = setTimeout( fitToContainer, 150 );+ });},handleSinglePointerEventStart: function( singlePointerEvent ) {diff --git a/src/hi/static/js/svg-entity-event-listeners.js b/src/hi/static/js/svg-entity-event-listeners.jsindex d0dc138c..dab5437c 100644--- a/src/hi/static/js/svg-entity-event-listeners.js+++ b/src/hi/static/js/svg-entity-event-listeners.js@@ -489,7 +489,12 @@addPointerListener( 'pointerup', Hi.LOCATION_VIEW_AREA_SELECTOR, handlePointerUpEvent, false );addPointerListener( 'pointercancel', Hi.LOCATION_VIEW_AREA_SELECTOR, handlePointerCancelEvent );- $(document).on('wheel', Hi.LOCATION_VIEW_AREA_SELECTOR, function( event ) {+ // N.B. Registered natively with "passive: false" so preventDefault()+ // works. Chrome treats wheel listeners on document as passive by+ // default, which silently ignores preventDefault() (jQuery also has+ // no way to set the passive option). See addPointerListener above.+ document.addEventListener( 'wheel', function( event ) {+ if ( ! event.target.closest( Hi.LOCATION_VIEW_AREA_SELECTOR )) { return; }let handled = Hi.edit.icon.handleMouseWheel( event );if ( ! handled ) {handled = Hi.location.handleMouseWheel( event );@@ -498,7 +503,7 @@event.preventDefault();event.stopImmediatePropagation();}- });+ }, { passive: false });$(document).on('click', Hi.LOCATION_VIEW_AREA_SELECTOR, function( event ) {if ( shouldIgnoreEvent( event )) { return; }diff --git a/src/hi/static/js/svg-pan-zoom-core.js b/src/hi/static/js/svg-pan-zoom-core.jsindex 0d6b665d..49b6456c 100644--- a/src/hi/static/js/svg-pan-zoom-core.js+++ b/src/hi/static/js/svg-pan-zoom-core.js@@ -62,6 +62,28 @@gSvgElement = gConfig ? $( gConfig.baseSvgSelector )[0] || null : null;},+ /*+ Correct the current viewBox aspect ratio to the container's. The+ server renders the SVG with a saved viewBox whose aspect ratio+ need not match the current viewport; with preserveAspectRatio+ "meet" that paints the view letterboxed (not filling the canvas)+ until the first pan/zoom runs adjustViewBox(). Calling this once+ after layout removes that initial mismatch. No-op (rather than+ producing a NaN/Infinity viewBox) until the container has a real+ size.+ */+ fitViewBoxToContainer: function() {+ if ( ! gSvgElement ) { HiSvgPanZoomCore.refresh(); }+ if ( ! gSvgElement || ! gConfig ) { return; }+ var areaElement = $( gConfig.areaSelector )[0];+ if ( ! areaElement ) { return; }+ var rect = areaElement.getBoundingClientRect();+ if ( ! rect.width || ! rect.height ) { return; }+ var currentViewBox = Hi.svgUtils.getSvgViewBox( gSvgElement );+ if ( ! currentViewBox || ! currentViewBox.width ) { return; }+ adjustViewBox( currentViewBox, currentViewBox.width, currentViewBox.height );+ },+handleSinglePointerEventStart: function( event ) {if ( ! gSvgElement ) { return false; }diff --git a/src/hi/static/state_panels/fallback/fallback.css b/src/hi/static/state_panels/fallback/fallback.cssindex 10adcdbd..640a33b2 100644--- a/src/hi/static/state_panels/fallback/fallback.css+++ b/src/hi/static/state_panels/fallback/fallback.css@@ -30,7 +30,7 @@min-width: 0;}.state-compact__label {- font-size: 10px;+ font-size: 0.85rem;text-transform: uppercase;letter-spacing: 0.04em;color: var(--text-muted, #6c757d);@@ -40,7 +40,7 @@text-overflow: ellipsis;}.state-compact__value {- font-size: 13px;+ font-size: 1rem;line-height: 1.2;overflow: hidden;}@@ -67,7 +67,7 @@.hi-state-panel-fallback--row .hi-state-panel-fallback__name {flex: 0 1 auto;min-width: 0;- font-size: 14px;+ font-size: 1rem;}.hi-state-panel-fallback--row .state-compact {flex: 1 1 0;@@ -89,7 +89,7 @@height: 48px;}.hi-state-panel-fallback--tile .hi-state-panel-fallback__name {- font-size: 13px;+ font-size: 1rem;line-height: 1.2;}.hi-state-panel-fallback--tile .state-compact {diff --git a/src/hi/templates/pages/start.html b/src/hi/templates/pages/start.htmlindex abe789f3..f18aa0ac 100644--- a/src/hi/templates/pages/start.html+++ b/src/hi/templates/pages/start.html@@ -3,8 +3,8 @@{% block interstitial_content %}<div>- <div class="display-4" style="font-size: clamp(2rem, 5vw, 3.5rem);">Welcome!</div>- <p class="lead mt-2 mb-4" style="font-size: clamp(1rem, 2.5vw, 1.25rem);">+ <div class="display-4" style="font-size: clamp(2rem, 5vw, 5rem);">Welcome!</div>+ <p class="lead mt-2 mb-4" style="font-size: clamp(1rem, 2.5vw, 2rem);">Choose your type of home to get started.</p>@@ -13,7 +13,7 @@{% for profile_type in profile_type_list %}<form method="post" action="{% url 'profiles_initialize_predefined' profile_type %}"style="display: inline-block;"- data-async="true">+ data-async="modal">{% csrf_token %}<button type="submit" class="profile-button"><img src="{% static 'img/profiles/'|add:profile_type.icon_filename %}"diff --git a/src/hi/tests/test_views.py b/src/hi/tests/test_views.pyindex 07f1c750..f9ffb3a1 100644--- a/src/hi/tests/test_views.py+++ b/src/hi/tests/test_views.py@@ -70,16 +70,13 @@ class TestHomeView(SyncViewTestCase):This view redirects based on existing data and view parameters."""- def test_home_view_redirects_to_start_when_no_locations(self):- """Test that HomeView redirects to start page when no locations exist."""- # Ensure no locations exist+ def test_home_view_routes_to_start_when_no_data(self):+ """With no entities or locations (ALLOWS_PROFILE), home routes (via+ location_view_default) through to the start/profile-picker page."""+ # Ensure no locations exist (and the base DB has no entities).Location.objects.all().delete()-- url = reverse('home')- response = self.client.get(url)-- start_url = reverse('start')- self.assertRedirects(response, start_url)++ self.assertRedirectsToTemplates(reverse('home'), ['pages/start.html'])def test_home_view_redirects_to_location_view_when_locations_exist(self):"""Test that HomeView redirects and renders location view template."""@@ -103,29 +100,21 @@ class TestHomeView(SyncViewTestCase):# Use assertRedirectsToTemplates to follow redirects and verify final templateself.assertRedirectsToTemplates(url, ['location/panes/location_view.html'])- def test_home_view_handles_inconsistent_database_state(self):- """Test that HomeView redirects to start when Location exists but no LocationView exists.-- This test covers the edge case where a Location object exists but no associated- LocationView exists. This shouldn't happen in normal operation since Location- creation atomically creates a default LocationView, but we test the fallback- behavior for safety.+ def test_home_view_self_heals_when_location_has_no_view(self):+ """A Location with no LocationView is an inconsistent state that+ shouldn't occur normally (location creation makes a default view).+ Rather than dead-ending, it is repaired with a default view and+ rendered."""- # Create an orphaned Location without a LocationView- # (This shouldn't happen in normal operation but we test the fallback)+ # Create an orphaned Location without a LocationView.Location.objects.create(name='Orphaned Location',svg_fragment_filename='orphaned.svg',svg_view_box_str='0 0 100 100')- # Ensure no LocationView objects existLocationView.objects.all().delete()-- url = reverse('home')- response = self.client.get(url)-- start_url = reverse('start')- self.assertRedirects(response, start_url, fetch_redirect_response=False)++ self.assertRedirectsToTemplates(reverse('home'), ['location/panes/location_view.html'])def test_home_view_redirects_to_collection_view_when_collection_type(self):"""Test that HomeView redirects to collection_view_default when view_type is collection."""diff --git a/src/hi/views.py b/src/hi/views.pyindex 4687f136..f52384e3 100644--- a/src/hi/views.py+++ b/src/hi/views.py@@ -15,9 +15,10 @@ from django.views.generic import Viewimport hi.apps.common.antinode as antinodefrom hi.apps.common.healthcheck import do_healthcheckfrom hi.apps.common.utils import is_ajax-from hi.apps.location.models import LocationView+from hi.apps.profiles.profile_manager import ProfileManagerfrom hi.apps.profiles.enums import ProfileType+from hi.enums import ProvisioningStatedef error_response( request : HttpRequest,@@ -169,10 +170,11 @@ class HomeView( View ):def get(self, request, *args, **kwargs):- if not LocationView.objects.all().exists():- redirect_url = reverse( 'start' )- return HttpResponseRedirect( redirect_url )-+ # Hot path: assume the system is provisioned and route straight to+ # the relevant default view, adding no provisioning queries here.+ # The rare non-provisioned states (no location) are detected and+ # handled downstream by LocationViewDefaultView, which resolves the+ # provisioning state only when it actually finds nothing to show.if request.view_parameters.view_type.is_collection:redirect_url = reverse( 'collection_view_default' )else:@@ -187,10 +189,18 @@ class StartView( View ):def get(self, request, *args, **kwargs):- # This view only for first time users (when no LocationViews exist)- if LocationView.objects.all().exists():- redirect_url = reverse( 'home' )- return HttpResponseRedirect( redirect_url )+ # StartView is the canonical place that defines policy for the+ # ProvisioningState. Any view that requires a particular state but+ # finds it unmet (e.g. LocationViewDefaultView with no location)+ # simply redirects here and lets this view decide what to do:+ # PROVISIONED -> nothing to set up; go home.+ # REQUIRES_LOCATION -> data exists but no location; add one.+ # ALLOWS_PROFILE -> render the profile picker (below).+ state = ProfileManager().get_provisioning_state()+ if state == ProvisioningState.PROVISIONED:+ return HttpResponseRedirect( reverse( 'home' ) )+ if state == ProvisioningState.REQUIRES_LOCATION:+ return HttpResponseRedirect( reverse( 'profiles_initialize_custom' ) )# Define which profiles to show and in what order# This allows us to control which profiles appear on the start page