seydx / homebridge-camera-ui

Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support
MIT License
654 stars 91 forks source link

Not saving cameras #953

Closed markjam1993 closed 4 months ago

markjam1993 commented 4 months ago

I have set up off the home bridge image on my pi 4 and installed the plugin but when configuring cameras on the plugin menu it will not save and it is the same with the interface once logged in

Am I missing something simple?


Setup Payload: X-HM://00253CHTFUAZ8 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 981-14-611 │     
└────────────┘     

[13/07/2024, 23:31:00] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 46E6) is running on port 51515. [13/07/2024, 23:31:25] [Homebridge UI] Changes to config.json saved. [13/07/2024, 23:31:25] [Homebridge UI] Running Command: npm uninstall --save homebridge-camera-ui [13/07/2024, 23:31:59] [Homebridge UI] Homebridge restart request received [13/07/2024, 23:31:59] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [13/07/2024, 23:31:59] [Homebridge UI] Sending SIGTERM to Homebridge [13/07/2024, 23:31:59] Got SIGTERM, shutting down Homebridge... [13/07/2024, 23:32:04] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [13/07/2024, 23:32:09] [HB Supervisor] Restarting Homebridge... [13/07/2024, 23:32:09] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [13/07/2024, 23:32:09] [HB Supervisor] Started Homebridge v1.8.3 with PID: 14972 [13/07/2024, 23:32:10] Loaded config.json with 0 accessories and 1 platforms. [13/07/2024, 23:32:10] Loaded 0 cached accessories from cachedAccessories. [13/07/2024, 23:32:10] --- [13/07/2024, 23:32:10] No plugins found. [13/07/2024, 23:32:10] Loading 1 platforms... Setup Payload: X-HM://00253CHTFUAZ8 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 981-14-611 │     
└────────────┘     

[13/07/2024, 23:32:10] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 46E6) is running on port 51515. [13/07/2024, 23:32:41] [Homebridge UI] Running Command: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/plugin-upgrade-install.sh homebridge-camera-ui 5.0.27 /var/lib/homebridge/node_modules [13/07/2024, 23:33:03] [Homebridge UI] Rebooting linux server with command: "sudo -n shutdown -r now" [13/07/2024, 23:33:04] [HB Supervisor] Stopping services... [13/07/2024, 23:33:04] Got SIGTERM, shutting down Homebridge... [13/07/2024, 23:33:09] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [13/07/2024, 23:33:26] [HB Supervisor] OS: Linux 6.6.28+rpt-rpi-v8 arm64 [13/07/2024, 23:33:26] [HB Supervisor] Node.js v20.12.2 /opt/homebridge/bin/node [13/07/2024, 23:33:26] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge [13/07/2024, 23:33:26] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [13/07/2024, 23:33:30] [Homebridge UI] Homebridge UI v4.56.4 is listening on :: port 8581 [13/07/2024, 23:33:30] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [13/07/2024, 23:33:30] [HB Supervisor] Started Homebridge v1.8.3 with PID: 905 [13/07/2024, 23:33:31] Loaded config.json with 0 accessories and 1 platforms. [13/07/2024, 23:33:31] Loaded 0 cached accessories from cachedAccessories. [13/07/2024, 23:33:31] --- [13/07/2024, 23:33:32] Loaded plugin: homebridge-camera-ui@5.0.27 [13/07/2024, 23:33:32] Registering platform 'homebridge-camera-ui.CameraUI' [13/07/2024, 23:33:32] --- [13/07/2024, 23:33:32] Loading 1 platforms... Setup Payload: X-HM://00253CHTFUAZ8 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 981-14-611 │     
└────────────┘     

[13/07/2024, 23:33:32] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 46E6) is running on port 51515. [13/07/2024, 23:38:52] [Homebridge UI] [homebridge-camera-ui] Incoming Request: /interfaceConfig [13/07/2024, 23:39:53] [Homebridge UI] Changes to config.json saved. [13/07/2024, 23:39:54] [Homebridge UI] Homebridge restart request received [13/07/2024, 23:39:54] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [13/07/2024, 23:39:54] [Homebridge UI] Sending SIGTERM to Homebridge [13/07/2024, 23:39:54] Got SIGTERM, shutting down Homebridge... [13/07/2024, 23:39:59] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [13/07/2024, 23:40:04] [HB Supervisor] Restarting Homebridge... [13/07/2024, 23:40:04] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [13/07/2024, 23:40:04] [HB Supervisor] Started Homebridge v1.8.3 with PID: 1596 [13/07/2024, 23:40:05] Loaded config.json with 0 accessories and 2 platforms. [13/07/2024, 23:40:05] Loaded 0 cached accessories from cachedAccessories. [13/07/2024, 23:40:05] --- [13/07/2024, 23:40:05] Loaded plugin: homebridge-camera-ui@5.0.27 [13/07/2024, 23:40:05] Registering platform 'homebridge-camera-ui.CameraUI' [13/07/2024, 23:40:05] --- [13/07/2024, 23:40:05] Loading 2 platforms... [13/07/2024, 23:40:05] [CameraUI] Initializing CameraUI platform... [13/07/2024, 23:40:06] [CameraUI] Config changed through interface, saving... Setup Payload: X-HM://00253CHTFUAZ8 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 981-14-611 │     
└────────────┘     

