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
+40 -2
View File
@@ -1,8 +1,9 @@
{
"brand": "Sonoff",
"brand_id": "sonoff",
"last_updated": "2025-10-17",
"source": "ispyconnect.com",
"last_updated": "2025-11-11",
"source": "ispyconnect.com, github.com/roleoroleo/sonoff-hack",
"website": "https://github.com/roleoroleo/sonoff-hack",
"entries": [
{
"models": [
@@ -73,6 +74,43 @@
"protocol": "rtsp",
"port": 0,
"url": "live/ch00_0"
},
{
"models": [
"SONOFF-HACK GOKE GK7205V200",
"GK-200MP2-B with sonoff-hack",
"Goke GK7205V200",
"sonoff-hack"
],
"type": "FFMPEG",
"protocol": "rtsp",
"port": 554,
"url": "/av_stream/ch0",
"notes": "Sonoff-hack custom firmware - Main stream"
},
{
"models": [
"SONOFF-HACK",
"GK-200MP2-B with sonoff-hack",
"sonoff-hack"
],
"type": "JPEG",
"protocol": "http",
"port": 8080,
"url": "/snapshot.jpg",
"notes": "Sonoff-hack custom firmware - JPEG snapshot (port 8080)"
},
{
"models": [
"SONOFF-HACK GOKE GK7205V300",
"GK7205V300",
"Goke chipset"
],
"type": "FFMPEG",
"protocol": "rtsp",
"port": 554,
"url": "/av_stream/ch0",
"notes": "Sonoff-hack for Goke GK7205V300 chipset"
}
]
}