fmartinou / teleinfo2mqtt

Publish teleinfo to mqtt topics
https://fmartinou.github.io/teleinfo2mqtt
MIT License
67 stars 18 forks source link

Corrupted line received #55

Closed madkiller07 closed 1 year ago

madkiller07 commented 1 year ago

Bonjour à tous,

Je viens de passer ma TIC en mode standard pour avoir plus d'info, et malheureusement j'obtient des messages d'erreurs depuis ...

J'utilise ce module USB qui est compatible avec le mode standard : https://www.gce-electronics.com/fr/carte-electronique-oem-relais-usb/655-module-teleinfo-usb.html

Voici ce que j'obtient, si quelqu'un à une idée, je ne suis pas un cador (mais je me débrouille un peu ^^) : 18:01:11.109 INFO teleinfo2mqtt: Starting teleinfo2mqtt with configuration = { emitInterval: 10, hassDiscovery: true, hassDiscoveryPrefix: 'homeassistant', logLevel: 'debug', mqttBaseTopic: 'teleinfo', mqttUrl: 'mqtt://core-mosquitto:1883', mqttUser: 'domoticz', mqttPassword: '', mqttTlsClientKey: undefined, mqttTlsClientCert: undefined, mqttTlsCaChain: undefined, mqttTlsRejectUnauthorized: true, serial: '/dev/ttyUSB0', ticMode: 'standard' } 18:01:11.112 INFO teleinfo2mqtt: Connecting to port [/dev/ttyUSB0] with standard TIC mode 18:01:11.117 INFO teleinfo2mqtt: Connected to port [/dev/ttyUSB0] 18:01:11.121 INFO teleinfo2mqtt: Connecting to MQTT broker [mqtt://core-mosquitto:1883] 18:01:11.214 INFO teleinfo2mqtt: Connected to MQTT broker [mqtt://core-mosquitto:1883] 18:01:11.264 DEBUG teleinfo2mqtt: Raw frame [ujB80000bg|Ssp|snBqyfL80qr|faz||8B~{p|~~};BqyfL8M8|fw}Nc92r8b~|] 18:01:11.264 DEBUG teleinfo2mqtt: Split frame [ujB80000bg|Ssp|snBqyfL80qr|faz||8B~{p|~~};BqyfL8M8|fw}Nc92r8b~|] 18:01:11.264 WARN teleinfo2mqtt: Corrupted line received [ujB80000bg|Ssp|snBqyfL80qr|faz||8B~{p|~~};BqyfL8M8|fw}Nc92r8b~|] 18:01:11.423 DEBUG teleinfo2mqtt: Raw frame [5~|B<v|~|\8800ayv~B}|nu4~aX|fhz68qB|~oS4vCPppA~x"sppp` P` pp{qjjx|<txb|] 18:01:11.423 DEBUG teleinfo2mqtt: Split frame [5~|B<v|~|\8800ayv~B}|nu4~aX|fhz68qB|~oS4vCPppA~x"sppp` P` pp{qjjx|<txb|] 18:01:11.423 WARN teleinfo2mqtt: Corrupted line received [5~|B<v|~|\8800ayv~B}|nu4~aX|fhz68qB|~oS4vCPppA~x"sppp` P` pp{qjjx|<txb|]

Bien amicalement