Home Information - Your home, your data, organized.
Python
Added unraid XML template and instructions.
Tony Cassandra7a717097f53c
diff --git a/unraid/README.md b/unraid/README.mdnew file mode 100644index 00000000..afa06cbb--- /dev/null+++ b/unraid/README.md@@ -0,0 +1,87 @@+# Unraid Installation Guide++Home Information is available as a Community App for Unraid systems.++## Quick Install (Recommended)++1. **Install Community Applications Plugin** (if not already installed):+ - Go to Apps tab in Unraid+ - Install "Community Applications" by squid++2. **Search for Home Information**:+ - Apps tab → Search for "Home Information"+ - Click "Install"++3. **Configure Settings**:+ - **IMPORTANT**: Change the Django Secret Key to a random string+ - **IMPORTANT**: Change the admin password from default+ - Adjust port if 9411 conflicts with other services+ - Review storage paths (defaults are fine for most users)++4. **Access**: http://YOUR-UNRAID-IP:9411++## Manual Installation++If the app isn't in Community Apps yet, you can install manually:++1. **Apps tab** → **Previous Apps** → **Add Container**+2. **Template URL**: `https://raw.githubusercontent.com/cassandra/home-information/master/unraid/home-information.xml`+3. Click **Add Container**+4. Configure settings as above++## Configuration Details++### Required Settings+- **Django Secret Key**: Generate a random 50-character string for security+- **Admin Password**: Change from default for security++### Storage Paths+- **Database**: `/mnt/user/appdata/home-information/database` (SQLite database)+- **Media**: `/mnt/user/appdata/home-information/media` (uploaded files)+- **Config**: `/mnt/user/appdata/home-information/env` (optional environment files)++### Network Settings+- **Port**: 9411 (default, change if needed)+- **Network**: Bridge mode (recommended)++## Integrations++### Home Assistant+If you're running Home Assistant on Unraid:+1. Note your Home Assistant URL (e.g., `http://192.168.1.100:8123`)+2. In Home Information, go to Settings → Integrations+3. Add Home Assistant integration with your URL and access token++### ZoneMinder+If you're running ZoneMinder on Unraid:+1. Note your ZoneMinder URL (e.g., `http://192.168.1.100:8080/zm`)+2. In Home Information, go to Settings → Integrations+3. Add ZoneMinder integration with your URL and credentials++## Troubleshooting++### Container Won't Start+- Check Unraid logs: `docker logs home-information`+- Ensure storage paths are writable+- Verify no port conflicts++### Can't Access WebUI+- Check container is running+- Verify port mapping (default 9411)+- Check firewall settings++### Authentication Issues+- Default: Authentication is disabled for local network use+- To enable: Set `HI_SUPPRESS_AUTHENTICATION` to `false`++## Security Notes++- **Local Network Only**: By default, authentication is disabled for convenience on local networks+- **Change Defaults**: Always change the Django secret key and admin password+- **Firewall**: Don't expose port 9411 to the internet without proper authentication++## Support++- **GitHub**: https://github.com/cassandra/home-information/issues+- **Documentation**: https://github.com/cassandra/home-information/tree/master/docs+- **Unraid Forum**: Search for "Home Information" in Community Apps support\ No newline at end of filediff --git a/unraid/home-information.xml b/unraid/home-information.xmlnew file mode 100644index 00000000..4520cfbe--- /dev/null+++ b/unraid/home-information.xml@@ -0,0 +1,134 @@+<?xml version="1.0"?>+<Container version="2">+ <Name>Home Information</Name>+ <Repository>ghcr.io/cassandra/home-information:latest</Repository>+ <Registry>https://github.com/cassandra/home-information/pkgs/container/home-information</Registry>+ <Network>bridge</Network>+ <MyIP/>+ <Shell>bash</Shell>+ <Privileged>false</Privileged>+ <Support>https://github.com/cassandra/home-information/issues</Support>+ <Project>https://github.com/cassandra/home-information</Project>+ <Overview>Home Information transforms how you manage your property by creating a visual, spatial, centralized hub for everything about your home. Instead of hunting through drawers, email attachments, and scattered notes, you'll have manuals, maintenance records, device controls, and security monitoring all organized exactly where they belong - visually positioned on a map of your home.
+
+Key Features:
+- Spatial organization by location (click on kitchen to see everything kitchen-related)
+- Document and information management (manuals, warranties, maintenance records)
+- Home Assistant integration for device control
+- ZoneMinder integration for security cameras
+- Visual security zone monitoring
+- Local-first architecture (your data stays on your network)
+
+Perfect for homeowners who want to stay organized and maintain their property effectively, especially those with home automation or security systems.</Overview>+ <Category>HomeAutomation:</Category>+ <WebUI>http://[IP]:[PORT:9411]</WebUI>+ <TemplateURL>https://raw.githubusercontent.com/cassandra/home-information/master/unraid/home-information.xml</TemplateURL>+ <Icon>https://raw.githubusercontent.com/cassandra/home-information/master/src/hi/static/img/hi-logo-64x64.png</Icon>+ <ExtraParams>--restart unless-stopped</ExtraParams>+ <PostArgs/>+ <CPUset/>+ <DateInstalled>1703721600</DateInstalled>+ <DonateText/>+ <DonateLink/>+ <Description>Home Information transforms how you manage your property by creating a visual, spatial, centralized hub for everything about your home. Instead of hunting through drawers, email attachments, and scattered notes, you'll have manuals, maintenance records, device controls, and security monitoring all organized exactly where they belong - visually positioned on a map of your home.
+
+Key Features:
+- Spatial organization by location (click on kitchen to see everything kitchen-related)
+- Document and information management (manuals, warranties, maintenance records)
+- Home Assistant integration for device control
+- ZoneMinder integration for security cameras
+- Visual security zone monitoring
+- Local-first architecture (your data stays on your network)
+
+Perfect for homeowners who want to stay organized and maintain their property effectively, especially those with home automation or security systems.</Description>+ <Networking>+ <Mode>bridge</Mode>+ <Publish>+ <Port>+ <HostPort>9411</HostPort>+ <ContainerPort>8000</ContainerPort>+ <Protocol>tcp</Protocol>+ </Port>+ </Publish>+ </Networking>+ <Data>+ <Volume>+ <HostDir>/mnt/user/appdata/home-information/database</HostDir>+ <ContainerDir>/data/database</ContainerDir>+ <Mode>rw</Mode>+ </Volume>+ <Volume>+ <HostDir>/mnt/user/appdata/home-information/media</HostDir>+ <ContainerDir>/data/media</ContainerDir>+ <Mode>rw</Mode>+ </Volume>+ <Volume>+ <HostDir>/mnt/user/appdata/home-information/env</HostDir>+ <ContainerDir>/env</ContainerDir>+ <Mode>ro</Mode>+ </Volume>+ </Data>+ <Environment>+ <Variable>+ <Value>hi.settings.local</Value>+ <Name>DJANGO_SETTINGS_MODULE</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>8000</Value>+ <Name>DJANGO_SERVER_PORT</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>CHANGE_ME_TO_RANDOM_STRING</Value>+ <Name>DJANGO_SECRET_KEY</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>[email protected]</Value>+ <Name>DJANGO_SUPERUSER_EMAIL</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>admin-password-123</Value>+ <Name>DJANGO_SUPERUSER_PASSWORD</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>/data/database</Value>+ <Name>HI_DB_PATH</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>/data/media</Value>+ <Name>HI_MEDIA_PATH</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>127.0.0.1</Value>+ <Name>HI_REDIS_HOST</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>6379</Value>+ <Name>HI_REDIS_PORT</Name>+ <Mode/>+ </Variable>+ <Variable>+ <Value>true</Value>+ <Name>HI_SUPPRESS_AUTHENTICATION</Name>+ <Mode/>+ </Variable>+ </Environment>+ <Labels/>+ <Config Name="WebUI Port" Target="8000" Default="9411" Mode="tcp" Description="Port for the Web UI" Type="Port" Display="always" Required="true" Mask="false">9411</Config>+ <Config Name="Database Storage" Target="/data/database" Default="/mnt/user/appdata/home-information/database" Mode="rw" Description="Directory where the SQLite database is stored" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/home-information/database</Config>+ <Config Name="Media Storage" Target="/data/media" Default="/mnt/user/appdata/home-information/media" Mode="rw" Description="Directory where uploaded files (manuals, images, etc.) are stored" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/home-information/media</Config>+ <Config Name="Environment Config" Target="/env" Default="/mnt/user/appdata/home-information/env" Mode="ro" Description="Directory containing environment configuration files (optional)" Type="Path" Display="advanced" Required="false" Mask="false">/mnt/user/appdata/home-information/env</Config>+ <Config Name="Django Secret Key" Target="DJANGO_SECRET_KEY" Default="CHANGE_ME_TO_RANDOM_STRING" Mode="" Description="Django secret key - CHANGE THIS to a random string for security" Type="Variable" Display="always" Required="true" Mask="true">CHANGE_ME_TO_RANDOM_STRING</Config>+ <Config Name="Admin Email" Target="DJANGO_SUPERUSER_EMAIL" Default="[email protected]" Mode="" Description="Email address for the admin user" Type="Variable" Display="always" Required="true" Mask="false">[email protected]</Config>+ <Config Name="Admin Password" Target="DJANGO_SUPERUSER_PASSWORD" Default="admin-password-123" Mode="" Description="Password for the admin user - CHANGE THIS" Type="Variable" Display="always" Required="true" Mask="true">admin-password-123</Config>+ <Config Name="Suppress Authentication" Target="HI_SUPPRESS_AUTHENTICATION" Default="true" Mode="" Description="Skip login screen for local network use (set to false for multi-user setup)" Type="Variable" Display="advanced" Required="false" Mask="false">true</Config>+ <Config Name="Redis Host" Target="HI_REDIS_HOST" Default="127.0.0.1" Mode="" Description="Redis hostname (use 127.0.0.1 for internal Redis)" Type="Variable" Display="advanced" Required="false" Mask="false">127.0.0.1</Config>+ <Config Name="Redis Port" Target="HI_REDIS_PORT" Default="6379" Mode="" Description="Redis port" Type="Variable" Display="advanced" Required="false" Mask="false">6379</Config>+</Container>\ No newline at end of file