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 !

[Plugin Tiers] Plugin Protocole In One By Legrand (IOBL)

Pour échanger sur les plugins classés en catégorie "Protocoles domotiques"
Répondre
xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

[Plugin Tiers] Plugin Protocole In One By Legrand (IOBL)

Message par xdeco » 26 nov. 2014, 23:08

Bonjour

J'ai une installation équipée d'inter scénario CPL Legrand qui communique via le protocole In One, a priori il serai possible de communiqué entre le convertisseur USB/Legrand (ref 882 13) via un server boxio raphbery, Pensez-vous que le PlugIns pour communiquer entre la Jeedom et Boxio soit la solution la plus simple pour que je puisse piloter mes Inters CPL Legrand via la Jeedom. :?:

Voici quelque lien que j'ai touvé qui m'oriente vers ce choix :
https://code.google.com/p/boxio/
http://www.myopen-legrandgroup.com/reso ... fault.aspx

Merci pour vos conseils :|

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par apages » 18 févr. 2015, 11:53

Bonjour,

Je suis en train (d'essayer) de developper un plugin pour le protocole IOBL.

Ma base est le plugin de Loic (RFXCOM) et le code de Michel qui se trouve sur le premier lien que tu as donné

Je devrais pouvoir fournir une première version dans les semaines à venir (encore quelque soucis a résoudre)

Cordialement
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par xdeco » 20 févr. 2015, 21:23

Bonjour

Tu développe ce plugin en collaboration avec Michel ?
Ce PugIns sera une passerelle entre Jeedom et Boxio ou tu récupères le code de Michel que tu modifie pour l'intégrer dans Jeedoom?
J'ai installé Boxio et pour l'instant, je suis impressionné du travail de développement qu'a effectué Michel il a eu une vision globale du protocole il gére le RF le CPL.
De plus Boxio est Stable.
Enfin moi je ne suis pas un développeur par-contre je peux faire le beta testeur sur mon installation

Bon courage ;)

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par apages » 20 févr. 2015, 22:11

Bonjour,

Pour l'instant j'ai développé tout seul de mon coté, mais en utilisant le code de Michel bien entendu. Il sera bientôt mis a contribution car je n'utilise qu'a 10% boxio aujourd'hui (2 types de modules sans retour d'etat).

Le code sera un plugin dans jeedom, pas une passerelle

Je vais bientôt le mettre en ligne (la version beta, voir alpha) et ensuite on avancera sur les sujets que je n'ai pu valider avec mon installation

Cordialement
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par apages » 05 mars 2015, 21:57

Bonjour,

Mon plugin est quasi opérationnel.

Celui-ci devrait etre dispo via le market d'ici ce week end. En espérant trouver de nombreuses personne intéressée

Bye
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par xdeco » 07 mars 2015, 14:46

Bonjour,

Et Bien cela me trou le cul :shock: Bravo à Aurélien Michel et Loic pour ce travail d'intégration de Boxio dans Jeedom
je crois que je serai un de vos beta testeur

Comme cela vient tout juste de sortir du four sur Jeedom je vais m’imprégner du sujet avant de vous poser un tas de questions ;)

Encore une fois merci pour ce boulot

Topette et félicitation

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par apages » 07 mars 2015, 16:59

Bonjour,

Effectivement, cela sort du four. Je n'ai aujourd'hui pu tester qu'avec des inter de volet, et je vais continuer mes tests dans les jours qui arrive avec des sorties de cable CPL 67445 et un thermostat 67449, mais c'est les seules équipements Legrand que j'ai.

Je pense que Michel pourra m'aider a effectuer le test d'autre equipements
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par xdeco » 07 mars 2015, 18:40

Bonjour

Je dispose des inters suivant

672 01 1 Inter Simple CPL
672 02 4 Inter Double CPL
672 08 5 Inter Sénario (2 senario) CPL
672 80 1 Inter Senario CPL (4 senarios)

Je vais installer Jeedom sur le Pi a la place de BOXIO afin de pouvoir tester le Plug In je pense que cela sera plus simple pour moi car actuellement Jeedom tourne sur une VM.

A Bientôt

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par apages » 07 mars 2015, 18:50

Bonjour

Attention tout de meme, le plugin jeedom n'est pour l'instant qu'en version beta et est loin de pouvoir faire ce que fait Boxio

Si tu as deux cartes SD, il serait interressant d'avoir les deux systèmes

