- 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
35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
{
|
|
"name": "ESPHome",
|
|
"slug": "esphome",
|
|
"categories": [
|
|
16
|
|
],
|
|
"date_created": "2024-05-02",
|
|
"type": "ct",
|
|
"updateable": true,
|
|
"privileged": false,
|
|
"interface_port": 6052,
|
|
"documentation": "https://esphome.io/components/",
|
|
"website": "https://esphome.io/",
|
|
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/esphome.webp",
|
|
"config_path": "/root/config/",
|
|
"description": "ESPHome is a platform for controlling ESP8266/ESP32-based devices using configuration files and integrating them with Home Automation systems. It provides a simple and flexible way to set up and manage the functionality of these devices, including defining and automating actions, monitoring sensors, and connecting to networks and other services. ESPHome is designed to be user-friendly and easy to use, and supports a wide range of features and integrations, making it a popular choice for home automation projects and IoT applications.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "ct/esphome.sh",
|
|
"resources": {
|
|
"cpu": 2,
|
|
"ram": 1024,
|
|
"hdd": 10,
|
|
"os": "debian",
|
|
"version": "12"
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": []
|
|
} |