matt8707/ha-fusion
Fork: 95 Star: 2144 (更新于 2024-10-18 21:24:25)
license: MIT
Language: Svelte .
A modern, easy-to-use and performant custom Home Assistant dashboard
最后发布版本: 2024.7.1 ( 2024-07-07 00:39:12)
ha-fusion
A modern, easy-to-use and performant custom Home Assistant dashboard
https://www.youtube.com/watch?v=D8mWruSuPOM
If you find this project useful, be sure to 🌟 this repository! If you love it, please consider donating! ❤️ https://www.paypal.com/paypalme/matt8707
📣 Pre-beta
The current state of this project is pre-beta. This means that there's basic functionality missing, incomplete features and unresolved issues. General feedback, bug reports and feature requests are welcome!
Installation
Add-on
For "Operating System" or "Supervised" installation methods, you can install ha-fusion as an add-on:
-
Add Repository: To begin, add the ha-fusion add-on repository to your Home Assistant instance. Click the button below or manually add the repository using this URL: https://github.com/matt8707/addon-ha-fusion.
-
Install Add-on: After adding the repository, refresh the add-on store page. Locate ha-fusion in the list and proceed with the installation.
Docker
If you're using the "Container" or "Core" installation methods, ha-fusion can be installed via Docker:
-
Docker Compose File: Place your edited copy of the docker-compose.yml file in a suitable directory.
-
Create Container: Run the following commands in your terminal to start the container:
cd path/to/docker-compose.yml docker-compose up -d ha-fusion
Update
To update to the latest version of ha-fusion, run the following commands:
docker-compose pull ha-fusion
docker-compose up -d ha-fusion
Other
Without docker-compose, updating the container involves additional steps. For each update, it's necessary to first stop the current container, remove it, pull the new image, and then execute the docker run command again.
docker run -d \
--name ha-fusion \
--network bridge \
-p 5050:5050 \
-v /path/to/ha-fusion:/app/data \
-e TZ=Europe/Stockholm \
-e HASS_URL=http://192.168.1.241:8123 \
--restart always \
ghcr.io/matt8707/ha-fusion
Kubernetes
If you prefer to use Kubernetes, see Chart README.md
...
Query strings
These will only function if you have exposed a port in the add-on configuration or by using Docker. Note that when using Ingress, query strings cannot be read.
View
To set a particular view when the page loads, add the "view" parameter. For example, if you have a "Bedroom" view, append the query string ?view=Bedroom
to the URL.
Menu
To disable the menu button, append the query string ?menu=false
to the URL. This is useful when you want to avoid unwanted changes to your dashboard, such as on wall-mounted tablets.
Keyboard Shortcuts
Key | Description |
---|---|
f | filter |
esc | exit |
cmd + s | save |
cmd + z | undo |
cmd + shift + z | redo |
Debug
To debug any errors, check the "Log" tab if you're using the addon, or use docker logs ha-fusion
for Docker setups. To inspect frontend issues, open the browser's console.
Develop
To begin contributing to the project, you'll first need to install node. It's also recommended to install pnpm. If you're unfamiliar with Svelte, consider doing the tutorial at https://learn.svelte.dev
# prerequisites (macos)
brew install node pnpm
# install
git clone https://github.com/matt8707/ha-fusion.git
cd ha-fusion
pnpm install
# environment
cp .env.example .env
code .env
# server
npm run dev -- --open
# dependencies
pnpm outdated
pnpm update
# lint
npm run check
npm run lint
npm run format
最近版本更新:(数据更新于 2024-09-12 10:56:30)
2024-07-07 00:39:12 2024.7.1
2024-07-05 21:56:12 2024.7.0
2024-06-29 21:25:55 2024.6.1
2024-06-18 08:02:02 2024.6.0
2024-05-24 23:57:45 2024.5.3
2024-05-23 23:51:11 2024.5.2
2024-05-20 02:48:46 2024.5.1
2024-05-04 06:36:02 2024.5.0
2024-04-20 18:25:17 2024.4.0
2024-02-14 00:34:20 2024.2.1
主题(topics):
dashboard, home-assistant
matt8707/ha-fusion同语言 Svelte最近更新仓库
2024-10-12 22:22:24 huntabyte/shadcn-svelte
2024-09-25 00:52:38 open-webui/open-webui
2024-07-29 10:24:42 taikoxyz/taiko-mono
2024-06-27 03:30:40 saadeghi/daisyui
2024-06-16 21:58:49 orefalo/svelte-splitpanes
2024-02-14 12:56:33 serge-chat/serge