Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

Intégration Caméra Wansview W3, K2 & Q3

Pour toute question concernant le plugin caméra
Avatar de l’utilisateur
Dreed
Timide
Messages : 25
Inscription : 04 sept. 2014, 18:26
Localisation : Montpellier
Contact :

Intégration Caméra Wansview W3, K2 & Q3

Message par Dreed » 27 oct. 2017, 17:07

Bonjour à tous,

Je me permet de laisser ce message, car après de nombreuses recherches, je n'ai toujours pas trouvé comment visualiser mes caméras Wansview (Référence W3, K2 & Q3) dans un de mes designs. :roll:

Procédure :
- Configuration du flux RTSP via le plugin du même nom (Protocol, IP, Port, url, user et pass), pas de soucis, j'ai bien une image qui ressort dans la partie Test du plugin RSTP. ;)
- Configuration de la caméra (IP, lien plugin Flux RTSP, etc...). ;)
- Intégration dans le Design, j'ai une icone de caméra constamment barrée, noté OFF, et aucunes images de caméra. :?:

Auriez vous une idée de mon soucis ? :idea:
Car je suis bien passé voir le site ispy, avec tous les lien possibles, j'ai tous testé, un seul m'affiche une image dans le plugin RTSP et par contre que ce soit en local ou à distance via les applications Wansview ou tinyCam, ou même via PC elles fonctionnent toutes... mais pas dans le Design de Jeedom. :cry:
Et bien entendu, j'ai fouillé le forum, mais pas grand chose sur Wansview :?
En vous remerciant par avance.

Dreed
C'est en avançant dans l'ombre, qu'on apercevra la lumière ... :D

Config :
- Box Jeedom Smart EnOcean
- Jeedom 3.2.11 et tous plugins à jour,
- Plugins : KNX, EnOcean, SqueezeBox, Kodi, Phillips Hue, BLEA, Dialog Flow, Alarme, Camera, Netatmo, ...

chaudron
Timide
Messages : 7
Inscription : 18 déc. 2016, 16:38

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par chaudron » 27 oct. 2017, 17:36

Je pense qu'il serait bon de prendre en compte que les problèmes de caméra OFF dans le plugin se multiplient depuis la mise à jour en V3.1.x. Il y a quasiment tous les jours de nouveaux POST sur le sujet. Cela a été soulevé dès le 01/10 dans le thread Affichage camera OFF depuis mis à jour 3.1.5 mais aucune réponse n'a été apportée.
Cela ne semble pas affecter toutes les caméras, mais bon nombre le sont et le point commun semble être l'upgrade à partir duquel les signalements du problème ont commencé.

Bosquetia
Actif
Messages : 6783
Inscription : 10 mai 2016, 07:54

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par Bosquetia » 27 oct. 2017, 20:50

Hello

Je pense surtout qu'il serait bon que ceux qui ont des soucis donnent à minima la version de jeedom, du plugin.
Avec en bonus des logs ou autres...

Perso en 3.1.7, dernière version du plugin à ce jour, 4 types de cam différentes, et je n'ai aucun souci.

Avatar de l’utilisateur
Dreed
Timide
Messages : 25
Inscription : 04 sept. 2014, 18:26
Localisation : Montpellier
Contact :

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par Dreed » 27 oct. 2017, 22:14

Bonsoir à tous, bonsoir Bosquetia,

J'ai deux types de caméras Axis et Wansview, je suis en Jeedom Smart (après plus de 5 ans de Jeedom DIY (RPI 2 et RPI 3).
Je n'ai aucuns soucis avec ma caméra Axis, par contre aucunes des Wansview affiche quelques choses dans la vue Design...

Donc je suis en Jeedom Smart, Jeedom version 3.1.7, plugin Camera du 27-09-2017 version 3.0, plugin RTSP du 12-10-2017 version 2.2.5.
Les logs sont bons car les seuls logs que je peux avoir sont ceux du plugin RTSP et j'ai les images dans les Test en bas à gauche.

Mais si vous voulez des logs, les voici :D

Logs de RTSP rep :

Code : Tout sélectionner

