[Plugin Tiers] Plugin Téléinfo
Re: [Plugin Tiers] Plugin Téléinfo
merci pour le lien, j'ai réussi à créer un début de vue sympa. par contre,les données de cette vue seront elles également archivées cette nuit? pour l'instant j'ai des données toutes les 5 min, et j'aimerais que ça reste comme ça??
Re: [Plugin Tiers] Plugin Téléinfo
Oui elles seront archivées. Ça ne fait qu’utiliser les données stockées dans l’historique.
Re: [Plugin Tiers] Plugin Téléinfo
Sur la commande que tu historises, il faut que tu ailles sur la configuration de la commande (roues crantées), onglet Configuration et tu choisis "Aucun" pour "Mode de lissage".
Re: [Plugin Tiers] Plugin Téléinfo
Bonjour,
Je viens d'installer le module MODEM GCE USB, avec mon JEEDOM, j'ai des EROR FRAME et au niveau debug voici les infos :
On dirait que la teleinfo est activée mais que le modem n'arrive pas à les lire correctement.
2017-12-09 08:21:37,586 INFO Try to close Teleinfo modem
2017-12-09 08:21:37,588 INFO Teleinfo modem successfully closed
2017-12-09 09:51:22,715 INFO Try to open Teleinfo modem /dev/ttyUSB0 with speed 1200
2017-12-09 09:51:22,720 INFO Teleinfo modem successfully opened
2017-12-09 09:51:24,728 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:25,431 ERROR * New frame after corrupted
2017-12-09 09:51:25,583 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:26,239 ERROR * New frame after corrupted
2017-12-09 09:51:27,626 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:27,627 ERROR * New frame after corrupted
2017-12-09 09:51:29,764 ERROR ** FRAME CORRUPTED !
et si je fais des test en console dirextement je vois passer des infos mais pas très comprehensible
root@CENTRALDOMO:/home/pi# cat /dev/ttyUSB0 > test.txt
^C
root@CENTRALDOMO:/home/pi# more test.txt
+{z.jjN[S'7['[jlu.55
-3[J
K"KjSQq8tsu7PQc#rrjE 002 Y-
JADC"OjMOTDETQj$400100 GHHTHC A ,IMAX 041 D
[^j&B5js[s6796 4j\M<L(nu.55::3NhRk!E%g
XCHPP563939342$=
PUEC!HP.. P
IIN[T p0YT/s#yS(vhLZ6hQc!)STR<4P4kc!jOUE
00"cMB
NOPTARIF jC.. <ADCO"04y501067629`H
KSOUWC 47 ?
H8)<$L[W&7_'[l^Lj3J
KZ"KjWEUC HR.> c!9={e--More--(32%)
K5
IMAXP4lh+L
j-
C=L(jguG 000100!C
['S6&W3k#5OPTARIF$H8IAD9jS7uUSC!45 ?
HGHC 0753896 4
LCHPP16;91;74z 9g!*uqxtSTI ^&Tg}EAY
ISPvhLmlp#c!+RTZ4(hkc!u.GUGE
[
$8)84L[M86296 t+?jW7uW=5NADCo$04950107629 $c!]h:9)8I
lKd( 163N6N&_4'L EW7
rSP~P41P"y.P$c%srjEA]s
HHPhG A$,
.. <MOTDETaT$405LP:lxJADCO 0t9501067Nx$LhE%gC
ISOUScP45 ?
HCXC 0753866=6 4
HCHP`163919&[4'EW7L
UK ^L(.^n]:&'nhUL(.*
"1 D
LHp$C A ,
MOT"ETAT`028100 K-A
S[S3O:#k[5+3J+{jS5jj\I)^LjVuN55ADCO$049505y6c!e%Wg
K"#[kSDEW7
Grk'njEE2 Z
iM`\ 441@E
HHQ$C A .-
MOTDMjAT 04508 C
[*ADC
067669(H
ORTARIFPhK.."<
IS.55#+
Avez vous une idée ?
Je viens d'installer le module MODEM GCE USB, avec mon JEEDOM, j'ai des EROR FRAME et au niveau debug voici les infos :
On dirait que la teleinfo est activée mais que le modem n'arrive pas à les lire correctement.
2017-12-09 08:21:37,586 INFO Try to close Teleinfo modem
2017-12-09 08:21:37,588 INFO Teleinfo modem successfully closed
2017-12-09 09:51:22,715 INFO Try to open Teleinfo modem /dev/ttyUSB0 with speed 1200
2017-12-09 09:51:22,720 INFO Teleinfo modem successfully opened
2017-12-09 09:51:24,728 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:25,431 ERROR * New frame after corrupted
2017-12-09 09:51:25,583 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:26,239 ERROR * New frame after corrupted
2017-12-09 09:51:27,626 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:27,627 ERROR * New frame after corrupted
2017-12-09 09:51:29,764 ERROR ** FRAME CORRUPTED !
et si je fais des test en console dirextement je vois passer des infos mais pas très comprehensible
root@CENTRALDOMO:/home/pi# cat /dev/ttyUSB0 > test.txt
^C
root@CENTRALDOMO:/home/pi# more test.txt
+{z.jjN[S'7['[jlu.55
-3[J
K"KjSQq8tsu7PQc#rrjE 002 Y-
JADC"OjMOTDETQj$400100 GHHTHC A ,IMAX 041 D
[^j&B5js[s6796 4j\M<L(nu.55::3NhRk!E%g
XCHPP563939342$=
PUEC!HP.. P
IIN[T p0YT/s#yS(vhLZ6hQc!)STR<4P4kc!jOUE
00"cMB
NOPTARIF jC.. <ADCO"04y501067629`H
KSOUWC 47 ?
H8)<$L[W&7_'[l^Lj3J
KZ"KjWEUC HR.> c!9={e--More--(32%)
K5
IMAXP4lh+L
j-
C=L(jguG 000100!C
['S6&W3k#5OPTARIF$H8IAD9jS7uUSC!45 ?
HGHC 0753896 4
LCHPP16;91;74z 9g!*uqxtSTI ^&Tg}EAY
ISPvhLmlp#c!+RTZ4(hkc!u.GUGE
[
$8)84L[M86296 t+?jW7uW=5NADCo$04950107629 $c!]h:9)8I
lKd( 163N6N&_4'L EW7
rSP~P41P"y.P$c%srjEA]s
HHPhG A$,
.. <MOTDETaT$405LP:lxJADCO 0t9501067Nx$LhE%gC
ISOUScP45 ?
HCXC 0753866=6 4
HCHP`163919&[4'EW7L
UK ^L(.^n]:&'nhUL(.*
"1 D
LHp$C A ,
MOT"ETAT`028100 K-A
S[S3O:#k[5+3J+{jS5jj\I)^LjVuN55ADCO$049505y6c!e%Wg
K"#[kSDEW7
Grk'njEE2 Z
iM`\ 441@E
HHQ$C A .-
MOTDMjAT 04508 C
[*ADC
067669(H
ORTARIFPhK.."<
IS.55#+
Avez vous une idée ?
Re: [Plugin Tiers] Plugin Téléinfo
Bonjour,
Depuis une réinstallation de Jeedom et restauration, problème sur le plugin qui me met un beau 500 Internal Error.
j'ai bien les données depuis la pose de mon Linky (octobre).
Quand je regarde les logs, le démon semble bien faire son boulot.
La frame corrupted est liée je pense à l'arrêt, redémarrage du démon (pour passage en mode debug).
Et les dépendances OK.
Côté santé tout est dans la trame.
J'ai cru comprendre qu'il y avait un souci sur le HP/HC (cf post info conso).
Côté infoconso que j'utilise et energy, aussi tout semble OK.
Une idée ?
EDIT : je viens d'appliquer l'ajout du case dans le switch vu plus haut.
Depuis une réinstallation de Jeedom et restauration, problème sur le plugin qui me met un beau 500 Internal Error.
j'ai bien les données depuis la pose de mon Linky (octobre).
Quand je regarde les logs, le démon semble bien faire son boulot.
Code : Tout sélectionner
2017-12-09 11:20:39,681 INFO Try to close Teleinfo modem
2017-12-09 11:20:39,715 INFO Teleinfo modem successfully closed
2017-12-09 11:20:46,789 INFO Try to open Teleinfo modem /dev/ttyACM0 with speed 9600
2017-12-09 11:20:46,790 INFO Teleinfo modem successfully opened
2017-12-09 11:20:46,847 ERROR ** FRAME CORRUPTED !
2017-12-09 11:20:47,041 ERROR * New frame after corrupted
Code : Tout sélectionner
[2017-12-09 11:20:39][INFO] : [deamon_stop] Arret du service
Terminating...
[2017-12-09 11:20:46][INFO] : Vérification de l'état du service : NOK
[2017-12-09 11:20:46][INFO] : Mode local
[2017-12-09 11:20:46][INFO] : --------- Informations sur le master --------
[2017-12-09 11:20:46][INFO] : Adresse :http://192.168.2.23:80
[2017-12-09 11:20:46][INFO] : Host / Port :192.168.2.23:80
[2017-12-09 11:20:46][INFO] : Path complémentaire :
[2017-12-09 11:20:46][INFO] : Mise en forme pour le service : http://192.168.2.23:80
[2017-12-09 11:20:46][INFO] : Debug : 0
[2017-12-09 11:20:46][INFO] : Force : 1
[2017-12-09 11:20:46][INFO] : Port modem : /dev/ttyACM0
[2017-12-09 11:20:46][INFO] : ---------------------------------------------
[2017-12-09 11:20:46][INFO] : Fonctionnement en mode 1 compteur
[2017-12-09 11:20:46][INFO] : Exécution du service : nice -n 19 /usr/bin/python /var/www/html/plugins/teleinfo/ressources/teleinfo.py -d 0 -p /dev/ttyACM0 -v 9600 -c 8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY -f 1 -r /var/www/html/plugins/teleinfo/core/class
[2017-12-09 11:20:48][INFO] : Service OK
[2017-12-09 11:20:48][INFO] : ---------------------------------------------
[2017-12-09 11:20:49][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / IINST=008 / OPTARIF=HC / ADCO=031764814620 / HCHC=000617171 / ISOUSC=45 / IMAX=060 / PTEC=HP / PAPP=01730 / HHPHC=A / HCHP=000960619 /
[2017-12-09 11:20:51][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960620 / ADCO=031764814620 /
[2017-12-09 11:20:54][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960622 / ADCO=031764814620 /
[2017-12-09 11:20:57][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960623 / ADCO=031764814620 /
[2017-12-09 11:21:00][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960624 / ADCO=031764814620 /
[2017-12-09 11:21:03][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960626 / ADCO=031764814620 /
[2017-12-09 11:21:06][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01740 / HCHP=000960627 / ADCO=031764814620 /
[2017-12-09 11:21:09][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960629 / ADCO=031764814620 /
[2017-12-09 11:21:11][DEBUG] : Pas de calcul
[2017-12-09 11:21:12][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960630 / ADCO=031764814620 /
[2017-12-09 11:21:14][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960631 / ADCO=031764814620 /
[2017-12-09 11:21:17][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960632 / ADCO=031764814620 /
[2017-12-09 11:21:20][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960634 / ADCO=031764814620 /
[2017-12-09 11:21:23][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960635 / ADCO=031764814620 /
[2017-12-09 11:21:26][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960636 / ADCO=031764814620 /
[2017-12-09 11:21:29][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960638 / ADCO=031764814620 /
[2017-12-09 11:21:32][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960639 / ADCO=031764814620 /
[2017-12-09 11:21:35][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960641 / ADCO=031764814620 /
[2017-12-09 11:21:38][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960642 / ADCO=031764814620 /
[2017-12-09 11:21:41][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960643 / ADCO=031764814620 /
[2017-12-09 11:21:43][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960644 / ADCO=031764814620 /
[2017-12-09 11:21:46][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960646 / ADCO=031764814620 /
[2017-12-09 11:21:49][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960647 / ADCO=031764814620 /
[2017-12-09 11:21:52][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960649 / ADCO=031764814620 /
[2017-12-09 11:21:55][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960650 / ADCO=031764814620 /
[2017-12-09 11:21:58][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960651 / ADCO=031764814620 /
[2017-12-09 11:22:01][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960653 / ADCO=031764814620 /
[2017-12-09 11:22:04][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960654 / ADCO=031764814620 /
[2017-12-09 11:22:06][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960655 / ADCO=031764814620 /
[2017-12-09 11:22:09][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960656 / ADCO=031764814620 /
[2017-12-09 11:22:12][DEBUG] : Pas de calcul
[2017-12-09 11:22:12][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960658 / ADCO=031764814620 /
[2017-12-09 11:22:15][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960659 / ADCO=031764814620 /
[2017-12-09 11:22:18][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960661 / ADCO=031764814620 /
[2017-12-09 11:22:21][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960662 / ADCO=031764814620 /
[2017-12-09 11:22:24][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960663 / ADCO=031764814620 /
[2017-12-09 11:22:27][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960665 / ADCO=031764814620 /
[2017-12-09 11:22:30][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960666 / ADCO=031764814620 /
[2017-12-09 11:22:33][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960667 / ADCO=031764814620 /
[2017-12-09 11:22:35][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960669 / ADCO=031764814620 /
Code : Tout sélectionner
Lancement de l'installation des dépendances Téléinfo
Reading package lists...
Building dependency tree...
Reading state information...
python-ftdi is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python-serial is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Everything is successfully installed!
J'ai cru comprendre qu'il y avait un souci sur le HP/HC (cf post info conso).
Côté infoconso que j'utilise et energy, aussi tout semble OK.
Une idée ?
EDIT : je viens d'appliquer l'ajout du case dans le switch vu plus haut.
Re: [Plugin Tiers] Plugin Téléinfo
Hello,benj29 a écrit :Bonjour,
Depuis une réinstallation de Jeedom et restauration, problème sur le plugin qui me met un beau 500 Internal Error.
j'ai bien les données depuis la pose de mon Linky (octobre).
Quand je regarde les logs, le démon semble bien faire son boulot.
La frame corrupted est liée je pense à l'arrêt, redémarrage du démon (pour passage en mode debug).Code : Tout sélectionner
2017-12-09 11:20:39,681 INFO Try to close Teleinfo modem 2017-12-09 11:20:39,715 INFO Teleinfo modem successfully closed 2017-12-09 11:20:46,789 INFO Try to open Teleinfo modem /dev/ttyACM0 with speed 9600 2017-12-09 11:20:46,790 INFO Teleinfo modem successfully opened 2017-12-09 11:20:46,847 ERROR ** FRAME CORRUPTED ! 2017-12-09 11:20:47,041 ERROR * New frame after corrupted
Et les dépendances OK.Code : Tout sélectionner
[2017-12-09 11:20:39][INFO] : [deamon_stop] Arret du service Terminating... [2017-12-09 11:20:46][INFO] : Vérification de l'état du service : NOK [2017-12-09 11:20:46][INFO] : Mode local [2017-12-09 11:20:46][INFO] : --------- Informations sur le master -------- [2017-12-09 11:20:46][INFO] : Adresse :http://192.168.2.23:80 [2017-12-09 11:20:46][INFO] : Host / Port :192.168.2.23:80 [2017-12-09 11:20:46][INFO] : Path complémentaire : [2017-12-09 11:20:46][INFO] : Mise en forme pour le service : http://192.168.2.23:80 [2017-12-09 11:20:46][INFO] : Debug : 0 [2017-12-09 11:20:46][INFO] : Force : 1 [2017-12-09 11:20:46][INFO] : Port modem : /dev/ttyACM0 [2017-12-09 11:20:46][INFO] : --------------------------------------------- [2017-12-09 11:20:46][INFO] : Fonctionnement en mode 1 compteur [2017-12-09 11:20:46][INFO] : Exécution du service : nice -n 19 /usr/bin/python /var/www/html/plugins/teleinfo/ressources/teleinfo.py -d 0 -p /dev/ttyACM0 -v 9600 -c 8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY -f 1 -r /var/www/html/plugins/teleinfo/core/class [2017-12-09 11:20:48][INFO] : Service OK [2017-12-09 11:20:48][INFO] : --------------------------------------------- [2017-12-09 11:20:49][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / IINST=008 / OPTARIF=HC / ADCO=031764814620 / HCHC=000617171 / ISOUSC=45 / IMAX=060 / PTEC=HP / PAPP=01730 / HHPHC=A / HCHP=000960619 / [2017-12-09 11:20:51][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960620 / ADCO=031764814620 / [2017-12-09 11:20:54][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960622 / ADCO=031764814620 / [2017-12-09 11:20:57][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960623 / ADCO=031764814620 / [2017-12-09 11:21:00][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960624 / ADCO=031764814620 / [2017-12-09 11:21:03][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960626 / ADCO=031764814620 / [2017-12-09 11:21:06][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01740 / HCHP=000960627 / ADCO=031764814620 / [2017-12-09 11:21:09][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960629 / ADCO=031764814620 / [2017-12-09 11:21:11][DEBUG] : Pas de calcul [2017-12-09 11:21:12][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960630 / ADCO=031764814620 / [2017-12-09 11:21:14][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960631 / ADCO=031764814620 / [2017-12-09 11:21:17][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960632 / ADCO=031764814620 / [2017-12-09 11:21:20][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960634 / ADCO=031764814620 / [2017-12-09 11:21:23][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960635 / ADCO=031764814620 / [2017-12-09 11:21:26][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960636 / ADCO=031764814620 / [2017-12-09 11:21:29][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960638 / ADCO=031764814620 / [2017-12-09 11:21:32][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960639 / ADCO=031764814620 / [2017-12-09 11:21:35][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960641 / ADCO=031764814620 / [2017-12-09 11:21:38][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960642 / ADCO=031764814620 / [2017-12-09 11:21:41][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960643 / ADCO=031764814620 / [2017-12-09 11:21:43][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960644 / ADCO=031764814620 / [2017-12-09 11:21:46][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960646 / ADCO=031764814620 / [2017-12-09 11:21:49][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960647 / ADCO=031764814620 / [2017-12-09 11:21:52][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960649 / ADCO=031764814620 / [2017-12-09 11:21:55][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960650 / ADCO=031764814620 / [2017-12-09 11:21:58][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960651 / ADCO=031764814620 / [2017-12-09 11:22:01][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960653 / ADCO=031764814620 / [2017-12-09 11:22:04][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960654 / ADCO=031764814620 / [2017-12-09 11:22:06][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960655 / ADCO=031764814620 / [2017-12-09 11:22:09][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960656 / ADCO=031764814620 / [2017-12-09 11:22:12][DEBUG] : Pas de calcul [2017-12-09 11:22:12][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960658 / ADCO=031764814620 / [2017-12-09 11:22:15][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960659 / ADCO=031764814620 / [2017-12-09 11:22:18][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960661 / ADCO=031764814620 / [2017-12-09 11:22:21][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960662 / ADCO=031764814620 / [2017-12-09 11:22:24][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960663 / ADCO=031764814620 / [2017-12-09 11:22:27][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960665 / ADCO=031764814620 / [2017-12-09 11:22:30][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01720 / HCHP=000960666 / ADCO=031764814620 / [2017-12-09 11:22:33][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / PAPP=01730 / HCHP=000960667 / ADCO=031764814620 / [2017-12-09 11:22:35][DEBUG] : Reception de : api=8HUJLYQPIfZXMuebiIKOXpjyReSFcP0Ak50ARaEdXNCdrUdY / HCHP=000960669 / ADCO=031764814620 /
Côté santé tout est dans la trame.Code : Tout sélectionner
Lancement de l'installation des dépendances Téléinfo Reading package lists... Building dependency tree... Reading state information... python-ftdi is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... python-serial is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Everything is successfully installed!
J'ai cru comprendre qu'il y avait un souci sur le HP/HC (cf post info conso).
Côté infoconso que j'utilise et energy, aussi tout semble OK.
Une idée ?
EDIT : je viens d'appliquer l'ajout du case dans le switch vu plus haut.
C’est normal que JEEDOM se connecte sur le port /dev/ttyACM0 ? Parce que chez moi, ce port est dédié à la clé Gen5 Z-Wave et la télé info est sur un port du genre /dev/tty/USB01
Jette un œil sur ta config dans le Plugin.
A+
Bruno.
Envoyé de mon iPhone en utilisant Tapatalk
Re: [Plugin Tiers] Plugin Téléinfo
Non. Les logs Linux m'indiquent bien que c'est acm. C'est un ftdi le chip interne.
L'usb est par exemple mon rfxcom.
Sauf erreur de ma part. Et les infos du teleinfo remontent bien.
Envoyé de mon Moto G (5S) Plus en utilisant Tapatalk
L'usb est par exemple mon rfxcom.
Sauf erreur de ma part. Et les infos du teleinfo remontent bien.
Envoyé de mon Moto G (5S) Plus en utilisant Tapatalk
Re: [Plugin Tiers] Plugin Téléinfo
Mince, j’y ai cru.
Bonne recherche.
-
- Actif
- Messages : 1089
- Inscription : 12 nov. 2014, 15:44
Re: [Plugin Tiers] Plugin Téléinfo
@ticed35
Hello, quelles nouvelles de la reprise du plug ??
Hello, quelles nouvelles de la reprise du plug ??
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun
Re: [Plugin Tiers] Plugin Téléinfo
Malgré la modification proposée (switch/case), toujours 500 : Internal Server Error...
Suis-je le seul ?
Suis-je le seul ?
Re: [Plugin Tiers] Plugin Téléinfo
Bonsoir,
Personne a une petite idée pour mes problèmes de stats qui disparaissent dans le panel : viewtopic.php?f=149&t=614&start=3200#p554769 ?
Merci
Personne a une petite idée pour mes problèmes de stats qui disparaissent dans le panel : viewtopic.php?f=149&t=614&start=3200#p554769 ?
Merci
Re: [Plugin Tiers] Plugin Téléinfo
Bon finalement c'est le module gce qui merde sous jeedom +raspi.bouboun59 a écrit : ↑09 déc. 2017, 11:11Bonjour,
Je viens d'installer le module MODEM GCE USB, avec mon JEEDOM, j'ai des EROR FRAME et au niveau debug voici les infos :
On dirait que la teleinfo est activée mais que le modem n'arrive pas à les lire correctement.
2017-12-09 08:21:37,586 INFO Try to close Teleinfo modem
2017-12-09 08:21:37,588 INFO Teleinfo modem successfully closed
2017-12-09 09:51:22,715 INFO Try to open Teleinfo modem /dev/ttyUSB0 with speed 1200
2017-12-09 09:51:22,720 INFO Teleinfo modem successfully opened
2017-12-09 09:51:24,728 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:25,431 ERROR * New frame after corrupted
2017-12-09 09:51:25,583 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:26,239 ERROR * New frame after corrupted
2017-12-09 09:51:27,626 ERROR ** FRAME CORRUPTED !
2017-12-09 09:51:27,627 ERROR * New frame after corrupted
2017-12-09 09:51:29,764 ERROR ** FRAME CORRUPTED !
et si je fais des test en console dirextement je vois passer des infos mais pas très comprehensible
root@CENTRALDOMO:/home/pi# cat /dev/ttyUSB0 > test.txt
^C
root@CENTRALDOMO:/home/pi# more test.txt
+{z.jjN[S'7['[jlu.55
-3[J
K"KjSQq8tsu7PQc#rrjE 002 Y-
JADC"OjMOTDETQj$400100 GHHTHC A ,IMAX 041 D
[^j&B5js[s6796 4j\M<L(nu.55::3NhRk!E%g
XCHPP563939342$=
PUEC!HP.. P
IIN[T p0YT/s#yS(vhLZ6hQc!)STR<4P4kc!jOUE
00"cMB
NOPTARIF jC.. <ADCO"04y501067629`H
KSOUWC 47 ?
H8)<$L[W&7_'[l^Lj3J
KZ"KjWEUC HR.> c!9={e--More--(32%)
K5
IMAXP4lh+L
j-
C=L(jguG 000100!C
['S6&W3k#5OPTARIF$H8IAD9jS7uUSC!45 ?
HGHC 0753896 4
LCHPP16;91;74z 9g!*uqxtSTI ^&Tg}EAY
ISPvhLmlp#c!+RTZ4(hkc!u.GUGE
[
$8)84L[M86296 t+?jW7uW=5NADCo$04950107629 $c!]h:9)8I
lKd( 163N6N&_4'L EW7
rSP~P41P"y.P$c%srjEA]s
HHPhG A$,
.. <MOTDETaT$405LP:lxJADCO 0t9501067Nx$LhE%gC
ISOUScP45 ?
HCXC 0753866=6 4
HCHP`163919&[4'EW7L
UK ^L(.^n]:&'nhUL(.*
"1 D
LHp$C A ,
MOT"ETAT`028100 K-A
S[S3O:#k[5+3J+{jS5jj\I)^LjVuN55ADCO$049505y6c!e%Wg
K"#[kSDEW7
Grk'njEE2 Z
iM`\ 441@E
HHQ$C A .-
MOTDMjAT 04508 C
[*ADC
067669(H
ORTARIFPhK.."<
IS.55#+
Avez vous une idée ?
j'ai pris un teleinfo de https://www.cartelectronic.fr/blog/?p=956
Reçu en Windows j ai du mettre le template linux.
C'est ok, mais je recois pas le PTEC tjrs valeur 0 pourrant en debug ca passe bien ?
Le plugin teleinfo jeedom est buggué ?
cordialement
Re: [Plugin Tiers] Plugin Téléinfo
personnellement concernant le PTEC chez moi c'est complètement aléatoire du coup j'ai arrêté ses bêtises et j'étais obligé de passer sur un agenda qui me change la valeur à la main c'est pas précis mais au moins il y a le distinguo heure pleine heure creuse
Je pense qu'il doit y avoir un bug effectivement dans le plugin quelque part
Envoyé de mon Moto G (4) en utilisant Tapatalk
Je pense qu'il doit y avoir un bug effectivement dans le plugin quelque part
Envoyé de mon Moto G (4) en utilisant Tapatalk
Damien
Re: [Plugin Tiers] Plugin Téléinfo
Tu peux me détailler ton approche stp ?
J'utilise déjà un PTEC virtuel pour info conso (cf post dédié).
Mais je n'ai pas compris là comment tu fais surtout pour remplacer ton PTEC de téléinfo, car c'est une commande, qu'on ne peut pas changer pour le plugin sauf erreur de ma part.
J'utilise déjà un PTEC virtuel pour info conso (cf post dédié).
Mais je n'ai pas compris là comment tu fais surtout pour remplacer ton PTEC de téléinfo, car c'est une commande, qu'on ne peut pas changer pour le plugin sauf erreur de ma part.
Re: [Plugin Tiers] Plugin Téléinfo
Il y a un certain temps j'avais aussi le PTEC a 0
a cette époque j'avais crée un variable que je mettais a jour au heure de bascule via un scénario.
et puis un jour le PTEC remontait bien.
enfin bien .... c'est vite dit, des fois il se mettait a jour qu'une heure plus tard ( j'avais mis une alerte pour m'avertir du non bascule ).
La je viens de me créer un scénario qui compare les index et mets a jour suivant l'évolution.
Je vais le laisser en test pour voir
a cette époque j'avais crée un variable que je mettais a jour au heure de bascule via un scénario.
et puis un jour le PTEC remontait bien.
enfin bien .... c'est vite dit, des fois il se mettait a jour qu'une heure plus tard ( j'avais mis une alerte pour m'avertir du non bascule ).
La je viens de me créer un scénario qui compare les index et mets a jour suivant l'évolution.
Je vais le laisser en test pour voir
- domoggvad
- Actif
- Messages : 1880
- Inscription : 29 avr. 2015, 16:02
- Localisation : Seine-Saint-Denis (Villepinte)
Re: [Plugin Tiers] Plugin Téléinfo
Bonsoir lucioleluciole a écrit :Personnellement, j'ai récupéré la bonne information du PTEC en modifiant le fichier /var/www/html/plugins/teleinfo/core/class/teleinfo.class.php.
La modification consiste à ajouter un case dans le switch pour gérer ce champ. De là, je l'ai supprimé et laisser le plugin ajouter le champ automatiquement.
Code : Tout sélectionner
switch ($_oKey) { case "PAPP": $cmd->setDisplay('generic_type','GENERIC_INFO'); $cmd->setDisplay('icon','<i class=\"fa fa-tachometer\"><\/i>'); $cmd->setSubType('string'); break; case "OPTARIF": case "HHPHC": case "PPOT": case "PEJP": case "PTEC": $cmd->setSubType('string'); $cmd->setDisplay('generic_type','GENERIC_INFO'); break; case "DEMAIN": $cmd->setSubType('string'); $cmd->setDisplay('generic_type','GENERIC_INFO'); break; default: $cmd->setSubType('numeric'); $cmd->setDisplay('generic_type','GENERIC_INFO'); break; }
Aurais tu une copie de ton fichier teleinfo.class.php?
Merci
Envoyé de mon HUAWEI VNS-L31 en utilisant Tapatalk
3 Odroid C2 (Prod - secours - test) Z83 tests: rfxcom + Z-wave- Clims DAIKIN - espeasy - thekey - Xiaomi - Telinfo - broadlink... widget V3 :viewtopic.php?f=29&t=44183&p=717810#p717810
Re: [Plugin Tiers] Plugin Téléinfo
J'ai fait le changement en question, voilà plusieurs jours.
De mon côté, toujours sur la page du plugin :
500 : Internal Server Error
Et un log totalement illisible (je trouve).
Avec des erreurs...
Et les dépendances sont à jour.
De mon côté, toujours sur la page du plugin :
500 : Internal Server Error
Et un log totalement illisible (je trouve).
Code : Tout sélectionner
Exception in thread Thread-3404:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Terminating...
Exception in thread Thread-23168:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-54354:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-67870:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-67868:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-70356:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-77954:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-88926:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 428, in <module>
teleinfo.run()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 293, in run
frameCsv = self.read()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 175, in read
resp = self._ser.readline()
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 428, in <module>
teleinfo.run()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 278, in run
self.open()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 142, in open
raise TeleinfoException(error)
NameError: global name 'error' is not defined
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 428, in <module>
teleinfo.run()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 278, in run
self.open()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 142, in open
raise TeleinfoException(error)
NameError: global name 'error' is not defined
[2017-12-08 14:35:20][ERROR] : Impossible de lancer le démon téléinfo, vérifiez l'ip
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 428, in <module>
teleinfo.run()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 278, in run
self.open()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 142, in open
raise TeleinfoException(error)
NameError: global name 'error' is not defined
[2017-12-08 14:40:21][ERROR] : Impossible de lancer le démon téléinfo, vérifiez l'ip
Terminating...
PHP Fatal error: Class 'teleinfo' not found in /var/www/html/plugins/teleinfo/core/php/jeeTeleinfo.php on line 56
Terminating...
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 428, in <module>
teleinfo.run()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 293, in run
frameCsv = self.read()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 202, in read
resp = self._ser.readline()
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 428, in <module>
teleinfo.run()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 278, in run
self.open()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 142, in open
raise TeleinfoException(error)
NameError: global name 'error' is not defined
[2017-12-08 16:05:41][ERROR] : Impossible de lancer le démon téléinfo, vérifiez l'ip
Exception in thread Thread-3502:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Terminating...
Exception in thread Thread-6632:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Terminating...
Exception in thread Thread-25716:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-32120:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-33366:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-33368:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-43482:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-70372:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-73294:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-75766:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-94062:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-99632:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 428, in <module>
teleinfo.run()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 293, in run
frameCsv = self.read()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 175, in read
resp = self._ser.readline()
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 428, in <module>
teleinfo.run()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 278, in run
self.open()
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 142, in open
raise TeleinfoException(error)
NameError: global name 'error' is not defined
[2017-12-14 15:10:22][ERROR] : Impossible de lancer le démon téléinfo, vérifiez l'ip
Exception in thread Thread-27750:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-38430:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1082, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/teleinfo/ressources/teleinfo.py", line 266, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Et les dépendances sont à jour.
Code : Tout sélectionner
Lancement de l'installation des dépendances Téléinfo
Reading package lists...
Building dependency tree...
Reading state information...
python-ftdi is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python-serial is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Everything is successfully installed!
Re: [Plugin Tiers] Plugin Téléinfo
Bonsoir,
Quelqu'un a réussi à faire l'installation des dépendances de ce plugin récemment avec Jeedom version 3.1.7 ?
Moi j'ai 2 erreurs "E: Unable to locate package python-ftdi" et "sed: can't read /etc/inittab: No such file or directory"
pour la première erreur je fais sudo apt-get install python-ftdi1
Des erreurs également dans le code.
ensuite un pb d'indentation dans "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py" en ligne 433
ensuite un pb d'import ftdi que je remplace par import ftdi1 as ftdi en ligne 42
et après encore d'autres problèmes.
Bref le plugin semble a l'abandon
Quelqu'un a réussi à faire l'installation des dépendances de ce plugin récemment avec Jeedom version 3.1.7 ?
Moi j'ai 2 erreurs "E: Unable to locate package python-ftdi" et "sed: can't read /etc/inittab: No such file or directory"
pour la première erreur je fais sudo apt-get install python-ftdi1
Des erreurs également dans le code.
ensuite un pb d'indentation dans "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py" en ligne 433
ensuite un pb d'import ftdi que je remplace par import ftdi1 as ftdi en ligne 42
et après encore d'autres problèmes.
Bref le plugin semble a l'abandon
Rasp pi 3 + Jeedom 3.1.7 + google home + Freebox
XIAOMI : 2 gateway Xiaomi + 15 capteurs + 1 prise connectée + 1 air purifier + 2 détecteurs fumée
Z WAVE : sirène ZM1601 + 1 Fibaro FGS212
DIVERS : onduleur APC ES700 + 2 modules sonoff POW chauffage
XIAOMI : 2 gateway Xiaomi + 15 capteurs + 1 prise connectée + 1 air purifier + 2 détecteurs fumée
Z WAVE : sirène ZM1601 + 1 Fibaro FGS212
DIVERS : onduleur APC ES700 + 2 modules sonoff POW chauffage
Re: [Plugin Tiers] Plugin Téléinfo
Bon j'ai passé une dizaine d'heures hier (cramé un jour de RTT) et j'ai remis en état de marche la version 2 compteurs sous Stretch et jeedom 3.1.7jsam a écrit : ↑16 déc. 2017, 22:38Bonsoir,
Quelqu'un a réussi à faire l'installation des dépendances de ce plugin récemment avec Jeedom version 3.1.7 ?
Moi j'ai 2 erreurs "E: Unable to locate package python-ftdi" et "sed: can't read /etc/inittab: No such file or directory"
pour la première erreur je fais sudo apt-get install python-ftdi1
Des erreurs également dans le code.
ensuite un pb d'indentation dans "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py" en ligne 433
ensuite un pb d'import ftdi que je remplace par import ftdi1 as ftdi en ligne 42
et après encore d'autres problèmes.
Bref le plugin semble a l'abandon
C'est du quick and dirty mais cela semble fonctionner.
Le problème #1 vient du fait que la version 2 compteurs utilisait la lib Ftdi qui semble obsolète et remplacée par la lib Ftdi1 et l'API a un peu changé entre les 2 versions de la lib.
Je posterai sur cette fil les modifications que j'ai faites.
Rasp pi 3 + Jeedom 3.1.7 + google home + Freebox
XIAOMI : 2 gateway Xiaomi + 15 capteurs + 1 prise connectée + 1 air purifier + 2 détecteurs fumée
Z WAVE : sirène ZM1601 + 1 Fibaro FGS212
DIVERS : onduleur APC ES700 + 2 modules sonoff POW chauffage
XIAOMI : 2 gateway Xiaomi + 15 capteurs + 1 prise connectée + 1 air purifier + 2 détecteurs fumée
Z WAVE : sirène ZM1601 + 1 Fibaro FGS212
DIVERS : onduleur APC ES700 + 2 modules sonoff POW chauffage
Re: [Plugin Tiers] Plugin Téléinfo
Merci ! Cela semble commun à la version 1 compteur non ?
Qui est en ligne ?
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 21 invités