@Charles Bingo
ESP32 (D1 Mini) et ca foncitonne.
Soit mon ESP8266 etait en train de mourir, soit la téléinfo Standard c'est trop pour lui
@Charles Bingo
ESP32 (D1 Mini) et ca foncitonne.
Soit mon ESP8266 etait en train de mourir, soit la téléinfo Standard c'est trop pour lui
@Charles bonjour !
Je me permet de venir aux nouvelles.
Ton module Denky D4 ESP32 TIC Teleinfo Reader pourrait regler le probleme ?
Voici une photo de mon montage.
Possible que le D1 Mini soit sous tailler pour la lecture des trames standard ? (qui sont transmises plus rapidement et plus grosse que les trames historique)
Si oui, que conseil tu comme remplacant ?
@Charles voici les logs de demarrage en mode debug
00:00:00.001 HDW: ESP8266EX
00:00:00.050 CFG: Loaded from flash at F4, Count 3064
00:00:00.055 QPC: Count 1
00:00:00.057 CFG: CR 326/699, Busy 0
00:00:00.068 NRG: Init driver 15
00:00:00.069 SRC: Restart
00:00:00.071 Project tasmota - Tasmota Version 12.5.0.2(teleinfo)-2_7_4_9(2023-05-11T17:02:17)
00:00:00.072 TIC: RX on GPIO13, baudrate 9600
00:00:00.108 SNS: Hardware Serial
00:00:00.109 TIC: using hardware serial
00:00:00.162 WIF: Attempting connection...
00:00:00.499 WIF: Connecting to AP1 X_24 Channel 1 BSSId 82:8A:20:D1:1F:DE in mode 11n as tasmota-C75B4A-6986...
00:00:01.502 WIF: Connected
00:00:01.753 HTP: Web server active on tasmota-C75B4A-6986 with IP address 192.168.0.198
00:00:02.434 WIF: DNS resolved '2.pool.ntp.org' (37.59.63.125) in 23 ms
00:00:02.467 RTC: UTC 2023-05-29T16:54:53, DST 2023-03-26T02:00:00, STD 2023-10-29T03:00:00
17:54:53.000 RTC: Synced by NTP
17:54:53.286 RSL: INFO1 = {"Info1":{"Module":"Generic","Version":"12.5.0.2(teleinfo)","FallbackTopic":"cmnd/DVES_C75B4A_fb/","GroupTopic":"cmnd/tasmotas/"}}
17:54:53.288 RSL: INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-C75B4A-6986","IPAddress":"192.168.0.198"}}
17:54:53.289 RSL: INFO3 = {"Info3":{"RestartReason":"Software/System restart","BootCount":3029}}
17:54:54.711 HTP: Main Menu
17:54:56.632 HTP: Console
17:54:57.492 QPC: Reset
17:54:58.414 RSL: STATE = {"Time":"2023-05-29T17:54:58","Uptime":"0T00:00:09","UptimeSec":9,"Vcc":2.957,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"Wifi":{"AP":1,"SSId":"X_24","BSSId":"82:8A:20:D1:1F:DE","Channel":1,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:03"}}
17:54:58.420 RSL: SENSOR = {"Time":"2023-05-29T17:54:58","ENERGY":{"TotalStartTime":"2023-05-12T13:50:30","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":0,"Current":0.000},"TIC":{}}
17:54:58.422 NRG: Energy reset by invalid data
17:54:59.443 APP: Boot Count 3029
17:55:00.349 CFG: Saved to flash at FB, Count 3065, Bytes 4096
@Charles meme resultat avec une autre alimentation (et un autre cable USB)
Je suis bien sur les connecteurs I1/I2, j'avais une teleinfo en mode historique via un montage perso avant.
La configuration est bien en mode standard, mais plante ("reset") des que je connecte le cable de teleinfo.
Sans le cable branché, aucun plantage (mais aussi forcement aucune info...)
@Charles Merci pour ta réponse.
J'ai mis une resistance 1K en serie et maintenant j'ai le D1 Mini qui perd sa configuration (reset d'apres les logs)
00:00:00.001 HDW: ESP8266EX
00:00:00.050 CFG: Loaded from flash at F6, Count 3046
00:00:00.054 FRC: Some settings have been reset (5)
00:00:00.069 Project tasmota - Tasmota Version 12.5.0.2(teleinfo)-2_7_4_9(2023-05-11T17:02:17)
00:00:00.501 WIF: Connecting to AP1 X Channel 1 BSSId XX:XX:XX in mode 11n as tasmota-C75B4A-6986...
00:00:03.765 WIF: Connected
00:00:04.021 HTP: Web server active on tasmota-C75B4A-6986 with IP address 192.168.0.198
08:00:40.029 RSL: INFO1 = {"Info1":{"Module":"Generic","Version":"12.5.0.2(teleinfo)","FallbackTopic":"cmnd/DVES_C75B4A_fb/","GroupTopic":"cmnd/tasmotas/"}}
08:00:40.031 RSL: INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota-C75B4A-6986","IPAddress":"192.168.0.198"}}
08:00:40.040 RSL: INFO3 = {"Info3":{"RestartReason":{"Exception":3,"Reason":"Exception","EPC":["4000e1f0","00000000","00000000"],"EXCVADDR":"402a932f","DEPC":"00000000","CallChain":["4021e37e","4010125c","4000050c","40000650","402483c1","402485e9","40100628","40105df9","4000050c","40245ff8","402588e6","402588dc","40248760","4021ee9e","40230b82","40222828","40223ecc","40221fec","402247cf","40245f24","40245f70","40100628","40256ab4","40101a45"]},"BootCount":3021}}
08:00:41.472 QPC: Reset
08:00:44.445 RSL: STATE = {"Time":"2023-05-27T08:00:44","
Bonjour,
Je galere depuis quelques jours avec le bascule en mode standard.
J'avais un montage perso (possiblement incompatible), j'ai donc acheté le module WeMos Teleinfo pour min D1 mini (ESP8266).
Installation faite, toujours pas de mieux, j'ai toutes mes trames en erreur Checksum (je suis sur le dernier firmware disponible via l'installation web)
14:15:04.501 LibTeleinfo::checkLine Err checksum 0x00 != 0x48 (total errors=1)
14:15:05.751 LibTeleinfo::checkLine Err checksum 0x00 != 0x48 (total errors=2)
14:15:07.041 LibTeleinfo::checkLine Err checksum 0x00 != 0x48 (total errors=3)
14:15:26.752 LibTeleinfo::checkLine Err checksum 0x00 != 0x21 (total errors=4)
14:15:32.503 LibTeleinfo::checkLine Err checksum 0x00 != 0x57 (total errors=5)
14:15:37.003 LibTeleinfo::checkLine Err checksum 0x00 != 0x36 (total errors=6)
14:15:37.257 LibTeleinfo::checkLine Err checksum 0x00 != 0x48 (total errors=7)
14:15:37.258 LibTeleinfo::checkLine Err checksum 0x00 != 0x29 (total errors=8)
14:15:40.501 LibTeleinfo::checkLine Err checksum 0x00 != 0x57 (total errors=9)
Je pense qu'il y a un soucis de decodage des trames comme celui rencontré plus haut.
Detail important, je suis sur un linky en mode standard sur un contrat TEMPO (Jour Bleu / Blanc / Rouge, avec chaqu'un heure pleine / heure creuse)
Je ne trouve pas comment lire la trame recu du compteur (pour verifier si elle est correctement recu, et vous la transmettre pour debug)
A vous lire
Gauthier