Bonjour à tous,
Merci @Charles pour le PiTInfo, et les développements autour de cet outil bien pratique.
Il faut que je remercie également @Nicolas-Bernaerts qui m'a fait gagner des litres de café en compilant les binaires Tasmota.
J'en viens donc à mon petit problème.
Ainsi, l'outil est en place, et il fonctionne avec la dernière version disponible du firmware citée plus haut.
Mais dès que j'essai de le lier à Domoticz via mqtt,
patatra les données sur l'interface web du Wemos, deviennent nulles...et le Wemos n'arrête plus de redémarrer.
00:00:00.002 HDW: ESP8266EX
00:00:00.031 UFS: FlashFS mounted with 1976 kB free
00:00:00.103 CFG: Loaded from File, Count 32
00:00:00.109 QPC: Count 1
00:00:00.112 TIC: Teleinfo driver enabled
00:00:00.115 Project tasmota Teleinfo Version 9.5.0(tasmota)-2_7_4_9(2021-09-11T19:04:02)
00:00:00.115 TIC: Partition mounted for historisation
00:00:01.032 CMD:
00:00:01.613 WIF: Connecting to AP1 Abize_Domo Channel 1 BSSId 82:8A:20:49:34:0E in mode 11n as compteur-7908...
00:00:02.029 CMD:
00:00:02.206 CMD:
00:00:02.434 CMD:
00:00:02.632 CMD:
00:00:02.800 WIF: Connected
00:00:03.044 HTP: Web server active on compteur-7908 with IP address 192.168.2.85
18:05:24.001 CMD:
18:05:25.027 CMD:
18:05:25.229 CMD:
18:05:25.397 MQT: Attempting connection...
18:05:25.417 MQT: Connected
18:05:25.420 MQT: compteur/tele/LWT = Online (retained)
18:05:25.423 MQT: compteur/cmnd/POWER =
18:05:25.780 MQT: compteur/tele/INFO1 = {"Info1":{"Module":"Generic","Version":"9.5.0(tasmota)","FallbackTopic":"cmnd/DVES_D1FEE4_fb/","GroupTopic":"tasmotas/cmnd/"}}
18:05:27.002 MQT: compteur/tele/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"compteur-7908","IPAddress":"192.168.2.85"}}
18:05:28.002 MQT: compteur/tele/INFO3 = {"Info3":{"RestartReason":{"Exception":4,"Reason":"Software Watchdog","EPC":["4023ae29","00000000","00000000"],"EXCVADDR":"00000000","DEPC":"00000000"}}}
18:05:30.964 CMD:
18:05:31.192 CMD:
18:05:31.390 CMD:
18:05:31.652 CMD:
18:05:31.883 CMD:
18:05:32.114 QPC: Reset
18:05:32.346 CMD:
Cette erreur : {"Info3":{"RestartReason":{"Exception":4,"Reason":"Software Watchdog", serait à priori un soucis d’alimentation électrique d'après mes recherches.
Le souci est identique avec un nodeMCU et le Wemos D1 que je désire mettre en place.
Les cartes sont alimentés via le port usb.
J'utilise pour test des chargeurs de téléphones de marques (l'un de 10W et et l'autre de 22.5W) et avec les câbles d'origines de ceux-ci.
Côté Domoticz, mosquitto me remonte cela:
domoticz@rpi-domoticz:~ $ sudo mosquitto_sub -h 192.168.1.150 -v -t "#"
domoticz/out/LWT Connected
compteur/tele/LWT Online
tasmota/discovery/3C6105D1FEE4/config {"ip":"192.168.2.85","dn":"Teleinfo","fn":["Teleinfo",null,null,null,null,null,null,null],"hn":"compteur-7908","mac":"3C6105D1FEE4","md":"Generic","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"9.5.0","t":"compteur","ft":"%topic%/%prefix%/","tp":["cmnd","stat","tele"],"rl":[0,0,0,0,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":1,"lt_st":0,"sho":[0,0,0,0],"ver":1}
tasmota/discovery/3C6105D1FEE4/sensors {"sn":{"Time":"2021-10-31T18:14:10","ENERGY":{"TotalStartTime":"2021-10-31T18:01:08","Total":11584.839,"Yesterday":0.000,"Today":0.000,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":230,"Current":0.000},"Wifi":{"IP":"192.168.2.85","MAC":"3C:61:05:D1:FE:E4","Host":"compteur-7908","SSID":"Abize_Domo","Qty":"82"}},"ver":1}
tasmota/discovery/F4CFA2EFEB55/config {"ip":"192.168.2.81","dn":"Teleinfo","fn":["Teleinfo",null,null,null,null,null,null,null],"hn":"compteur-2901","mac":"F4CFA2EFEB55","md":"Generic","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"9.5.0","t":"compteur","ft":"%topic%/%prefix%/","tp":["cmnd","stat","tele"],"rl":[0,0,0,0,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":1,"lt_st":0,"sho":[0,0,0,0],"ver":1}
tasmota/discovery/F4CFA2EFEB55/sensors {"sn":{"Time":"2021-10-31T13:24:04","ENERGY":{"TotalStartTime":"2021-10-31T13:21:34","Total":0.000,"Yesterday":0.000,"Today":0.000,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":0,"Current":0.000},"METER":{"PHASE":1,"IREF":0,"PREF":0,"PMAX":0,"U1":230,"P1":0,"W1":0,"I1":0.0,"C1":null},"Wifi":{"IP":"192.168.2.81","MAC":"F4:CF:A2:EF:EB:55","Host":"compteur-2901","SSID":"Abize_Domo","Qty":"84"}},"ver":1}
tele/tasmota_D1FEE4/LWT Offline
tele/compteur/LWT Offline
Donc, j'ai l'impression que le Wemos démarre, communique bien avec Domoticz, puis au moment de "l'initialisation/la prise de contact" avec le PiTinfo, il "plante".
Si je supprime la configuration du mqtt, tout redevient fonctionnel.
Le problème st donc plus du coté de l'esp8266 que du PiTinfo.
Et dernier souci, le mode historique fonctionne, mais pas le mode standard sur mon Linky (mqtt non configuré), mais on verra plus tard pour cela.
Si vous aviez la possibilités de me dire vers qu'elle direction chercher pour corriger mon problème j’apprécierais.
Merci et bonne fin de journée.