Skip to content

Home Information - Your home, your data, organized.

Python

Documentation updates and pre-release tweaks (#146)

Tony C535549e74cbe
diff --git a/CHANGELOG.md b/CHANGELOG.md
index abff1a74..7a77936d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,4 +4,10 @@
_High-level view of the applications change history. See releases and commits for more fine-grained history._
+- v0.3.0 : September 6, 2025 : Feature complete version with many UI improvements.
+- v0.2.0 : August 26, 2025 : Auto-view switching and video strea, browsing features.
+- v0.1.0 : August 17, 2025 : Added weather API intgerations and alert audio.
+- v0.0.4 : February 18, 2025 : Docker organization improvements.
+- v0.0.3 : February 16, 2025 : Fixed initial experience issues.
+- v0.0.2 : February 14, 2025 : Fixes for release process bugs.
- v0.0.1 : February 14, 2025 : Initial public version with basic functionality working.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d8bbebdd..ab40d02b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,51 +1,155 @@
<img src="src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">
-# Contributing
+# Contributing to Home Information
-We welcome contributions! Follow these guidelines to get started.
+We welcome all kinds of contributions! Whether you want to use the software and share feedback, improve the code, or help with design and documentation, there's a place for you in this project.
-## Project and Goals
+## Quick Start for New Contributors
-The Home Information app's goal is to create a people-focused way to organize the various information needed to manage their homes. Home automation is great, but these systems tend to be device-focused instead of information-focused. They often add more complexity to your life rather than simplifying it. By creating a "single pane of glass" for all the information related to your home, we can begin fulfilling the promise of automation and technology and make managing your home, and your life, simpler.
+**Want to jump in quickly?** Here's the fastest path to making your first contribution:
-We've only just begun this journey. We've put some basic functionality in place to demonstrate its potential, but there are plenty of opportunities for improvements. Our [Road Map](https://github.com/users/cassandra/projects/1/views/3?visibleFields=%5B%22Title%22%2C168603197%5D&sliceBy%5BcolumnId%5D=168603197) shows just some of the future features we are thinking about.
+### 1. Try the Software (5-10 minutes)
+- Follow the [Installation Guide](docs/Installation.md) to get it running
+- Spend 15-30 minutes exploring the interface
+- Note what works well and what could be improved
-## How to Contribute
+### 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
-We are open to contributions from anyone. There are a few different ways to contribute:
-- **User** - Only requires installing and using the app.
-- **Software Development** - For those wanting to get involved with writing code.
-- **Graphic or UX Design** - For those with ideas on better visuals and/or better user experiences.
+### 3. Make Your First Contribution
+Choose what appeals to you:
+- **Easy:** Submit feedback or bug reports about your user experience
+- **Medium:** Improve documentation based on your setup experience
+- **Advanced:** Pick up a "good first issue" from the GitHub issues
-See the sections below for more details for each way to contribute.
+No contribution is too small! Even fixing typos or clarifying confusing documentation helps the project.
-### User Contributions
+## Ways to Contribute
-If you are simply interested in using the Home Information app, we would love for you to contribute your experiences and ideas for improving things. Details for getting up and running are on the [Installation Page](docs/Installation.md).
+### 🏠 User Contributions
+*The foundation of open source - real users with real needs*
-Any and all feedback and ideas are welcome, such as:
-- Features you would like to see.
-- Improvements to existing features you would like.
-- Integrations you could use.
-- Good and bad usability issues.
-- And bugs or glitches.
+**What we need:**
+- Test the software in real home environments
+- Report bugs and usability issues
+- Request features that would solve actual problems
+- Share how you're using Home Information
-### Software Development Contributions
+**Why it matters:** Software built without real user feedback often solves the wrong problems. Your experience using the software in your actual home is incredibly valuable.
-The following page is for those wanting to contribute to the code base:
+**Getting started:**
+1. Install and set up Home Information for your home
+2. Use it for at least a week to organize some real information
+3. Document what works, what doesn't, and what's missing
+4. Create GitHub issues with your feedback
-- [Development Page](docs/Development.md)
+### Software Development
+*For those who want to build the future of home information management*
-### Graphic and UX Design Contributions
+**What we need:**
+- Bug fixes and performance improvements
+- New features and integrations
+- Code quality improvements and refactoring
+- Testing and CI/CD improvements
-As with many software projects like this, the UI and UX design tends to be done by software developers with only a passing sense of what "good" looks like and/or are too busy trying to make everything actually work to have time to devote to refining the UI/UX. If you tend toward thinking and caring about the visual style and user experience, it would greatly complement the team.
+**Tech stack:**
+- **Backend:** Django 4.2, Python 3.11+
+- **Frontend:** JavaScript (jQuery), Bootstrap 4, HTML/CSS
+- **Database:** SQLite
+- **Infrastructure:** Docker, Redis
-We are not currently set up with a workflow for contributing in this manner, but all we need are some people with the interest and we'll develop something. Just let us know if this sounds like something you are interested in.
+**Getting started:**
+1. Check [Development Setup](docs/Development.md) for environment setup
+2. Browse "good first issue" labels in GitHub issues
+3. Read the [architecture overview](docs/dev/shared/architecture-overview.md) and [Data Model](docs/dev/shared/data-model.md) documents
+4. Start with small improvements to get familiar with the codebase
-## Code of Conduct
+**Development workflow:**
+- Fork the repository
+- Create feature branches for your changes
+- Follow the testing and code quality guidelines
+- Submit pull requests with clear descriptions
+- Participate in code review discussions
-Be aware of the project's Code of Conduct. See the [Code of Conduct Page](CODE_OF_CONDUCT.md).
+### Design & User Experience
+*Make home technology actually usable and beautiful*
-## Licensing
+**What we need:**
+- User interface improvements and consistency
+- User experience research and recommendations
+- Visual design and iconography
+- Mobile and responsive design improvements
+- Accessibility improvements
-Be aware of the project's licensing terms. See the [License Page](LICENSE.md).
+**Why it matters:** Great home management software needs great design. Most home automation focuses on making things work; we want to make them work well for real people.
+
+**Getting started:**
+1. Use the software and document usability issues
+2. Create mockups or wireframes for improvements
+3. Suggest design patterns that would improve workflows
+4. Contribute CSS/HTML improvements
+
+We don't have a formal design workflow yet, but we're eager to work with anyone interested in improving the user experience.
+
+## Project Vision & Goals
+
+Understanding our goals will help you contribute more effectively:
+
+### Core Philosophy
+**People-centered home technology.** We believe home technology should adapt to how people think about their homes, not force people to adapt to how engineers organize code.
+
+**Integration over replacement.** Work with existing investments in home automation and security rather than forcing people to start over.
+
+**Local-first, privacy-focused.** Your home information stays in your home, under your control.
+
+### What We're Building
+- A spatial, visual interface for home information management
+- Integration platform for home automation, security, and monitoring systems
+- A bridge between device-centric automation and information-centric home management
+
+### What Success Looks Like
+- Homeowners can find any piece of home information in under 30 seconds
+- Setting up new smart devices includes organizing their information, not just connecting them
+- Complex homes become easier to manage, not harder
+
+## Getting Help
+
+### Documentation
+- **[FAQ](docs/FAQ.md)** - Common questions and answers
+- **[Development Guide](docs/Development.md)** - Comprehensive setup and workflow guide
+- **[Architecture Overview](docs/dev/shared/architecture-overview.md)** - System design and patterns
+- **[Coding Standards](docs/dev/shared/coding-standards.md)** - Code organization and style guide
+
+### Community Support
+- **GitHub Issues** - Bug reports, feature requests, and technical questions
+- **GitHub Discussions** - General questions and community discussion
+- **Pull Request Reviews** - Get feedback on your contributions
+
+### Maintainer Response
+We aim to respond to issues and pull requests within a few days. For urgent security issues, see [SECURITY.md](SECURITY.md) for responsible disclosure guidelines.
+
+## Recognition & Community
+
+### Contributor Recognition
+- All contributors are listed in release notes
+- Significant contributors get recognition in the project documentation
+- Maintainer status available for consistent, quality contributors
+
+### Community Standards
+We're committed to creating a welcoming, inclusive environment. Please read our [Code of Conduct](CODE_OF_CONDUCT.md) and help us build a positive community around home information management.
+
+### Licensing
+By contributing to Home Information, you agree that your contributions will be licensed under the MIT License. See [LICENSE.md](LICENSE.md) for full terms.
+
+## Future Opportunities
+
+As the project grows, we'll need help with:
+- **Integration development** - Support for more home automation platforms
+- **Mobile applications** - Native iOS and Android apps
+- **Cloud services** - Optional cloud sync and backup (while maintaining local-first philosophy)
+- **Advanced analytics** - Energy usage patterns, maintenance predictions
+- **Community management** - Documentation, tutorials, user support
+
+**Interested in shaping the future of home information management?** We'd love to have you join us. Start with any contribution that matches your interests and skills - every improvement helps make home technology more useful for everyone.
diff --git a/README.md b/README.md
index 84282098..07c4af21 100644
--- a/README.md
+++ b/README.md
@@ -2,101 +2,132 @@
# Home Information
-An application to visually organize data about your home and the things in it. Add and position items on the screen and then attach notes, manuals, links, maintenance and repair histories or any other information for easy reference. Optionally integrates with security and home automation systems for a single view of all your home-related information.
+**Finally, a single place for all your home's information.**
-<img src="docs/img/screenshot-kitchen.png" alt="Kitchen Example" width="250"> <img src="docs/img/screenshot-security.png" alt="Security Example" width="250"> <img src="docs/img/screenshot-cameras.png" alt="Camera Example" width="250">
+Home Information transforms how you manage your property by creating a visual, 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.
-You can also see the [Getting Started Page](docs/GettingStarted.md) to get a feel for how it looks and works.
+<img src="docs/img/screenshots/spatial-data-org-1024x768.png" alt="Kitchen Example" width="250"> &nbsp; <img src="docs/img/screenshots/security-view-active-closeup-400x300.png" alt="Security Example" width="250"> &nbsp; <img src="docs/img/screenshots/stream-browser-1024x768.png" alt="Camera Example" width="250">
-## Project Status
+## Why Home Information?
+
+**The Problem:** Home automation and security systems give you device control, but they don't help you organize the information that makes your home truly manageable. Where did you put the HVAC manual? When was the water heater last serviced? Which camera covers the back door?
+
+**Our Solution:** A spatial, visual approach to home information management that mirrors how you actually think about your home - by location and context, not by device type or vendor.
-We are looking for early adopters and contributors. The software is functional, but early in its development with many additional features planned.
+**Perfect for:**
+- **Homeowners** who want to stay organized and maintain their property effectively
+- **Tech-savvy households** ready to move beyond scattered digital notes and files
+- **People with integrated homes** using security systems, home automation, or smart devices
-# Installation / Running
+See [Why Home Information?](docs/WhyHomeInformation.md) for more details on our approach.
-## Requirements
+## Quick Start
-- Python 3 - installed
-- Docker - installed and running
+**Ready to try it?** Get running in under 5 minutes:
-## Install and Run (Quick Start)
+### Requirements
+- Docker installed and running
+- Basic command line familiarity
-_For those that just want to run, use and/or explore the application._
+### Installation
+```shell
+# Download latest release
+curl -L https://github.com/cassandra/home-information/releases/latest/download/home-information.zip -o home-information.zip
+unzip home-information.zip && cd home-information*
-Download the latest release from: https://github.com/cassandra/home-information/releases/latest and unzip or untar it.
-``` shell
-unzip ~/Downloads/home-information-*.zip
-cd home-information*
+# Setup and run
make env-build
make docker-build
make docker-run-fg
```
-See the [Installation Page](docs/Installation.md) for more details and troubleshooting.
-## Running
+**Then visit:** [http://localhost:9411](http://localhost:9411)
-Run in the foreground with:
-``` shell
-make docker-run-fg
-```
-or in the background with:
-``` shell
-make docker-run
-```
+**New to the interface?** Follow the [Getting Started Guide](docs/GettingStarted.md) for a walkthrough.
-Then visit: [http://localhost:9411](http://localhost:9411) and the [Getting Started Page](docs/GettingStarted.md).
+**Need help?** Check our [FAQ](docs/FAQ.md) for common questions or see [Installation](docs/Installation.md) for detailed setup and troubleshooting.
-# Development
+## What You Can Do
-_For those that are interested in contributing or just peeking under the hood._
+**Information Management:**
+- Upload and organize manuals, warranties, and documents by location
+- Track maintenance histories and repair records
+- Store notes and specifications for every item in your home
-## Requirements
+**Visual Organization:**
+- Position items exactly where they belong on floor plans or property maps
+- Create multiple views (whole house, kitchen only, security zones, etc.)
+- Upload custom background images of your actual property
-- Python 3.11 (or higher) - installed
+**Home Automation Integration:**
+- Control lights, switches, and devices through [Home Assistant](docs/Integrations.md)
+- Monitor device states and histories
+- Set up automated rules and triggers
-## Tech Stack
+**Security & Monitoring:**
+- Integrate with [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
-- Django 4.2
-- Javascript using jQuery 3.7
-- Bootstrap 4 (CSS)
-- SQLite (database)
-- Redis (caching)
+See the complete [Features List](docs/Features.md) for details.
-## Development Setup Overview
+## Project Status
-Setting up for local development, in brief, looks like this:
-``` shell
-# Fork the repo: https://github.com/cassandra/home-information
+**Ready for Early Adopters** - All core features are implemented and functional. We're looking for users who want to help refine the experience and identify areas for improvement.
-# Clone your fork
-git clone https://github.com/${YOURUSERNAME}/home-information.git
+**What's Working:**
+- Full information management and visual organization
+- Home Assistant and ZoneMinder integrations
+- Security monitoring and alerts
+- Multi-location and multi-view support
-# Initialize the environment and database
-cd home-information
-make env-build-dev
-python3.11 -m venv venv
-. ./init-env-dev.sh
-pip install -r src/hi/requirements/development.txt
-cd src
-./manage.py check
-./manage.py migrate
-./manage.py hi_createsuperuser
-./manage.py hi_creategroups
-./manage.py runserver
-```
+**What's Evolving:**
+- UI polish in some areas (fully functional, but could be prettier)
+- Additional integrations based on user demand
+- Mobile experience optimization
+
+## Contributing
+
+We welcome all types of contributions:
-See the [Contributing](CONTRIBUTING.md) and [Development](docs/Development.md) pages for more details.
+**Users:** Try the app and share your experience - what works, what doesn't, what's missing
+
+**Developers:** Help improve the codebase. Built with Django, JavaScript, and Bootstrap. See [Development](docs/Development.md).
+
+**Designers:** Help us improve the user experience and visual design. We'd love your input on making this more intuitive and beautiful.
+
+**Home Automation Experts:** Help us understand what integrations would be most valuable.
+
+See [Contributing Guidelines](CONTRIBUTING.md) for details.
+
+## Architecture & Security
+
+- **Local-first:** Your data stays on your network. No cloud services required.
+- **Integration-friendly:** Designed to work with existing home automation and security systems
+- **Docker-based:** Consistent deployment across platforms
+- **Django backend:** Mature, secure web framework
+- **SQLite storage:** Simple, reliable data management
+
+For technical details, see our [Development Documentation](docs/Development.md).
---
-# Resources
-
-- [Installation](docs/Installation.md)
-- [Getting Started](docs/GettingStarted.md)
-- [Development](docs/Development.md)
-- [Integrations](docs/Integrations.md)
-- [Contributing](CONTRIBUTING.md)
-- [Code of Conduct](CODE_OF_CONDUCT.md)
-- [Security](SECURITY.md)
-- [ChangeLog](CHANGELOG.md)
-- [License](LICENSE.md)
+## Resources
+
+### Users
+- [Installation](docs/Installation.md) - Complete setup instructions
+- [FAQ](docs/FAQ.md) - Common questions and answers
+- [Getting Started](docs/GettingStarted.md) - First-time user walkthrough
+- [Features](docs/Features.md) - Complete feature overview
+- [Integrations](docs/Integrations.md) - Home Assistant and ZoneMinder setup
+
+### Contributors
+- [Contributing](CONTRIBUTING.md) - How to get involved
+- [Development](docs/Development.md) - Technical setup and guidelines
+- [Code of Conduct](CODE_OF_CONDUCT.md) - Community standards
+- [Security](SECURITY.md) - Security policy and reporting
+
+### Project
+- [ChangeLog](CHANGELOG.md) - Release history
+- [License](LICENSE.md) - MIT License terms
diff --git a/docs/Development.md b/docs/Development.md
index d8f6bc60..103350d4 100644
--- a/docs/Development.md
+++ b/docs/Development.md
@@ -29,7 +29,7 @@ These documents contain fundamental concepts that apply across all development a
- **[Architecture Overview](dev/shared/architecture-overview.md)** - High-level system design and key patterns
- **[Coding Standards](dev/shared/coding-standards.md)** - Code organization, style, and conventions
-- **[Data Model Concepts](dev/shared/data-model-concepts.md)** - Core domain models and relationships
+- **[Data Model](dev/shared/data-model.md)** - Core domain models and relationships
- **[Testing Guidelines](dev/testing/testing-guidelines.md)** - Testing philosophy, best practices, and anti-patterns
## Development Areas
diff --git a/docs/FAQ.md b/docs/FAQ.md
new file mode 100644
index 00000000..4feae48a
--- /dev/null
+++ b/docs/FAQ.md
@@ -0,0 +1,121 @@
+<img src="../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">
+
+# Frequently Asked Questions
+
+## 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.
+
+### 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.
+
+### Q: Can I try it without installing anything?
+**A:** Currently, no - Home Information runs locally on your network by design. However, the Docker-based installation is designed to be easily removable if you decide it's not for you. All data is stored in your home directory and can be completely removed by deleting the Docker container and the `~/.hi` directory.
+
+## Data & Privacy
+
+### Q: Where is my data stored?
+**A:** All your data stays on your local network. The database file lives in `~/.hi/database/` on your computer, and uploaded files go in `~/.hi/media/`. Nothing is sent to external cloud services unless you explicitly configure integrations that require it.
+
+### Q: What if I want to stop using Home Information?
+**A:** Your data is stored in standard formats (SQLite database, regular files) that you can access independently. All uploaded documents remain as normal files on your computer. We're committed to ensuring you're never locked into using our software.
+
+### Q: How do I backup my data?
+**A:** Simply backup your `~/.hi` directory - it contains everything. You can also export data through the application interface. We recommend including this directory in your regular backup routine.
+
+### Q: Can multiple people use it simultaneously?
+**A:** Yes, Home Information supports multiple users accessing the same installation from different devices on your network. You can optionally enable user authentication if you want separate accounts, or run it in simple mode where anyone on your network can access it.
+
+### Data Portability
+
+### Q: How do I access my data without Home Information?
+**A:** All your data lives in standard formats in `~/.hi/`
+- **Database**: SQLite database at `~/.hi/database/hi.sqlite3`
+ - View with any SQLite tool (DB Browser for SQLite is free)
+ - Query with sqlite3 CLI: `sqlite3 ~/.hi/database/hi.sqlite3`
+- **Documents**: Regular files in `~/.hi/media/`
+- **Backups**: Just copy the entire `~/.hi` directory
+
+We chose SQLite specifically because it's an open format readable by countless tools. Your data is never locked in proprietary
+formats.
+
+We also provide some helper scripts [Helper Scripts README](../scripts/README.md).
+
+## Technical Requirements
+
+### Q: What devices can I use to access it?
+**A:** Any device with a modern web browser: computers, tablets, smartphones. The interface works especially well on tablets as a dedicated home management display.
+
+### Q: Does it require internet access?
+**A:** Core functionality works completely offline. Internet access is only needed for weather data, email alerts, and if you choose to integrate with cloud-based services. The system is designed to gracefully handle internet outages.
+
+### Q: How much storage space does it need?
+**A:** The application itself is small. Storage needs depend on how many documents and images you upload. Most users find a few GB is plenty for extensive documentation.
+
+### Q: What about system requirements?
+**A:** Very modest. If your computer can run Docker, it can run Home Information. We've tested on systems with as little as 2GB RAM and older processors.
+
+## Integrations & Compatibility
+
+### Q: Do I need Home Assistant or ZoneMinder to use this?
+**A:** No, integrations are completely optional. Home Information provides value as a standalone information management system. Integrations add device control and monitoring 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.
+
+### 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.
+
+## Comparison with Alternatives
+
+### Q: How is this different from just using a note-taking app?
+**A:** The spatial, visual organization makes information much easier to find and manage. Instead of searching through lists or folders, you click where something is located. Plus, device integration means you can control things and see status information alongside documentation.
+
+### Q: Why not just use Home Assistant directly?
+**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.
+
+## 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.
+
+### 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.
+
+### Q: How can I influence development priorities?
+**A:** Join the community! Use the software, report issues, request features, and contribute to discussions. We're especially interested in hearing about real-world use cases and pain points.
+
+## Troubleshooting
+
+### Q: The installation failed. What should I check?
+**A:** Most installation issues relate to Docker setup or system permissions. Check that Docker is running, you have sufficient disk space, and your user account has permissions to create files in your home directory. See the [Installation Guide](Installation.md) troubleshooting section for specific error messages.
+
+### Q: Can I access it from outside my home network?
+**A:** Yes, but it requires additional network configuration (port forwarding, dynamic DNS, etc.). For security reasons, we recommend using VPN access to your home network rather than exposing the service directly to the internet.
+
+### Q: The interface seems slow. How can I improve performance?
+**A:** Performance is typically excellent on local networks. Slowness usually indicates network issues or insufficient system resources. Try accessing from the same machine where it's running to isolate network vs. system performance issues.
+
+### Q: How do I get help if I'm stuck?
+**A:** Check the documentation first, then create an issue on the GitHub repository with details about your setup and the specific problem you're encountering. The community is generally helpful with troubleshooting.
+
+## Project & Community
+
+### Q: Is this project actively maintained?
+**A:** Yes, we're actively developing and maintaining Home Information. We're currently focused on stabilizing the core functionality and improving the user experience based on early adopter feedback.
+
+### Q: Can I contribute without being a programmer?
+**A:** Absolutely! We need help with documentation, testing, user experience design, and community building. Using the software and providing feedback is valuable contribution.
+
+### Q: What's the long-term vision?
+**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.
diff --git a/docs/Features.md b/docs/Features.md
new file mode 100644
index 00000000..1878605c
--- /dev/null
+++ b/docs/Features.md
@@ -0,0 +1,150 @@
+<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">
+
+# Features
+
+Home Information provides comprehensive tools for organizing, monitoring, and controlling all aspects of your home. Features are organized by the value they provide to you as a homeowner.
+
+## Information Management & Organization
+
+**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"> &nbsp; <img src="img/screenshots/attribute-info-files-1024x768.png" alt="Info View/Edit Example" width="400">
+
+### 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
+- **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.
+
+### Document & Information Storage
+- **Upload any file type** - manuals, warranties, photos, receipts, inspection reports
+- **Rich text notes** - maintenance logs, specifications, installation notes
+- **Attribute system** - structured data like model numbers, purchase dates, service providers
+- **Full search** across all stored information (future)
+
+**Use case example:** Your dishwasher starts making noise. Click on it to instantly see the manual, warranty info, installation date, and service history - everything you need to decide whether to call for service or attempt a repair.
+
+### Multi-View Organization
+- **Location Views** - different perspectives of the same physical space (All Items, Kitchen Focus, Security Zones)
+- **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).
+
+## Home Automation & Device Control
+
+**What it does:** Integrate with existing home automation systems to provide device control within the spatial context of your home.
+
+### Home Assistant Integration
+- **Device control** - lights, switches, sensors, and other Home Assistant-managed devices
+- **Status monitoring** - real-time device states displayed visually on your home layout
+- **Historical data** - device state change histories and usage patterns
+- **Automated rules** - create event triggers and automation rules
+
+**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.
+
+<img src="img/screenshots/automation-view-1024x768.png" alt="Automation View Example" width="400">
+
+### Event & Automation System
+- **Visual rule builder** - create automation rules using the spatial interface
+- **Cross-system integration** - rules can involve devices from different platforms
+- **Event history** - track what happened when across all your systems
+
+**Use case example:** Set up a rule where motion detected in the driveway (security system) automatically turns on the porch light (home automation) and sends you an alert with the camera view.
+
+### 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
+
+## Security & Monitoring
+
+**What it does:** Unify security monitoring, alerts, and camera management within your home's spatial context.
+
+### Visual Security Management
+- **Security zone visualization** - see armed/disarmed status using color-coded zones on your home layout
+- **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.
+
+### 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
+- **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.
+
+<img src="img/screenshots/security-view-active-1024x768.png" alt="Security View Example" width="400">
+
+### Alert & Notification System
+- **Visual alerts** - on-screen notifications with color-coded severity
+- **Audio alerts** - customizable sounds for different event types
+- **Email notifications** - stay informed when away from home
+- **Smart filtering** - avoid alert fatigue with intelligent event prioritization
+
+### Advanced Security Features
+- **Event correlation** - connect security events across different systems (motion + camera + lights)
+- **Alarm history** - comprehensive logging and analysis of security events
+- **Customize security modes** - define your own security profiles for Home/Away/Sleep
+
+## User Interface & Experience
+
+**What it does:** Provide intuitive, efficient ways to interact with all your home information and systems.
+
+### Visual Navigation
+- **Spatial interface** - navigate by clicking on areas of your home
+- **Zoom controls** - focus on specific areas or see the big picture
+- **Multiple view modes** - switch between different perspectives of your home
+- **Touch-friendly** - works well on tablets and touch displays
+
+### Screen Management
+- **Sleep mode** - dim the interface for always-on displays without disrupting functionality
+- **Screen lock** - temporary password protection for when visitors are present
+- **Sound controls** - mute/unmute alerts and system sounds
+- **Always-on friendly** - designed for dedicated home displays
+
+### Editing & Administration
+- **Visual editing mode** - drag and drop items, resize, and reshape areas
+- **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
+
+**Perfect for:** Households that want a dedicated home management display, or anyone who prefers visual organization over list-based interfaces.
+
+<img src="img/screenshots/editing-view-1024x768.png" alt="Editing View Example" width="400">
+
+## Integration & Extensibility
+
+**What it does:** Work with your existing home technology investments and provide a platform for future expansion.
+
+### Current Integrations
+- **Home Assistant** - Complete integration with the popular open-source home automation platform
+- **ZoneMinder** - Full-featured security camera management
+- **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
+
+### Data Management
+- **Local storage** - all data stays on your devices using SQLite
+- **File management** - uploaded documents stored in organized directory structure
+- **Export capabilities** - protect your data investment with export options
+- **Privacy by design** - no external data sharing unless you explicitly configure it
+
+**Future-ready:** The platform is designed to accommodate new integrations as your needs evolve or new home technologies emerge.
+
+## Getting Started Benefits
+
+**Day 1 Value:** Even before setting up any integrations, you can start organizing your home information and see immediate benefits from having everything in one visual interface.
+
+**Progressive Enhancement:** Start simple with just information management, then add device integration and monitoring as you have time and interest.
+
+**Flexible Implementation:** Works equally well for simple documentation needs or complex multi-system integration scenarios.
+
+**Investment Protection:** Integrates with existing systems rather than requiring you to replace working technology.
diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md
index 3bca4820..db72938b 100644
--- a/docs/GettingStarted.md
+++ b/docs/GettingStarted.md
@@ -4,11 +4,11 @@
Once successfully running (see [Installation](Installation.md)), you should be greeted with the following starting page:
-<img src="img/screenshot-start.png" alt="Home Information Start Page" width="400">
+<img src="img/getting-started/start-page-1024x768.png" alt="Home Information Start Page" width="400">
Click the "ADD MY LOCATION" button and then you should see this dialog:
-<img src="img/screenshot-create.png" alt="Home Information Create Dialog" width="250">
+<img src="img/getting-started/add-first-location-modal-1024x768.png" alt="Home Information Create Dialog" width="300">
All you need to provide is a name for your location to get started.
@@ -16,7 +16,7 @@ The SVG file is optional and allows uploading a background image. The background
If you did not upload your own SVG, then you should see the initial screen with the default background image like this:
-<img src="img/screenshot-empty.png" alt="Home Information Initial Location View" width="400">
+<img src="img/getting-started/initial-edit-screen-1024x768.png" alt="Home Information Initial Location View" width="400">
This view with the background graphic is called a "Location View".
@@ -26,11 +26,11 @@ You will start in "editing mode" where you can begin adding items to your home.
As 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/screenshot-add-item.png" alt="Home Information Add Item Dialog" width="250">
+<img src="img/getting-started/add-item-modal-1024x768.png" alt="Home Information Add Item Dialog" width="250">
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 and then the `+` and `-` keys to change its size.
-<img src="img/screenshot-item-initial.png" alt="Home Information Initial Item" width="350"> <img src="img/screenshot-item-moved.png" alt="Home Information Moved Item" width="350">
+<img src="img/getting-started/first-item-center-1024x768.png" alt="Home Information Initial Item" width="350"> <img src="img/getting-started/first-item-moved-scaled-1024x768.png" alt="Home Information Moved Item" width="350">
There are many ways to adjust items, so see the "EDITING HELP" button on the bottom right of the screen for more information.
@@ -42,15 +42,15 @@ The refrigerator type items will show with a refrigerator icon and many other ty
First click "ADD NEW ITEM", give it the name "Pool", choose the "Area" type and click the "ADD" button.
-<img src="img/screenshot-add-pool.png" alt="Home Information Adding Pool" width="350"> <img src="img/screenshot-pool-initial.png" alt="Home Information Initial Pool Item" width="350">
+<img src="img/getting-started/add-area-item-modal-1024x768.png" alt="Home Information Adding Pool" width="350"> &nbsp; <img src="img/getting-started/first-area-center-1024x768.png" alt="Home Information Initial Pool Item" width="350">
This will result in a square area that you can move and reshape. Click the square area to begin editing the shape. It will change color and show circles/dots where the lines meet. Click the dots to select then drag them to a new location until it has the shape you want.
-<img src="img/screenshot-pool-selected.png" alt="Home Information Pool Selected" width="350"> <img src="img/screenshot-pool-moved.png" alt="Home Information Pool Moved" width="350">
+<img src="img/getting-started/first-area-edit-start-1024x768.png" alt="Home Information Pool Selected" width="350"> &nbsp; <img src="img/getting-started/first-area-edit-moved-1024x768.png" alt="Home Information Pool Moved" width="350">
You are not limited to square shapes either. With a dot or line selected, press the `i` key to insert new points and move them where you want. Press the `ESC` key when done editing.
-<img src="img/screenshot-pool-reshaped.png" alt="Home Information Pool Reshaped" width="350"> <img src="img/screenshot-pool-done.png" alt="Home Information Pool Done" width="350">
+<img src="img/getting-started/first-area-edit-shaped-1024x768.png" alt="Home Information Pool Reshaped" width="350"> &nbsp; <img src="img/getting-started/first-area-shaped-done-1024x768.png" alt="Home Information Pool Done" width="350">
### Line Items
@@ -58,11 +58,11 @@ Another type of item is like an area, but for representing linear items. For exa
Click "ADD NEW ITEM", give it the name "Electric Service Line", choose the "Electric Wire Line" type and click the "ADD" button.
-<img src="img/screenshot-add-electric.png" alt="Home Information Adding Electric" width="350"> <img src="img/screenshot-electric-initial.png" alt="Home Information Initial Electric Item" width="350">
+<img src="img/getting-started/add-line-item-modal-1024x768.png" alt="Home Information Adding Electric" width="350"> &nbsp; <img src="img/getting-started/first-line-center-1024x768.png" alt="Home Information Initial Electric Item" width="350">
As 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/screenshot-electric-selected.png" alt="Home Information Electric Selected" width="250"> <img src="img/screenshot-electric-moved.png" alt="Home Information Electric Moved" width="250"> <img src="img/screenshot-electric-done.png" alt="Home Information Electric Done" width="250">
+<img src="img/getting-started/first-line-edit-start-1024x768.png" alt="Home Information Electric Selected" width="250"> &nbsp; <img src="img/getting-started/first-line-edit-moved-1024x768.png" alt="Home Information Electric Moved" width="250"> &nbsp; <img src="img/getting-started/first-line-edit-done-1024x768.png" alt="Home Information Electric Done" width="250">
### Collections
@@ -71,7 +71,7 @@ Not every item you may want to keep information about will make sense to have a
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.
-<img src="img/screenshot-add-collection.png" alt="Home Information Adding Collection" width="250">
+<img src="img/getting-started/add-collection-modal-1024x768.png" alt="Home Information Adding Collection" width="300">
A few notes about this dialog:
- The "Display" can be a List or Grid view, depending on your preferences.
@@ -80,11 +80,11 @@ A few notes about this dialog:
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 location 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 location 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/screenshot-collection-initial.png" alt="Home Information Adding Collection" width="350"> <img src="img/screenshot-collection-empty.png" alt="Home Information Empty Collection" width="350">
+<img src="img/getting-started/new-collection-button-1024x768.png" alt="Home Information Adding Collection" width="350"> <img src="img/getting-started/collection-edit-view-empty-1024x768.png" alt="Home Information Empty Collection" width="350">
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 viewing the location 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).
-<img src="img/screenshot-collection-list.png" alt="Home Information Collection List" width="350"> <img src="img/screenshot-collection-grid.png" alt="Home Information Collection Grid" width="350">
+<img src="img/getting-started/collection-edit-list-view-1024x768.png" alt="Home Information Collection List" width="350"> <img src="img/getting-started/collection-edit-grid-view-1024x768.png" alt="Home Information Collection Grid" width="350">
The message you see "_No status data available_" can be ignored for now. This refers to these items not being connected to any integrations that monitor their status. Integrations are discussed a little more below.
@@ -92,23 +92,23 @@ The message you see "_No status data available_" can be ignored for now. This re
So far, we have seen just the one Location 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 Location Views as we need to do this. Each Location 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 Location 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 aview 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 Location View.
+By default, you will see there is just one Location 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 Location View.
-<img src="img/screenshot-add-view.png" alt="Home Information New Location View" width="350">
+<img src="img/getting-started/add-location-view-modal-1024x768.png" alt="Home Information New Location View" width="350"> &nbsp; <img src="img/getting-started/new-location-view-button-1024x768.png" alt="Home Information New Location 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 then as we did with the refrigerator to get something like this:
-<img src="img/screenshot-view-initial.png" alt="Home Information Initial Location View" width="350">
+<img src="img/getting-started/new-location-view-populated-1024x768.png" alt="Home Information Initial Location View" width="350">
This is a good start, but we'd also like to zoom in to focus just on that kitchen area. The Location 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/screenshot-view-zoomed.png" alt="Home Information Zoomed Location View" width="350">
+<img src="img/getting-started/new-location-view-zoomed-1024x768.png" alt="Home Information Zoomed Location View" width="350">
However, most of the time, zooming and moving the Location 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 Location 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 location view to make any zooming and moving permanent.
-<img src="img/screenshot-view-edit.png" alt="Home Information Location View Edit" width="350">
+<img src="img/getting-started/new-location-view-edit-zoomed-1024x768.png" alt="Home Information Location View Edit" width="350">
After adjusting the view with the Location View editing area open, now when you click the "Kitchen" button on the top left, it will zoom in to that saved geometry.
@@ -120,11 +120,11 @@ However, if you have a two-story house, an attic or basement, you may want to de
When in editing mode, there is a Location drop-down on the top right that allows you to add a new Location. This opens the same dialog as when you first started and created the initial location. You give it a name and an optional SVG background image and from then on can change to that location with the drop-down.
-<img src="img/screenshot-add-location.png" alt="Home Information New Location" width="250"> <img src="img/screenshot-location-dialog.png" alt="Home Information Location Dialog" width="250"> <img src="img/screenshot-location-menu.png" alt="Home Information Location Menu" width="250">
+<img src="img/getting-started/new-location-drop-down-1024x768.png" alt="Home Information New Location" width="250"> &nbsp; <img src="img/getting-started/add-location-modal-1024x768.png" alt="Home Information Location Dialog" width="250"> &nbsp; <img src="img/getting-started/new-location-added-drop-down-1024x768.png" alt="Home Information Location Menu" width="250">
Below is the Attic location's view after using a custom SVG background and adding the A/C Air Handler, some control wire routes, exhaust fans and a skylight.
-<img src="img/screenshot-location-attic.png" alt="Home Information Attic Location" width="350">
+<img src="img/getting-started/new-location-alt-svg-1024x768.png" alt="Home Information Attic Location" width="350">
## Normal Usage
@@ -132,13 +132,13 @@ So far, we have only focused on editing mode. However, editing is something you
Normal operation looks and behaves mostly the same as editing mode, but there is no option to add new items or relocate them. Instead, navigating around and clicking an item will bring up a dialog with all your previously added information about the item. Here is what the normal view and item information dialog looks like for the previously added Kitchen view and after clicking on the Cooktop item.
-<img src="img/screenshot-view-normal.png" alt="Home Information Normal View" width="350"> <img src="img/screenshot-item-edit.png" alt="Home Information Item Edit" width="350">
+<img src="img/getting-started/view-mode-1024x768.png" alt="Home Information Normal View" width="350"> &nbsp; <img src="img/getting-started/item-edit-modal-empty-1024x768.png" alt="Home Information Item Edit" width="350">
We have not yet added any attributes to the cooktop, but can do so now with the "Add New Attribute" button. Add a name for the attribute and put in the information. For example, the make and model number might be information you want to keep. You can also upload files, so it is a good place to keep a manual, purchase receipt, warranty information, repair information, etc.
Here is a sequence of adding purchase information and uploading a PDF of the item's specs.
-<img src="img/screenshot-item-attribute.png" alt="Home Information Item Attribute" width="350"> <img src="img/screenshot-item-upload.png" alt="Home Information Item Upload" width="350">
+<img src="img/getting-started/item-edit-add-info-1024x768.png" alt="Home Information Item Attribute" width="350"> &nbsp; <img src="img/getting-started/item-edit-add-file-1024x768.png" alt="Home Information Item Upload" width="350">
## Other Features
@@ -153,10 +153,12 @@ All the items you add can have any number of attributes. However, there are som
For those higher-level, attributes, you can add them to a location using the "Info" button at top right just under the location drop down. That brings up a dialog where you can add location-specific attributes.
-<img src="img/screenshot-location-edit.png" alt="Home Information Location Attribute" width="350">
+<img src="img/getting-started/location-edit-modal-1024x768.png" alt="Home Information Location Attribute" width="350">
### Bottom Right Buttons
+<img src="img/getting-started/bottom-right-buttons-1024x768.png" alt="Home Information Location Attribute" width="350">
+
#### Sounds
For features that use sounds (e.g., alerts), this allows toggling to mute and unmute. The alert sounds are considered "auto-play" by browsers, so you may need to allow this in the browser in order to hear the alert sounds. If you see "blocked' on this button, click it to see more info about fixing it.
diff --git a/docs/Installation.md b/docs/Installation.md
index 933e9a45..8473bee8 100644
--- a/docs/Installation.md
+++ b/docs/Installation.md
@@ -4,7 +4,6 @@
## Requirements and Dependencies
-- Python 3 - installed
- Docker - installed and running
See the [Dependencies Page](dev/Dependencies.md) if you want help installing those.
@@ -19,7 +18,7 @@ The alert mechanisms have a visual and audible presentation on the screen, but t
### Sign In
-If you want to require sign in and authentication of users, then you will need to also configure email sending since it uses emailed "magic codes" as its authentication mechanism. For local deployments, security might not be a major priority, so it is up to you whether you see this as a feature of annoyance.
+If you want to require sign in and authentication of users, then you will need to also configure email sending since it uses emailed "magic codes" as its authentication mechanism. For local deployments, security might not be a major priority, so it is up to you whether you see this as a feature or annoyance.
## Installation Steps
@@ -144,11 +143,13 @@ Note: You could sign in without creating users by using the existing admin user.
#### Integrations
-If you use any of the built-in integrations, so additional changes may be needed. See the
+If you use any of the built-in integrations, some additional changes may be needed. See the
[Integrations Page](Integrations.md) for more details.
## Troubleshooting
+For common questions, see the [FAQ](FAQ.md). For specific troubleshooting:
+
### Emails (if enabled)
Email settings can be adjusted in env file with these settings:
diff --git a/docs/Integrations.md b/docs/Integrations.md
index 331b40f2..e8724c5e 100644
--- a/docs/Integrations.md
+++ b/docs/Integrations.md
@@ -2,7 +2,7 @@
# Integrations
-The current supported integrations are:
+We will add more integrations as there is demand, but presently the current supported integrations are:
- **Home Assistant** - General home automation platform for many types of devices and protocols. Requires installation and setup.
- **ZoneMinder** - For managing security cameras with motion detection. Requires installation and setup.
@@ -10,11 +10,11 @@ To enable an integration, go to "Settings > Integrations > Add Integrations".
When you enable one of these integrations, you will need to provide the necessary connection information, usually in the way of API endpoints and credentials.
-## Home Assistant (HAss)
+## Home Assistant
You will need install and set this up by following all their documentation. Start at the [Home Assistant Home Page](https://www.home-assistant.io/).
-## ZoneMinder (ZM)
+## ZoneMinder
You will need install and set this up by following all their documentation. Start at the [ZoneMinder Home Page](https://zoneminder.com//).
diff --git a/docs/WhyHomeInformation.md b/docs/WhyHomeInformation.md
new file mode 100644
index 00000000..d390d12e
--- /dev/null
+++ b/docs/WhyHomeInformation.md
@@ -0,0 +1,91 @@
+<img src="../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">
+
+# Why Home Information?
+
+<img src="img/screenshots/spatial-data-org-1024x768.png" alt="Kitchen Example" width="400"> &nbsp; <img src="img/screenshots/attribute-info-files-1024x768.png" alt="Info View/Edit Example" width="400">
+
+## The Home Information Problem
+
+Modern homes are more complex than ever. Between smart devices, security systems, appliances, maintenance schedules, warranties, and documentation, homeowners are drowning in scattered information. Consider these common frustrations:
+
+- **"Where did I put the HVAC manual?"** - Important documents get lost in email attachments, filing cabinets, or forgotten cloud folders
+- **"When was the water heater last serviced?"** - Maintenance histories live in different apps, notebooks, or not at all
+- **"Which security camera covers the back door?"** - Device-centric interfaces don't match how we think about our homes
+- **"What's the model number of that outlet in the guest room?"** - Product information scattered across purchase receipts, photos, and memory
+
+## Why Existing Solutions Fall Short
+
+**Device-Centric Thinking:** Most home automation platforms organize by device type or manufacturer. You have a "lights" section, a "cameras" section, a "sensors" section. But when you're standing in your kitchen wondering about the refrigerator's warranty, you don't want to navigate through a generic "appliances" category.
+
+**Information Silos:** Your security system knows about cameras. Your home automation knows about switches. Your phone has photos of model numbers. Your computer has PDF manuals. Your notebook has maintenance records. Nothing connects.
+
+**Complexity Over Simplicity:** Many systems add complexity rather than reducing it. You end up managing the management system instead of just managing your home.
+
+## 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.
+
+**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.
+
+## 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.
+
+**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.
+
+### The Tech-Savvy Family
+*The Johnsons have invested in home automation and security but find managing it 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.
+
+**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.
+
+### The New Homeowner
+*Mike just bought his first house and feels overwhelmed by everything he needs to track.*
+
+**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.
+
+**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.
+
+## Key Differentiators
+
+### vs. Traditional Home Automation Platforms
+- **Location-centric vs. device-centric organization**
+- **Information management as core feature, not afterthought**
+- **Integrates existing systems rather than replacing them**
+
+### 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**
+
+### vs. Maintenance Tracking Apps
+- **Visual, contextual interface rather than lists and forms**
+- **Integrates device status and control**
+- **Supports all types of home information, not just maintenance**
+
+## Philosophy: People-Centered Home Technology
+
+We believe home technology should make life simpler, not more complex. That means:
+
+**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.
+
+**Ownership and control** - Your home information stays in your home, under your control. No cloud dependencies for core functionality.
+
+**Integration, not replacement** - Work with your existing investments in security systems, home automation, and smart devices rather than forcing you to start over.
+
+The goal isn't to build another home automation platform. It's to create the missing piece that makes all your home technology actually useful for managing your life.
diff --git a/docs/dev/Setup.md b/docs/dev/Setup.md
index 2cea299f..279548e1 100644
--- a/docs/dev/Setup.md
+++ b/docs/dev/Setup.md
@@ -1,6 +1,6 @@
<img src="../../src/hi/static/img/hi-logo-w-tagline-197x96.png" alt="Home Information Logo" width="128">
-# Development Setup (one-time setup, external dev)
+# Development Setup (one-time setup for external devevelopment)
## Quick Setup (Recommended)
@@ -30,7 +30,21 @@ The script is interactive and will prompt you for necessary information. It's sa
## Manual Setup (Alternative)
-If you prefer to set up manually or need more control over the process, follow these detailed steps:
+If you prefer to set up manually or need more control over the process, follow these detailed steps (details below):
+```
+git clone https://github.com/${YOURUSERNAME}/home-information.git
+cd home-information
+make env-build-dev
+python3.11 -m venv venv
+. ./init-env-dev.sh
+pip install -r src/hi/requirements/development.txt
+cd src
+./manage.py check
+./manage.py migrate
+./manage.py hi_createsuperuser
+./manage.py hi_creategroups
+./manage.py runserver
+```
## Fork the Repository
@@ -195,6 +209,6 @@ make docker-stop
If you want to familiarize yourself with how to use the app before diving into the code, see the [Getting Started Page](../GettingStarted.md).
A look through these docs might also be a good starting point:
-- [Data Model](shared/data-model-concepts.md)
+- [Data Model](shared/data-model.md)
- [Architecture](shared/architecture-overview.md)
diff --git a/docs/dev/domain/domain-guidelines.md b/docs/dev/domain/domain-guidelines.md
index e128bf67..98eed944 100644
--- a/docs/dev/domain/domain-guidelines.md
+++ b/docs/dev/domain/domain-guidelines.md
@@ -306,4 +306,4 @@ class EntityStateDelegation(models.Model):
- Entity patterns: [Entity Patterns](entity-patterns.md)
- Event and alert systems: [Event Alert Systems](event-alert-systems.md)
- Business logic: [Business Logic](business-logic.md)
-- Data model concepts: [Data Model Concepts](../shared/data-model-concepts.md)
\ No newline at end of file
+- Data model concepts: [Data Model](../shared/data-model.md)
\ No newline at end of file
diff --git a/docs/dev/domain/entity-patterns.md b/docs/dev/domain/entity-patterns.md
index 352c4e76..4026cef5 100644
--- a/docs/dev/domain/entity-patterns.md
+++ b/docs/dev/domain/entity-patterns.md
@@ -46,4 +46,4 @@ If the new type should be supported by the simulator, add it to:
## Related Documentation
- Domain guidelines: [Domain Guidelines](domain-guidelines.md)
-- Data model concepts: [Data Model Concepts](../shared/data-model-concepts.md)
\ No newline at end of file
+- Data model concepts: [Data Model](../shared/data-model.md)
\ No newline at end of file
diff --git a/docs/dev/shared/architecture-overview.md b/docs/dev/shared/architecture-overview.md
index 17df0d2b..c1b82b6e 100644
--- a/docs/dev/shared/architecture-overview.md
+++ b/docs/dev/shared/architecture-overview.md
@@ -87,6 +87,7 @@
## Related Documentation
+- Data Model and Concepts [Data Model](./data-model.md)
- Detailed backend patterns: [Backend Guidelines](../backend/backend-guidelines.md)
- Integration specifics: [Integration Guidelines](../integrations/integration-guidelines.md)
- Domain models: [Domain Guidelines](../domain/domain-guidelines.md)
diff --git a/docs/dev/shared/data-model-concepts.md b/docs/dev/shared/data-model-concepts.md
deleted file mode 100644
index 031eae3b..00000000
--- a/docs/dev/shared/data-model-concepts.md
+++ /dev/null
@@ -1,83 +0,0 @@
-# Data Model Concepts
-
-## Entity
-
-- A physical or logical object with associated information
-- Has zero or more attributes
-- May or may not have sensors and controllers (from device integrations)
-- May or may not have (hidden) EntityState variables
-- May or may not define other entities as delegates of its state
-
-## EntityState
-
-- The hidden state of the entity/device that is sensed and/or controlled
-- A single entity may have zero or more states
-
-## EntityStateDelegation
-
-- An EntityState of an entity may just be a proxy for another entity's state
-- Example: A thermometer entity with a temperature state is a proxy for an area that is a room
-- We use the terms 'delegate' and 'principal' for the entities involved in the relation
-- Main use is to have the delegate's visual representation reflect the status of the principal's state
-- May be one-to-one, one-to-many or many-to-one relationship
-
-## Location
-
-- Has an SVG image that defines the visual and coordinate space
-- Has zero or more entities
-- Entities optionally associated with a position
-- Has zero or more collections
-- Collections optionally associated with a position
-- Can define one or more sub-locations
-
-## LocationView
-
-- Associated with a Location
-- Can define one or more Location Views for a Location
-- Defines the view bounding box area and rotation of the location SVG
-- Defines what entities are and are not visible in this view
-- Defines the view context for sensors and controllers (info, control)
-- ViewContext = { information, control }
-
-## LocationItem
-
-- Used as an abstraction/interface for items that can be associated with a Location
-- Helps define a consistent visual representation for LocationView
-- Initially, Entity and Collection are the two concrete examples of a LocationItem
-
-## EntityPosition / CollectionPosition
-
-- For entities/collections positioned in a Location and visually appearing as an icon
-- Defines the position, scale and rotation of the icon
-
-## EntityPath / CollectionPath
-
-- For entities/collections positioned in a Location and visually appearing as an open or closed path
-
-## Device (runtime concept, not a DB model)
-
-- An entity with at least one sensor or controller
-
-## Sensor
-
-- Provides an observation value of a single entity's state variable
-- Sensors and their states can only be created through integrations (not user editable)
-
-## Controller
-
-- Provides an action to affect a single entity state variable
-- Controllers and their states can only be created through integrations (not user editable)
-
-## Collection
-
-- Defines a logical connection for a group of one or more entities
-- Some entities in a collection may be unpositioned
-- Example: tools, appliances and devices are potential examples of unpositioned collections
-- Collections may or may not be shown in a Location View (as a path)
-
-## Related Documentation
-
-- Implementation details: [Domain Guidelines](../domain/domain-guidelines.md)
-- Entity patterns: [Entity Patterns](../domain/entity-patterns.md)
-- Backend models: [Backend Guidelines](../backend/backend-guidelines.md)
-- Visual representation: [Frontend Guidelines](../frontend/frontend-guidelines.md)
\ No newline at end of file
diff --git a/docs/dev/shared/data-model.md b/docs/dev/shared/data-model.md
new file mode 100644
index 00000000..c7602056
--- /dev/null
+++ b/docs/dev/shared/data-model.md
@@ -0,0 +1,235 @@
+# Data Model
+
+## Overview
+
+Home Information uses a carefully designed data model that separates concerns between:
+- **Core Models**: What things are and how they behave (entities, states, sensors, controllers)
+- **Display Models**: Where and how things appear visually (locations, views, positioning)
+
+This separation allows the same physical item to appear in multiple views with different representations while maintaining a single source of truth for its data and behavior.
+
+## Core Concepts
+
+### Entity
+
+The fundamental building block representing a physical or logical object in your home.
+
+**Key Characteristics:**
+- Represents items like appliances, fixtures, devices, areas, or systems
+- Has a name and entity type (determines visual appearance)
+- May have associated attributes (user-defined information)
+- May have states that can be sensed or controlled
+- Can be created by users or through integrations
+
+**Examples:** Refrigerator, light switch, HVAC system, pool area, security zone
+
+### EntityState
+
+The hidden internal state of an entity that can be monitored or controlled.
+
+**Key Characteristics:**
+- Not directly visible to users (hence "hidden")
+- Represents changeable properties of an entity
+- Can have zero or more sensors observing it
+- Can have zero or more controllers affecting it
+- Defined by integrations, not user-editable
+
+**Examples:**
+- Temperature state of a thermostat
+- On/off state of a light switch
+- Open/closed state of a door sensor
+
+### Sensor
+
+Observes and reports the current value of an EntityState.
+
+**Key Characteristics:**
+- Provides observation values for exactly one EntityState
+- Created only through integrations (not user-editable)
+- Has integration details for communication
+- Maintains last seen timestamp for freshness
+
+**Examples:**
+- Motion sensor reporting movement
+- Temperature sensor reporting degrees
+- Door sensor reporting open/closed status
+
+### Controller
+
+Provides actions to change an EntityState.
+
+**Key Characteristics:**
+- Controls exactly one EntityState
+- Created only through integrations (not user-editable)
+- Defines the type of control available
+- Has integration details for communication
+
+**Examples:**
+- Light switch controller (on/off)
+- Thermostat controller (set temperature)
+- Lock controller (lock/unlock)
+
+### EntityAttribute
+
+User-defined information associated with an entity.
+
+**Key Characteristics:**
+- Custom information added by users
+- Can be text, files, numbers, or other value types
+- Includes documents like manuals, warranties, notes
+- Fully editable by users
+- Supports file uploads
+
+**Examples:**
+- Product manual PDF
+- Warranty expiration date
+- Service history notes
+- Model and serial numbers
+
+## Visual Organization Concepts
+
+### Location
+
+Represents a physical space with a visual background.
+
+**Key Characteristics:**
+- Has an SVG image defining the visual space
+- Serves as container for positioned entities
+- Can represent floors, rooms, property, or areas
+- Defines the coordinate system for positioning
+- Can have multiple views into the same space
+
+**Examples:** Main floor, basement, backyard, entire property
+
+### LocationView
+
+A specific perspective or zoom into a Location.
+
+**Key Characteristics:**
+- Always associated with exactly one Location
+- Defines visible area through SVG transforms
+- Controls which entities are visible
+- Can focus on specific areas or concerns
+- Supports different view contexts (information vs. control)
+
+**Examples:**
+- "Kitchen View" - zoomed to kitchen area
+- "Security View" - showing all security devices
+- "HVAC View" - displaying heating/cooling systems
+
+### Collection
+
+A logical grouping of entities independent of physical location.
+
+**Key Characteristics:**
+- Groups related entities regardless of position
+- Can display as list or grid view
+- Some entities may not have physical positions
+- Collections themselves can optionally appear on location views
+
+**Examples:**
+- "Power Tools" - various tools stored in garage
+- "Small Appliances" - kitchen gadgets
+- "Maintenance Items" - filters, batteries, supplies
+
+## Positioning and Display Models
+
+### EntityPosition / CollectionPosition
+
+Defines icon-based positioning for items in a Location.
+
+**Key Characteristics:**
+- Specifies x,y coordinates in SVG space
+- Includes scale and rotation parameters
+- Most common display method
+- One entity can have multiple positions (different locations)
+
+### EntityPath / CollectionPath
+
+Defines path-based display for items in a Location.
+
+**Key Characteristics:**
+- Uses SVG path notation
+- Suitable for linear features or areas
+- Can represent open or closed paths
+- Useful for pipes, wires, zones, property boundaries
+
+**Examples:**
+- Underground utility lines
+- Fence boundaries
+- Security zones
+- Irrigation paths
+
+### EntityView / CollectionView
+
+Links items to specific LocationViews where they should appear.
+
+**Key Characteristics:**
+- Many-to-many relationship
+- Controls visibility per view
+- Allows same entity in multiple views
+- Enables view-specific organization
+
+## Advanced Concepts
+
+### EntityStateDelegation
+
+Defines proxy relationships between entity states.
+
+**Key Characteristics:**
+- One entity's state can represent another's
+- Supports one-to-one, one-to-many, many-to-one relationships
+- Enables visual state changes on delegate entities
+- Uses principal/delegate terminology
+
+**Examples:**
+- Temperature sensor in room acts as proxy for room's temperature
+- Motion sensor state affects visual display of an area
+- Multiple sensors aggregate to represent overall zone status
+
+### LocationItem (Interface)
+
+Abstract concept for items that can be associated with a Location.
+
+**Key Characteristics:**
+- Provides consistent interface for visual representation
+- Currently implemented by Entity and Collection
+- Enables uniform handling in views
+- Defines common display behaviors
+
+### Device (Runtime Concept)
+
+Not a database model but a useful conceptual grouping.
+
+**Definition:** An entity that has at least one sensor or controller
+**Purpose:** Distinguishes active (integrated) items from passive (information-only) items
+
+## Model Relationships
+
+The complete relationship structure is visualized in two diagrams:
+
+### Core Model Relationships
+Shows Entity, EntityState, Sensor, Controller, and EntityAttribute relationships.
+- [View Mermaid Diagram](diagrams/core-model-diagram.md) (renders in GitHub)
+- [PlantUML Source](diagrams/core-model.plantuml)
+
+### Display Model Relationships
+Shows Location, LocationView, positioning, and collection relationships.
+- [View Mermaid Diagram](diagrams/display-model-diagram.md) (renders in GitHub)
+- [PlantUML Source](diagrams/display-model.plantuml)
+
+## Data Portability
+
+All relationships are stored in standard SQLite foreign key relationships, making the data:
+- Queryable with standard SQL
+- Exportable to other formats
+- Understandable without the application
+- Migratable to other systems if needed
+
+## Related Documentation
+
+- **Implementation Details**: [Domain Guidelines](../domain/domain-guidelines.md)
+- **Entity Patterns**: [Entity Patterns](../domain/entity-patterns.md)
+- **Backend Models**: [Backend Guidelines](../backend/backend-guidelines.md)
+- **Visual Representation**: [Frontend Guidelines](../frontend/frontend-guidelines.md)
+- **Architecture Overview**: [Architecture Overview](architecture-overview.md)
\ No newline at end of file
diff --git a/docs/dev/shared/diagrams/core-model-diagram.md b/docs/dev/shared/diagrams/core-model-diagram.md
new file mode 100644
index 00000000..5a98ea66
--- /dev/null
+++ b/docs/dev/shared/diagrams/core-model-diagram.md
@@ -0,0 +1,71 @@
+# Core Model Relationships Diagram
+
+This diagram shows how the system models physical devices, their states, and the sensors/controllers that interact with those states.
+
+```mermaid
+erDiagram
+ Entity ||--o{ EntityState : "has"
+ EntityState ||--o{ Sensor : "observed by"
+ EntityState ||--o{ Controller : "controlled by"
+ Entity ||--o{ EntityAttribute : "has custom"
+
+ Entity {
+ bigint id PK
+ string name
+ string entity_type_str
+ string integration_id
+ string integration_name
+ boolean can_user_delete
+ datetime created_datetime
+ }
+
+ EntityState {
+ bigint id PK
+ bigint entity_id FK
+ string entity_state_type_str
+ string name
+ text value_range_str
+ }
+
+ Sensor {
+ bigint id PK
+ bigint entity_state_id FK
+ string name
+ string integration_id
+ string integration_name
+ text value
+ datetime last_seen_datetime
+ }
+
+ Controller {
+ bigint id PK
+ bigint entity_state_id FK
+ string name
+ string integration_id
+ string integration_name
+ string controller_type_str
+ }
+
+ EntityAttribute {
+ bigint id PK
+ bigint entity_id FK
+ string name
+ text value
+ string file_value
+ string attribute_type_str
+ string value_type_str
+ datetime created_datetime
+ }
+```
+
+## Key Relationships
+
+- **Entity β†’ EntityState**: One-to-many. An entity can have multiple internal states (temperature, on/off, etc.)
+- **EntityState β†’ Sensor**: One-to-many. Multiple sensors can observe the same state
+- **EntityState β†’ Controller**: One-to-many. Multiple controllers can affect the same state
+- **Entity β†’ EntityAttribute**: One-to-many. Users can add unlimited custom attributes
+
+## Alternative Formats
+
+- [PlantUML Version](core-model.plantuml) - For use with PlantUML renderers
+- [Back to Data Model Overview](../data-model.md)
\ No newline at end of file
diff --git a/docs/dev/shared/diagrams/core-model.plantuml b/docs/dev/shared/diagrams/core-model.plantuml
new file mode 100644
index 00000000..0b94ddc7
--- /dev/null
+++ b/docs/dev/shared/diagrams/core-model.plantuml
@@ -0,0 +1,65 @@
+@startuml Core Model Relationships
+
+!define TABLE(name,desc) class name as "desc" << (T,#FFAAAA) >>
+!define PRIMARY_KEY(x) <b>x</b>
+!define FOREIGN_KEY(x) <u>x</u>
+
+entity Entity {
+ * PRIMARY_KEY(id) : bigint
+ --
+ * name : string
+ * entity_type_str : string
+ integration_id : string
+ integration_name : string
+ can_user_delete : boolean
+ created_datetime : datetime
+}
+
+entity EntityState {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(entity_id) : bigint
+ --
+ * entity_state_type_str : string
+ name : string
+ value_range_str : text
+}
+
+entity Sensor {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(entity_state_id) : bigint
+ --
+ * name : string
+ integration_id : string
+ integration_name : string
+ value : text
+ last_seen_datetime : datetime
+}
+
+entity Controller {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(entity_state_id) : bigint
+ --
+ * name : string
+ integration_id : string
+ integration_name : string
+ controller_type_str : string
+}
+
+entity EntityAttribute {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(entity_id) : bigint
+ --
+ * name : string
+ value : text
+ file_value : string
+ attribute_type_str : string
+ value_type_str : string
+ created_datetime : datetime
+}
+
+Entity ||--o{ EntityState : "has"
+EntityState ||--o{ Sensor : "observed by"
+EntityState ||--o{ Controller : "controlled by"
+Entity ||--o{ EntityAttribute : "has attributes"
+
+@enduml
\ No newline at end of file
diff --git a/docs/dev/shared/diagrams/display-model-diagram.md b/docs/dev/shared/diagrams/display-model-diagram.md
new file mode 100644
index 00000000..3494170a
--- /dev/null
+++ b/docs/dev/shared/diagrams/display-model-diagram.md
@@ -0,0 +1,106 @@
+# Display Model Relationships Diagram
+
+This diagram shows how items are positioned and displayed in the visual interface.
+
+```mermaid
+erDiagram
+ Location ||--o{ LocationView : "has views"
+ Location ||--o{ EntityPosition : "positions entities"
+ Location ||--o{ EntityPath : "paths entities"
+ Location ||--o{ CollectionPosition : "positions collections"
+ Location ||--o{ CollectionPath : "paths collections"
+ Location ||--o{ LocationAttribute : "has custom"
+
+ Entity ||--o{ EntityPosition : "positioned by"
+ Entity ||--o{ EntityPath : "pathed by"
+ Entity ||--o{ EntityView : "appears in"
+ Entity }o--o{ Collection : "CollectionEntity"
+
+ Collection ||--o{ CollectionPosition : "positioned by"
+ Collection ||--o{ CollectionPath : "pathed by"
+ Collection ||--o{ CollectionView : "appears in"
+ Collection ||--o{ CollectionEntity : "contains"
+
+ LocationView ||--o{ EntityView : "shows entities"
+ LocationView ||--o{ CollectionView : "shows collections"
+
+ Location {
+ bigint id PK
+ string name
+ string svg_fragment_filename
+ string svg_view_box_str
+ integer order_id
+ }
+
+ LocationView {
+ bigint id PK
+ bigint location_id FK
+ string name
+ string location_view_type_str
+ string svg_transform_str
+ integer order_id
+ }
+
+ Entity {
+ bigint id PK
+ string name
+ string entity_type_str
+ }
+
+ EntityPosition {
+ bigint id PK
+ bigint entity_id FK
+ bigint location_id FK
+ decimal svg_x
+ decimal svg_y
+ decimal svg_scale
+ decimal svg_rotate
+ }
+
+ EntityPath {
+ bigint id PK
+ bigint entity_id FK
+ bigint location_id FK
+ text svg_path
+ }
+
+ EntityView {
+ bigint id PK
+ bigint entity_id FK
+ bigint location_view_id FK
+ }
+
+ Collection {
+ bigint id PK
+ string name
+ string collection_type_str
+ string collection_display_str
+ }
+
+ CollectionEntity {
+ bigint id PK
+ bigint collection_id FK
+ bigint entity_id FK
+ }
+```
+
+## Key Relationships
+
+- **Location β†’ LocationView**: One-to-many. Multiple views/perspectives of the same space
+- **Location β†’ Position/Path**: One-to-many. Items positioned within the location
+- **Entity β†’ Position/Path**: One-to-many. Same item can appear in multiple locations
+- **Entity ↔ Collection**: Many-to-many through CollectionEntity join table
+- **LocationView β†’ EntityView/CollectionView**: Controls what appears in each view
+
+## Visual Organization Concepts
+
+This model enables:
+- Same entity appearing in multiple locations or views
+- Different visual representations (icon vs. path)
+- Collections independent of physical positioning
+- View-specific filtering and organization
+
+## Alternative Formats
+
+- [PlantUML Version](display-model.plantuml) - For use with PlantUML renderers
+- [Back to Data Model Overview](../data-model.md)
\ No newline at end of file
diff --git a/docs/dev/shared/diagrams/display-model.plantuml b/docs/dev/shared/diagrams/display-model.plantuml
new file mode 100644
index 00000000..88c6aabd
--- /dev/null
+++ b/docs/dev/shared/diagrams/display-model.plantuml
@@ -0,0 +1,129 @@
+@startuml Display Model Relationships
+
+!define TABLE(name,desc) class name as "desc" << (T,#FFAAAA) >>
+!define PRIMARY_KEY(x) <b>x</b>
+!define FOREIGN_KEY(x) <u>x</u>
+
+entity Location {
+ * PRIMARY_KEY(id) : bigint
+ --
+ * name : string
+ * svg_fragment_filename : string
+ svg_view_box_str : string
+ order_id : integer
+}
+
+entity LocationView {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(location_id) : bigint
+ --
+ * name : string
+ location_view_type_str : string
+ svg_transform_str : string
+ order_id : integer
+}
+
+entity LocationAttribute {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(location_id) : bigint
+ --
+ * name : string
+ value : text
+ file_value : string
+ attribute_type_str : string
+ value_type_str : string
+}
+
+entity Entity {
+ * PRIMARY_KEY(id) : bigint
+ --
+ * name : string
+ * entity_type_str : string
+}
+
+entity Collection {
+ * PRIMARY_KEY(id) : bigint
+ --
+ * name : string
+ collection_type_str : string
+ collection_display_str : string
+ order_id : integer
+}
+
+entity EntityPosition {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(entity_id) : bigint
+ * FOREIGN_KEY(location_id) : bigint
+ --
+ svg_x : decimal
+ svg_y : decimal
+ svg_scale : decimal
+ svg_rotate : decimal
+}
+
+entity EntityPath {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(entity_id) : bigint
+ * FOREIGN_KEY(location_id) : bigint
+ --
+ svg_path : text
+}
+
+entity CollectionPosition {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(collection_id) : bigint
+ * FOREIGN_KEY(location_id) : bigint
+ --
+ svg_x : decimal
+ svg_y : decimal
+ svg_scale : decimal
+ svg_rotate : decimal
+}
+
+entity CollectionPath {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(collection_id) : bigint
+ * FOREIGN_KEY(location_id) : bigint
+ --
+ svg_path : text
+}
+
+entity EntityView {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(entity_id) : bigint
+ * FOREIGN_KEY(location_view_id) : bigint
+}
+
+entity CollectionEntity {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(collection_id) : bigint
+ * FOREIGN_KEY(entity_id) : bigint
+}
+
+entity CollectionView {
+ * PRIMARY_KEY(id) : bigint
+ * FOREIGN_KEY(collection_id) : bigint
+ * FOREIGN_KEY(location_view_id) : bigint
+}
+
+Location ||--o{ LocationView : "has views"
+Location ||--o{ LocationAttribute : "has attributes"
+Location ||--o{ EntityPosition : "positions"
+Location ||--o{ EntityPath : "paths"
+Location ||--o{ CollectionPosition : "positions"
+Location ||--o{ CollectionPath : "paths"
+
+Entity ||--o{ EntityPosition : "positioned at"
+Entity ||--o{ EntityPath : "drawn as path"
+Entity ||--o{ EntityView : "visible in"
+Entity }o--o{ Collection : "grouped in"
+
+Collection ||--o{ CollectionEntity : "contains"
+Collection ||--o{ CollectionPosition : "positioned at"
+Collection ||--o{ CollectionPath : "drawn as path"
+Collection ||--o{ CollectionView : "visible in"
+
+LocationView ||--o{ EntityView : "displays"
+LocationView ||--o{ CollectionView : "displays"
+
+@enduml
\ No newline at end of file
diff --git a/docs/dev/workflow/release-process.md b/docs/dev/workflow/release-process.md
index ccca9c66..76360a57 100644
--- a/docs/dev/workflow/release-process.md
+++ b/docs/dev/workflow/release-process.md
@@ -29,11 +29,12 @@ git checkout staging
git pull github staging
```
-### 2. Update Version Number
+### 2. Update Version Number and CHANGELOG.ms
```bash
# Edit HI_VERSION file with new version
-git add HI_VERSION
+# Add line to CHANGELOG.md file with short description
+git add HI_VERSION CHANGELOG.md
git commit -m "Bump version number to vX.X.X"
git push github staging
```
diff --git a/docs/img/getting-started/add-area-item-modal-1024x768.png b/docs/img/getting-started/add-area-item-modal-1024x768.png
new file mode 100644
index 00000000..da172c01
Binary files /dev/null and b/docs/img/getting-started/add-area-item-modal-1024x768.png differ
diff --git a/docs/img/getting-started/add-collection-modal-1024x768.png b/docs/img/getting-started/add-collection-modal-1024x768.png
new file mode 100644
index 00000000..e0909db6
Binary files /dev/null and b/docs/img/getting-started/add-collection-modal-1024x768.png differ
diff --git a/docs/img/getting-started/add-first-location-modal-1024x768.png b/docs/img/getting-started/add-first-location-modal-1024x768.png
new file mode 100644
index 00000000..d4a514a7
Binary files /dev/null and b/docs/img/getting-started/add-first-location-modal-1024x768.png differ
diff --git a/docs/img/getting-started/add-item-modal-1024x768.png b/docs/img/getting-started/add-item-modal-1024x768.png
new file mode 100644
index 00000000..682a9f31
Binary files /dev/null and b/docs/img/getting-started/add-item-modal-1024x768.png differ
diff --git a/docs/img/getting-started/add-line-item-modal-1024x768.png b/docs/img/getting-started/add-line-item-modal-1024x768.png
new file mode 100644
index 00000000..d3c3d927
Binary files /dev/null and b/docs/img/getting-started/add-line-item-modal-1024x768.png differ
diff --git a/docs/img/getting-started/add-location-modal-1024x768.png b/docs/img/getting-started/add-location-modal-1024x768.png
new file mode 100644
index 00000000..6be7c7c5
Binary files /dev/null and b/docs/img/getting-started/add-location-modal-1024x768.png differ
diff --git a/docs/img/getting-started/add-location-view-modal-1024x768.png b/docs/img/getting-started/add-location-view-modal-1024x768.png
new file mode 100644
index 00000000..a59782ac
Binary files /dev/null and b/docs/img/getting-started/add-location-view-modal-1024x768.png differ
diff --git a/docs/img/getting-started/bottom-right-buttons-1024x768.png b/docs/img/getting-started/bottom-right-buttons-1024x768.png
new file mode 100644
index 00000000..5be57a29
Binary files /dev/null and b/docs/img/getting-started/bottom-right-buttons-1024x768.png differ
diff --git a/docs/img/getting-started/collection-edit-grid-view-1024x768.png b/docs/img/getting-started/collection-edit-grid-view-1024x768.png
new file mode 100644
index 00000000..2fb1b1ca
Binary files /dev/null and b/docs/img/getting-started/collection-edit-grid-view-1024x768.png differ
diff --git a/docs/img/getting-started/collection-edit-list-view-1024x768.png b/docs/img/getting-started/collection-edit-list-view-1024x768.png
new file mode 100644
index 00000000..88446faf
Binary files /dev/null and b/docs/img/getting-started/collection-edit-list-view-1024x768.png differ
diff --git a/docs/img/getting-started/collection-edit-view-empty-1024x768.png b/docs/img/getting-started/collection-edit-view-empty-1024x768.png
new file mode 100644
index 00000000..a22cd6db
Binary files /dev/null and b/docs/img/getting-started/collection-edit-view-empty-1024x768.png differ
diff --git a/docs/img/getting-started/first-area-center-1024x768.png b/docs/img/getting-started/first-area-center-1024x768.png
new file mode 100644
index 00000000..492eac09
Binary files /dev/null and b/docs/img/getting-started/first-area-center-1024x768.png differ
diff --git a/docs/img/getting-started/first-area-edit-moved-1024x768.png b/docs/img/getting-started/first-area-edit-moved-1024x768.png
new file mode 100644
index 00000000..ec8ede32
Binary files /dev/null and b/docs/img/getting-started/first-area-edit-moved-1024x768.png differ
diff --git a/docs/img/getting-started/first-area-edit-shaped-1024x768.png b/docs/img/getting-started/first-area-edit-shaped-1024x768.png
new file mode 100644
index 00000000..fd081003
Binary files /dev/null and b/docs/img/getting-started/first-area-edit-shaped-1024x768.png differ
diff --git a/docs/img/getting-started/first-area-edit-start-1024x768.png b/docs/img/getting-started/first-area-edit-start-1024x768.png
new file mode 100644
index 00000000..a648a966
Binary files /dev/null and b/docs/img/getting-started/first-area-edit-start-1024x768.png differ
diff --git a/docs/img/getting-started/first-area-shaped-done-1024x768.png b/docs/img/getting-started/first-area-shaped-done-1024x768.png
new file mode 100644
index 00000000..1a776415
Binary files /dev/null and b/docs/img/getting-started/first-area-shaped-done-1024x768.png differ
diff --git a/docs/img/getting-started/first-item-center-1024x768.png b/docs/img/getting-started/first-item-center-1024x768.png
new file mode 100644
index 00000000..474da8af
Binary files /dev/null and b/docs/img/getting-started/first-item-center-1024x768.png differ
diff --git a/docs/img/getting-started/first-item-moved-scaled-1024x768.png b/docs/img/getting-started/first-item-moved-scaled-1024x768.png
new file mode 100644
index 00000000..6f9fa886
Binary files /dev/null and b/docs/img/getting-started/first-item-moved-scaled-1024x768.png differ
diff --git a/docs/img/getting-started/first-line-center-1024x768.png b/docs/img/getting-started/first-line-center-1024x768.png
new file mode 100644
index 00000000..0265a172
Binary files /dev/null and b/docs/img/getting-started/first-line-center-1024x768.png differ
diff --git a/docs/img/getting-started/first-line-edit-done-1024x768.png b/docs/img/getting-started/first-line-edit-done-1024x768.png
new file mode 100644
index 00000000..953cdc13
Binary files /dev/null and b/docs/img/getting-started/first-line-edit-done-1024x768.png differ
diff --git a/docs/img/getting-started/first-line-edit-moved-1024x768.png b/docs/img/getting-started/first-line-edit-moved-1024x768.png
new file mode 100644
index 00000000..aca3c020
Binary files /dev/null and b/docs/img/getting-started/first-line-edit-moved-1024x768.png differ
diff --git a/docs/img/getting-started/first-line-edit-start-1024x768.png b/docs/img/getting-started/first-line-edit-start-1024x768.png
new file mode 100644
index 00000000..16615c5f
Binary files /dev/null and b/docs/img/getting-started/first-line-edit-start-1024x768.png differ
diff --git a/docs/img/getting-started/initial-edit-screen-1024x768.png b/docs/img/getting-started/initial-edit-screen-1024x768.png
new file mode 100644
index 00000000..698910d2
Binary files /dev/null and b/docs/img/getting-started/initial-edit-screen-1024x768.png differ
diff --git a/docs/img/getting-started/item-edit-add-file-1024x768.png b/docs/img/getting-started/item-edit-add-file-1024x768.png
new file mode 100644
index 00000000..985b2e0f
Binary files /dev/null and b/docs/img/getting-started/item-edit-add-file-1024x768.png differ
diff --git a/docs/img/getting-started/item-edit-add-info-1024x768.png b/docs/img/getting-started/item-edit-add-info-1024x768.png
new file mode 100644
index 00000000..5821a654
Binary files /dev/null and b/docs/img/getting-started/item-edit-add-info-1024x768.png differ
diff --git a/docs/img/getting-started/item-edit-modal-empty-1024x768.png b/docs/img/getting-started/item-edit-modal-empty-1024x768.png
new file mode 100644
index 00000000..8ea0b3b5
Binary files /dev/null and b/docs/img/getting-started/item-edit-modal-empty-1024x768.png differ
diff --git a/docs/img/getting-started/location-edit-modal-1024x768.png b/docs/img/getting-started/location-edit-modal-1024x768.png
new file mode 100644
index 00000000..8f27afd7
Binary files /dev/null and b/docs/img/getting-started/location-edit-modal-1024x768.png differ
diff --git a/docs/img/getting-started/new-collection-button-1024x768.png b/docs/img/getting-started/new-collection-button-1024x768.png
new file mode 100644
index 00000000..522bde79
Binary files /dev/null and b/docs/img/getting-started/new-collection-button-1024x768.png differ
diff --git a/docs/img/getting-started/new-location-added-drop-down-1024x768.png b/docs/img/getting-started/new-location-added-drop-down-1024x768.png
new file mode 100644
index 00000000..5dafef59
Binary files /dev/null and b/docs/img/getting-started/new-location-added-drop-down-1024x768.png differ
diff --git a/docs/img/getting-started/new-location-alt-svg-1024x768.png b/docs/img/getting-started/new-location-alt-svg-1024x768.png
new file mode 100644
index 00000000..c0627607
Binary files /dev/null and b/docs/img/getting-started/new-location-alt-svg-1024x768.png differ
diff --git a/docs/img/getting-started/new-location-drop-down-1024x768.png b/docs/img/getting-started/new-location-drop-down-1024x768.png
new file mode 100644
index 00000000..cb63e21f
Binary files /dev/null and b/docs/img/getting-started/new-location-drop-down-1024x768.png differ
diff --git a/docs/img/getting-started/new-location-view-button-1024x768.png b/docs/img/getting-started/new-location-view-button-1024x768.png
new file mode 100644
index 00000000..9beaddab
Binary files /dev/null and b/docs/img/getting-started/new-location-view-button-1024x768.png differ
diff --git a/docs/img/getting-started/new-location-view-edit-zoomed-1024x768.png b/docs/img/getting-started/new-location-view-edit-zoomed-1024x768.png
new file mode 100644
index 00000000..d0cd7f7f
Binary files /dev/null and b/docs/img/getting-started/new-location-view-edit-zoomed-1024x768.png differ
diff --git a/docs/img/getting-started/new-location-view-populated-1024x768.png b/docs/img/getting-started/new-location-view-populated-1024x768.png
new file mode 100644
index 00000000..202120be
Binary files /dev/null and b/docs/img/getting-started/new-location-view-populated-1024x768.png differ
diff --git a/docs/img/getting-started/new-location-view-zoomed-1024x768.png b/docs/img/getting-started/new-location-view-zoomed-1024x768.png
new file mode 100644
index 00000000..0d433501
Binary files /dev/null and b/docs/img/getting-started/new-location-view-zoomed-1024x768.png differ
diff --git a/docs/img/getting-started/start-page-1024x768.png b/docs/img/getting-started/start-page-1024x768.png
new file mode 100644
index 00000000..5b738198
Binary files /dev/null and b/docs/img/getting-started/start-page-1024x768.png differ
diff --git a/docs/img/getting-started/view-mode-1024x768.png b/docs/img/getting-started/view-mode-1024x768.png
new file mode 100644
index 00000000..bff439b0
Binary files /dev/null and b/docs/img/getting-started/view-mode-1024x768.png differ
diff --git a/docs/img/screenshot-add-collection.png b/docs/img/screenshot-add-collection.png
deleted file mode 100644
index 314d69c4..00000000
Binary files a/docs/img/screenshot-add-collection.png and /dev/null differ
diff --git a/docs/img/screenshot-add-electric.png b/docs/img/screenshot-add-electric.png
deleted file mode 100644
index 7b65465c..00000000
Binary files a/docs/img/screenshot-add-electric.png and /dev/null differ
diff --git a/docs/img/screenshot-add-item.png b/docs/img/screenshot-add-item.png
deleted file mode 100644
index 14a97fdf..00000000
Binary files a/docs/img/screenshot-add-item.png and /dev/null differ
diff --git a/docs/img/screenshot-add-location.png b/docs/img/screenshot-add-location.png
deleted file mode 100644
index 3ea68891..00000000
Binary files a/docs/img/screenshot-add-location.png and /dev/null differ
diff --git a/docs/img/screenshot-add-pool.png b/docs/img/screenshot-add-pool.png
deleted file mode 100644
index 9a50ebf7..00000000
Binary files a/docs/img/screenshot-add-pool.png and /dev/null differ
diff --git a/docs/img/screenshot-add-view.png b/docs/img/screenshot-add-view.png
deleted file mode 100644
index e93f5a67..00000000
Binary files a/docs/img/screenshot-add-view.png and /dev/null differ
diff --git a/docs/img/screenshot-cameras.png b/docs/img/screenshot-cameras.png
deleted file mode 100644
index 049e6b5d..00000000
Binary files a/docs/img/screenshot-cameras.png and /dev/null differ
diff --git a/docs/img/screenshot-collection-empty.png b/docs/img/screenshot-collection-empty.png
deleted file mode 100644
index 459ecc37..00000000
Binary files a/docs/img/screenshot-collection-empty.png and /dev/null differ
diff --git a/docs/img/screenshot-collection-grid.png b/docs/img/screenshot-collection-grid.png
deleted file mode 100644
index e240ab26..00000000
Binary files a/docs/img/screenshot-collection-grid.png and /dev/null differ
diff --git a/docs/img/screenshot-collection-initial.png b/docs/img/screenshot-collection-initial.png
deleted file mode 100644
index c646f8ba..00000000
Binary files a/docs/img/screenshot-collection-initial.png and /dev/null differ
diff --git a/docs/img/screenshot-collection-list.png b/docs/img/screenshot-collection-list.png
deleted file mode 100644
index b10d8e88..00000000
Binary files a/docs/img/screenshot-collection-list.png and /dev/null differ
diff --git a/docs/img/screenshot-create.png b/docs/img/screenshot-create.png
deleted file mode 100644
index 3aeb1c66..00000000
Binary files a/docs/img/screenshot-create.png and /dev/null differ
diff --git a/docs/img/screenshot-electric-done.png b/docs/img/screenshot-electric-done.png
deleted file mode 100644
index e69bbdda..00000000
Binary files a/docs/img/screenshot-electric-done.png and /dev/null differ
diff --git a/docs/img/screenshot-electric-initial.png b/docs/img/screenshot-electric-initial.png
deleted file mode 100644
index ecbc2560..00000000
Binary files a/docs/img/screenshot-electric-initial.png and /dev/null differ
diff --git a/docs/img/screenshot-electric-moved.png b/docs/img/screenshot-electric-moved.png
deleted file mode 100644
index e4141952..00000000
Binary files a/docs/img/screenshot-electric-moved.png and /dev/null differ
diff --git a/docs/img/screenshot-electric-selected.png b/docs/img/screenshot-electric-selected.png
deleted file mode 100644
index a71fe12c..00000000
Binary files a/docs/img/screenshot-electric-selected.png and /dev/null differ
diff --git a/docs/img/screenshot-empty.png b/docs/img/screenshot-empty.png
deleted file mode 100644
index 659c70b6..00000000
Binary files a/docs/img/screenshot-empty.png and /dev/null differ
diff --git a/docs/img/screenshot-item-attribute.png b/docs/img/screenshot-item-attribute.png
deleted file mode 100644
index 7e7c8c97..00000000
Binary files a/docs/img/screenshot-item-attribute.png and /dev/null differ
diff --git a/docs/img/screenshot-item-edit.png b/docs/img/screenshot-item-edit.png
deleted file mode 100644
index e471cbee..00000000
Binary files a/docs/img/screenshot-item-edit.png and /dev/null differ
diff --git a/docs/img/screenshot-item-initial.png b/docs/img/screenshot-item-initial.png
deleted file mode 100644
index 90a946a9..00000000
Binary files a/docs/img/screenshot-item-initial.png and /dev/null differ
diff --git a/docs/img/screenshot-item-moved.png b/docs/img/screenshot-item-moved.png
deleted file mode 100644
index 342605bf..00000000
Binary files a/docs/img/screenshot-item-moved.png and /dev/null differ
diff --git a/docs/img/screenshot-item-upload.png b/docs/img/screenshot-item-upload.png
deleted file mode 100644
index ced6e676..00000000
Binary files a/docs/img/screenshot-item-upload.png and /dev/null differ
diff --git a/docs/img/screenshot-kitchen.png b/docs/img/screenshot-kitchen.png
deleted file mode 100644
index cf16f36d..00000000
Binary files a/docs/img/screenshot-kitchen.png and /dev/null differ
diff --git a/docs/img/screenshot-location-attic.png b/docs/img/screenshot-location-attic.png
deleted file mode 100644
index 21c315f8..00000000
Binary files a/docs/img/screenshot-location-attic.png and /dev/null differ
diff --git a/docs/img/screenshot-location-dialog.png b/docs/img/screenshot-location-dialog.png
deleted file mode 100644
index 32ee8ad6..00000000
Binary files a/docs/img/screenshot-location-dialog.png and /dev/null differ
diff --git a/docs/img/screenshot-location-edit.png b/docs/img/screenshot-location-edit.png
deleted file mode 100644
index f5fc9139..00000000
Binary files a/docs/img/screenshot-location-edit.png and /dev/null differ
diff --git a/docs/img/screenshot-location-menu.png b/docs/img/screenshot-location-menu.png
deleted file mode 100644
index 398c566a..00000000
Binary files a/docs/img/screenshot-location-menu.png and /dev/null differ
diff --git a/docs/img/screenshot-pool-done.png b/docs/img/screenshot-pool-done.png
deleted file mode 100644
index 94f98a77..00000000
Binary files a/docs/img/screenshot-pool-done.png and /dev/null differ
diff --git a/docs/img/screenshot-pool-initial.png b/docs/img/screenshot-pool-initial.png
deleted file mode 100644
index b342ed16..00000000
Binary files a/docs/img/screenshot-pool-initial.png and /dev/null differ
diff --git a/docs/img/screenshot-pool-moved.png b/docs/img/screenshot-pool-moved.png
deleted file mode 100644
index d78a523f..00000000
Binary files a/docs/img/screenshot-pool-moved.png and /dev/null differ
diff --git a/docs/img/screenshot-pool-reshaped.png b/docs/img/screenshot-pool-reshaped.png
deleted file mode 100644
index aea8bc6e..00000000
Binary files a/docs/img/screenshot-pool-reshaped.png and /dev/null differ
diff --git a/docs/img/screenshot-pool-selected.png b/docs/img/screenshot-pool-selected.png
deleted file mode 100644
index 46c2a899..00000000
Binary files a/docs/img/screenshot-pool-selected.png and /dev/null differ
diff --git a/docs/img/screenshot-security.png b/docs/img/screenshot-security.png
deleted file mode 100644
index 2bf770bf..00000000
Binary files a/docs/img/screenshot-security.png and /dev/null differ
diff --git a/docs/img/screenshot-start.png b/docs/img/screenshot-start.png
deleted file mode 100644
index 87abc70d..00000000
Binary files a/docs/img/screenshot-start.png and /dev/null differ
diff --git a/docs/img/screenshot-view-edit.png b/docs/img/screenshot-view-edit.png
deleted file mode 100644
index 333dd09f..00000000
Binary files a/docs/img/screenshot-view-edit.png and /dev/null differ
diff --git a/docs/img/screenshot-view-initial.png b/docs/img/screenshot-view-initial.png
deleted file mode 100644
index 7a00aa0c..00000000
Binary files a/docs/img/screenshot-view-initial.png and /dev/null differ
diff --git a/docs/img/screenshot-view-normal.png b/docs/img/screenshot-view-normal.png
deleted file mode 100644
index c51bd7aa..00000000
Binary files a/docs/img/screenshot-view-normal.png and /dev/null differ
diff --git a/docs/img/screenshot-view-zoomed.png b/docs/img/screenshot-view-zoomed.png
deleted file mode 100644
index d3b266bc..00000000
Binary files a/docs/img/screenshot-view-zoomed.png and /dev/null differ
diff --git a/docs/img/screenshots/attribute-info-files-1024x768.png b/docs/img/screenshots/attribute-info-files-1024x768.png
new file mode 100644
index 00000000..4a9d3949
Binary files /dev/null and b/docs/img/screenshots/attribute-info-files-1024x768.png differ
diff --git a/docs/img/screenshots/automation-view-1024x768.png b/docs/img/screenshots/automation-view-1024x768.png
new file mode 100644
index 00000000..1808217e
Binary files /dev/null and b/docs/img/screenshots/automation-view-1024x768.png differ
diff --git a/docs/img/screenshots/editing-view-1024x768.png b/docs/img/screenshots/editing-view-1024x768.png
new file mode 100644
index 00000000..29a773f5
Binary files /dev/null and b/docs/img/screenshots/editing-view-1024x768.png differ
diff --git a/docs/img/screenshots/security-view-active-1024x768.png b/docs/img/screenshots/security-view-active-1024x768.png
new file mode 100644
index 00000000..0748bf11
Binary files /dev/null and b/docs/img/screenshots/security-view-active-1024x768.png differ
diff --git a/docs/img/screenshots/security-view-active-closeup-400x300.png b/docs/img/screenshots/security-view-active-closeup-400x300.png
new file mode 100644
index 00000000..c354a349
Binary files /dev/null and b/docs/img/screenshots/security-view-active-closeup-400x300.png differ
diff --git a/docs/img/screenshots/spatial-data-org-1024x768.png b/docs/img/screenshots/spatial-data-org-1024x768.png
new file mode 100644
index 00000000..7b77e093
Binary files /dev/null and b/docs/img/screenshots/spatial-data-org-1024x768.png differ
diff --git a/docs/img/screenshots/stream-browser-1024x768.png b/docs/img/screenshots/stream-browser-1024x768.png
new file mode 100644
index 00000000..7fe8b134
Binary files /dev/null and b/docs/img/screenshots/stream-browser-1024x768.png differ
diff --git a/scripts/README.md b/scripts/README.md
new file mode 100644
index 00000000..bef91df9
--- /dev/null
+++ b/scripts/README.md
@@ -0,0 +1,84 @@
+# Home Information Data Export Scripts
+
+This directory contains utility scripts for managing your Home Information instalation.
+
+## Available Scripts
+
+### export-item-attributes.sh
+Exports all custom attributes for items (entities) in your home, including:
+- Item name and type
+- Attribute names and values
+- File references
+- Creation and update timestamps
+
+**Usage:**
+```bash
+./scripts/export-item-attributes.sh
+```
+
+### export-location-attributes.sh
+Exports all custom attributes for locations (floors, areas, rooms), including:
+- Location name
+- Attribute names and values
+- File references
+- Creation and update timestamps
+
+**Usage:**
+```bash
+./scripts/export-location-attributes.sh
+```
+
+### export-all-attributes.sh
+Provides a comprehensive export of all custom attributes (both items and locations) with a summary.
+
+**Usage:**
+```bash
+./scripts/export-all-attributes.sh
+```
+
+## Output Formats
+
+You can redirect the output to save it in different formats:
+
+**Save as text file:**
+```bash
+./scripts/export-all-attributes.sh > my-home-data.txt
+```
+
+**Export directly as CSV (comma-separated values):**
+```bash
+# Export item attributes as CSV
+sqlite3 -csv ~/.hi/database/hi.sqlite3 "SELECT e.name AS item_name, e.entity_type_str AS item_type, a.name AS attribute_name, a.value AS attribute_value FROM entity_entityattribute a INNER JOIN entity_entity e ON a.entity_id = e.id WHERE a.attribute_type_str = 'custom';" > items.csv
+
+# Export location attributes as CSV
+sqlite3 -csv ~/.hi/database/hi.sqlite3 "SELECT l.name AS location_name, a.name AS attribute_name, a.value AS attribute_value FROM location_locationattribute a INNER JOIN location_location l ON a.location_id = l.id WHERE a.attribute_type_str = 'custom';" > locations.csv
+```
+
+## Direct Database Access
+
+If you need more control, you can query the SQLite database directly:
+
+```bash
+# Open interactive SQLite session
+sqlite3 ~/.hi/database/hi.sqlite3
+
+# List all tables
+.tables
+
+# Show schema for a table
+.schema entity_entityattribute
+
+# Export specific data
+.mode csv
+.output my-data.csv
+SELECT * FROM entity_entityattribute WHERE attribute_type_str = 'custom';
+.quit
+```
+
+## Data Portability
+
+Your Home Information data is stored in open, standard formats:
+- **Database**: SQLite at `~/.hi/database/hi.sqlite3`
+- **Files**: Regular files at `~/.hi/media/`
+
+This ensures you always have full access to your data without requiring Home Information to be running.
diff --git a/scripts/export-all-attributes.sh b/scripts/export-all-attributes.sh
new file mode 100755
index 00000000..116a0c03
--- /dev/null
+++ b/scripts/export-all-attributes.sh
@@ -0,0 +1,99 @@
+#!/bin/bash
+#
+# Export all custom attributes (both Items and Locations) from Home Information database
+# Provides a complete export of all user-added information
+#
+# Usage: ./scripts/export-all-attributes.sh
+#
+
+# Database location (adjust if your installation differs)
+DB_PATH="${HOME}/.hi/database/hi.sqlite3"
+
+# Check if database exists
+if [ ! -f "$DB_PATH" ]; then
+ echo "Error: Database not found at $DB_PATH"
+ echo "Please check your Home Information installation path"
+ exit 1
+fi
+
+echo "=================================================================================="
+echo "ITEM (ENTITY) ATTRIBUTES"
+echo "=================================================================================="
+echo
+
+sqlite3 -header -column "$DB_PATH" <<'SQL'
+SELECT
+ e.name AS item_name,
+ e.entity_type_str AS item_type,
+ a.name AS attribute_name,
+ CASE
+ WHEN a.value_type_str = 'file' THEN
+ 'File: ' || a.file_value
+ WHEN a.value IS NULL OR a.value = '' THEN
+ '(empty)'
+ ELSE
+ substr(a.value, 1, 50) ||
+ CASE WHEN length(a.value) > 50 THEN '...' ELSE '' END
+ END AS attribute_value,
+ a.value_type_str AS value_type,
+ date(a.created_datetime) AS created
+FROM
+ entity_entityattribute a
+ INNER JOIN entity_entity e ON a.entity_id = e.id
+WHERE
+ a.attribute_type_str = 'custom'
+ORDER BY
+ e.name,
+ a.name;
+SQL
+
+echo
+echo "=================================================================================="
+echo "LOCATION ATTRIBUTES"
+echo "=================================================================================="
+echo
+
+sqlite3 -header -column "$DB_PATH" <<'SQL'
+SELECT
+ l.name AS location_name,
+ a.name AS attribute_name,
+ CASE
+ WHEN a.value_type_str = 'file' THEN
+ 'File: ' || a.file_value
+ WHEN a.value IS NULL OR a.value = '' THEN
+ '(empty)'
+ ELSE
+ substr(a.value, 1, 50) ||
+ CASE WHEN length(a.value) > 50 THEN '...' ELSE '' END
+ END AS attribute_value,
+ a.value_type_str AS value_type,
+ date(a.created_datetime) AS created
+FROM
+ location_locationattribute a
+ INNER JOIN location_location l ON a.location_id = l.id
+WHERE
+ a.attribute_type_str = 'custom'
+ORDER BY
+ l.name,
+ a.name;
+SQL
+
+echo
+echo "=================================================================================="
+echo "SUMMARY"
+echo "=================================================================================="
+
+sqlite3 "$DB_PATH" <<'SQL'
+SELECT
+ printf('Total Item Attributes: %d',
+ (SELECT COUNT(*) FROM entity_entityattribute WHERE attribute_type_str = 'custom'))
+UNION ALL
+SELECT
+ printf('Total Location Attributes: %d',
+ (SELECT COUNT(*) FROM location_locationattribute WHERE attribute_type_str = 'custom'))
+UNION ALL
+SELECT
+ printf('Total Files Uploaded: %d',
+ (SELECT COUNT(*) FROM entity_entityattribute WHERE attribute_type_str = 'custom' AND value_type_str = 'file' AND file_value IS NOT NULL) +
+ (SELECT COUNT(*) FROM location_locationattribute WHERE attribute_type_str = 'custom' AND value_type_str = 'file' AND file_value IS NOT NULL));
+SQL
\ No newline at end of file
diff --git a/scripts/export-item-attributes.sh b/scripts/export-item-attributes.sh
new file mode 100755
index 00000000..86a6e12c
--- /dev/null
+++ b/scripts/export-item-attributes.sh
@@ -0,0 +1,44 @@
+#!/bin/bash
+#
+# Export all custom Item (Entity) attributes from Home Information database
+# This shows all user-added information for items in your home
+#
+# Usage: ./scripts/export-item-attributes.sh
+#
+
+# Database location (adjust if your installation differs)
+DB_PATH="${HOME}/.hi/database/hi.sqlite3"
+
+# Check if database exists
+if [ ! -f "$DB_PATH" ]; then
+ echo "Error: Database not found at $DB_PATH"
+ echo "Please check your Home Information installation path"
+ exit 1
+fi
+
+# Query to extract custom item attributes with their associated item names
+sqlite3 -header -column "$DB_PATH" <<'SQL'
+SELECT
+ e.name AS item_name,
+ e.entity_type_str AS item_type,
+ a.name AS attribute_name,
+ CASE
+ WHEN a.value_type_str = 'file' THEN
+ 'File: ' || a.file_value
+ WHEN a.value IS NULL OR a.value = '' THEN
+ '(empty)'
+ ELSE
+ a.value
+ END AS attribute_value,
+ a.value_type_str AS value_type,
+ datetime(a.created_datetime) AS created_date,
+ datetime(a.updated_datetime) AS updated_date
+FROM
+ entity_entityattribute a
+ INNER JOIN entity_entity e ON a.entity_id = e.id
+WHERE
+ a.attribute_type_str = 'custom'
+ORDER BY
+ e.name,
+ a.name;
+SQL
diff --git a/scripts/export-location-attributes.sh b/scripts/export-location-attributes.sh
new file mode 100755
index 00000000..ea0bbe75
--- /dev/null
+++ b/scripts/export-location-attributes.sh
@@ -0,0 +1,43 @@
+#!/bin/bash
+#
+# Export all custom Location attributes from Home Information database
+# This shows all user-added information for locations (floors, areas, etc.)
+#
+# Usage: ./scripts/export-location-attributes.sh
+#
+
+# Database location (adjust if your installation differs)
+DB_PATH="${HOME}/.hi/database/hi.sqlite3"
+
+# Check if database exists
+if [ ! -f "$DB_PATH" ]; then
+ echo "Error: Database not found at $DB_PATH"
+ echo "Please check your Home Information installation path"
+ exit 1
+fi
+
+# Query to extract custom location attributes with their associated location names
+sqlite3 -header -column "$DB_PATH" <<'SQL'
+SELECT
+ l.name AS location_name,
+ a.name AS attribute_name,
+ CASE
+ WHEN a.value_type_str = 'file' THEN
+ 'File: ' || a.file_value
+ WHEN a.value IS NULL OR a.value = '' THEN
+ '(empty)'
+ ELSE
+ a.value
+ END AS attribute_value,
+ a.value_type_str AS value_type,
+ datetime(a.created_datetime) AS created_date,
+ datetime(a.updated_datetime) AS updated_date
+FROM
+ location_locationattribute a
+ INNER JOIN location_location l ON a.location_id = l.id
+WHERE
+ a.attribute_type_str = 'custom'
+ORDER BY
+ l.name,
+ a.name;
+SQL
\ No newline at end of file
diff --git a/src/hi/apps/alert/templates/alert/panes/alert_banner_content.html b/src/hi/apps/alert/templates/alert/panes/alert_banner_content.html
index a019b10e..9847d01b 100644
--- a/src/hi/apps/alert/templates/alert/panes/alert_banner_content.html
+++ b/src/hi/apps/alert/templates/alert/panes/alert_banner_content.html
@@ -4,20 +4,20 @@
<div class="hi-alert-banner-alert-list">
{% for alert in alert_list %}
<div class="hi-alert hi-alarm-level-{{ alert.alarm_level }} row">
- <div class="col-1">
+ <div class="col-md-1 col-2">
<a href="{% url 'alert_details' alert_id=alert.id %}"
- class="btn btn-primary" data-async="modal">DETAILS</a>
+ class="btn btn-primary btn-sm" data-async="modal">DETAILS</a>
</div>
- <div class="col-1">{{ alert.alarm_level.label }}</div>
- <div class="col-6">{{ alert.title }}</div>
- <div class="col-3">
+ <div class="col-md-1 col-2">{{ alert.alarm_level.label }}</div>
+ <div class="col-md-5 col-4">{{ alert.title }}</div>
+ <div class="col-md-3 col-2">
Since {{ alert.start_datetime|localtime|naturaltime }}
</div>
- <div class="col-1">
+ <div class="col-md-2 col-2 text-right">
<form action="{% url 'alert_acknowledge' alert_id=alert.id %}" method="post"
- data-async="true">
+ data-async="true" class="d-inline">
{% csrf_token %}
- <input type="submit" class="btn btn-secondary" name="action" value="Dismiss">
+ <input type="submit" class="btn btn-secondary btn-sm" name="action" value="Dismiss">
</form>
</div>
</div>
diff --git a/src/hi/apps/console/templates/console/panes/camera_controls.html b/src/hi/apps/console/templates/console/panes/camera_controls.html
index 81477d79..5cb6933f 100644
--- a/src/hi/apps/console/templates/console/panes/camera_controls.html
+++ b/src/hi/apps/console/templates/console/panes/camera_controls.html
@@ -4,9 +4,9 @@
{% for camera_data in camera_control_display_list %}
<div class="w-50 pl-1 pb-1">
<a href="{% url 'console_entity_video_stream' entity_id=camera_data.entity.id %}"
- class="btn btn-primary btn-control btn-camera {% if camera_data.status_entity_state %}{{ camera_data.status_entity_state.css_class }}{% endif %}"
- {% if camera_data.status_entity_state %}status=""{% endif %}>
- {{ camera_data.entity.name }}
+ class="btn btn-primary btn-control btn-camera {% if camera_data.status_entity_state %}{{ camera_data.status_entity_state.css_class }}{% endif %}"
+ {% if camera_data.status_entity_state %}status=""{% endif %}>
+ {{ camera_data.short_name }}
</a>
</div>
{% endfor %}
diff --git a/src/hi/apps/console/transient_models.py b/src/hi/apps/console/transient_models.py
index 2b179eeb..9a1d97ee 100644
--- a/src/hi/apps/console/transient_models.py
+++ b/src/hi/apps/console/transient_models.py
@@ -1,5 +1,6 @@
from dataclasses import dataclass
from datetime import datetime
+import re
from typing import Dict, List, Optional
from hi.apps.entity.models import Entity, EntityState
@@ -32,7 +33,13 @@ class CameraControlDisplayData:
entity: Entity
status_entity_state: Optional[EntityState] = None
+ @property
+ def short_name(self):
+ """ Heuristic rules to reduce name length to fit in side panel narrow buttons """
+ short_name = re.sub( r'camera$', '', self.entity.name, flags = re.IGNORECASE )
+ return short_name.strip()
+
@dataclass
class EntitySensorHistoryData:
"""
diff --git a/src/hi/apps/entity/templates/entity/edit/modals/entity_add.html b/src/hi/apps/entity/templates/entity/edit/modals/entity_add.html
index 47f4ab2d..6232b357 100644
--- a/src/hi/apps/entity/templates/entity/edit/modals/entity_add.html
+++ b/src/hi/apps/entity/templates/entity/edit/modals/entity_add.html
@@ -7,7 +7,7 @@
{% endblock %}
{% block title_text %}
-New Location Item
+New Item
{% endblock %}
{% block body %}
@@ -18,7 +18,7 @@ New Location Item
{% block action_right %}
<button id="hi-add-entity-button" type="submit" class="btn btn-lg btn-success"
- name="action" value="add">
+ name="action" value="add">
ADD
</button>
{% endblock %}
diff --git a/src/hi/apps/event/migrations/0005_alter_eventclause_options_and_more.py b/src/hi/apps/event/migrations/0005_alter_eventclause_options_and_more.py
new file mode 100644
index 00000000..568baeef
--- /dev/null
+++ b/src/hi/apps/event/migrations/0005_alter_eventclause_options_and_more.py
@@ -0,0 +1,86 @@
+# Generated by Django 4.2.15 on 2025-09-07 01:36
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("event", "0004_alter_eventdefinition_integration_payload"),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name="eventclause",
+ options={
+ "verbose_name": "Trigger Clause",
+ "verbose_name_plural": "Trigger Clauses",
+ },
+ ),
+ migrations.AlterModelOptions(
+ name="eventdefinition",
+ options={
+ "verbose_name": "Trigger Definition",
+ "verbose_name_plural": "Trigger Definitions",
+ },
+ ),
+ migrations.AlterModelOptions(
+ name="eventhistory",
+ options={
+ "ordering": ["-event_datetime"],
+ "verbose_name": "Trigger History",
+ "verbose_name_plural": "Trigger History",
+ },
+ ),
+ migrations.AlterField(
+ model_name="alarmaction",
+ name="event_definition",
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name="alarm_actions",
+ to="event.eventdefinition",
+ verbose_name="Trigger Definition",
+ ),
+ ),
+ migrations.AlterField(
+ model_name="controlaction",
+ name="event_definition",
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name="control_actions",
+ to="event.eventdefinition",
+ verbose_name="Trigger Definition",
+ ),
+ ),
+ migrations.AlterField(
+ model_name="eventclause",
+ name="event_definition",
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name="event_clauses",
+ to="event.eventdefinition",
+ verbose_name="Trigger Definition",
+ ),
+ ),
+ migrations.AlterField(
+ model_name="eventdefinition",
+ name="event_type_str",
+ field=models.CharField(max_length=32, verbose_name="Trigger Type"),
+ ),
+ migrations.AlterField(
+ model_name="eventdefinition",
+ name="event_window_secs",
+ field=models.PositiveIntegerField(verbose_name="Trigger Window Secs"),
+ ),
+ migrations.AlterField(
+ model_name="eventhistory",
+ name="event_definition",
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name="history",
+ to="event.eventdefinition",
+ verbose_name="Trigger Definition",
+ ),
+ ),
+ ]
diff --git a/src/hi/apps/event/templates/event/panes/event_definitions.html b/src/hi/apps/event/templates/event/panes/event_definitions.html
index 613c935e..bb1ec39e 100644
--- a/src/hi/apps/event/templates/event/panes/event_definitions.html
+++ b/src/hi/apps/event/templates/event/panes/event_definitions.html
@@ -7,9 +7,9 @@
<div class="h3">Trigger Rules</div>
<div>
<a role="button" class="btn btn-primary"
- href="{% url 'event_definition_add' %}"
- data-async="modal" >
- {% icon "plus" size="sm" css_class="hi-icon-left" %}ADD NEW RULE
+ href="{% url 'event_definition_add' %}"
+ data-async="modal" >
+ {% icon "plus" size="sm" css_class="hi-icon-left" %}ADD NEW RULE
</a>
</div>
</div>
@@ -17,53 +17,53 @@
<div class="table-responsive">
<table class="table table-striped">
<thead>
- <tr>
- <th></th>
- <th>Name</th>
- <th>Type</th>
- <th>Actions</th>
- <th>Enabled?</th>
- <th></th>
- </tr>
+ <tr>
+ <th></th>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Actions</th>
+ <th>Enabled?</th>
+ <th></th>
+ </tr>
</thead>
<tbody>
- {% for event_definition in event_definition_list %}
- <tr>
- <td>
- <a role="button" class="btn btn-primary"
- href="{% url 'event_definition_edit' id=event_definition.id %}"
- data-async="modal" >
- {% icon "edit" size="sm" css_class="hi-icon-left" %}EDIT
- </a>
- </td>
- <td>
- <a href="{% url 'event_definition_edit' id=event_definition.id %}"
- data-async="modal" >
- {{ event_definition.name }}
- </a>
- </td>
- <td>
- {{ event_definition.event_type.label }}
- </td>
- <td>
- {% if event_definition.control_actions.all|length > 0 %}Control{%endif %}
- {% if event_definition.alarm_actions.all|length > 0 %}Alarm{%endif %}
- </td>
- <td>
- {{ event_definition.enabled }}
- </td>
- <td>
- <a role="button" class="btn btn-danger"
- href="{% url 'event_definition_delete' id=event_definition.id %}"
- data-async="modal"
- aria-label="Delete rule">
- {% icon "delete" size="sm" %}
- </a>
- </td>
- </tr>
- {% empty %}
- <tr><td colspan="6"><div class="col-12 alert alert-info" >No event definitions.</div></td></tr>
- {% endfor %}
+ {% for event_definition in event_definition_list %}
+ <tr>
+ <td>
+ <a role="button" class="btn btn-sm btn-primary"
+ href="{% url 'event_definition_edit' id=event_definition.id %}"
+ data-async="modal" >
+ {% icon "edit" size="sm" css_class="hi-icon-left" %}EDIT
+ </a>
+ </td>
+ <td>
+ <a href="{% url 'event_definition_edit' id=event_definition.id %}"
+ data-async="modal" >
+ {{ event_definition.name }}
+ </a>
+ </td>
+ <td>
+ {{ event_definition.event_type.label }}
+ </td>
+ <td>
+ {% if event_definition.control_actions.all|length > 0 %}Control{%endif %}
+ {% if event_definition.alarm_actions.all|length > 0 %}Alarm{%endif %}
+ </td>
+ <td>
+ {{ event_definition.enabled }}
+ </td>
+ <td>
+ <a role="button" class="btn btn-sm btn-danger"
+ href="{% url 'event_definition_delete' id=event_definition.id %}"
+ data-async="modal"
+ aria-label="Delete rule">
+ {% icon "delete" size="sm" %}
+ </a>
+ </td>
+ </tr>
+ {% empty %}
+ <tr><td colspan="6"><div class="col-12 alert alert-info" >No event definitions.</div></td></tr>
+ {% endfor %}
</tbody>
</table>
</div>
diff --git a/src/hi/apps/security/templates/security/panes/security_state_control.html b/src/hi/apps/security/templates/security/panes/security_state_control.html
index 51b94079..29d0d16a 100644
--- a/src/hi/apps/security/templates/security/panes/security_state_control.html
+++ b/src/hi/apps/security/templates/security/panes/security_state_control.html
@@ -1,5 +1,5 @@
<div id="{{ DIVID.SECURITY_STATE_CONTROL }}">
- <div class="h6 text-center">Security State</div>
+ <div class="h6 text-center">Security</div>
{% for action_value, action_label in security_status_data.security_state_action_choices %}
<div class="my-1">
<a class="btn {% if action_value == security_status_data.current_action_value %}btn-secondary{% else %}btn-primary{% endif %} btn-control"
diff --git a/src/hi/apps/weather/templates/weather/panes/conditions.html b/src/hi/apps/weather/templates/weather/panes/conditions.html
index 04a773a6..01da5709 100644
--- a/src/hi/apps/weather/templates/weather/panes/conditions.html
+++ b/src/hi/apps/weather/templates/weather/panes/conditions.html
@@ -13,7 +13,7 @@
<div class="row">
<div class="col-6" >
- <div class="h3">
+ <div class="h2">
{% if conditions.temperature is not None %}
{{ conditions.temperature.quantity|format_magnitude:1 }}
<small>{{ conditions.temperature.quantity|format_units }}</small>
@@ -21,26 +21,6 @@
-- Β°
{% endif %}
</div>
- <div class="d-flex justify-content-left">
- <div>
- Min:
- {% if conditions.temperature_min_today is not None %}
- {{ conditions.temperature_min_today.quantity|format_magnitude:1 }}
- <small>{{ conditions.temperature_min_today.quantity|format_units }}</small>
- {% else %}
- -- Β°
- {% endif %}
- </div>
- <div class="pl-1">
- Max:
- {% if conditions.temperature_max_today is not None %}
- {{ conditions.temperature_max_today.quantity|format_magnitude:1 }}
- <small>{{ conditions.temperature_max_today.quantity|format_units }}</small>
- {% else %}
- -- Β°
- {% endif %}
- </div>
- </div>
</div>
<div class="col-6" >
<div>
@@ -57,29 +37,53 @@
-- %
{% endif %}
</div>
+ </div>
+</div>
+<div>
+ <div class="d-flex justify-content-left">
<div>
- Wind:
- {% if conditions.windspeed %}
- {{ conditions.windspeed.quantity|format_magnitude:1 }}
- <small>{{ conditions.windspeed.quantity|format_units }}</small>
+ Min:
+ {% if conditions.temperature_min_today is not None %}
+ {{ conditions.temperature_min_today.quantity|format_magnitude:1 }}
+ <small>{{ conditions.temperature_min_today.quantity|format_units }}</small>
{% else %}
- --
- {% endif %}
- {% if conditions.wind_direction %}
- {{ conditions.wind_direction.quantity|format_compass }}
+ -- Β°
{% endif %}
</div>
- <div>
- Humidity:
- {% if conditions.relative_humidity %}
- {{ conditions.relative_humidity.quantity|format_magnitude:1 }}
- <small>{{ conditions.relative_humidity.quantity|format_units }}</small>
+ <div class="pl-1">
+ Max:
+ {% if conditions.temperature_max_today is not None %}
+ {{ conditions.temperature_max_today.quantity|format_magnitude:1 }}
+ <small>{{ conditions.temperature_max_today.quantity|format_units }}</small>
{% else %}
- -- %
+ -- Β°
{% endif %}
</div>
</div>
+ <div>
+ Wind:
+ {% if conditions.windspeed %}
+ {{ conditions.windspeed.quantity|format_magnitude:1 }}
+ <small>{{ conditions.windspeed.quantity|format_units }}</small>
+ {% else %}
+ --
+ {% endif %}
+ {% if conditions.wind_direction %}
+ {{ conditions.wind_direction.quantity|format_compass }}
+ {% endif %}
+ </div>
+ <div>
+ Humidity:
+ {% if conditions.relative_humidity %}
+ {{ conditions.relative_humidity.quantity|format_magnitude:1 }}
+ <small>{{ conditions.relative_humidity.quantity|format_units }}</small>
+ {% else %}
+ -- %
+ {% endif %}
+ </div>
+
</div>
+
<div class="text-muted">
<small><em>{{ conditions.temperature.source_datetime |localtime }}, {{ conditions.temperature.source.abbreviation }} </em></small>
</div>
diff --git a/src/hi/integrations/views.py b/src/hi/integrations/views.py
index 241302c9..d68ca1fc 100644
--- a/src/hi/integrations/views.py
+++ b/src/hi/integrations/views.py
@@ -21,7 +21,7 @@ from .view_mixins import IntegrationViewMixin
logger = logging.getLogger(__name__)
-class IntegrationHomeView( ConfigPageView ):
+class IntegrationHomeView( ConfigPageView, IntegrationViewMixin ):
def config_page_type(self) -> ConfigPageType:
return ConfigPageType.INTEGRATIONS
@@ -40,7 +40,7 @@ class IntegrationHomeView( ConfigPageView ):
raise ForceRedirectException( redirect_url )
-class IntegrationSelectView( HiModalView ):
+class IntegrationSelectView( HiModalView, IntegrationViewMixin ):
def get_template_name( self ) -> str:
return 'integrations/modals/integrations_select.html'
diff --git a/src/hi/services/hass/templates/hass/panes/hass_manage.html b/src/hi/services/hass/templates/hass/panes/hass_manage.html
index c2cd8668..755338ee 100644
--- a/src/hi/services/hass/templates/hass/panes/hass_manage.html
+++ b/src/hi/services/hass/templates/hass/panes/hass_manage.html
@@ -10,7 +10,7 @@
<form action="{% url 'hass_sync' %}"
method="POST" role="form" data-async="true">
{% csrf_token %}
- <button type="submit" class="btn btn-secondary" role="button"
+ <button type="submit" class="btn btn-outline-secondary" role="button"
name="action" value="sync" >
{% if has_entities %}
RE-SYNC
diff --git a/src/hi/services/zoneminder/templates/zoneminder/panes/zm_manage.html b/src/hi/services/zoneminder/templates/zoneminder/panes/zm_manage.html
index 43d98c57..c8b1a0ab 100644
--- a/src/hi/services/zoneminder/templates/zoneminder/panes/zm_manage.html
+++ b/src/hi/services/zoneminder/templates/zoneminder/panes/zm_manage.html
@@ -10,7 +10,7 @@
<form action="{% url 'zm_sync' %}"
method="POST" role="form" data-async="">
{% csrf_token %}
- <button type="submit" class="btn btn btn-secondary" role="button"
+ <button type="submit" class="btn btn btn-outline-secondary" role="button"
name="action" value="sync" >
{% if has_entities %}
RE-SYNC