Bonjour,
J’ai installé un capteur sur mon compteur Linky
Je remonte bien mes informations (pas toutes) mais j’ai en permanence des erreurs de ce type:
[10:53:59][D][sensor:094]: 'Intensité souscrite': Sending state 30.00000 A with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Index Heures Creuse': Sending state 3363461.00000 WH with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Index Heures Pleine': Sending state 4631223.00000 WH with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Période Tarifaire 0=HP 1=HC': Sending state 0.00000 Wh with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Intensité Instantanée': Sending state 2.00000 A with 0 decimals of accuracy
[10:53:59][E][teleinfo:038]: bad crc: got 57 except 66
[10:53:59][D][sensor:094]: 'Intensité souscrite': Sending state 30.00000 A with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Index Heures Creuse': Sending state 3363461.00000 WH with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Index Heures Pleine': Sending state 4631223.00000 WH with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Période Tarifaire 0=HP 1=HC': Sending state 0.00000 Wh with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Intensité Instantanée': Sending state 2.00000 A with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Puissance Apparente': Sending state 530.00000 VA with 0 decimals of accuracy
[10:53:59][D][sensor:094]: 'Horaire Heures Creuse': Sending state 0.00000 H with 0 decimals of accuracy
[11:10:14][W][component:232]: Component teleinfo took a long time for an operation (141 ms).
[11:10:15][W][component:233]: Components should block for at most 30 ms.
Ce doit être une histoire du nombre de décimales attendue ou reçue???
quel type de capteur ?
a priori un esp avec l’interface qui va bien
quel est le code yaml que tu as utilisé pour l’ESP
merci de nous aider a t’aider
l’erreur que tu signale c’est:
[10:53:59][E][teleinfo:038]: bad crc: got 57 except 66
ou
[11:10:14][W][component:232]: Component teleinfo took a long time for an operation (141 ms).
[11:10:15][W][component:233]: Components should block for at most 30 ms.
sensor:94 est pas une erreur. Chez moi c’est pareil dans les logs. Une erreur est soit en jaune pour moyen, ou en rouge pour elevé.
[11:20:16][D][sensor:094]: 'Still Energy': Sending state 13.00000 % with 0 decimals of accuracy
[11:20:16][D][sensor:094]: 'wifi_signal_db': Sending state -64.00000 dBm with 0 decimals of accuracy
[11:20:16][D][sensor:094]: 'WiFi Signal Percent': Sending state 72.00000 % with 0 decimals of accuracy
[11:20:17][D][sensor:094]: 'light': Sending state 93.00000 with 0 decimals of accuracy
[11:20:18][D][sensor:094]: 'Still Energy': Sending state 11.00000 % with 0 decimals of accuracy
[11:20:18][D][sensor:094]: 'light': Sending state 94.00000 with 0 decimals of accuracy
[11:20:19][D][sensor:094]: 'Still Energy': Sending state 10.00000 % with 0 decimals of accuracy
[11:20:19][D][sensor:094]: 'light': Sending state 93.00000 with 0 decimals of accuracy
[11:20:20][D][sensor:094]: 'Still Energy': Sending state 7.00000 % with 0 decimals of accuracy
[11:20:20][D][sensor:094]: 'light': Sending state 94.00000 with 0 decimals of accuracy
[11:20:21][D][sensor:094]: 'Still Energy': Sending state 9.00000 % with 0 decimals of accuracy
[11:20:21][D][sensor:094]: 'light': Sending state 93.00000 with 0 decimals of accuracy
[11:20:22][D][sensor:094]: 'Still Energy': Sending state 20.00000 % with 0 decimals of accuracy
[11:20:23][D][sensor:094]: 'Still Energy': Sending state 22.00000 % with 0 decimals of accuracy
[11:20:23][D][sensor:094]: 'light': Sending state 94.00000 with 0 decimals of accuracy
[11:20:24][D][sensor:094]: 'Still Energy': Sending state 25.00000 % with 0 decimals of accuracy
[11:20:24][D][sensor:094]: 'light': Sending state 93.00000 with 0 decimals of accuracy
[11:20:25][D][sensor:094]: 'Still Energy': Sending state 20.00000 % with 0 decimals of accuracy
[11:20:26][D][sensor:094]: 'Still Energy': Sending state 11.00000 % with 0 decimals of accuracy
[11:20:27][D][sensor:094]: 'Still Energy': Sending state 9.00000 % with 0 decimals of accuracy
[11:20:28][D][homeassistant.sensor:024]: 'sensor.atc_20a2_temperature': Got state -15.25
ERROR
With this log level, only errors are logged. Errors are issues that prevent the ESP from working correctly. Color: red
WARN
With this log level, warnings and errors are logged. Warnings are issues like invalid readings from sensors that ESPHome can recover from. Color: yellow
INFO
With this log level, everything up to info messages are logged; so errors, warnings and info. Color: green
DEBUG (Default)
Everything up to this log level is logged. Debug messages include the current readings from a sensor and status messages. Color: cyan
VERBOSE
Like debug, but a few more messages that are usually deemed to be spam are also included. Color: grey
VERY_VERBOSE
All internal messages are logged. Including all the data flowing through data buses like I²C, SPI or UART. Warning: May cause the device to slow down and have trouble staying connecting due to amount of generated messages. Color: white
Soit dit en ^passant, l’information PTEC reste à 0. Mais c’est un autre problème.
D’après ce que je viens de lire, il y a 3 type de messages:
D → debug → ‹ Intensité souscrite ›: Sending state 30.00000 A with 0 decimals of accuracy
Problème du nombre de décimal; ça devrait pouvoir se régler en spécifiant quelque par cette valeur
C’est plutôt ça que j’aimerai corriger
W → Warning → [component:232]: Component teleinfo took a long time for an operation (81 ms).
E → Error → bad crc: got 57 except 66
Le Warning et l’Erreur se régleront probablement quand je n’aurais plus 8m entre l’ESP et le Linky
L’ajout du rx_buffer_size fait que je n’ai pratiquement plus (1 fois sur 10) l’erreur:
bad crc: got 57 except 66
qui apparaissait très fréquemment précédemment. ((1 fois sur 3)
PS: ça n’apporte rien d’augmenter encore ce rx_buffer_size
accuracy_decimals (Optional, int): Manually set the number of decimals to use when reporting values. This does not impact the actual value reported to Home Assistant, it just sets the number of decimals to use when displaying it.