Okay ffmpeg error code 1 ist bei sehr vielen mit einem zusaetzlichen Eintrag in der config.json zu loesen gewesen:
Fuege mal in deiner config.json beim Abschnitt mit der Aufloesung, maxStreams etc, folgende Zeile hinzu:
"audio": false
Okay ffmpeg error code 1 ist bei sehr vielen mit einem zusaetzlichen Eintrag in der config.json zu loesen gewesen:
Fuege mal in deiner config.json beim Abschnitt mit der Aufloesung, maxStreams etc, folgende Zeile hinzu:
"audio": false
man... ich habe ausversehen die kamera aus HK gelöscht... nun findet er sie nicht mehr.... ich könnte kotzen
wenn ich mich recht erinnere muss ich nach dem löschen der persist aber alle geräte neu einrichten. das ist ja eher ungünstig
Habe einen einzelnen Eintrag gelöscht und nun könnte ich sie wieder hinzufügen
@Typ1er meint, dass du statt alles neu zu integrieren, einfach eine eigene Instanz erstellen sollst, nur fuer die Kamera!
Dafuer koenntest du 1zu1 meine Anleitung uebernehmen, da sie ja auf Instanzen aufgebaut ist, mit Ausnahme deiner eigenen daten innerhalb der config.json
Okay ffmpeg error code 1 ist bei sehr vielen mit einem zusaetzlichen Eintrag in der config.json zu loesen gewesen:
Fuege mal in deiner config.json beim Abschnitt mit der Aufloesung, maxStreams etc, folgende Zeile hinzu:
"audio": false
das hat in meinem fall leider nichts gebracht
Mai 01 23:17:26 Server homebridge[21720]: [2019-5-1 23:17:26] [Dafang] ERROR: FFmpeg exited with code 1
Alles anzeigenDas ist nicht das Problem! Denn du brauchst ja nur den Hack der Kamera, ffmpeg und die config. Die beiden Dateien der Instanz haben keinen Einfluss darauf!
Den Fehler mit 1Min hatte ich auch, wurde bei mir durch einen Fehler verursacht welcher die microSD card auf read only stellt und das erstmal nur durch nen Neustart gefixed wird.
Hier kannst du mehr dazu lesen:
https://github.com/EliasKotlya…i-Dafang-Hacks/issues/880
Die Loesung dabei ist:
Du loggst dich per ssh auf deine camera ein mitssh root@dieIPderKamera
Danach gibst du diese Befehle einzeln ein:
Danach sollte sich das eruebrigen!
Hast du mittlerweile den Pfad von deinem debian in der config korrekt hinterlegt?
man ist das eine misst... ich bekomme es einfach nicht hin....
sie bleibt immer wieder stehen
siehe log:
[email protected]'s password:
[root@DAFANG:~]# dosfsck -a /dev/mmcblk0p1
CP850//TRANSLIT: Invalid argument
CP850: Invalid argument
fsck.fat 4.1+git (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
malloc:Cannot allocate memory
[root@DAFANG:~]# mount -o remount,rw /system/sdcard
[root@DAFANG:~]# /system/sdcard/autoupdate.sh
autoupdate.sh is up to date.
run.sh is up to date.
uEnv.bootfromnand.txt is up to date.
uEnv.bootfromsdcard.txt is up to date.
bin/README.md is up to date.
bin/audioplay is up to date.
bin/autonight is up to date.
bin/avconv is up to date.
bin/bftpd is up to date.
bin/busybox is up to date.
bin/curl is up to date.
bin/curl.bin is up to date.
bin/dosfsck is up to date.
bin/dosfslabel is up to date.
bin/dropbearmulti is up to date.
bin/fatlabel is up to date.
bin/fsck.fat is up to date.
bin/fsck.msdos is up to date.
bin/fsck.vfat is up to date.
bin/gdbserver is up to date.
bin/getimage is up to date.
bin/h264Snap is up to date.
bin/jpegoptim is up to date.
bin/jpegtran is up to date.
bin/jq is up to date.
bin/lighttpd is up to date.
bin/lighttpd.bin is up to date.
bin/mJpegStreamer is up to date.
bin/matrix is up to date.
bin/mkdosfs is up to date.
bin/mkfs.fat is up to date.
bin/mkfs.msdos is up to date.
bin/mkfs.vfat is up to date.
bin/mosquitto_pub is up to date.
bin/mosquitto_pub.bin is up to date.
bin/mosquitto_sub is up to date.
bin/mosquitto_sub.bin is up to date.
bin/motor is up to date.
bin/motor.bin is up to date.
bin/openssl is up to date.
bin/ossplay is up to date.
bin/ossrecord is up to date.
bin/sample-Audio is up to date.
bin/sample-Encoder-h264-IVS-move is up to date.
bin/sample_sinfo is up to date.
bin/setconf is up to date.
bin/telegram is up to date.
bin/v4l2rtspserver-master is up to date.
config/bftpd.conf is excluded due to filter.
config/defaultgw.conf.dist is up to date.
config/hostname.conf.dist is up to date.
config/ldr-average.conf is excluded due to filter.
config/lighttpd.conf.dist is up to date.
config/lighttpd.user is excluded due to filter.
config/matrix.conf.dist is up to date.
config/motion.conf.dist is up to date.
config/mqtt.conf.dist is up to date.
config/ntp_srv.conf.dist is up to date.
config/openssl.cnf is up to date.
config/osd.conf is excluded due to filter.
config/resolv.conf.dist is up to date.
config/rtspserver.conf.dist is up to date.
config/sendmail.conf.dist is up to date.
config/staticip.conf.dist is up to date.
config/telegram.conf.dist is up to date.
config/timelapse.conf is excluded due to filter.
config/timezone.conf is excluded due to filter.
config/usb_eth_driver.conf.dist is up to date.
config/wpa_supplicant.conf.dist is up to date.
config/autostart/auto-night-detection is up to date.
config/autostart/rtsp-h264 is up to date.
config/ssl/letsencrypt_setup.sh is up to date.
config/ssl/cacert/cacert.pem is up to date.
config/ssl/cacert/update.sh is up to date.
config/userscripts/motiondetection/.gitkeep is up to date.
config/userscripts/startup/.gitkeep is up to date.
controlscripts/auto-night-detection is up to date.
controlscripts/configureMotion is up to date.
controlscripts/configureOsd is up to date.
controlscripts/debug-on-osd is up to date.
controlscripts/ftp_server is up to date.
controlscripts/mqtt-control is up to date.
controlscripts/mqtt-status is up to date.
controlscripts/recording is up to date.
controlscripts/rtsp-h264 is up to date.
controlscripts/rtsp-mjpeg is up to date.
controlscripts/sound-on-startup is up to date.
controlscripts/telegram-bot is up to date.
controlscripts/timelapse is up to date.
driver/asix.ko is up to date.
driver/audio.ko is up to date.
driver/sample_motor.ko is up to date.
driver/sensor_jxf22.ko is up to date.
driver/sensor_jxf23.ko is up to date.
driver/sinfo.ko is up to date.
driver/tx-isp.ko is up to date.
driver/usbnet.ko is up to date.
etc/passwd is excluded due to filter.
etc/shadow is excluded due to filter.
fonts/CarroisGothicSC-Regular.ttf is up to date.
fonts/FromCartoonBlocks.ttf is up to date.
fonts/NotoMono-Regular.ttf is up to date.
fonts/NotoSans-Regular.ttf is up to date.
fonts/NotoSerif-Regular.ttf is up to date.
fonts/README.md is up to date.
fonts/Roboto-Black.ttf is up to date.
hls/hls.light.min.js is up to date.
hls/index.html is up to date.
lib/libBasicUsageEnvironment.so is up to date.
lib/libUsageEnvironment.so is up to date.
lib/libalog.so is up to date.
lib/libcrypto.so.42 is up to date.
lib/libcrypto.so.43 is up to date.
lib/libgroupsock.so is up to date.
lib/libimp.so is up to date.
lib/libliveMedia.so is up to date.
lib/libmosquitto.so.1 is up to date.
lib/libmosquittopp.so.1 is up to date.
lib/libmp3lame.so is up to date.
lib/libopus.so is up to date.
lib/libssl.so.44 is up to date.
lib/libssl.so.45 is up to date.
lib/libsysutils.so is up to date.
lib/libusb-0.1.so.4 is up to date.
lib/libusb-1.0.so.0 is up to date.
lib/libz.so.1 is up to date.
media/README.md is up to date.
media/police.wav is up to date.
root/.busybox_aliases is up to date.
root/.profile is up to date.
scripts/PTZpresets.sh is up to date.
scripts/common_functions.sh is up to date.
scripts/debugInOsd.sh is up to date.
scripts/detectionOff.sh is up to date.
scripts/detectionOn.sh is up to date.
scripts/detectionTracking.sh is up to date.
scripts/iwlist.awk is up to date.
scripts/ldr.sh is up to date.
scripts/mqtt-autodiscovery.sh is up to date.
scripts/mqtt-control.sh is up to date.
scripts/mqtt-status-interval.sh is up to date.
scripts/mqtt-status.sh is up to date.
scripts/nightmode.sh is up to date.
scripts/sendPictureMail.sh is up to date.
scripts/telegram-bot-daemon.sh is up to date.
scripts/timelapse.sh is up to date.
www/configmotion.html is up to date.
www/favicon.ico is up to date.
www/index.html is up to date.
www/logs.html is up to date.
www/sw_night_configure.html is up to date.
www/timezones.tsv is up to date.
www/update.html is up to date.
www/cgi-bin/action.cgi is up to date.
www/cgi-bin/api.cgi is up to date.
www/cgi-bin/currentpic.cgi is up to date.
www/cgi-bin/currentpicoptim.cgi is up to date.
www/cgi-bin/dumpbootloader.cgi is up to date.
www/cgi-bin/func.cgi is up to date.
www/cgi-bin/getMotionInfo.cgi is up to date.
www/cgi-bin/getispinfo.cgi is up to date.
www/cgi-bin/network.cgi is up to date.
www/cgi-bin/scripts.cgi is up to date.
www/cgi-bin/state.cgi is up to date.
www/cgi-bin/status_overview.cgi is up to date.
www/cgi-bin/system_admin.cgi is up to date.
www/cgi-bin/system_audio.cgi is up to date.
www/cgi-bin/system_led.cgi is up to date.
www/cgi-bin/system_osd.cgi is up to date.
www/cgi-bin/system_pt.cgi is up to date.
www/cgi-bin/system_system.cgi is up to date.
www/cgi-bin/system_video.cgi is up to date.
www/cgi-bin/update.cgi is up to date.
www/css/border-anim-h.gif is up to date.
www/css/border-anim-v.gif is up to date.
www/css/border-h.gif is up to date.
www/css/border-v.gif is up to date.
www/css/bulma-badge.1.0.1.min.css is up to date.
www/css/bulma-quickview.1.0.1.min.css is up to date.
www/css/bulma-switch.1.0.1.min.css is up to date.
www/css/bulma.0.7.2.min.css is up to date.
www/css/bulmaswatch.min.css is up to date.
www/css/imgareaselect-animated.css is up to date.
www/css/imgareaselect-default.css is up to date.
www/css/sw_night.css is up to date.
www/css/unable_load.png is up to date.
www/scripts/index.html.js is up to date.
www/scripts/jquery-3.3.1.min.js is up to date.
www/scripts/jquery.imgareaselect.pack.js is up to date.
www/scripts/scripts.cgi.js is up to date.
www/scripts/smoothie.js is up to date.
www/scripts/status.cgi.js is up to date.
No files to update.
[root@DAFANG:~]#
@vgnsxe das muss noch was mit der sd karte zu tun haben.... ich habe nun auch schon eine andere getestet, aber da kommt der selbe fehler.
oben im log man der komplette verlauf, mit dem versuch die sd karte auf rw umzustellen
Hey zusammen,
ich habe gerade nochmal eine zweite kamera getestet! hatte mir 2 bestellt.
leider auch hier der selbe fehler....
hat jemand noch eine idee wie ich das mit dem readonly derzeit sd deaktivieren kann ? mit der o.g. anleitung gabe es fehler im log (ein b eitrag über diesem
Ich denke, dann ist es am Besten auf github direkt nachzufragen, die koennen dir da dann eher helfen, von da hab ich auch diesen Loesungsvorschlag!
Puh... github ist aber nur auf englisch oder ? Dann muss ich mich durchwursteln... weißt du wo genau ich da hinschreiben kann ?
Jap...
https://github.com/EliasKotlya…i-Dafang-Hacks/issues/880
Hier wird das ganze nochmal beschrieben und diskutiert.
Kleines Update:
Ich habe zum Test mal in den HB configs die Auflösung von 1280x720 auf 960x540 gedrosselt.
Wie ein Wunder funktionieren beide Kameras jetzt ohne Problem (bisher)
Ich werde es mal eine Weile Testen und berichten
Sehr merkwürdiger Fehler...
Abseits von Homebridge wie läuft mit dem Hack der Zugriff auf die Kamera? Livebild, Steuerung, aufgenommene Videos, Einstellungen (Einschränkung von Bewegungserkennung auf einen Bereich möglich?)?
Alles anzeigenKleines Update:
Ich habe zum Test mal in den HB configs die Auflösung von 1280x720 auf 960x540 gedrosselt.
Wie ein Wunder funktionieren beide Kameras jetzt ohne Problem (bisher)
Ich werde es mal eine Weile Testen und berichten
Sehr merkwürdiger Fehler...
Hast Du noch was an den Einstellungen geänder, oder laufen die Kameras nun mit der Auflösung immer noch gut?
Hallo,
ich habe mir die Aqara G2 gekauft und bin mir nun unsicher, ob ich diese auch über das dafang oder über das fhem-plugin einbinden kann. Voraussetzung ist ja erstmal. dass aufspielen einer CFW. Ich habe keine spezifische finden können. Habt ihr die G2 schon einbinden können? Wenn ja, wie seid ihr vorgegangen?
Grüße