Jerome84 a écrit :tu sélectionnes la commande [Smartercoffee][Faire Couler (perso lire doc pour syntaxe)]# et tu mets :
la force : 1, 2 ou 3
et la config : 4;g;5 (4 tasses, mode grain, 5 minutes de chauffe)
Tu n'as rien dans tes logs ?
Bon a part mon erreur de " ; " qui est réglée, ce matin malgré la consigne 6;f;15 j'ai eu le droit au moulin à 06:00. Réveil efficace, mais Waf en chute libre et gâchis des mes grains de chez Cataldi mélangé à du carrefour moulu, la honte
Y'aurait un souci d'interprétation de la consigne f/g dans la commande "Faire Couler (perso lire doc pour syntaxe)" ?
A noter que la même demande envoyée ligne par ligne pour pré-configurer la machine et activée par "Faire Couler (règlage de la machine)" fonctionne bien.
Pour les logs je ne sais pas quelle est la ligne la plus significative... Voila donc les transcriptions
si je lance 2;g;1 force 3 suivi d'un "arrêter" via l'app iphone :
Code : Tout sélectionner
[2017-04-27 09:56:46][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/smartercoffee/core/class/../../resources/smartercoffeed/smartercoffeeaction.py -i 192.168.0.219 -f 1 -c 2 -s 3 -g 1 -m 5
[2017-04-27 09:56:50][DEBUG] : array('B', [50, 9, 18, 0, 2, 34, 126])
[2017-04-27 09:56:50][DEBUG] : Send to jeedom : {'status': '0x9', 'force': '0x2', 'ip': '192.168.0.219', 'water': '0x12', 'boiling': '0', 'carafe': '1', 'chauffe': '0', 'device': '0x32', 'cups': '0x22', 'wifi': '0x0', 'detail': '00001001', 'mode': '0', 'action': 'event'}
[2017-04-27 09:56:50][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-04-27 09:56:51][DEBUG] : "POST /plugins/smartercoffee/core/php/jeeSmarter.php?apikey=APIK HTTP/1.1" 200 0
[2017-04-27 09:56:51][DEBUG] : Sent modification to jeedom {'status': '0x9', 'force': '0x2', 'ip': '192.168.0.219', 'water': '0x12', 'boiling': '0', 'carafe': '1', 'chauffe': '0', 'device': '0x32', 'cups': '0x22', 'wifi': '0x0', 'detail': '00001001', 'mode': '0', 'action': 'event'}
[2017-04-27 09:56:57][DEBUG] : array('B', [50, 5, 18, 0, 2, 38, 126])
[2017-04-27 09:56:57][DEBUG] : Send to jeedom : {'status': '0x5', 'force': '0x2', 'ip': '192.168.0.219', 'water': '0x12', 'boiling': '0', 'carafe': '1', 'chauffe': '0', 'device': '0x32', 'cups': '0x26', 'wifi': '0x0', 'detail': '00000101', 'mode': '0', 'action': 'event'}
[2017-04-27 09:56:57][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-04-27 09:56:57][DEBUG] : "POST /plugins/smartercoffee/core/php/jeeSmarter.php?apikey=APIK HTTP/1.1" 200 0
[2017-04-27 09:56:57][DEBUG] : Sent modification to jeedom {'status': '0x5', 'force': '0x2', 'ip': '192.168.0.219', 'water': '0x12', 'boiling': '0', 'carafe': '1', 'chauffe': '0', 'device': '0x32', 'cups': '0x26', 'wifi': '0x0', 'detail': '00000101', 'mode': '0', 'action': 'event'}
[2017-04-27 09:57:01][DEBUG] : array('B', [50, 5, 18, 0, 2, 38, 126])
Et 4;f;15 force 1 pour bien voir les différences :
Code : Tout sélectionner
[2017-04-27 10:03:23][DEBUG] : Execution de la commande suivante : /usr/bin/python /var/www/html/plugins/smartercoffee/core/class/../../resources/smartercoffeed/smartercoffeeaction.py -i 192.168.0.219 -f 1 -c 4 -s 1 -g 1 -m 15
[2017-04-27 10:03:28][DEBUG] : array('B', [50, 9, 18, 0, 0, 68, 126])
[2017-04-27 10:03:28][DEBUG] : Send to jeedom : {'status': '0x9', 'force': '0x0', 'ip': '192.168.0.219', 'water': '0x12', 'boiling': '0', 'carafe': '1', 'chauffe': '0', 'device': '0x32', 'cups': '0x44', 'wifi': '0x0', 'detail': '00001001', 'mode': '0', 'action': 'event'}
[2017-04-27 10:03:28][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-04-27 10:03:28][DEBUG] : "POST /plugins/smartercoffee/core/php/jeeSmarter.php?apikey=APIK HTTP/1.1" 200 0
[2017-04-27 10:03:28][DEBUG] : Sent modification to jeedom {'status': '0x9', 'force': '0x0', 'ip': '192.168.0.219', 'water': '0x12', 'boiling': '0', 'carafe': '1', 'chauffe': '0', 'device': '0x32', 'cups': '0x44', 'wifi': '0x0', 'detail': '00001001', 'mode': '0', 'action': 'event'}
[2017-04-27 10:03:32][DEBUG] : array('B', [50, 5, 18, 0, 2, 70, 126])
[2017-04-27 10:03:32][DEBUG] : Send to jeedom : {'status': '0x5', 'force': '0x2', 'ip': '192.168.0.219', 'water': '0x12', 'boiling': '0', 'carafe': '1', 'chauffe': '0', 'device': '0x32', 'cups': '0x46', 'wifi': '0x0', 'detail': '00000101', 'mode': '0', 'action': 'event'}
[2017-04-27 10:03:32][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-04-27 10:03:32][DEBUG] : "POST /plugins/smartercoffee/core/php/jeeSmarter.php?apikey=APIK HTTP/1.1" 200 0
[2017-04-27 10:03:32][DEBUG] : Sent modification to jeedom {'status': '0x5', 'force': '0x2', 'ip': '192.168.0.219', 'water': '0x12', 'boiling': '0', 'carafe': '1', 'chauffe': '0', 'device': '0x32', 'cups': '0x46', 'wifi': '0x0', 'detail': '00000101', 'mode': '0', 'action': 'event'}
[2017-04-27 10:03:34][DEBUG] : array('B', [50, 5, 18, 0, 2, 70, 126])