Giter VIP home page Giter VIP logo

jeedom-plugin-gds3710's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jeedom-plugin-gds3710's Issues

Impossible de prendre des snapshots (plugin incompatible avec les versions > 1.0.4.9)

Lorsque je prends un snapshot, l’image est bien créée dans le dossier mais elle est vide. J’ai vérifié les droits sur ce dossier pour mon user www-data, il a bien les droits d’ecriture. Depuis le plugin camera, je n’ai aucun problème pour prendre un snapshot du GDS.

Version de jeedom : 3.3.21 (Debian 9)
Version firmware GDS: 1.0.5.6

Compatibility issue with PHP 7.3

Voici les log présents, étrangement ou non il n'y pas pas beaucoup d'info, le log est bien sur error !
J'envoi les captures d'écran par mail.

[2019-09-17 18:38:59][DEBUG] : Snapshot has been requested
[2019-09-17 18:38:59][DEBUG] : URL array : Array ( [10002] => https://192.168.1.130/goform/login?cmd=login&user=admin&type=1 [64] => [81] => [19913] => 1 )
[2019-09-17 18:38:59][DEBUG] : URL return : 0OK
[2019-09-17 18:38:59][DEBUG] : String to be hashed : :XXX
[2019-09-17 18:38:59][DEBUG] : URL array : Array ( [10002] => https://192.168.1.130/goform/login?cmd=login&user=admin&authcode=5c4156a80af9f9153db4e3ac04ad5368&type=1 [64] => [81] => [19913] => 1 [42] => 1 )
[2019-09-17 18:39:00][DEBUG] : URL return : HTTP/1.0 200 OK Content-Type: text/xml;charset=UTF-8 2Password error !
[2019-09-17 18:39:00][DEBUG] : Trying to create the capture under : /var/www/html/core/php/../../plugins/gds3710/data/records/98/DoorPhone_2019-09-17_16-39-00-075600.jpg
[2019-09-17 18:39:00][DEBUG] : URL array : Array ( [10002] => https://192.168.1.130/snapshot/view0.jpg [64] => [81] => [19913] => 1 [10022] => [42] => [19914] => 1 [10001] => Resource id #10 )
[2019-09-17 18:39:00][DEBUG] : URL return : 1
[2019-09-17 18:39:00][DEBUG] : Closing the file
[2019-09-17 18:39:00][DEBUG] : Registering path to lastest picture
[2019-09-17 18:39:37][DEBUG] : Array ( [0] => DoorPhone [1] => 2019-09-17 [2] => 16-05-42-285100 )
[2019-09-17 18:39:37][DEBUG] : Array ( [0] => DoorPhone [1] => 2019-09-17 [2] => 16-39-00-075600 )
[2019-09-17 18:39:37][DEBUG] : Array ( [2019-09-17] => Array ( [16-05-42-285100] => DoorPhone_2019-09-17_16-05-42-285100.jpg [16-39-00-075600] => DoorPhone_2019-09-17_16-39-00-075600.jpg ) )
[2019-09-17 19:13:39][DEBUG] : Snapshot has been requested
[2019-09-17 19:13:39][DEBUG] : URL array : Array ( [10002] => https://192.168.1.130/goform/login?cmd=login&user=admin&type=1 [64] => [81] => [19913] => 1 )
[2019-09-17 19:13:39][DEBUG] : URL return : 07572c2ab8aa80401c5fac792d193bec6OK
[2019-09-17 19:13:39][DEBUG] : String to be hashed : xxxx
[2019-09-17 19:13:39][DEBUG] : URL array : Array ( [10002] => https://192.168.1.130/goform/login?cmd=login&user=admin&authcode=f9976fd35cacad6cbe898649bdec42ed&type=1 [64] => [81] => [19913] => 1 [42] => 1 )
[2019-09-17 19:13:39][DEBUG] : URL return : HTTP/1.0 200 OK Content-Type: text/xml;charset=UTF-8 Set-Cookie: mjpeg_sess=f9976fd35cacad6cbe898649bdec42ed;path=/; Set-Cookie: mjpeg_uname=admin;path=/; Set-Cookie: mjpeg_level=1;path=/; 0OK
[2019-09-17 19:13:39][DEBUG] : Trying to create the capture under : /var/www/html/core/php/../../plugins/gds3710/data/records/98/DoorPhone_2019-09-17_17-13-39-369900.jpg
[2019-09-17 19:13:39][DEBUG] : URL array : Array ( [10002] => https://192.168.1.130/snapshot/view0.jpg [64] => [81] => [19913] => 1 [10022] => mjpeg_sess=f9976fd35cacad6cbe898649bdec42ed;mjpeg_uname=admin;mjpeg_level=1 [42] => [19914] => 1 [10001] => Resource id #8 )
[2019-09-17 19:13:39][DEBUG] : URL return : 1
[2019-09-17 19:13:39][DEBUG] : Closing the file
[2019-09-17 19:13:39][DEBUG] : Registering path to lastest picture
[2019-09-17 19:14:03][DEBUG] : Array ( [0] => DoorPhone [1] => 2019-09-17 [2] => 17-13-39-369900 )
[2019-09-17 19:14:03][DEBUG] : Array ( [2019-09-17] => Array ( [17-13-39-369900] => DoorPhone_2019-09-17_17-13-39-369900.jpg ) )
[2019-09-17 19:15:15][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=gds3710 function=pre_update callInstallFunction=1
[2019-09-17 19:15:18][INFO] : Début d'activation du plugin
[2019-09-17 19:15:19][INFO] : Info sur le démon : Array ( [launchable_message] => [launchable] => nok [state] => nok [log] => nok [auto] => 0 )
[2019-09-17 19:15:19][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=gds3710 function=update callInstallFunction=1
[2019-09-22 01:36:49][ERROR] : Aucun équipement trouvé avec l'adresse MAC :
[2019-09-23 09:37:18][ERROR] : Aucun équipement trouvé avec l'adresse MAC :
[2019-09-23 09:37:19][ERROR] : Aucun équipement trouvé avec l'adresse MAC :
[2019-09-23 09:37:21][ERROR] : Aucun équipement trouvé avec l'adresse MAC :
[2019-09-23 15:00:47][ERROR] : Aucun équipement trouvé avec l'adresse MAC :
[2019-09-23 15:00:49][ERROR] : Aucun équipement trouvé avec l'adresse MAC :
[2019-09-23 15:00:50][ERROR] : Aucun équipement trouvé avec l'adresse MAC :

Improving management of snapshots and of the content of Lastest_Snapshot_URL and Lastest_Snapshot_Path commands

Commands Lastest_Snapshot_URL and Lastest_Snapshot_Path contain URL and path to the lastest snapshot. But if the snapshot has been deleted, then the picture cannot be displayed in the widget and an error 404 occurs.

  1. We could implement a way to manage commands value during the Ajax call to remove the snapshot.

  2. We could check if the file exist before displaying it in the widget and therefore removing the 404 error.

Intégrer les interactions SIP

J’ai commencé à regarder pour utiliser le plugin ClientSIP de Mika-nt28, mais il n’est pas encore fonctionnel.
Le top serait évidemment de pouvoir utiliser le visiophone comme un vrai visiophone avec notre tablette ou smartphone. En évitant un temps soit peu de devoir monter un serveur SIP !!!!!

No video preview

Hi,
Very nice job !
I'm on latest Jeddom version and GDS plugin.
I have checked all my configuration with good documentation
Since one month, I can view video in my plugin page, button open door work correctly door work correctly.
Any idee ?
Thanks
Christophe

Ajout d'un deuxième bouton d'ouverture

L'un des derniers firmware ajoute la possibilité d'utiliser la sortie contact sec alarme (ALMOUT1) comme 2ème contact d'ouverture de porte permettant ainsi de pouvoir ouvrir le portail et le portillon par exemple.

Serait-il possible de l'ajouter dans le plugin ?

Le fonctionnement via l'api est exactement le même que l'ouverture du porte actuel, même authentification, même url,... la seule chose qui change pour déterminer quelle porte ouvrir c'est le remote PIN.

Il y a donc maintenant 2 remote PIN à définir dans l'interface du gds3710.

Il faudrait donc pouvoir définir ces 2 remote PIN dans l'équipement Jeedom et prévoir 2 boutons d'ouverture sur le widget.

Merci :) et bravo pour ce plugin tellement utile !

Firmware compatibilities

Do you know if the latest firmware is compatible with your jeedom plugin ?

The firmware is the 1.0.7.8

you can found the release note here :
Release Note

Envoyer un snapshot via SMS ou autre

Envoyer un snapshot via SMS ou autre

Est-ce qu’il serait possible d’étendre l’envoi de snapshots via SMS (plugins JPI), mais également a l’application mobile, et autre

Frequent disconnexion

When the SIP client is running inside Jeedom disconnection from SIP server happens frequently but when the code is run alone out side Jeedom. Everything runs smoothly.

A thread has been opened in the Jeedom forum : [https://community.jeedom.com/t/integration-dun-client-sip-javascript-dans-un-widget-probleme-de-stabilite-de-la-connexion/26029)]

Checking ACL on the record directory before writing snapshots files

Currently there is no possibility for the user to check is the right on record directory are set the right way.

  1. We could implement a button in the configuration panel to check it. It could be located near of the record directory field.

  2. When a snapshot is taken we could display an error if the snapshot failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.