https://github.com/mrtian2016/hass-panel
史上最简单的 Home Assistant 控制面板,基于 React 开发 | 一键部署到 HAOS | 有手就能用 | 无需编程经验 | 开箱即用
https://github.com/mrtian2016/hass-panel
haos home-assistant homeassistant panel
Last synced: 16 days ago
JSON representation
史上最简单的 Home Assistant 控制面板,基于 React 开发 | 一键部署到 HAOS | 有手就能用 | 无需编程经验 | 开箱即用
- Host: GitHub
- URL: https://github.com/mrtian2016/hass-panel
- Owner: mrtian2016
- License: other
- Created: 2025-01-22T08:48:52.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-04-01T09:24:28.000Z (24 days ago)
- Last Synced: 2025-04-02T02:12:15.278Z (23 days ago)
- Topics: haos, home-assistant, homeassistant, panel
- Language: JavaScript
- Homepage: https://hass-panel.com
- Size: 23.6 MB
- Stars: 734
- Watchers: 3
- Forks: 38
- Open Issues: 2
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
README
# Hass-Panel
English | [简体中文](README.md)
> The Simplest Home Assistant Control Panel Ever | React-based | One-click HAOS Deployment | No Programming Experience Required | Ready to Use Out of the Box
🌐 [Official Website](https://hass-panel.com) | 📖 [Documentation](https://hass-panel.com/guide/install.html)
## Video Preview
[](https://www.bilibili.com/video/BV1yxfaYHE5A/?share_source=copy_web&vd_source=3ef738469d1538347bdba19ea015dbd7)## Preview Image

## Discussion Group
## Key Features
- 📱 Responsive design, supports both mobile and desktop
- 🔧 Highly configurable with drag-and-drop layout
- 🚀 PWA support, can be installed on desktop
- 🎨 Beautiful user interface:
- Light/Dark/System-follow theme modes
- Frosted glass effect card design
- Theme-colored scrollbar
- Optimized mobile view
- 👥 Multi-user management system with JWT authentication
- 🔐 Secure password encryption storage
- 🎥 Powerful camera support:
- WebRTC/ONVIF/RTSP protocol support
- HLS stream auto-detection and switching
- Optimized video stream playback
- 🔌 Rich device support:
- Light control
- AC control
- Curtain control
- Sensor monitoring
- Camera viewing
- Scene control
- Power consumption statistics
- Socket control
- Server monitoring
- PVE virtual machine monitoring
- Universal entity card (supports custom configuration and grouping)
- More devices coming soon...## Installation
### Important Note
Starting from version v1.3.2:
- The system uses SQLite database for configuration storage
- Initial system setup is required for first-time use
- Camera functionality requires proper ONVIF/RTSP address configurationFor detailed installation and configuration instructions, please visit the [official documentation](https://hass-panel.com/guide/install.html).
### Docker Method (Stable)
```bash
docker run \
--name hass-panel \
--restart unless-stopped \
--network host \
-v ./data/:/config/hass-panel \
-d \
ghcr.io/mrtian2016/hass-panel:latest
```### Home Assistant Addon Method
[](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fmrtian2016%2Fhass-panel)
Or manually add:
1. In Home Assistant's sidebar, click "Configuration" -> "Add-ons" -> "Add-on Store"
2. Click the three dots in the top right corner, select "Repositories"
3. Add repository URL: `https://github.com/mrtian2016/hass-panel`
4. Click "Add" and refresh the page
5. Find and install "Hass Panel" in the add-on store
6. After starting, it can be accessed from the sidebar## Feature Configuration
For detailed feature configuration and usage instructions, please visit the [documentation](https://hass-panel.com/guide/install.html).
### Supported Card Types
1. Time Card (TimeCard)
2. Weather Card (WeatherCard) - Supports AQI internationalization and wind direction
3. Light Status Card (LightStatusCard)
4. Light Overview Card (LightOverviewCard)
5. Sensor Card (SensorCard)
6. Media Player Card (MediaPlayerCard)
7. Max Player Card (MaxPlayerCard)
8. Curtain Card (CurtainCard)
9. Electricity Card (ElectricityCard) - Optimized voltage, current and power display
10. Router Card (RouterCard) - Supports runtime display
11. NAS Card (NASCard) - Improved storage information display
12. Camera Card (CameraCard) - Supports multiple video stream protocols
13. Climate Card (ClimateCard)
14. Motion Card (MotionCard)
15. Water Purifier Card (WaterPurifierCard)
16. Illuminance Card (IlluminanceCard)
17. Script Panel (ScriptPanel)
18. Socket Card (SocketCard)
19. Universal Entity Card (UniversalCard) - Supports custom entity configuration and grouping
20. PVE Card (PVECard) - Virtual machine monitoring
21. Server Card (ServerCard)
22. Daily Quote Card (DailyQuoteCard)
23. Family Card (FamilyCard)
### Card Management- Support show/hide control
- Support drag-and-drop sorting
- Support custom size (desktop)
- Support add/edit/delete cards (with confirmation protection)
- Support custom layout
- Support responsive layout
- Support entity smart search and auto-completion## Development
```bash
# Install dependencies
npm install# Start development server
npm start# Build production version
npm run build
```For detailed changelog, please check [Releases](https://github.com/mrtian2016/hass-panel/releases)
## FAQ
1. Configuration not taking effect
- Verify entity ID is correct
- Try refreshing the page2. Device shows offline
- Check Home Assistant connection
- Verify entity ID exists
- Confirm device is online3. Icons not showing
- Check if icon name is correct
- Confirm using supported icons## Star History
[](https://star-history.com/#mrtian2016/hass-panel&Date)
## Contributing
Pull Requests and Issues are welcome!
## License
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). This means:
- You can freely use, modify, and distribute this software
- If you modify and distribute this software, you must:
- Make your modified source code available to all users
- License your modifications under AGPL-3.0
- State your changes
- Any network use (like web applications) counts as distribution
- All derivative works must also be licensed under AGPL-3.0For more details, see the [full license text](https://www.gnu.org/licenses/agpl-3.0.en.html).
## Sponsorship
If you find this project helpful, feel free to sponsor!
| WeChat Donation Code | Alipay Donation Code |
|--------|--------|
|  |  |