@homebridge-plugins/homebridge-eufy-security 5.0.0-beta.33 → 5.0.0-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.schema.json +6 -0
- package/dist/configuration.js +2 -0
- package/dist/configuration.js.map +1 -1
- package/dist/diagnostics.js +70 -1
- package/dist/diagnostics.js.map +1 -1
- package/dist/media/live-stream.js +313 -34
- package/dist/media/live-stream.js.map +1 -1
- package/dist/platform.js +16 -2
- package/dist/platform.js.map +1 -1
- package/homebridge-ui/public/i18n/en.json +2 -0
- package/homebridge-ui/public/i18n/fr.json +2 -0
- package/homebridge-ui/public/index.html +5 -0
- package/homebridge-ui/public/js/app.js +5 -0
- package/i18n/runtime/en.json +1 -0
- package/package.json +2 -2
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"advancedFfmpegLabel": "Custom FFmpeg path",
|
|
12
12
|
"advancedLiveVideoPassthroughHelp": "Turn this on if live view never shows, or if the log says FFmpeg stopped before sending video. Live video from cameras that record H.264 is then sent as the camera recorded it, as version 4 did, instead of being converted to what the Home app asked for.",
|
|
13
13
|
"advancedLiveVideoPassthroughLabel": "Send camera video unchanged",
|
|
14
|
+
"advancedHardwareVideoEncoderHelp": "Use the computer’s video hardware: turn this off if live view stopped working after an update or looks wrong.",
|
|
15
|
+
"advancedHardwareVideoEncoderLabel": "Hardware video encoding",
|
|
14
16
|
"advancedHdLiveVideoHelp": "Turn this on if live view in the Home app looks blurry. Cameras then offer the Home app only 720p and 1080p, also on mobile data and in the camera grid, which uses more data.",
|
|
15
17
|
"advancedHdLiveVideoLabel": "Always HD live video",
|
|
16
18
|
"advancedIgnoreHomeBitRateHelp": "Turn this on if live video looks sharp for a few seconds, then blurry or blocky. Video is then converted at a constant quality close to the camera’s own, instead of the low bit rate the Home app asks for, which uses more network bandwidth.",
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"advancedFfmpegLabel": "Chemin FFmpeg personnalisé",
|
|
12
12
|
"advancedLiveVideoPassthroughHelp": "Activez cette option si la vidéo en direct ne s’affiche jamais, ou si le journal indique que FFmpeg s’est arrêté avant d’envoyer la vidéo. La vidéo des caméras qui enregistrent en H.264 est alors envoyée telle que la caméra l’a enregistrée, comme dans la version 4, au lieu d’être convertie selon ce que demande l’app Maison.",
|
|
13
13
|
"advancedLiveVideoPassthroughLabel": "Envoyer la vidéo de la caméra sans conversion",
|
|
14
|
+
"advancedHardwareVideoEncoderHelp": "Utiliser le matériel vidéo de l’ordinateur : désactivez cette option si la vidéo en direct ne fonctionne plus depuis une mise à jour ou s’affiche mal.",
|
|
15
|
+
"advancedHardwareVideoEncoderLabel": "Encodage vidéo matériel",
|
|
14
16
|
"advancedHdLiveVideoHelp": "Activez cette option si la vidéo en direct paraît floue dans l’app Maison. Les caméras ne proposent alors à l’app Maison que du 720p et du 1080p, aussi en données mobiles et dans la grille des caméras, ce qui consomme plus de données.",
|
|
15
17
|
"advancedHdLiveVideoLabel": "Vidéo en direct toujours en HD",
|
|
16
18
|
"advancedIgnoreHomeBitRateHelp": "Activez cette option si la vidéo en direct est nette quelques secondes, puis floue ou pixelisée. La vidéo est alors convertie à une qualité constante proche de celle de la caméra, au lieu du faible débit demandé par l’app Maison, ce qui utilise plus de bande passante.",
|
|
@@ -179,6 +179,11 @@
|
|
|
179
179
|
<input type="checkbox" data-advanced-live-video-passthrough />
|
|
180
180
|
<small data-i18n="advancedLiveVideoPassthroughHelp"></small>
|
|
181
181
|
</label>
|
|
182
|
+
<label>
|
|
183
|
+
<span data-i18n="advancedHardwareVideoEncoderLabel"></span>
|
|
184
|
+
<input type="checkbox" data-advanced-hardware-video-encoder />
|
|
185
|
+
<small data-i18n="advancedHardwareVideoEncoderHelp"></small>
|
|
186
|
+
</label>
|
|
182
187
|
<label>
|
|
183
188
|
<span data-i18n="advancedHdLiveVideoLabel"></span>
|
|
184
189
|
<input type="checkbox" data-advanced-hd-live-video />
|
|
@@ -77,6 +77,7 @@ const advancedConcurrentMedia = document.querySelector('[data-advanced-concurren
|
|
|
77
77
|
const advancedFfmpeg = document.querySelector('[data-advanced-ffmpeg]');
|
|
78
78
|
const advancedSmallVideoPackets = document.querySelector('[data-advanced-small-video-packets]');
|
|
79
79
|
const advancedLiveVideoPassthrough = document.querySelector('[data-advanced-live-video-passthrough]');
|
|
80
|
+
const advancedHardwareVideoEncoder = document.querySelector('[data-advanced-hardware-video-encoder]');
|
|
80
81
|
const advancedHdLiveVideo = document.querySelector('[data-advanced-hd-live-video]');
|
|
81
82
|
const advancedIgnoreHomeBitRate = document.querySelector('[data-advanced-ignore-home-bit-rate]');
|
|
82
83
|
const warmUpAvailable = document.querySelector('[data-warm-up-available]');
|
|
@@ -618,6 +619,7 @@ menuAdvanced.addEventListener('click', async () => {
|
|
|
618
619
|
advancedFfmpeg.value = config.ffmpegPath ?? '';
|
|
619
620
|
advancedSmallVideoPackets.checked = config.smallVideoPackets === true;
|
|
620
621
|
advancedLiveVideoPassthrough.checked = config.liveVideoPassthrough === true;
|
|
622
|
+
advancedHardwareVideoEncoder.checked = config.hardwareVideoEncoder !== false;
|
|
621
623
|
advancedHdLiveVideo.checked = config.hdLiveVideo === true;
|
|
622
624
|
advancedIgnoreHomeBitRate.checked = config.ignoreHomeBitRate === true;
|
|
623
625
|
openDashboardPanel(advancedPanel, menuAdvanced);
|
|
@@ -679,6 +681,8 @@ async function updateAdvancedSettings() {
|
|
|
679
681
|
else delete next.smallVideoPackets;
|
|
680
682
|
if (advancedLiveVideoPassthrough.checked) next.liveVideoPassthrough = true;
|
|
681
683
|
else delete next.liveVideoPassthrough;
|
|
684
|
+
if (advancedHardwareVideoEncoder.checked) delete next.hardwareVideoEncoder;
|
|
685
|
+
else next.hardwareVideoEncoder = false;
|
|
682
686
|
if (advancedHdLiveVideo.checked) next.hdLiveVideo = true;
|
|
683
687
|
else delete next.hdLiveVideo;
|
|
684
688
|
if (advancedIgnoreHomeBitRate.checked) next.ignoreHomeBitRate = true;
|
|
@@ -700,6 +704,7 @@ advancedConcurrentMedia.addEventListener('change', updateAdvancedSettings);
|
|
|
700
704
|
advancedFfmpeg.addEventListener('change', updateAdvancedSettings);
|
|
701
705
|
advancedSmallVideoPackets.addEventListener('change', updateAdvancedSettings);
|
|
702
706
|
advancedLiveVideoPassthrough.addEventListener('change', updateAdvancedSettings);
|
|
707
|
+
advancedHardwareVideoEncoder.addEventListener('change', updateAdvancedSettings);
|
|
703
708
|
advancedHdLiveVideo.addEventListener('change', updateAdvancedSettings);
|
|
704
709
|
advancedIgnoreHomeBitRate.addEventListener('change', updateAdvancedSettings);
|
|
705
710
|
warmUpAdd.addEventListener('click', () => moveWarmUp('available'));
|
package/i18n/runtime/en.json
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"log.condition.affectedOne": "1 accessory is affected.",
|
|
45
45
|
"log.condition.recovered": "Recovered: {summary}.",
|
|
46
46
|
"log.diagnosticFileFailed": "Diagnostic file logging failed; check storage permissions.",
|
|
47
|
+
"log.liveVideoEncoders": "Live video encoders, in order of use: {encoders}.",
|
|
47
48
|
"log.discardedSettings": "Some legacy settings were discarded. Review and acknowledge them in the Homebridge Eufy dashboard.",
|
|
48
49
|
"log.snapshotCacheInvalid": "An invalid retained camera image was removed",
|
|
49
50
|
"log.homekit.batteryCapabilityUnavailable": "Battery information is unavailable",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Homebridge Eufy",
|
|
3
3
|
"name": "@homebridge-plugins/homebridge-eufy-security",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.35",
|
|
5
5
|
"description": "Control Eufy Security from homebridge.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@homebridge/plugin-ui-utils": "^2.2.6",
|
|
50
|
-
"@mega-yfue/eufy-sdk": "0.5.0-beta.
|
|
50
|
+
"@mega-yfue/eufy-sdk": "0.5.0-beta.68",
|
|
51
51
|
"ffmpeg-for-homebridge": "2.2.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|