[13/07/2024, 23:40:06] [CameraUI] Accessories refreshed and config.json saved! [13/07/2024, 23:40:06] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 46E6) is running on port 51515. [13/07/2024, 23:40:13] [CameraUI] camera.ui v5.0.27 is listening on port 8081 (http) [13/07/2024, 23:40:21] [Homebridge UI] [homebridge-camera-ui] Incoming Request: /interfaceConfig [13/07/2024, 23:40:33] [Homebridge UI] Changes to config.json saved. [13/07/2024, 23:40:33] [Homebridge UI] Running Command: npm uninstall --save homebridge-camera-ui [13/07/2024, 23:40:56] [Homebridge UI] Homebridge restart request received [13/07/2024, 23:40:56] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [13/07/2024, 23:40:56] [Homebridge UI] Sending SIGTERM to Homebridge [13/07/2024, 23:40:56] Got SIGTERM, shutting down Homebridge... [13/07/2024, 23:41:01] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [13/07/2024, 23:41:06] [HB Supervisor] Restarting Homebridge... [13/07/2024, 23:41:06] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [13/07/2024, 23:41:06] [HB Supervisor] Started Homebridge v1.8.3 with PID: 2047 [13/07/2024, 23:41:07] Loaded config.json with 0 accessories and 1 platforms. [13/07/2024, 23:41:07] Loaded 0 cached accessories from cachedAccessories. [13/07/2024, 23:41:07] --- [13/07/2024, 23:41:07] No plugins found. [13/07/2024, 23:41:07] Loading 1 platforms... Setup Payload: X-HM://00253CHTFUAZ8 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 981-14-611 │     
└────────────┘     

[13/07/2024, 23:41:07] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 46E6) is running on port 51515. [13/07/2024, 23:41:27] [Homebridge UI] Running Command: npm install --save homebridge-camera-ui@5.0.26 [13/07/2024, 23:43:02] [Homebridge UI] [homebridge-camera-ui] Incoming Request: /interfaceConfig [13/07/2024, 23:44:15] [Homebridge UI] Changes to config.json saved. [13/07/2024, 23:44:16] [Homebridge UI] Homebridge restart request received [13/07/2024, 23:44:16] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [13/07/2024, 23:44:16] [Homebridge UI] Sending SIGTERM to Homebridge [13/07/2024, 23:44:16] Got SIGTERM, shutting down Homebridge... [13/07/2024, 23:44:21] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [13/07/2024, 23:44:26] [HB Supervisor] Restarting Homebridge... [13/07/2024, 23:44:26] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [13/07/2024, 23:44:26] [HB Supervisor] Started Homebridge v1.8.3 with PID: 2217 [13/07/2024, 23:44:27] Loaded config.json with 0 accessories and 2 platforms. [13/07/2024, 23:44:27] Loaded 0 cached accessories from cachedAccessories. [13/07/2024, 23:44:27] --- [13/07/2024, 23:44:27] Loaded plugin: homebridge-camera-ui@5.0.26 [13/07/2024, 23:44:27] Registering platform 'homebridge-camera-ui.CameraUI' [13/07/2024, 23:44:27] --- [13/07/2024, 23:44:27] Loading 2 platforms... [13/07/2024, 23:44:27] [CameraUI] Initializing CameraUI platform... [13/07/2024, 23:44:27] [CameraUI] Config changed through interface, saving... Setup Payload: X-HM://00253CHTFUAZ8 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 981-14-611 │     
└────────────┘     

[13/07/2024, 23:44:27] [CameraUI] Accessories refreshed and config.json saved! [13/07/2024, 23:44:27] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 46E6) is running on port 51515. [13/07/2024, 23:44:32] [CameraUI] camera.ui v5.0.26 is listening on port 8081 (http) [13/07/2024, 23:44:40] [Homebridge UI] [homebridge-camera-ui] Incoming Request: /interfaceConfig [13/07/2024, 23:44:55] [CameraUI] WARNING Interface: Failed login attempt! If you have forgotten your password you can reset to the default of master/master by removing the user in the "database.json" file (/var/lib/homebridge/camera.ui/database/database.json) and then restarting camera.ui [13/07/2024, 23:45:06] [CameraUI] WARNING Interface: Failed login attempt! If you have forgotten your password you can reset to the default of master/master by removing the user in the "database.json" file (/var/lib/homebridge/camera.ui/database/database.json) and then restarting camera.ui [13/07/2024, 23:45:15] [CameraUI] WARNING Interface: Failed login attempt! If you have forgotten your password you can reset to the default of master/master by removing the user in the "database.json" file (/var/lib/homebridge/camera.ui/database/database.json) and then restarting camera.ui [13/07/2024, 23:49:03] [Homebridge UI] [homebridge-camera-ui] Incoming Request: /cameras

Environment