[Correction de bug] Ajout caméra ONVIF

Slt…

Il faut regarder son adresse IP et port, tu as quand même accès par un prog ?
Après on scan les appels à cette adresse…

hello, oui

ya meme une app sur windows, cette app fait partie d’une genre de norme entre plusieurs constructeurs chinois qui utilisent tous la meme app qui s’appelle V380

je tenterais de regarder avec du wireshark si c’est pas du https

le seul truc c’est du SOAP derriere j’ai l’impression et c’est pas du tout mon domaine :slight_smile:

Des fois, seulement en affichant le code source de la page, on a assez d’info pour s’y retrouver, après c’est pas pour cela que l’on arrive à l’intégrer facilement dans Jeedom :unamused:

ben dans mon cas, ya pas de code source à proprement dire seulement un retour d’erreur HTTP GET qui semble faire référence à des methodes POST d’apres mon url IP:8899

Slt…
On a tous les mêmes types de message si on appel le port du onvif, car c’est du xml…
Il te faut voir l’accès http et récupérer le port…Ou scruter avec « Wireshark »
@+DÖM (Ô¿Ô):vulcan_salute:

mmmh ces camera V380 sont vraiement intriguantes… Donc ma fameuse Xiaovv Q6S, avec ONVIFER sur Android le PTZ fonctionne aussi direct

En faisant un tilt down je vois cecidans les traces ONVIFER (extrait du log ) :

2020-08-12 22:58:46.810 8/20
Tilt-down button pressed.

2020-08-12 22:58:46.810 7/20
bPTZActive upon entering DoContinuousPanTilt(): true

2020-08-12 22:58:46.810 6/20
bPTZActive before sending ContinuousMove: true

2020-08-12 22:58:46.810 5/20
entering bPTZActive watchdog: true

2020-08-12 22:58:46.810 4/20
Sending command: ContinuousMove Authentication time:Wed Aug 12 22:58:47 GMT+02:00 2020
	http://192.168.2.4:8899/onvif/PTZ

2020-08-12 22:58:46.810 3/20
Entering SOAP call loop.

2020-08-12 22:58:46.810 2/20
Response: <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl"><SOAP-ENV:Header><wsa5:Action SOAP-ENV:mustUnderstand="true">http://www.onvif.org/ver20/ptz/wsdl/ContinuousMove</wsa5:Action></SOAP-ENV:Header><SOAP-ENV:Body><tptz:ContinuousMoveResponse></tptz:ContinuousMoveResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

2020-08-12 22:58:46.810 1/20
Continuous P/T.
P/T Start Response Time (ms): 35
Speed: x: 0.0 y: -0.2

2020-08-12 22:58:46.810 0/20
Continuous P/T successful response.

2020-08-12 22:58:46.910 7/20
Tilt-down button released.

2020-08-12 22:58:46.911 6/20
bPTZActive.bValue set to false

2020-08-12 22:58:46.911 5/20
Tilt-down button pressed.

2020-08-12 22:58:46.911 4/20
bPTZActive upon entering DoContinuousPanTilt(): true

2020-08-12 22:58:46.911 3/20
entering bPTZActive watchdog: true

2020-08-12 22:58:46.911 2/20
bPTZActive before sending ContinuousMove: true

2020-08-12 22:58:46.911 1/20
Sending command: ContinuousMove Authentication time:Wed Aug 12 22:58:47 GMT+02:00 2020
	http://192.168.2.4:8899/onvif/PTZ

2020-08-12 22:58:46.911 0/20
Entering SOAP call loop.

2020-08-12 22:58:47.011 8/20
Response: <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl"><SOAP-ENV:Header><wsa5:Action SOAP-ENV:mustUnderstand="true">http://www.onvif.org/ver20/ptz/wsdl/ContinuousMove</wsa5:Action></SOAP-ENV:Header><SOAP-ENV:Body><tptz:ContinuousMoveResponse></tptz:ContinuousMoveResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

2020-08-12 22:58:47.011 7/20
Continuous P/T.
P/T Start Response Time (ms): 45
Speed: x: 0.0 y: -0.2

2020-08-12 22:58:47.012 6/20
Continuous P/T successful response.

2020-08-12 22:58:47.012 5/20
Tilt-down button released.

2020-08-12 22:58:47.012 4/20
bPTZActive.bValue set to false

2020-08-12 22:58:47.012 3/20
leaving bPTZActive watchdog: false

2020-08-12 22:58:47.012 2/20
Sending stop command to stop either continuous or relative move.  bPTZActive: false

2020-08-12 22:58:47.012 1/20
Sending command: Stop Authentication time:Wed Aug 12 22:58:47 GMT+02:00 2020
	http://192.168.2.4:8899/onvif/PTZ

2020-08-12 22:58:47.012 0/20
Entering SOAP call loop.

2020-08-12 22:58:47.112 9/20
Response: <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl"><SOAP-ENV:Header><wsa5:Action SOAP-ENV:mustUnderstand="true">http://www.onvif.org/ver20/ptz/wsdl/Stop</wsa5:Action></SOAP-ENV:Header><SOAP-ENV:Body><tptz:StopResponse></tptz:StopResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

2020-08-12 22:58:47.112 8/20
Tilt-down button pressed.

2020-08-12 22:58:47.112 7/20
bPTZActive upon entering DoContinuousPanTilt(): true

2020-08-12 22:58:47.112 6/20
bPTZActive before sending ContinuousMove: true

2020-08-12 22:58:47.112 5/20
entering bPTZActive watchdog: true

2020-08-12 22:58:47.112 4/20
Sending command: ContinuousMove Authentication time:Wed Aug 12 22:58:48 GMT+02:00 2020
	http://192.168.2.4:8899/onvif/PTZ

2020-08-12 22:58:47.112 3/20
Entering SOAP call loop.

2020-08-12 22:58:47.112 2/20
Response: <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl"><SOAP-ENV:Header><wsa5:Action SOAP-ENV:mustUnderstand="true">http://www.onvif.org/ver20/ptz/wsdl/ContinuousMove</wsa5:Action></SOAP-ENV:Header><SOAP-ENV:Body><tptz:ContinuousMoveResponse></tptz:ContinuousMoveResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

2020-08-12 22:58:47.112 1/20
Continuous P/T.
P/T Start Response Time (ms): 49
Speed: x: 0.0 y: -0.2

2020-08-12 22:58:47.112 0/20
Continuous P/T successful response.

2020-08-12 22:58:47.213 12/20
Tilt-down button released.

2020-08-12 22:58:47.213 11/20
bPTZActive.bValue set to false

2020-08-12 22:58:47.213 10/20
leaving bPTZActive watchdog: false

2020-08-12 22:58:47.213 9/20
Sending stop command to stop either continuous or relative move.  bPTZActive: false

2020-08-12 22:58:47.213 8/20
Sending command: Stop Authentication time:Wed Aug 12 22:58:47 GMT+02:00 2020
	http://192.168.2.4:8899/onvif/PTZ