Erreur installation Motion PI 2
Re: Erreur installation Motion PI 2
Et la commande "sudo /etc/init.d/motion.sh status" te renvoie quel résultat ?
Idem pour "sudo service domoticz status"
Je me demande si ça ne serait pas une erreur a l'installation, une manip oubliée par exemple
Idem pour "sudo service domoticz status"
Je me demande si ça ne serait pas une erreur a l'installation, une manip oubliée par exemple
Re: Erreur installation Motion PI 2
J'imagine qu'il doit y avoir un raté qq part, mais je ne trouve pas...
je suis au nivo 0 en nunux...
pi@raspberrypi ~ $ sudo /etc/init.d/motion.sh status
sudo: /etc/init.d/motion.sh: command not found
pi@raspberrypi ~ $ sudo service domoticz status
domoticz: unrecognized service
pi@raspberrypi ~ $ sudo service motion status
Usage: /etc/init.d/motion {start|stop|restart|reload}
pi@raspberrypi ~ $ sudo service domoticz.sh status
[ ok ] domoticz is running.
Re: Erreur installation Motion PI 2
Tout porte à croire que Motion n'est pas installé...
As tu essayé de relancer l'installation de motion par la commande "sudo apt-get install motion" ?
As tu essayé de relancer l'installation de motion par la commande "sudo apt-get install motion" ?
Re: Erreur installation Motion PI 2
oui mais rien de neuf:
de plus le restart fonctionnepi@raspberrypi ~ $ sudo apt-get install motion
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
motion est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
pi@raspberrypi ~ $ sudo /etc/init.d/motion restart
[ ok ] Restarting motion...[....] Stopping motion detection daemon: motion.
[ ok ] Starting motion detection daemon: motion.
done.
-
ledouble33
- Messages : 286
- Inscription : 07 févr. 2015, 07:45
Re: Erreur installation Motion PI 2
tu as fais un" sudo nano /etc/default/motion"
Changer le no en yes ?
Changer le no en yes ?
Re: Erreur installation Motion PI 2
oui
pi@raspberrypi ~ $ sudo nano /etc/default/motion
GNU nano 2.2.6 Fichier : /etc/default/motion
# set to 'yes' to enable the motion daemon
start_motion_daemon=yes
Re: Erreur installation Motion PI 2
Ah si le restart fonctionne peut être que tu peux essayer de nouveau un "status"
Le but c'est d'avoir quelques logs à droite à gauche voir ce qui se trame
Le but c'est d'avoir quelques logs à droite à gauche voir ce qui se trame
Re: Erreur installation Motion PI 2
Rien de mieux sur le status, par contre après qq recherche, j'ai trouvé que motion loggais dans le fichier global de linux
et voici ce que je trouve:
je continue de chercher mais si la trace peut vous aider
et voici ce que je trouve:
j'en comprends que ce serait un souci de config n'est ce pas ?pi@raspberrypi ~ $ sudo nano /var/log/user.log
GNU nano 2.2.6 Fichier : /var/log/user.log
Sep 20 22:29:41 raspberrypi domoticz: Domoticz is starting up....
Sep 20 22:29:41 raspberrypi domoticz: Domoticz running...
Sep 20 22:29:42 raspberrypi motion: [0] Processing thread 0 - config file /etc/motion/motion.conf
Sep 20 22:29:42 raspberrypi motion: [0] Thread config file /usr/local/etc/thread0.conf not found: No such file or dire$
Sep 20 22:29:42 raspberrypi motion: [0] Motion 3.2.12 Started
Sep 20 22:29:42 raspberrypi motion: [0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
Sep 20 22:29:42 raspberrypi motion: [0] Thread 1 is from /etc/motion/motion.conf
Sep 20 22:29:42 raspberrypi motion: [1] Thread 1 started
Sep 20 22:29:42 raspberrypi motion: [1] Failed to open video device /dev/video0: No such file or directory
Sep 20 22:29:42 raspberrypi motion: [1] Could not fetch initial image from camera
Sep 20 22:29:42 raspberrypi motion: [0] httpd bind(): Address already in use
Sep 20 22:29:42 raspberrypi motion: [1] Motion continues using width and height from config file(s)
Sep 20 22:29:42 raspberrypi motion: [1] Resizing pre_capture buffer to 1 items
Sep 20 22:29:42 raspberrypi motion: [0] httpd thread exit
Sep 20 22:29:42 raspberrypi motion: [1] Started stream webcam server in port 8081
Sep 20 22:30:10 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 22:30:10 raspberrypi motion: [1] Failed to open video device /dev/video0: No such file or directory
Sep 20 22:30:18 raspberrypi motion: [1] Video signal lost - Adding grey image
Sep 20 22:30:20 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 22:30:20 raspberrypi motion: [1] Failed to open video device /dev/video0: No such file or directory
Sep 20 22:30:30 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 22:30:30 raspberrypi motion: [1] Failed to open video device /dev/video0: No such file or directory
Sep 20 22:30:40 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 22:30:40 raspberrypi motion: [1] Failed to open video device /dev/video0: No such file or directory
je continue de chercher mais si la trace peut vous aider
Re: Erreur installation Motion PI 2
Ca avance enfin....
avec la config suivanteSep 20 23:15:44 raspberrypi domoticz: Domoticz is starting up....
Sep 20 23:15:44 raspberrypi domoticz: Domoticz running...
Sep 20 23:15:45 raspberrypi motion: [0] Processing thread 0 - config file /etc/motion/motion.conf
Sep 20 23:15:45 raspberrypi motion: [0] Processing config file /etc/motion/thread0.conf
Sep 20 23:15:45 raspberrypi motion: [0] Unknown config option "despeckle_filter"
Sep 20 23:15:45 raspberrypi motion: [0] Unknown config option "picture_filename"
Sep 20 23:15:45 raspberrypi motion: [0] Unknown config option "stream_port"
Sep 20 23:15:45 raspberrypi motion: [0] Motion 3.2.12 Started
Sep 20 23:15:45 raspberrypi motion: [0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
Sep 20 23:15:45 raspberrypi motion: [0] Thread 1 is from /etc/motion/thread0.conf
Sep 20 23:15:45 raspberrypi motion: [1] Thread 1 started
Sep 20 23:15:45 raspberrypi motion: [0] httpd bind(): Address already in use
Sep 20 23:15:45 raspberrypi motion: [0] httpd thread exit
Sep 20 23:15:45 raspberrypi motion: [1] libjpeg decompression failure on first frame - giving up!
Sep 20 23:15:45 raspberrypi motion: [1] Could not fetch initial image from camera
Sep 20 23:15:45 raspberrypi motion: [1] Motion continues using width and height from config file(s)
Sep 20 23:15:45 raspberrypi motion: [1] Resizing pre_capture buffer to 1 items
Sep 20 23:15:45 raspberrypi motion: [1] Started stream webcam server in port 8081
Sep 20 23:15:45 raspberrypi motion: [1] Resizing pre_capture buffer to 3 items
Sep 20 23:15:50 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 23:15:50 raspberrypi motion: [1] libjpeg decompression failure on first frame - giving up!
Sep 20 23:16:10 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 23:16:10 raspberrypi motion: [1] libjpeg decompression failure on first frame - giving up!
Sep 20 23:16:20 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 23:16:20 raspberrypi motion: [1] libjpeg decompression failure on first frame - giving up!
Sep 20 23:16:22 raspberrypi motion: [1] Video signal lost - Adding grey image
Sep 20 23:16:30 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 23:16:30 raspberrypi motion: [1] libjpeg decompression failure on first frame - giving up!
Sep 20 23:16:40 raspberrypi motion: [1] Retrying until successful connection with camera
Sep 20 23:16:40 raspberrypi motion: [1] libjpeg decompression failure on first frame - giving up!
caméra FOSCAM Garage
# thread0.conf
videodevice /dev/video0
netcam_url http://login:mdp@192.168.1.5:88/videost ... in&pwd=mdp
# Text is placed in lower left corner
text_left Garage
############################################################
# Régler sensibilité aux mouvements pour cette caméra extérieure
threshold 3000
threshold_tune off
noise_level 32
noise_tune off
despeckle_filter EedDl
smart_mask_speed 10
lightswitch 25
minimum_motion_frames 3
############################################################
# Target base directory for pictures and films
target_dir /home/jf/motion/log/foscam
snapshot_filename f-%v-%Y%m%d%H%M%S-snapshot
picture_filename f-%v-%Y%m%d%H%M%S-%q
movie_filename f-%v-%Y%m%d%H%M%S
timelapse_filename f-%Y%m%d-timelapse
############################################################
stream_port 8081
Re: Erreur installation Motion PI 2
Hello,
je pense avoir résolu 99% de mes pbs.
maintenant au démarrage j'en suis ici:
http://IPduRaspberry:8081/
chrome me renvoie:
je pense avoir résolu 99% de mes pbs.
maintenant au démarrage j'en suis ici:
mais lorsque j'essaie:Sep 23 15:55:45 raspberrypi domoticz: Domoticz is starting up....
Sep 23 15:55:45 raspberrypi domoticz: Domoticz running...
Sep 23 15:55:46 raspberrypi motion: [0] Processing thread 0 - config file /etc/motion/motion.conf
Sep 23 15:55:46 raspberrypi motion: [0] Processing config file /etc/motion/thread0.conf
Sep 23 15:55:46 raspberrypi motion: [0] Motion 3.2.12 Started
Sep 23 15:55:46 raspberrypi motion: [0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
Sep 23 15:55:46 raspberrypi motion: [0] Thread 1 is from /etc/motion/thread0.conf
Sep 23 15:55:46 raspberrypi motion: [1] Thread 1 started
Sep 23 15:55:46 raspberrypi motion: [0] httpd bind(): Address already in use
Sep 23 15:55:46 raspberrypi motion: [0] httpd thread exit
Sep 23 15:55:47 raspberrypi motion: [1] Resizing pre_capture buffer to 1 items
Sep 23 15:55:47 raspberrypi motion: [1] Started stream webcam server in port 8081
Sep 23 15:55:47 raspberrypi motion: [1] Resizing pre_capture buffer to 3 items
http://IPduRaspberry:8081/
chrome me renvoie:
je n'ai que domoticz et motion d'installé dessusCe site est inaccessible
192.168.1.117 n'autorise pas la connexion.
Effectuez une recherche Google sur 192 168 117 8081.
ERR_CONNECTION_REFUSED