- Replace GitHub API calls (390+) with 1 API call + raw URL downloads - Create GitHubJsonService for efficient JSON file syncing - Reduce API rate limiting issues by 99.7% - Add automatic page reload after successful sync - Update tests to use new service - Maintain same functionality with better performance Performance improvement: - Before: 390+ GitHub API calls (1 per JSON file) - After: 1 GitHub API call + 389 raw URL downloads - Raw URLs have no rate limits, making sync much more reliable
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"name": "Home Assistant Container",
|
|
"slug": "homeassistant",
|
|
"categories": [
|
|
16
|
|
],
|
|
"date_created": "2024-04-29",
|
|
"type": "ct",
|
|
"updateable": true,
|
|
"privileged": false,
|
|
"interface_port": 8123,
|
|
"documentation": "https://www.home-assistant.io/docs/",
|
|
"website": "https://www.home-assistant.io/",
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/home-assistant.webp",
|
|
"config_path": "/var/lib/docker/volumes/hass_config/_data",
|
|
"description": "A standalone container-based installation of Home Assistant Core means that the software is installed inside a Docker container, separate from the host operating system. This allows for flexibility and scalability, as well as improved security, as the container can be easily moved or isolated from other processes on the host.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "ct/homeassistant.sh",
|
|
"resources": {
|
|
"cpu": 2,
|
|
"ram": 2048,
|
|
"hdd": 16,
|
|
"os": "debian",
|
|
"version": "12"
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": [
|
|
{
|
|
"text": "If the LXC is created Privileged, the script will automatically set up USB passthrough.",
|
|
"type": "warning"
|
|
},
|
|
{
|
|
"text": "config path: `/var/lib/docker/volumes/hass_config/_data`",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "Portainer interface: $IP: 9443 - User & password must be set manually within 5 minutes, otherwise a restart of Portainer is required!",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "WARNING: Installation sources scripts outside of Community Scripts repo. Please check the source before installing.",
|
|
"type": "warning"
|
|
}
|
|
]
|
|
} |