Add Frigate config merging and camera database updates

- Refactor Frigate generator to support adding cameras to existing configs
- Add text-based YAML parsing to preserve formatting and comments
- Implement duplicate camera/stream name detection and auto-numbering
- Add support for inserting cameras into existing go2rtc and cameras sections
- Update UI: add textarea for existing config input and generate button
- Preserve user's existing configuration when adding new cameras
- Add example config template for new users
- Update ConfigPanel to initialize Frigate tab instead of auto-generating
- Add FrigateGenerator import to main.js
- Add custom styles for Frigate config input and output sections
- Support both empty config (create from scratch) and existing config (merge) modes

Camera database updates:
- Add OpenIPC firmware camera support (257 models)
- Add Yi-Hack firmware variants (v4, v5, Allwinner, MStar)
- Add Fang-Hacks firmware support
- Add OpenMiko firmware support
- Update Sonoff camera models
- Update Thingino firmware camera models
This commit is contained in:
eduard256
2025-11-11 22:32:59 +03:00
parent 5d0b3e6527
commit 627409cf56
14 changed files with 1660 additions and 132 deletions
+59
View File
@@ -0,0 +1,59 @@
{
"brand": "OpenMiko",
"brand_id": "openmiko",
"last_updated": "2025-11-11",
"source": "github.com/openmiko/openmiko",
"website": "https://github.com/openmiko/openmiko",
"entries": [
{
"models": [
"WYZE CAM V2",
"WyzeCam V2",
"Wyze V2",
"WYZEC1-JZ"
],
"type": "FFMPEG",
"protocol": "rtsp",
"port": 8554,
"url": "/video3_unicast",
"notes": "WyzeCam V2 with OpenMiko firmware - NON-STANDARD PORT 8554"
},
{
"models": [
"XIAOMI XIAOFANG 1S",
"Xiaofang 1S",
"XiaoFang 1S"
],
"type": "FFMPEG",
"protocol": "rtsp",
"port": 8554,
"url": "/video3_unicast",
"notes": "Xiaomi Xiaofang 1S with OpenMiko - NON-STANDARD PORT 8554"
},
{
"models": [
"ISMARTALARM SPOT+",
"iSmartAlarm Spot+",
"Spot+"
],
"type": "FFMPEG",
"protocol": "rtsp",
"port": 8554,
"url": "/video3_unicast",
"notes": "iSmartAlarm Spot+ with OpenMiko - NON-STANDARD PORT 8554"
},
{
"models": [
"INGENIC T20",
"Generic T20",
"T20 based",
"Other"
],
"type": "FFMPEG",
"protocol": "rtsp",
"port": 8554,
"url": "/video3_unicast",
"notes": "Generic Ingenic T20 based cameras - NON-STANDARD PORT 8554"
}
]
}