Cordialement
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par xdeco » 07 mars 2015, 22:44

Pour Info je viens de l'installer et il est démarré il tourne et je vois les équipements je n'est pas effectuer de commande car mes inter ne sont pas la BD composant et j'aurai besoin de ton aide pour les intégrer. Mais les débuts sont prometteur.

PS J'ai gardé une sauvegarde de BOXIO

@+ ;)
Pièces jointes
Boxio dans Jeedom.JPG
Boxio dans Jeedom.JPG (118.18 Kio) Consulté 6525 fois

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par apages » 07 mars 2015, 22:52

ON va faire ca par etape. composant par composant

ce qui aurais été interresant c'est d'avoir les requetes de boxio pour les coder en json

quel est la ref du module?
dans boxio la commande était sous quel forme ? Bus_Command, Dimension_Set?

Ce que tu peux faire, aussi c'est de demarrer le plugin en mode debug et appuyer sur les diffeerents bouton de ton premier type de module

Ensuite m'envoyer les logs ou directement les trames que tu recois
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

Re: PlugIns Protocol In One By Legrand (IOBL)

Message par xdeco » 08 mars 2015, 09:29

Bonjour

voici la référence LEGRAND Inter Double 672 02 ID 944559 (ID sur l'Inter)
ID+UNIT 15112945 correspond au bouton gauche
ID+UNIT 15112946 correspond au bouton droit

Voici le Log

2015-03-08 08:19:37,069 - MainThread - boxio:641 - DEBUG - Python version: 2.7.3
2015-03-08 08:19:37,071 - MainThread - boxio:642 - DEBUG - BOXIOCMD Version: 0.1
2015-03-08 08:19:37,073 - MainThread - boxio:643 - DEBUG - Date: 2015-01-25 18:19:06 +0200
2015-03-08 08:19:37,074 - MainThread - boxio:647 - DEBUG - Configfile: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,076 - MainThread - boxio:648 - DEBUG - Read configuration file
2015-03-08 08:19:37,081 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,082 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,085 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,096 - MainThread - boxio:289 - DEBUG - Get the configuration item: serial_active
2015-03-08 08:19:37,099 - MainThread - boxio:293 - DEBUG - Found: yes
2015-03-08 08:19:37,102 - MainThread - boxio:295 - DEBUG - --> yes
2015-03-08 08:19:37,104 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,105 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,107 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,109 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,134 - MainThread - boxio:289 - DEBUG - Get the configuration item: serial_device
2015-03-08 08:19:37,138 - MainThread - boxio:293 - DEBUG - Found: /dev/ttyACM0
2015-03-08 08:19:37,139 - MainThread - boxio:295 - DEBUG - --> /dev/ttyACM0
2015-03-08 08:19:37,141 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,151 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,152 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,159 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,187 - MainThread - boxio:289 - DEBUG - Get the configuration item: serial_rate
2015-03-08 08:19:37,190 - MainThread - boxio:293 - DEBUG - Found: 115200
2015-03-08 08:19:37,192 - MainThread - boxio:295 - DEBUG - --> 115200
2015-03-08 08:19:37,196 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,198 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,199 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,201 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,212 - MainThread - boxio:289 - DEBUG - Get the configuration item: serial_timeout
2015-03-08 08:19:37,216 - MainThread - boxio:293 - DEBUG - Found: 9
2015-03-08 08:19:37,218 - MainThread - boxio:295 - DEBUG - --> 9
2015-03-08 08:19:37,220 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,221 - MainThread - boxio:329 - DEBUG - Serial device: /dev/ttyACM0
2015-03-08 08:19:37,223 - MainThread - boxio:330 - DEBUG - Serial rate: 115200
2015-03-08 08:19:37,225 - MainThread - boxio:331 - DEBUG - Serial timeout: 9
2015-03-08 08:19:37,226 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,228 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,230 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,241 - MainThread - boxio:289 - DEBUG - Get the configuration item: process_boxiomsg
2015-03-08 08:19:37,245 - MainThread - boxio:293 - DEBUG - Found: yes
2015-03-08 08:19:37,247 - MainThread - boxio:295 - DEBUG - --> yes
2015-03-08 08:19:37,249 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,250 - MainThread - boxio:339 - DEBUG - Process boxiomsg: True
2015-03-08 08:19:37,251 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,253 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,256 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,267 - MainThread - boxio:289 - DEBUG - Get the configuration item: socketserver
2015-03-08 08:19:37,271 - MainThread - boxio:293 - DEBUG - Found: yes
2015-03-08 08:19:37,273 - MainThread - boxio:295 - DEBUG - --> yes
2015-03-08 08:19:37,274 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,276 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,278 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,280 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,297 - MainThread - boxio:289 - DEBUG - Get the configuration item: sockethost
2015-03-08 08:19:37,300 - MainThread - boxio:293 - DEBUG - Found: 127.0.0.1
2015-03-08 08:19:37,302 - MainThread - boxio:295 - DEBUG - --> 127.0.0.1
2015-03-08 08:19:37,303 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,305 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,307 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,309 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,320 - MainThread - boxio:289 - DEBUG - Get the configuration item: socketport
2015-03-08 08:19:37,324 - MainThread - boxio:293 - DEBUG - Found: 55002
2015-03-08 08:19:37,325 - MainThread - boxio:295 - DEBUG - --> 55002
2015-03-08 08:19:37,328 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,329 - MainThread - boxio:349 - DEBUG - SocketServer: True
2015-03-08 08:19:37,330 - MainThread - boxio:350 - DEBUG - SocketHost: 127.0.0.1
2015-03-08 08:19:37,332 - MainThread - boxio:351 - DEBUG - SocketPort: 55002
2015-03-08 08:19:37,334 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,335 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,337 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,349 - MainThread - boxio:289 - DEBUG - Get the configuration item: daemon_active
2015-03-08 08:19:37,352 - MainThread - boxio:293 - DEBUG - Found: yes
2015-03-08 08:19:37,354 - MainThread - boxio:295 - DEBUG - --> yes
2015-03-08 08:19:37,356 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,357 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,359 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,361 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,372 - MainThread - boxio:289 - DEBUG - Get the configuration item: daemon_pidfile
2015-03-08 08:19:37,376 - MainThread - boxio:293 - DEBUG - Found: /tmp/boxiocmd.pid
2015-03-08 08:19:37,377 - MainThread - boxio:295 - DEBUG - --> /tmp/boxiocmd.pid
2015-03-08 08:19:37,379 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,381 - MainThread - boxio:360 - DEBUG - Daemon_active: True
2015-03-08 08:19:37,382 - MainThread - boxio:361 - DEBUG - Daemon_pidfile: /tmp/boxiocmd.pid
2015-03-08 08:19:37,384 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,386 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,388 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,404 - MainThread - boxio:289 - DEBUG - Get the configuration item: log_msg
2015-03-08 08:19:37,407 - MainThread - boxio:293 - DEBUG - Found: yes
2015-03-08 08:19:37,409 - MainThread - boxio:295 - DEBUG - --> yes
2015-03-08 08:19:37,411 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,412 - MainThread - boxio:270 - DEBUG - Open configuration file
2015-03-08 08:19:37,414 - MainThread - boxio:271 - DEBUG - File: /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/config.xml
2015-03-08 08:19:37,416 - MainThread - boxio:281 - DEBUG - Parse config XML data
2015-03-08 08:19:37,427 - MainThread - boxio:289 - DEBUG - Get the configuration item: log_msgfile
2015-03-08 08:19:37,431 - MainThread - boxio:293 - DEBUG - Found: /usr/share/nginx/www/jeedom/core/class/../../log/boxio.message
2015-03-08 08:19:37,433 - MainThread - boxio:295 - DEBUG - --> /usr/share/nginx/www/jeedom/core/class/../../log/boxio.message
2015-03-08 08:19:37,435 - MainThread - boxio:300 - DEBUG - Return
2015-03-08 08:19:37,436 - MainThread - boxio:674 - DEBUG - Daemon
2015-03-08 08:19:37,439 - MainThread - boxio:675 - DEBUG - Check PID file
2015-03-08 08:19:37,441 - MainThread - boxio:680 - DEBUG - PID file '/tmp/boxiocmd.pid'
2015-03-08 08:19:37,443 - MainThread - boxio:688 - DEBUG - PID file does not exists
2015-03-08 08:19:37,444 - MainThread - boxio:696 - DEBUG - Check platform
2015-03-08 08:19:37,446 - MainThread - boxio:703 - DEBUG - Platform: linux2
2015-03-08 08:19:37,448 - MainThread - boxio:706 - DEBUG - Write PID file
2015-03-08 08:19:37,450 - MainThread - boxio:713 - DEBUG - Deactivate screen printouts
2015-03-08 08:19:37,452 - MainThread - boxio:716 - DEBUG - Start daemon
2015-03-08 08:19:37,487 - MainThread - boxio:555 - DEBUG - Writing PID 21482 to /tmp/boxiocmd.pid
2015-03-08 08:19:37,521 - MainThread - boxio:399 - DEBUG - Start listening...
2015-03-08 08:19:37,523 - MainThread - boxio:402 - DEBUG - Open serial port
2015-03-08 08:19:37,535 - MainThread - boxio:571 - DEBUG - Serial extension version: 2.5
2015-03-08 08:19:37,537 - MainThread - boxio:580 - DEBUG - Device: /dev/ttyACM0
2015-03-08 08:19:37,539 - MainThread - boxio:588 - DEBUG - Open Serialport
2015-03-08 08:19:37,801 - Thread-1 - boxio_socket:65 - DEBUG - LoopNetServer Thread started
2015-03-08 08:19:37,804 - MainThread - boxio:414 - DEBUG - Socket interface started
2015-03-08 08:19:37,803 - Thread-1 - boxio_socket:66 - DEBUG - Listening on: [127.0.0.1:55002]
2015-03-08 08:19:55,337 - MainThread - boxio:173 - DEBUG - Timestamp: 2015-03-08 08:19:55
2015-03-08 08:19:55,339 - MainThread - boxio:174 - DEBUG - SerWaiting: 17
2015-03-08 08:19:55,352 - MainThread - boxio:187 - DEBUG - Message: *1*1*0#15112945##
2015-03-08 08:19:55,354 - MainThread - boxio:188 - DEBUG - Send trame to Jeedom
2015-03-08 08:19:55,356 - MainThread - boxio:190 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*1*1*0#15112945##
2015-03-08 08:19:55,363 - MainThread - boxio:429 - DEBUG - Processed: *1*1*0#15112945##
2015-03-08 08:19:55,366 - Thread-2 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 08:19:56,356 - Thread-2 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 08:19:56,358 - Thread-2 - boxio_command:45 - DEBUG - Thread finished
2015-03-08 08:19:56,789 - MainThread - boxio:173 - DEBUG - Timestamp: 2015-03-08 08:19:56
2015-03-08 08:19:56,791 - MainThread - boxio:174 - DEBUG - SerWaiting: 17
2015-03-08 08:19:56,799 - MainThread - boxio:187 - DEBUG - Message: *1*0*0#15112945##
2015-03-08 08:19:56,801 - MainThread - boxio:188 - DEBUG - Send trame to Jeedom
2015-03-08 08:19:56,803 - MainThread - boxio:190 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*1*0*0#15112945##
2015-03-08 08:19:56,810 - MainThread - boxio:429 - DEBUG - Processed: *1*0*0#15112945##
2015-03-08 08:19:56,812 - Thread-4 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 08:19:57,792 - Thread-4 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 08:19:57,794 - Thread-4 - boxio_command:45 - DEBUG - Thread finished
2015-03-08 08:19:58,236 - MainThread - boxio:173 - DEBUG - Timestamp: 2015-03-08 08:19:58
2015-03-08 08:19:58,238 - MainThread - boxio:174 - DEBUG - SerWaiting: 17
2015-03-08 08:19:58,257 - MainThread - boxio:187 - DEBUG - Message: *1*1*0#15112946##
2015-03-08 08:19:58,259 - MainThread - boxio:188 - DEBUG - Send trame to Jeedom
2015-03-08 08:19:58,265 - MainThread - boxio:190 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*1*1*0#15112946##
2015-03-08 08:19:58,285 - MainThread - boxio:429 - DEBUG - Processed: *1*1*0#15112946##
2015-03-08 08:19:58,288 - Thread-6 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 08:19:59,195 - Thread-6 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 08:19:59,198 - Thread-6 - boxio_command:45 - DEBUG - Thread finished
2015-03-08 08:19:59,501 - MainThread - boxio:173 - DEBUG - Timestamp: 2015-03-08 08:19:59
2015-03-08 08:19:59,503 - MainThread - boxio:174 - DEBUG - SerWaiting: 17
2015-03-08 08:19:59,512 - MainThread - boxio:187 - DEBUG - Message: *1*0*0#15112946##
2015-03-08 08:19:59,514 - MainThread - boxio:188 - DEBUG - Send trame to Jeedom
2015-03-08 08:19:59,515 - MainThread - boxio:190 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*1*0*0#15112946##
2015-03-08 08:19:59,522 - MainThread - boxio:429 - DEBUG - Processed: *1*0*0#15112946##
2015-03-08 08:19:59,525 - Thread-8 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 08:20:00,417 - Thread-8 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 08:20:00,419 - Thread-8 - boxio_command:45 - DEBUG - Thread finished

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: Plugin Protocole In One By Legrand (IOBL)

Message par apages » 08 mars 2015, 13:26

Je regarde ça dans la soirée et te propose une première version

Par contre pour le 67202, cela correspondra à deux équipements (1 par unit)
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

Re: Plugin Protocole In One By Legrand (IOBL)

Message par xdeco » 08 mars 2015, 14:18

Ok Merci

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: Plugin Protocole In One By Legrand (IOBL)

Message par apages » 08 mars 2015, 20:25

Je suis en train d'envoyer les deux fichier json.

tu devrais pourvoir les tester dans quelques minutes

en terme de fonctionnement, normalement le plugin a du te trouver deux équipements :

1 avec l'id 15112946 et l'autre avec l'id 15112945

Les deux doivent etre reconnus dans la category lumière?

j'ai aussi générer le fichier du 67201 (qui est identique, mais pour les prochaines évolution, il faudra que le fichier est le meme nom que le module Legrand)

Tiens moi au courant
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

Re: Plugin Protocole In One By Legrand (IOBL)

Message par xdeco » 08 mars 2015, 21:52

Je viens de le tester 67202 ça marche par contre il y a des erreurs voici ce que j'ai quand j'envoie la commande:
J'ai testé le 67201 c'est Ok aussi pour les commandes.

2015-03-08 21:05:46,929 - Thread-1 - boxio_socket:46 - DEBUG - Client connected to [127.0.0.1:47325]
2015-03-08 21:05:46,935 - Thread-1 - boxio_socket:49 - DEBUG - Message read from socket: *1*1*#15112945##
2015-03-08 21:05:46,937 - Thread-1 - boxio_socket:52 - DEBUG - Client disconnected from [127.0.0.1:47325]
2015-03-08 21:05:46,950 - MainThread - boxio:240 - DEBUG - Message received in socket messageQueue
2015-03-08 21:05:46,952 - MainThread - boxio:214 - DEBUG - Test message: *1*1*#15112945##
2015-03-08 21:05:46,955 - MainThread - boxio:226 - DEBUG - Message OK
2015-03-08 21:05:46,957 - MainThread - boxio:247 - DEBUG - SerialPort flush output
2015-03-08 21:05:46,959 - MainThread - boxio:249 - DEBUG - SerialPort flush input
2015-03-08 21:05:46,961 - MainThread - boxio:260 - DEBUG - Write message to serial port
2015-03-08 21:05:46,963 - MainThread - boxio:262 - DEBUG - Write message ok : *1*1*#15112945##
2015-03-08 21:05:47,116 - MainThread - boxio:179 - DEBUG - Timestamp: 2015-03-08 21:05:47
2015-03-08 21:05:47,118 - MainThread - boxio:180 - DEBUG - SerWaiting: 6
2015-03-08 21:05:47,129 - MainThread - boxio:193 - DEBUG - Message: *#*1##
2015-03-08 21:05:47,131 - MainThread - boxio:194 - DEBUG - Send trame to Jeedom
2015-03-08 21:05:47,133 - MainThread - boxio:196 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*#*1##
2015-03-08 21:05:47,141 - MainThread - boxio:435 - DEBUG - Processed: *#*1##
2015-03-08 21:05:47,144 - Thread-2 - boxio_command:41 - DEBUG - Thread started, timeout = 10
08-03-2015 22:05:47 | error | Information manquante pour ajouter l'équipement : Array
(
[trame] => *#*1##
[format] => ACK
[mode] => UNKNOWN
[media] => UNKNOWN
[type] => UNKNOWN
[value] => NULL
[dimension] => NULL
[param] => NULL
[id] => NULL
[date] => 2015-03-08 22:05:47
)

2015-03-08 21:05:48,322 - Thread-2 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 21:05:48,325 - Thread-2 - boxio_command:45 - DEBUG - Thread finished
2015-03-08 21:07:00,902 - Thread-1 - boxio_socket:46 - DEBUG - Client connected to [127.0.0.1:47361]
2015-03-08 21:07:00,909 - Thread-1 - boxio_socket:49 - DEBUG - Message read from socket: *1*0*#15112945##
2015-03-08 21:07:00,911 - Thread-1 - boxio_socket:52 - DEBUG - Client disconnected from [127.0.0.1:47361]
2015-03-08 21:07:00,923 - MainThread - boxio:240 - DEBUG - Message received in socket messageQueue
2015-03-08 21:07:00,926 - MainThread - boxio:214 - DEBUG - Test message: *1*0*#15112945##
2015-03-08 21:07:00,929 - MainThread - boxio:226 - DEBUG - Message OK
2015-03-08 21:07:00,931 - MainThread - boxio:247 - DEBUG - SerialPort flush output
2015-03-08 21:07:00,933 - MainThread - boxio:249 - DEBUG - SerialPort flush input
2015-03-08 21:07:00,935 - MainThread - boxio:260 - DEBUG - Write message to serial port
2015-03-08 21:07:00,937 - MainThread - boxio:262 - DEBUG - Write message ok : *1*0*#15112945##
2015-03-08 21:07:01,090 - MainThread - boxio:179 - DEBUG - Timestamp: 2015-03-08 21:07:01
2015-03-08 21:07:01,092 - MainThread - boxio:180 - DEBUG - SerWaiting: 6
2015-03-08 21:07:01,097 - MainThread - boxio:193 - DEBUG - Message: *#*1##
2015-03-08 21:07:01,099 - MainThread - boxio:194 - DEBUG - Send trame to Jeedom
2015-03-08 21:07:01,101 - MainThread - boxio:196 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*#*1##
2015-03-08 21:07:01,108 - MainThread - boxio:435 - DEBUG - Processed: *#*1##
2015-03-08 21:07:01,110 - Thread-4 - boxio_command:41 - DEBUG - Thread started, timeout = 10
08-03-2015 22:07:02 | error | Information manquante pour ajouter l'équipement : Array
(
[trame] => *#*1##
[format] => ACK
[mode] => UNKNOWN
[media] => UNKNOWN
[type] => UNKNOWN
[value] => NULL
[dimension] => NULL
[param] => NULL
[id] => NULL
[date] => 2015-03-08 22:07:02
)

2015-03-08 21:07:03,028 - Thread-4 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 21:07:03,031 - Thread-4 - boxio_command:45 - DEBUG - Thread finished
Dernière édition par xdeco le 08 mars 2015, 22:42, édité 1 fois.

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: Plugin Protocole In One By Legrand (IOBL)

Message par apages » 08 mars 2015, 22:22

OK super.

Il ne s'agit pas d'erreur, les *#*1## sont des trames d'acquittement que je ne traite pas
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

xdeco
Timide
Messages : 15
Inscription : 22 nov. 2014, 16:49

Re: Plugin Protocole In One By Legrand (IOBL)

Message par xdeco » 08 mars 2015, 23:05

Ok Merci
Peux-tu me dire comment récupérer l’état de la commande si c'est possible ?
Du coup je te renvoie une nouvelle référence

voici la référence LEGRAND Inter scénario Double 672 08 ID 64 89 66 (ID sur l'Inter)
ID+UNIT 10383457 correspond au bouton gauche (ON/OFF)
ID+UNIT 10383458 correspond au bouton droit Haut (1)
ID+UNIT 10383459 correspond au bouton droit Bas (2)


Log ID+UNIT 10383457 correspond au bouton gauche (ON/OFF)

2015-03-08 21:58:54,720 - MainThread - boxio:179 - DEBUG - Timestamp: 2015-03-08 21:58:54
2015-03-08 21:58:54,723 - MainThread - boxio:180 - DEBUG - SerWaiting: 17
2015-03-08 21:58:54,732 - MainThread - boxio:193 - DEBUG - Message: *1*1*0#10383457##
2015-03-08 21:58:54,735 - MainThread - boxio:194 - DEBUG - Send trame to Jeedom
2015-03-08 21:58:54,737 - MainThread - boxio:196 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*1*1*0#10383457##
2015-03-08 21:58:54,744 - MainThread - boxio:435 - DEBUG - Processed: *1*1*0#10383457##
2015-03-08 21:58:54,747 - Thread-238 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 21:58:55,662 - Thread-238 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 21:58:55,664 - Thread-238 - boxio_command:45 - DEBUG - Thread finished
2015-03-08 21:58:57,322 - MainThread - boxio:179 - DEBUG - Timestamp: 2015-03-08 21:58:57
2015-03-08 21:58:57,324 - MainThread - boxio:180 - DEBUG - SerWaiting: 17
2015-03-08 21:58:57,332 - MainThread - boxio:193 - DEBUG - Message: *1*0*0#10383457##
2015-03-08 21:58:57,334 - MainThread - boxio:194 - DEBUG - Send trame to Jeedom
2015-03-08 21:58:57,336 - MainThread - boxio:196 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*1*0*0#10383457##
2015-03-08 21:58:57,344 - MainThread - boxio:435 - DEBUG - Processed: *1*0*0#10383457##
2015-03-08 21:58:57,347 - Thread-240 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 21:58:58,239 - Thread-240 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 21:58:58,241 - Thread-240 - boxio_command:45 - DEBUG - Thread finished

Log ID+UNIT 10383458 correspond au bouton droit Haut (1)

2015-03-08 21:53:54,974 - MainThread - boxio:179 - DEBUG - Timestamp: 2015-03-08 21:53:54
2015-03-08 21:53:54,977 - MainThread - boxio:180 - DEBUG - SerWaiting: 19
2015-03-08 21:53:54,987 - MainThread - boxio:193 - DEBUG - Message: *25*11*0#10383458##
2015-03-08 21:53:54,989 - MainThread - boxio:194 - DEBUG - Send trame to Jeedom
2015-03-08 21:53:54,991 - MainThread - boxio:196 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*25*11*0#10383458##
2015-03-08 21:53:54,999 - MainThread - boxio:435 - DEBUG - Processed: *25*11*0#10383458##
2015-03-08 21:53:55,001 - Thread-220 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 21:53:55,355 - MainThread - boxio:179 - DEBUG - Timestamp: 2015-03-08 21:53:55
2015-03-08 21:53:55,358 - MainThread - boxio:180 - DEBUG - SerWaiting: 19
2015-03-08 21:53:55,378 - MainThread - boxio:193 - DEBUG - Message: *25*16*0#10383458##
2015-03-08 21:53:55,380 - MainThread - boxio:194 - DEBUG - Send trame to Jeedom
2015-03-08 21:53:55,382 - MainThread - boxio:196 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*25*16*0#10383458##
2015-03-08 21:53:55,405 - MainThread - boxio:435 - DEBUG - Processed: *25*16*0#10383458##
2015-03-08 21:53:55,407 - Thread-222 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 21:53:56,478 - Thread-220 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 21:53:56,480 - Thread-220 - boxio_command:45 - DEBUG - Thread finished
2015-03-08 21:53:56,860 - Thread-222 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 21:53:56,862 - Thread-222 - boxio_command:45 - DEBUG - Thread finished


Log ID+UNIT 10383459 correspond au bouton droit Bas (2)

2015-03-08 21:57:01,955 - MainThread - boxio:179 - DEBUG - Timestamp: 2015-03-08 21:57:01
2015-03-08 21:57:01,957 - MainThread - boxio:180 - DEBUG - SerWaiting: 26
2015-03-08 21:57:01,980 - MainThread - boxio:193 - DEBUG - Message: *#1*0#10383459*#10*251*1##
2015-03-08 21:57:01,982 - MainThread - boxio:194 - DEBUG - Send trame to Jeedom
2015-03-08 21:57:01,995 - MainThread - boxio:196 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*#1*0#10383459*#10*251*1##
2015-03-08 21:57:02,005 - MainThread - boxio:435 - DEBUG - Processed: *#1*0#10383459*#10*251*1##
2015-03-08 21:57:02,012 - Thread-234 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 21:57:02,165 - MainThread - boxio:179 - DEBUG - Timestamp: 2015-03-08 21:57:02
2015-03-08 21:57:02,167 - MainThread - boxio:180 - DEBUG - SerWaiting: 26
2015-03-08 21:57:02,221 - MainThread - boxio:193 - DEBUG - Message: *#1*0#10383459*#10*251*1##
2015-03-08 21:57:02,241 - MainThread - boxio:194 - DEBUG - Send trame to Jeedom
2015-03-08 21:57:02,244 - MainThread - boxio:196 - DEBUG - command:/usr/bin/php /usr/share/nginx/www/jeedom/plugins/boxio/ressources/boxio/../../core/php/jeeboxio.php trame=*#1*0#10383459*#10*251*1##
2015-03-08 21:57:02,286 - MainThread - boxio:435 - DEBUG - Processed: *#1*0#10383459*#10*251*1##
2015-03-08 21:57:02,289 - Thread-236 - boxio_command:41 - DEBUG - Thread started, timeout = 10
2015-03-08 21:57:05,636 - Thread-234 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 21:57:05,638 - Thread-234 - boxio_command:45 - DEBUG - Thread finished
2015-03-08 21:57:05,847 - Thread-236 - boxio_command:44 - DEBUG - Return code: 0
2015-03-08 21:57:05,854 - Thread-236 - boxio_command:45 - DEBUG - Thread finished

Encore Merci ;)

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: Plugin Protocole In One By Legrand (IOBL)

Message par apages » 09 mars 2015, 19:28

Bonjour,

Après Analyse, le bouton de gauche allume et eteint un equipement (comme le fait le 67201 et 67202)

Pour le bouton droit haut, celui-ci execute un scenario pour le premier appui et le second appui le stop (la question est: as-tu appuyer 1 fois ou deux fois sur le bouton? En gros l'as tu stopper toi meme ou c'est-il arreter de lui meme)

Pour le bouton droit bas, là, je ne comprend pas tout. A priori, il s'agit d'une trame de Dimension_Set, c'est a dire un variateur qui fixe le niveau d'une lumiere a une valeur.
Par contre, je ne comprend pas trop a quoi correspond les valeurs 251 et 1.
As t'on niveau, quand tu appuie sur ce bouton, quel est l'action qui est réalisé ?

En regardant de plus près lce type d'équipement, je m'aperçois que j'ai peux etre fait fausse route en definissant X équipements par Unit au lieu d'un seul équipement avec X unit.

Je vais m'entretenir avec Michel pour savoir quel est la meilleur solution a retenir et j'adapterais le plugin en fonction.
Cela va peut etre necessité de recreer les équipements .....

Enfin, pour la partie du retour statut des inter (simple ou double), il va falloir que je code un peu. Je te tiens au courant quand c ok

Cordialement
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

apages
Actif
Messages : 619
Inscription : 05 oct. 2014, 11:11
Localisation : Lyon

Re: Plugin Protocole In One By Legrand (IOBL)

Message par apages » 09 mars 2015, 19:32

Autre chose. En lisant la doc de l'inter scenario, voici ce que j'ai trouvé :

Fonctionnement
L’interscénario est un :
• Emetteur (leader) : qui peut commander simultanément un ensemble de récepteurs qui lui ont été associés lors de
l’apprentissage(1).
A partir des touches ON et OFF, il permet de piloter les points d’éclairage reliés aux récepteurs en :
- allumage par un appui court sur la touche ON
- variation croissante par un appui long sur la touche ON
- extinction par un appui court sur la touche OFF
- variation décroissante par un appui long sur la touche OFF.
Seul l’apprentissage de la touche ON est nécessaire , la touche OFF est apprise automatiquement.
A partir des touches 1 et 2 :
L’interscénario permet de piloter à partir de la touche 1 les points d’éclairage reliés aux récepteurs, en :
- scénario (niveau lumineux) par un appui court sur la touche 1
- variation croissante par un appui long sur la touche 1.
L’interscénario permet de piloter à partir de la touche 2 les points d’éclairage reliés aux récepteurs, en :
- scénario (niveau lumineux) par un appui court sur la touche 2
- variation croissante par un appui long sur la touche 2.
Pour réaliser la variation de lumière il est recommandé d’associer le même groupe de récepteurs aux touches 1 et 2.


Pourrais-tu me preciser les actions qui sont effectuées pour chaque bouton et chaque mode (appui court ou long)?

Merci
raspberry pi3 et raspberry pi JEEDOM V3.1.3 avec module Legrand USB-CPL et RFXCOM433
Legrand : 10 inter VR avec derogation : 67255, 1 inter VR sans derogation : 67251,1 Selecteur Programmable CPL : 67449, 3 Sortie de cable CPL : 67445

Répondre

Revenir vers « [Catégorie] Protocoles domotiques »

Qui est en ligne ?

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