############################################################################
# Installation in progress
############################################################################
############################################################################
# Update repository packages and install dependencies
############################################################################
Ign http://repo.jeedom.com ./ InRelease
Ign http://ftp.debian.org jessie InRelease
Ign http://repo.jeedom.com ./ Release.gpg
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://repo.jeedom.com ./ Release
Hit http://ftp.debian.org jessie-backports InRelease
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Hit http://ftp.debian.org jessie-proposed-updates InRelease
Hit http://ftp.debian.org jessie Release.gpg
Hit http://security.debian.org jessie/updates/main Sources
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://ftp.debian.org jessie-updates/contrib Sources
Hit http://ftp.debian.org jessie-updates/non-free Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://security.debian.org jessie/updates/main arm64 Packages
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [9376 B]
Hit http://repo.jeedom.com ./ Packages
Hit http://security.debian.org jessie/updates/contrib arm64 Packages
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Ign http://repo.jeedom.com ./ Translation-en
Get:2 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/non-free arm64 Packages
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:3 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3688 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Get:4 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/non-free Translation-en
Get:5 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]
Get:6 http://ftp.debian.org jessie-backports/contrib Sources/DiffIndex [27.8 kB]
Get:7 http://ftp.debian.org jessie-backports/non-free Sources/DiffIndex [24.5 kB]
Get:8 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Get:9 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [22.4 kB]
Get:10 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8530 B]
Get:11 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7468 B]
Get:12 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:13 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [17.2 kB]
Get:14 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7762 B]
Get:15 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [15.1 kB]
Get:16 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:17 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4948 B]
Get:18 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [7270 B]
Hit http://oph.mdrjr.net all InRelease
Get:19 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:20 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8392 B]
Get:21 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:22 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [15.1 kB]
Hit http://oph.mdrjr.net jessie InRelease
Hit http://ftp.debian.org jessie/main Sources
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Hit http://ftp.debian.org jessie/main arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://oph.mdrjr.net all/main arm64 Packages
Hit http://ftp.debian.org jessie/non-free Translation-en
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:23 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:24 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:25 http://oph.mdrjr.net all/testing Translation-en [326 B]
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:26 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:27 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:28 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:29 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:30 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:31 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:32 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:33 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:34 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:35 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:36 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:37 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:38 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:39 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:40 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:41 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:42 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:43 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:44 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:45 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:46 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:47 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 348 kB in 5s (64.8 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libav-tools is already the newest version.
The following package was automatically installed and is no longer required:
linux-headers-3.14.29+
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
############################################################################
# Linking scripts
############################################################################
############################################################################
# Symbolic links for Apache
############################################################################
### Autorisation de liens symboliques pour le serveur Web Apache ###
Warning: Unit file of apache2.service changed on disk, 'systemctl daemon-reload' recommended.
### Modification de la configuration d'Apache effectuée et appliquée ###
Warning: Unit file of apache2.service changed on disk, 'systemctl daemon-reload' recommended.
### Modification de la configuration de sécurité d'Apache effectuée et appliquée ###
############################################################################
# Installation finnished
############################################################################
Log de RTSP Logs

Code : Tout sélectionner

RSTP script dependency not found : /usr/sbin/rtsp.sh
Mais les dépendances sont OK
Image

Log de RTSP Status

Code : Tout sélectionner

########### Etat du service CamPalier ##########
RTSP.ajax.php rtsp-service-Camxxxxx.service - LSB: RTSP Daemon for Camxxxxx Loaded: loaded (/etc/init.d/rtsp-service-CamPalier) Active: active (running) since Fri 2017-10-27 13:51:31 UTC; 24s ago Process: 32179 ExecStart=/etc/init.d/rtsp-service-Camxxxxx start (code=exited, status=0/SUCCESS) CGroup: /system.slice/rtsp-service-Camxxxxxx.service |-32183 sh /usr/sbin/rtsp.sh http 192.168.2.XX /tmp CamPalier XXXX 2 /live/ch0 800x600 1 xxxxx XXXXXX `-32726 sleep 2 Oct 27 13:51:31 jeedom rtsp-service-Camxxxxx[32179]: Starting RTSP Daemon for Camxxxxx... Oct 27 13:51:31 jeedom systemd[1]: Started LSB: RTSP Daemon for Camxxxxx.
########### Fin ##########
Et bien entendu les logs du plugin camera :
Log Camera update :

Code : Tout sélectionner

Launch install of camera dependancy
Ign http://repo.jeedom.com ./ InRelease
Ign http://ftp.debian.org jessie InRelease
Ign http://repo.jeedom.com ./ Release.gpg
Hit http://repo.jeedom.com ./ Release
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://ftp.debian.org jessie-proposed-updates InRelease
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://security.debian.org jessie/updates/main Sources
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://ftp.debian.org jessie-updates/contrib Sources
Hit http://repo.jeedom.com ./ Packages
Ign http://repo.jeedom.com ./ Translation-en_US
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://ftp.debian.org jessie-updates/non-free Sources
Ign http://repo.jeedom.com ./ Translation-en
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [9,376 B]
Hit http://security.debian.org jessie/updates/main arm64 Packages
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Hit http://security.debian.org jessie/updates/contrib arm64 Packages
Get:2 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/non-free arm64 Packages
Get:3 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:4 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Get:5 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]
Get:6 http://ftp.debian.org jessie-backports/contrib Sources/DiffIndex [27.8 kB]
Get:7 http://ftp.debian.org jessie-backports/non-free Sources/DiffIndex [24.5 kB]
Get:8 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://oph.mdrjr.net all InRelease
Get:9 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [22.4 kB]
Get:10 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8,530 B]
Get:11 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7,468 B]
Get:12 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Hit http://oph.mdrjr.net jessie InRelease
Get:13 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [17.2 kB]
Get:14 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7,762 B]
Get:15 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [15.1 kB]
Get:16 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:17 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4,948 B]
Get:18 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [7,270 B]
Get:19 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:20 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8,392 B]
Get:21 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:22 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [15.1 kB]
Hit http://ftp.debian.org jessie/main Sources
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Hit http://ftp.debian.org jessie/main arm64 Packages
Hit http://oph.mdrjr.net all/main arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://oph.mdrjr.net all/testing arm64 Packages
Hit http://ftp.debian.org jessie/non-free Translation-en
Get:23 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:24 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:25 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:26 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:27 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:28 http://oph.mdrjr.net all/testing Translation-en [326 B]
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:29 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:30 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:31 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:32 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:33 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:34 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:35 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:36 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:37 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:38 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:39 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:40 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:41 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:42 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:43 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:44 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:45 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:46 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:47 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:48 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:49 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:50 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:51 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:52 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:53 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:54 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:55 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:56 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:57 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:58 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:59 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:60 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:61 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:62 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:63 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Ign http://oph.mdrjr.net all/c2 Translation-en_US
Get:64 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:65 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Ign http://oph.mdrjr.net all/main Translation-en_US
Get:66 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:67 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Ign http://oph.mdrjr.net all/testing Translation-en_US
Get:68 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:69 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en_US
Get:70 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:71 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Ign http://oph.mdrjr.net jessie/main Translation-en_US
Get:72 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 348 kB in 8s (40.1 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
linux-headers-3.14.29+
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
libavcodec56 libavdevice55 libavfilter5 libavformat56 libavresample2
libavutil54 libcaca0 libcdio-cdda1 libcdio-paranoia1 libcdio13 libdc1394-22
libdirectfb-1.2-9 libglu1-mesa libgsm1 libmp3lame0 libopencv-core2.4
libopencv-imgproc2.4 libopenjpeg5 libraw1394-11 libschroedinger-1.0-0
libsdl1.2debian libspeex1 libswscale3 libtheora0 libva1 libvdpau1
libx264-142 libxvidcore4
Suggested packages:
frei0r-plugins libraw1394-doc speex vdpau-driver
Recommended packages:
va-driver-all va-driver
The following NEW packages will be installed:
libav-tools libavcodec56 libavdevice55 libavfilter5 libavformat56
libavresample2 libavutil54 libcaca0 libcdio-cdda1 libcdio-paranoia1
libcdio13 libdc1394-22 libdirectfb-1.2-9 libglu1-mesa libgsm1 libmp3lame0
libopencv-core2.4 libopencv-imgproc2.4 libopenjpeg5 libraw1394-11
libschroedinger-1.0-0 libsdl1.2debian libspeex1 libswscale3 libtheora0
libva1 libvdpau1 libx264-142 libxvidcore4
0 upgraded, 29 newly installed, 0 to remove and 88 not upgraded.
Need to get 6,829 kB/9,384 kB of archives.
After this operation, 26.0 MB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ jessie/main libavutil54 arm64 6:11.9-1~deb8u1 [119 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main libavresample2 arm64 6:11.9-1~deb8u1 [86.7 kB]
Get:3 http://ftp.debian.org/debian/ jessie/main libmp3lame0 arm64 3.99.5+repack1-7+deb8u1 [337 kB]
Get:4 http://ftp.debian.org/debian/ jessie/main libva1 arm64 1.4.1-1 [38.5 kB]
Get:5 http://ftp.debian.org/debian/ jessie/main libx264-142 arm64 2:0.142.2431+gita5831aa-1+b2 [476 kB]
Get:6 http://ftp.debian.org/debian/ jessie/main libxvidcore4 arm64 2:1.3.3-1 [247 kB]
Get:7 http://ftp.debian.org/debian/ jessie/main libavcodec56 arm64 6:11.9-1~deb8u1 [2,882 kB]
Get:8 http://ftp.debian.org/debian/ jessie/main libavformat56 arm64 6:11.9-1~deb8u1 [507 kB]
Get:9 http://ftp.debian.org/debian/ jessie/main libavdevice55 arm64 6:11.9-1~deb8u1 [84.9 kB]
Get:10 http://ftp.debian.org/debian/ jessie/main libglu1-mesa arm64 9.0.0-2 [144 kB]
Get:11 http://ftp.debian.org/debian/ jessie/main libopencv-core2.4 arm64 2.4.9.1+dfsg-1+deb8u1 [621 kB]
Get:12 http://ftp.debian.org/debian/ jessie/main libopencv-imgproc2.4 arm64 2.4.9.1+dfsg-1+deb8u1 [532 kB]
Get:13 http://ftp.debian.org/debian/ jessie/main libswscale3 arm64 6:11.9-1~deb8u1 [112 kB]
Get:14 http://ftp.debian.org/debian/ jessie/main libavfilter5 arm64 6:11.9-1~deb8u1 [149 kB]
Get:15 http://ftp.debian.org/debian/ jessie/main libvdpau1 arm64 0.8-3+deb8u2 [30.7 kB]
Get:16 http://ftp.debian.org/debian/ jessie/main libav-tools arm64 6:11.9-1~deb8u1 [463 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 6,829 kB in 1s (4,602 kB/s)
Selecting previously unselected package libavutil54:arm64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 63158 files and directories currently installed.)
Preparing to unpack .../libavutil54_6%3a11.9-1~deb8u1_arm64.deb ...
Unpacking libavutil54:arm64 (6:11.9-1~deb8u1) ...
Selecting previously unselected package libavresample2:arm64.
Preparing to unpack .../libavresample2_6%3a11.9-1~deb8u1_arm64.deb ...
Unpacking libavresample2:arm64 (6:11.9-1~deb8u1) ...
Selecting previously unselected package libgsm1:arm64.
Preparing to unpack .../libgsm1_1.0.13-4_arm64.deb ...
Unpacking libgsm1:arm64 (1.0.13-4) ...
Selecting previously unselected package libmp3lame0:arm64.
Preparing to unpack .../libmp3lame0_3.99.5+repack1-7+deb8u1_arm64.deb ...
Unpacking libmp3lame0:arm64 (3.99.5+repack1-7+deb8u1) ...
Selecting previously unselected package libopenjpeg5:arm64.
Preparing to unpack .../libopenjpeg5_1%3a1.5.2-3_arm64.deb ...
Unpacking libopenjpeg5:arm64 (1:1.5.2-3) ...
Selecting previously unselected package libschroedinger-1.0-0:arm64.
Preparing to unpack .../libschroedinger-1.0-0_1.0.11-2.1_arm64.deb ...
Unpacking libschroedinger-1.0-0:arm64 (1.0.11-2.1) ...
Selecting previously unselected package libspeex1:arm64.
Preparing to unpack .../libspeex1_1.2~rc1.2-1_arm64.deb ...
Unpacking libspeex1:arm64 (1.2~rc1.2-1) ...
Selecting previously unselected package libtheora0:arm64.
Preparing to unpack .../libtheora0_1.1.1+dfsg.1-6_arm64.deb ...
Unpacking libtheora0:arm64 (1.1.1+dfsg.1-6) ...
Selecting previously unselected package libva1:arm64.
Preparing to unpack .../libva1_1.4.1-1_arm64.deb ...
Unpacking libva1:arm64 (1.4.1-1) ...
Selecting previously unselected package libx264-142:arm64.
Preparing to unpack .../libx264-142_2%3a0.142.2431+gita5831aa-1+b2_arm64.deb ...
Unpacking libx264-142:arm64 (2:0.142.2431+gita5831aa-1+b2) ...
Selecting previously unselected package libxvidcore4:arm64.
Preparing to unpack .../libxvidcore4_2%3a1.3.3-1_arm64.deb ...
Unpacking libxvidcore4:arm64 (2:1.3.3-1) ...
Selecting previously unselected package libavcodec56:arm64.
Preparing to unpack .../libavcodec56_6%3a11.9-1~deb8u1_arm64.deb ...
Unpacking libavcodec56:arm64 (6:11.9-1~deb8u1) ...
Selecting previously unselected package libavformat56:arm64.
Preparing to unpack .../libavformat56_6%3a11.9-1~deb8u1_arm64.deb ...
Unpacking libavformat56:arm64 (6:11.9-1~deb8u1) ...
Selecting previously unselected package libcdio13.
Preparing to unpack .../libcdio13_0.83-4.2_arm64.deb ...
Unpacking libcdio13 (0.83-4.2) ...
Selecting previously unselected package libcdio-cdda1.
Preparing to unpack .../libcdio-cdda1_0.83-4.2_arm64.deb ...
Unpacking libcdio-cdda1 (0.83-4.2) ...
Selecting previously unselected package libcdio-paranoia1.
Preparing to unpack .../libcdio-paranoia1_0.83-4.2_arm64.deb ...
Unpacking libcdio-paranoia1 (0.83-4.2) ...
Selecting previously unselected package libraw1394-11:arm64.
Preparing to unpack .../libraw1394-11_2.1.0-3_arm64.deb ...
Unpacking libraw1394-11:arm64 (2.1.0-3) ...
Selecting previously unselected package libdc1394-22:arm64.
Preparing to unpack .../libdc1394-22_2.2.3-1_arm64.deb ...
Unpacking libdc1394-22:arm64 (2.2.3-1) ...
Selecting previously unselected package libavdevice55:arm64.
Preparing to unpack .../libavdevice55_6%3a11.9-1~deb8u1_arm64.deb ...
Unpacking libavdevice55:arm64 (6:11.9-1~deb8u1) ...
Selecting previously unselected package libglu1-mesa:arm64.
Preparing to unpack .../libglu1-mesa_9.0.0-2_arm64.deb ...
Unpacking libglu1-mesa:arm64 (9.0.0-2) ...
Selecting previously unselected package libopencv-core2.4:arm64.
Preparing to unpack .../libopencv-core2.4_2.4.9.1+dfsg-1+deb8u1_arm64.deb ...
Unpacking libopencv-core2.4:arm64 (2.4.9.1+dfsg-1+deb8u1) ...
Selecting previously unselected package libopencv-imgproc2.4:arm64.
Preparing to unpack .../libopencv-imgproc2.4_2.4.9.1+dfsg-1+deb8u1_arm64.deb ...
Unpacking libopencv-imgproc2.4:arm64 (2.4.9.1+dfsg-1+deb8u1) ...
Selecting previously unselected package libswscale3:arm64.
Preparing to unpack .../libswscale3_6%3a11.9-1~deb8u1_arm64.deb ...
Unpacking libswscale3:arm64 (6:11.9-1~deb8u1) ...
Selecting previously unselected package libavfilter5:arm64.
Preparing to unpack .../libavfilter5_6%3a11.9-1~deb8u1_arm64.deb ...
Unpacking libavfilter5:arm64 (6:11.9-1~deb8u1) ...
Selecting previously unselected package libcaca0:arm64.
Preparing to unpack .../libcaca0_0.99.beta19-2_arm64.deb ...
Unpacking libcaca0:arm64 (0.99.beta19-2) ...
Selecting previously unselected package libdirectfb-1.2-9:arm64.
Preparing to unpack .../libdirectfb-1.2-9_1.2.10.0-5.1_arm64.deb ...
Unpacking libdirectfb-1.2-9:arm64 (1.2.10.0-5.1) ...
Selecting previously unselected package libsdl1.2debian:arm64.
Preparing to unpack .../libsdl1.2debian_1.2.15-10+b1_arm64.deb ...
Unpacking libsdl1.2debian:arm64 (1.2.15-10+b1) ...
Selecting previously unselected package libvdpau1:arm64.
Preparing to unpack .../libvdpau1_0.8-3+deb8u2_arm64.deb ...
Unpacking libvdpau1:arm64 (0.8-3+deb8u2) ...
Selecting previously unselected package libav-tools.
Preparing to unpack .../libav-tools_6%3a11.9-1~deb8u1_arm64.deb ...
Unpacking libav-tools (6:11.9-1~deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libavutil54:arm64 (6:11.9-1~deb8u1) ...
Setting up libavresample2:arm64 (6:11.9-1~deb8u1) ...
Setting up libgsm1:arm64 (1.0.13-4) ...
Setting up libmp3lame0:arm64 (3.99.5+repack1-7+deb8u1) ...
Setting up libopenjpeg5:arm64 (1:1.5.2-3) ...
Setting up libschroedinger-1.0-0:arm64 (1.0.11-2.1) ...
Setting up libspeex1:arm64 (1.2~rc1.2-1) ...
Setting up libtheora0:arm64 (1.1.1+dfsg.1-6) ...
Setting up libva1:arm64 (1.4.1-1) ...
Setting up libx264-142:arm64 (2:0.142.2431+gita5831aa-1+b2) ...
Setting up libxvidcore4:arm64 (2:1.3.3-1) ...
Setting up libavcodec56:arm64 (6:11.9-1~deb8u1) ...
Setting up libavformat56:arm64 (6:11.9-1~deb8u1) ...
Setting up libcdio13 (0.83-4.2) ...
Setting up libcdio-cdda1 (0.83-4.2) ...
Setting up libcdio-paranoia1 (0.83-4.2) ...
Setting up libraw1394-11:arm64 (2.1.0-3) ...
Setting up libdc1394-22:arm64 (2.2.3-1) ...
Setting up libavdevice55:arm64 (6:11.9-1~deb8u1) ...
Setting up libglu1-mesa:arm64 (9.0.0-2) ...
Setting up libopencv-core2.4:arm64 (2.4.9.1+dfsg-1+deb8u1) ...
Setting up libopencv-imgproc2.4:arm64 (2.4.9.1+dfsg-1+deb8u1) ...
Setting up libswscale3:arm64 (6:11.9-1~deb8u1) ...
Setting up libavfilter5:arm64 (6:11.9-1~deb8u1) ...
Setting up libcaca0:arm64 (0.99.beta19-2) ...
Setting up libdirectfb-1.2-9:arm64 (1.2.10.0-5.1) ...
Setting up libsdl1.2debian:arm64 (1.2.15-10+b1) ...
Setting up libvdpau1:arm64 (0.8-3+deb8u2) ...
Setting up libav-tools (6:11.9-1~deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
linux-headers-3.14.29+
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
libwebp5 libwebpdemux1 libwebpmux1 python-pil
Suggested packages:
python-pil-doc python-pil-dbg
The following NEW packages will be installed:
libwebp5 libwebpdemux1 libwebpmux1 python-imaging python-pil
0 upgraded, 5 newly installed, 0 to remove and 88 not upgraded.
Need to get 589 kB of archives.
After this operation, 1,656 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ jessie/main libwebp5 arm64 0.4.1-1.2+b2 [195 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main libwebpdemux1 arm64 0.4.1-1.2+b2 [50.2 kB]
Get:3 http://ftp.debian.org/debian/ jessie/main libwebpmux1 arm64 0.4.1-1.2+b2 [56.1 kB]
Get:4 http://ftp.debian.org/debian/ jessie/main python-pil arm64 2.6.1-2+deb8u3 [278 kB]
Get:5 http://ftp.debian.org/debian/ jessie/main python-imaging all 2.6.1-2+deb8u3 [9,846 B]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 589 kB in 1s (522 kB/s)
Selecting previously unselected package libwebp5:arm64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 63505 files and directories currently installed.)
Preparing to unpack .../libwebp5_0.4.1-1.2+b2_arm64.deb ...
Unpacking libwebp5:arm64 (0.4.1-1.2+b2) ...
Selecting previously unselected package libwebpdemux1:arm64.
Preparing to unpack .../libwebpdemux1_0.4.1-1.2+b2_arm64.deb ...
Unpacking libwebpdemux1:arm64 (0.4.1-1.2+b2) ...
Selecting previously unselected package libwebpmux1:arm64.
Preparing to unpack .../libwebpmux1_0.4.1-1.2+b2_arm64.deb ...
Unpacking libwebpmux1:arm64 (0.4.1-1.2+b2) ...
Selecting previously unselected package python-pil:arm64.
Preparing to unpack .../python-pil_2.6.1-2+deb8u3_arm64.deb ...
Unpacking python-pil:arm64 (2.6.1-2+deb8u3) ...
Selecting previously unselected package python-imaging.
Preparing to unpack .../python-imaging_2.6.1-2+deb8u3_all.deb ...
Unpacking python-imaging (2.6.1-2+deb8u3) ...
Setting up libwebp5:arm64 (0.4.1-1.2+b2) ...
Setting up libwebpdemux1:arm64 (0.4.1-1.2+b2) ...
Setting up libwebpmux1:arm64 (0.4.1-1.2+b2) ...
Setting up python-pil:arm64 (2.6.1-2+deb8u3) ...
Setting up python-imaging (2.6.1-2+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Reading package lists...
Building dependency tree...
Reading state information...
python-pil is already the newest version.
python-pil set to manually installed.
The following package was automatically installed and is no longer required:
linux-headers-3.14.29+
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
php5-gd is already the newest version.
The following package was automatically installed and is no longer required:
linux-headers-3.14.29+
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php7.0-gd
E: Couldn't find any package by regex 'php7.0-gd'
Everything is successfully installed!
Warning: Unit file of apache2.service changed on disk, 'systemctl daemon-reload' recommended.
Et voilà, je reste à votre disposition si vous avez besoin de logs, d'infos ou même papoter domotique/KNX/Camera/EnOcean/BLEA/etc... :D
C'est en avançant dans l'ombre, qu'on apercevra la lumière ... :D

Config :
- Box Jeedom Smart EnOcean
- Jeedom 3.2.11 et tous plugins à jour,
- Plugins : KNX, EnOcean, SqueezeBox, Kodi, Phillips Hue, BLEA, Dialog Flow, Alarme, Camera, Netatmo, ...

yorkville
Timide
Messages : 17
Inscription : 16 sept. 2017, 10:37

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par yorkville » 16 nov. 2017, 15:45

Bonjour

Je suis dans le même cas de figure ... deux camera wansview W3. J'ai tout essayé ! plugin caméra, plugin rtsp et rien je n'y arrive pas !
help help ça fait deux mois que je suis dessus :shock:

Gseb
Timide
Messages : 2
Inscription : 06 juil. 2017, 10:37

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par Gseb » 15 déc. 2017, 20:04

Bonjour,
Jeedom SMART 3.1.7 et au niveau des plugins je suis toujours à jour en stable.
j'ai une caméra Wansview Q3 et pour afficher le flux video dans le plugin caméra j'ai mis
ip ben l'ip de la caméra
port 80 classique
URL de capture = /mjpeg/snap.cgi?chn=0
j'ai bien le flux dans le widget mais par contre pour tout ce qui est mouvement rien ne fonctionne.
J'ai essayé plusieurs des modèles prédéfinis et à mon avis toute les commandes du types
/cgi-bin/CGIProxy.fcgi?usr%3D#username#%26pwd%3D#password#%26cmd%3DptzMoveDown%261438440651839
qui sont les principales pour tout les modèles motorisés ne fonctionnent pas avec cette caméra.
Auriez vous une piste soit pour les commandes soit pour le modèle à appliquer ?
Sachant que je vais continuer à les essayer on ne sait jamais.

adb26
Timide
Messages : 67
Inscription : 05 févr. 2017, 12:52

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par adb26 » 21 déc. 2017, 20:50

Bonjour,

pour la Q3 les commande sont:

http://#username#:#password#@ip:port/hy-cgi/ptz.cgi?cmd=ptzctrl&act=left
http://#username#:#password#@ip:port/hy-cgi/ptz.cgi?cmd=ptzctrl&act=right
http://#username#:#password#@ip:port/hy-cgi/ptz.cgi?cmd=ptzctrl&act=up
http://#username#:#password#@ip:port/hy-cgi/ptz.cgi?cmd=ptzctrl&act=down
http://#username#:#password#@ip:port/hy-cgi/ptz.cgi?cmd=ptzctrl&act=stop
Cordi@lement
< OrangePiPlus2e + Teracom + Z-Wave Plus + EnOcean+ >

bargaroth
Timide
Messages : 1
Inscription : 02 janv. 2018, 14:16

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par bargaroth » 02 janv. 2018, 14:20

Bonjour,

J'ai aussi des problèmes avec la w3. Impossible de recupérer le flux vidéo. Ma caméra fonctionne pourtant bien dans Zoneminder.

En utilisant le plugin RSTP, j'utilise ce canal pour tenter la récupération du flux: /live/ch0

Est-ce que quelqu'un a réussi depuis ?

Merci d'avance

chacha27940
Timide
Messages : 6
Inscription : 04 janv. 2018, 10:07

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par chacha27940 » 04 janv. 2018, 10:55

Bonjour,

Pour commencer merci pour le travail de chacun, et excusez moi par avance pour ma noob-attitude sur la domotique en général, je commence à peine.

Alors, j'ai installé la dernière version de jeedom sur mon rpi , derrière une Freebox et tout est ok.
Je commence par rajouter une caméra qui traîne chez moi, il s'agit d'une Q3 wansview.
J'ai installé le plugin caméra, et avec l'url fournit plus haut : URL de capture = /mjpeg/snap.cgi?chn=0 -> OK

Par contre je n'arrive pas à faire fonctionner les commandes.
J'ai essayé les urls fournit sur ce topic -> EX: http://#username#:#password#@ip:port/hy-cgi/ptz.cgi?cmd=ptzctrl&act=left sans succès

J'ai intercepté les commandes envoyé depuis le navigateur connecté sur la caméra (la commande fonctionne) et je retrouve bien la partie "/hy-cgi/ptz.cgi?cmd=ptzctrl&act=left"
Toutefois les urls interceptés sont sans authentifications!!!

Je sèche un peu
Est qu'une ame charitable quels sont les commandes à placé dans Jeedom SVP?

Cordialement

chacha27940
Timide
Messages : 6
Inscription : 04 janv. 2018, 10:07

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par chacha27940 » 05 janv. 2018, 06:29

Hello,

Petit up, car apparemment sur Amazon, à 08h00 ce jour une vente flash commence sur la K2

Morvanf
Timide
Messages : 16
Inscription : 31 déc. 2017, 11:59

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par Morvanf » 06 janv. 2018, 13:26

Bonjour à tous

J ai une caméra Wansview Q3 et j’aimerai la piloter via jeedom. Quel plugin Avez-vous utiliser svp ?

Je vous remercie

chacha27940
Timide
Messages : 6
Inscription : 04 janv. 2018, 10:07

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par chacha27940 » 06 janv. 2018, 17:10

le plugin camera suffit, et tu mets /mjpeg/snap.cgi?chn=0 dns url de capture, plus les autres champs naturellement.
Par contre je n'ai pas reussi a faire fonctionner les commandes... si tu réussi je suis preneur!

Morvanf
Timide
Messages : 16
Inscription : 31 déc. 2017, 11:59

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par Morvanf » 07 janv. 2018, 15:19

Ok je testerai ce soir. Merci

chacha27940
Timide
Messages : 6
Inscription : 04 janv. 2018, 10:07

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par chacha27940 » 07 janv. 2018, 20:01

Pour info, pour pouvoir piloter la caméra j'ai été obligé d'utiliser le plugin script, et de faire un petit script php et maintenant je peux piloter la caméra.

Cordialement

Morvanf
Timide
Messages : 16
Inscription : 31 déc. 2017, 11:59

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par Morvanf » 07 janv. 2018, 21:17

Bonsoir j'arrive finalement à utiliser ma cam avec jeedom et le plugin rtsp.

Pouvez-vous partager votre script svp ?

Je vous remercie

chacha27940
Timide
Messages : 6
Inscription : 04 janv. 2018, 10:07

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par chacha27940 » 08 janv. 2018, 03:04

testé sur la Q3

Il faut appeler le sript comme cela :
/var/www/html/plugins/script/core/ressources/script_camera.php left
/var/www/html/plugins/script/core/ressources/script_camera.php right
/var/www/html/plugins/script/core/ressources/script_camera.php up
/var/www/html/plugins/script/core/ressources/script_camera.php down

et bien sur remplacer IPCAMERA, LOGIN, PASSWORD partout par vos propres valeurs.

Code : Tout sélectionner

<?php

$url = 'http://IPCAMERA/hy-cgi/ptz.cgi?cmd=ptzctrl&act='.$argv[1];
exec(" curl --digest -u LOGIN:PASSWORD -X GET '$url' > /dev/null"); 
sleep(0.5);
exec(" curl --digest -u LOGIN:PASSWORD -X GET 'http://IPCAMERA/hy-cgi/ptz.cgi?cmd=ptzctrl&act=stop' > /dev/null"); 

?>
Cordialement

Avatar de l’utilisateur
Greenstuff
Timide
Messages : 1
Inscription : 27 janv. 2018, 07:49
Localisation : Bordeaux
Contact :

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par Greenstuff » 27 janv. 2018, 08:46

Salut tout le monde ! Je ne participe pas souvent aux forum mais là j'ai creusé ton histoire de scripts et je tiens à reformuler ça de manière précise vu comment j'ai galéré à comprendre le fonctionnement ^^

---------------------------------------------------------

Tout d'abord, installez le plugin "Script" dans Jeedom et le démarrer.

Avec ce plugin, créez un Equipement et appelez le comme vous voulez.

---------------------------------------------------------

Rendez-vous dans l'onglet "Commandes" de cet Equipement, "Ajouter une commande script" et commencez par passer le "Type" en action.

Cliquez sur "Nouveau" pour créer un nouveau Script, Jeedom va vous demander le nom de votre script, nommez le PRÉCISÉMENT "script_camera.php" puis validez.
Vous vous retrouvez là où il faut entrer le PHP fournit par "chacha27940" comme ceci :
Script PHP Commandes Q3.PNG
Script PHP Commandes Q3.PNG (22.14 Kio) Consulté 11373 fois
Enregistrez et dans le bloc "Requête", vous devez modifier la ligne qui s'est ajoutée et ajouter "up" à la fin pour définir la commande.
J'appelle d'ailleurs cette commande "Up".

Créez une commande pour chaque actions comme ceci en mettant à la fin de chaque ligne la commande appropriée, enfin, référez vous aux images c'est plus clair ^^
Script_camera.PNG
Script_camera.PNG (702.72 Kio) Consulté 11373 fois
Ah oui ! Le script on le crée une seule fois pour la première commande et pour les autres on y fait appel grâce au bouton "Parcourir" et on ajoute juste le petit "up", "down", "left", "right" à la fin de chaque ligne.

Comme vous le voyez sur cette image, j'ai pu ajouter le bouton "Centrer" avec la commande "home"

Pour le faire il faut créer un autre script qu'on appelle PRÉCISÉMENT "special_command.php" et on retire le stop du bout de PHP de tout à l'heure ce qui donne ceci :

Code : Tout sélectionner

<?php

$url = 'http://IPCAMERA/hy-cgi/ptz.cgi?cmd=ptzctrl&act='.$argv[1];
exec(" curl --digest -u LOGIN:PASSWORD -X GET '$url' > /dev/null");

?>
---------------------------------------------------------

Pour avoir les boutons sur le dashboard vous devez créer un "Virtuel" dans lequel vous déclenchez simplement vos script avec des commandes "Action". ;)

Ça donne ça :
Commandes Virtuel.PNG
Commandes Virtuel.PNG (514.47 Kio) Consulté 11372 fois
Fiou ! J'ai essayé de faire court ^^ Merci à vous pour vos méninges ! N'hésitez pas à demander si vous avez besoin ! a bientôt :)

vinceduss
Timide
Messages : 14
Inscription : 10 déc. 2015, 10:17

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par vinceduss » 25 juil. 2018, 11:13

Bonjour,

j'ai modifié le script pour qu'il réponde à différent besoin pour plusieurs caméra, je partage :

Code : Tout sélectionner

<?php

$ip_cam = $argv[1];
$act_cam = $argv[2];

$username = 'username';
$password = 'password';

switch ($act_cam) {
  case "up":
  case "down":
  case "left":
  case "right":
  case "hscan":
  case "vscan":
  case "stop":
    $url = 'http://'.$ip_cam.'/hy-cgi/ptz.cgi?cmd=ptzctrl&act='.$act_cam;
    break;
  case 1:
  case 2:
  case 3:
  case 4:
  case 5:
  case 6:
  case 7:
  case 8:
    $url = 'http://'.$ip_cam.'/hy-cgi/ptz.cgi?cmd=preset&act=goto&number='.$act_cam;
    break;
  case "tour":
    $url = 'http://'.$ip_cam.'/hy-cgi/ptz.cgi?cmd=preset&act='.$act_cam;
    break;
  case "zoomin":
  case "zoomout":
    $url = 'http://'.$ip_cam.'/hy-cgi/ptz.cgi?cmd=zoomctrl&act='.$act_cam;
    break;
  case "alarmon":
    $url = 'http://'.$ip_cam.'/hy-cgi/alarm.cgi?cmd=setmdattr&enable=1&sensitivity=30&left=0&top=0&right=1920&bottom=1080&index=0&name=MD0';
    break;
  case "alarmoff":
    $url = 'http://'.$ip_cam.'/hy-cgi/alarm.cgi?cmd=setmdattr&enable=0&sensitivity=30&left=0&top=0&right=1920&bottom=1080&index=0&name=MD0';
    break;
  case "iron":
    $url = 'http://'.$ip_cam.'/hy-cgi/irctrl.cgi?cmd=setinfrared&infraredstatus=open';
    break;    
  case "iroff":
    $url = 'http://'.$ip_cam.'/hy-cgi/irctrl.cgi?cmd=setinfrared&infraredstatus=close';
    break;
  case "irauto":
    $url = 'http://'.$ip_cam.'/hy-cgi/irctrl.cgi?cmd=setinfrared&infraredstatus=auto';
    break;
  case "ioflag":
    $url = 'http://'.$ip_cam.'/hy-cgi/alarm.cgi?cmd=setioattr&io_enable=1&io_flag=0';
    break;

}

exec(" curl --digest -u $username:$password -X GET '$url' > /dev/null"); 

switch ($act_cam) {
  case "up":
  case "down":
  case "left":
  case "right":
    sleep(1);
    $url = 'http://'.$ip_cam.'/hy-cgi/ptz.cgi?cmd=ptzctrl&act=stop';
    exec(" curl --digest -u $username:$password -X GET '$url' > /dev/null");
    break;
  case "alarmon":
    $url = 'http://'.$ip_cam.'/hy-cgi/alarm.cgi?cmd=setaudioalarmattr&aa_enable=1&aa_value=3';
    exec(" curl --digest -u $username:$password -X GET '$url' > /dev/null");
    break;
  case "alarmoff":
    $url = 'http://'.$ip_cam.'/hy-cgi/alarm.cgi?cmd=setaudioalarmattr&aa_enable=0&aa_value=3';
    exec(" curl --digest -u $username:$password -X GET '$url' > /dev/null");
    break;
  case "ioflag":
    sleep(10);
    $url = 'http://'.$ip_cam.'/hy-cgi/alarm.cgi?cmd=setioattr&io_enable=0&io_flag=1';
    exec(" curl --digest -u $username:$password -X GET '$url' > /dev/null");
    break;
}
?>
De la même manière que précédemment, sauf que l'on passe deux arguments, l'adresse IP et la commande :

Code : Tout sélectionner

/var/www/html/core/php/../../plugins/script/core/ressources/Controle_Camera.php XXX.XXX.XXX.XXX commande
Pour les commandes vous avez :
up, down, left, right, stop, hscan, vscan pour le contrôle des mouvements ;
1, 2, 3, 4, 5, 6, 7, 8 pour appeler des positions préréglées (configurées initialement via l'appli pour ma part, mais on pourrait l'ajouter au script) ;
alarmon, alarmoff pour activer/désactiver l'alarme de mouvement et de son sur une plage de 1920x1080 ;
iron, iroff, irauto pour gérer l'infrarouge ;
ioflag pour envoyer à la caméra une alarme qui déclenchera les actions programmées.

Pour une liste des commandes (d'une autre caméra de la marque) j'ai trouvé via google (rechercher : Wansview NCM625GB X-CGI) un blog allemand qui renvoi vers un PDF (CGI Dokument) avec une liste des commandes, pas toutes testées pour le moment.

Matt5918
Timide
Messages : 88
Inscription : 22 juil. 2018, 09:42

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par Matt5918 » 26 juil. 2018, 16:07

Salut,

J'ai une Wansview K2 (donc fixe) et une de ce type :
https://www.amazon.fr/dp/B074J312DR/ref ... 71_TE_dp_1

Je peux utiliser ton code pour controler le mouvement du coup ? ou au moins rappeler les positions définies.

vinceduss
Timide
Messages : 14
Inscription : 10 déc. 2015, 10:17

Re: Intégration Caméra Wansview W3, K2 & Q3

Message par vinceduss » 26 juil. 2018, 16:44

Cela fonctionne pour moi sur Q3s et W2 (non motorisé) donc pas de raison que cela ne fonctionne pas sur la tienne, sauf microgiciel de la caméra différent.
Modifies peut être les zones de surveillance sur les commandes alarmon et alarmoff, elles sont en 1920x1080 sur mon code, je ne sais pas ce que cela peut faire avec une 720p.

Répondre

Revenir vers « [Plugin officiel] Caméra »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 3 invités