Tasmota
-
@barbu-dor said in Tasmota:
Tasmota est avant tout fait pour fonctionner en MQTT.
Et aussi avec entrée/sortie MQTT vers Domoticz . Je suis passé la dessus spécialement pour ça. Ca fonctionne bien sauf qu'il reste toujours le petit soucis de synchro du compteur total tasmota à faire avec le bon index de la téléinfo pour la version linky standard . Et je pense qu'il doit aussi avoir l'envoie HP/HC sur domoticz qui ne doit pas fonctionner correctement..
-
Merci de vos réponses.
En fait j'avais commencé par MQTT mais j'ai galéré avec les 2 plugins jeedom MQTT qui m'ont fait n'importe quoi notamment en dupliquant x fois des commandes MQTT venant de tasmota. Ca devenait ingérable du coup j'ai essayé autrement.
Vu ce que vous me dites je vais ressayer MQTT mais sans les plugins, en passant par un programme python ou php independant de jeedom. -
@lebphi Je viens de reactiver MQTT. Tout fonctionne correctement par contre la aussi il y a au bout d'un moment un plantage de tasmoto qui decroche de maqtt et n'arrive plus a se reconnecter. Si je fais un restart tout refonctionne.
D'ou peut venir le probleme ? Ca servirait a quelque chose de refaire une install complete de tasmota ?
-
@lebphi Peut être un pb de fiabilité du hard alors ?
Essaye d'effacer et reflasher le D1
As tu une bonne alim ?
C'est un lolin original ou un clone ?
Rien d'autre que l'interface teleinfo dessus ?Qu'as tu comme messages dans la console quand ca décroche ?
-
rien d'autres dessus. c'est un wemos.
Je ne sais pas si il y a un lien mais ca a fonctionné toute l'apres midi et la je viens de me connecter a la console et ca vient de sauter
13:58:19.022 MQT: tele/tasmota_7A1D65/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota_7A1D65-7525","IPAddress":"192.168.68.123"}} 13:58:19.024 MQT: tele/tasmota_7A1D65/INFO3 = {"Info3":{"RestartReason":"Software/System restart"}} 13:58:23.644 MQT: tele/tasmota_7A1D65/STATE = {"Time":"2021-05-08T13:58:23","Uptime":"0T00:00:17","UptimeSec":17,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"roxane","BSSId":"00:31:92:8F:A8:AA","Channel":1,"RSSI":24,"Signal":-88,"LinkCount":1,"Downtime":"0T00:00:10"}} 13:58:23.653 MQT: tele/tasmota_7A1D65/SENSOR = {"Time":"2021-05-08T13:58:23","ENERGY":{"TotalStartTime":"2021-05-07T13:56:20","Total":6621.837,"Yesterday":23941.357,"Today":25630.152,"Period":22309186,"Power":[1830,0,0],"Current":[2.000,3.000,3.000],"Load":6,"ADCO":"050426021895","OPTARIF":"HC..","ISOUSC":30,"HCHC":292497726,"HCHP":22309171,"PTEC":"HP..","IINST1":2,"IINST2":3,"IINST3":3,"IMAX1":42,"IMAX2":31,"IMAX3":33,"PMAX":14720,"PAPP":1830,"HHPHC":"A","MOTDETAT":0,"PPOT":0}} 17:53:23.859 MQT: tele/tasmota_7A1D65/SENSOR = {"Time":"2021-05-08T17:53:23","ENERGY":{"TotalStartTime":"2021-05-07T13:56:20","Total":6625.713,"Yesterday":23941.357,"Today":25634.027,"Period":0,"Power":[220,0,0],"Current":[0.000,0.000,0.000],"Load":0,"ADCO":"050426021895","OPTARIF":"HC..","ISOUSC":30,"HCHC":292497726,"HCHP":22313053,"PTEC":"HP..","IINST1":0,"IINST2":0,"IINST3":0,"IMAX1":42,"IMAX2":31,"IMAX3":33,"PMAX":14720,"PAPP":220,"HHPHC":"A","MOTDETAT":0,"PPOT":0}} 17:58:23.849 MQT: tele/tasmota_7A1D65/STATE = {"Time":"2021-05-08T17:58:23","Uptime":"0T04:00:17","UptimeSec":14417,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"Wifi":{"AP":1,"SSId":"roxane","BSSId":"70:4F:57:97:78:75","Channel":1,"RSSI":100,"Signal":-48,"LinkCount":3,"Downtime":"0T00:00:22"}} 17:58:23.861 MQT: tele/tasmota_7A1D65/SENSOR = {"Time":"2021-05-08T17:58:23","ENERGY":{"TotalStartTime":"2021-05-07T13:56:20","Total":6625.713,"Yesterday":23941.357,"Today":25634.027,"Period":0,"Power":[220,0,0],"Current":[0.000,0.000,0.000],"Load":0,"ADCO":"050426021895","OPTARIF":"HC..","ISOUSC":30,"HCHC":292497726,"HCHP":22313060,"PTEC":"HP..","IINST1":0,"IINST2":0,"IINST3":0,"IMAX1":42,"IMAX2":31,"IMAX3":33,"PMAX":14720,"PAPP":220,"HHPHC":"A","MOTDETAT":0,"PPOT":0}} 18:03:23.850 MQT: tele/tasmota_7A1D65/STATE = {"Time":"2021-05-08T18:03:23","Uptime":"0T04:05:17","UptimeSec":14717,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"Wifi":{"AP":1,"SSId":"roxane","BSSId":"70:4F:57:97:78:75","Channel":1,"RSSI":100,"Signal":-47,"LinkCount":3,"Downtime":"0T00:00:22"}} 18:03:23.861 MQT: tele/tasmota_7A1D65/SENSOR = {"Time":"2021-05-08T18:03:23","ENERGY":{"TotalStartTime":"2021-05-07T13:56:20","Total":6625.713,"Yesterday":23941.357,"Today":25634.027,"Period":0,"Power":[220,0,0],"Current":[0.000,0.000,0.000],"Load":0,"ADCO":"050426021895","OPTARIF":"HC..","ISOUSC":30,"HCHC":292497726,"HCHP":22313066,"PTEC":"HP..","IINST1":0,"IINST2":0,"IINST3":0,"IMAX1":42,"IMAX2":31,"IMAX3":33,"PMAX":14720,"PAPP":220,"HHPHC":"A","MOTDETAT":0,"PPOT":0}} 18:08:23.848 MQT: tele/tasmota_7A1D65/STATE = {"Time":"2021-05-08T18:08:23","Uptime":"0T04:10:17","UptimeSec":15017,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"Wifi":{"AP":1,"SSId":"roxane","BSSId":"70:4F:57:97:78:75","Channel":1,"RSSI":96,"Signal":-52,"LinkCount":3,"Downtime":"0T00:00:22"}} 18:08:23.859 MQT: tele/tasmota_7A1D65/SENSOR = {"Time":"2021-05-08T18:08:23","ENERGY":{"TotalStartTime":"2021-05-07T13:56:20","Total":6625.713,"Yesterday":23941.357,"Today":25634.027,"Period":0,"Power":[210,0,0],"Current":[0.000,0.000,0.000],"Load":0,"ADCO":"050426021895","OPTARIF":"HC..","ISOUSC":30,"HCHC":292497726,"HCHP":22313072,"PTEC":"HP..","IINST1":0,"IINST2":0,"IINST3":0,"IMAX1":42,"IMAX2":31,"IMAX3":33,"PMAX":14720,"PAPP":210,"HHPHC":"A","MOTDETAT":0,"PPOT":0}} 18:13:23.848 MQT: tele/tasmota_7A1D65/STATE = {"Time":"2021-05-08T18:13:23","Uptime":"0T04:15:17","UptimeSec":15317,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"Wifi":{"AP":1,"SSId":"roxane","BSSId":"70:4F:57:97:78:75","Channel":1,"RSSI":100,"Signal":-50,"LinkCount":3,"Downtime":"0T00:00:22"}} 18:13:23.860 MQT: tele/tasmota_7A1D65/SENSOR = {"Time":"2021-05-08T18:13:23","ENERGY":{"TotalStartTime":"2021-05-07T13:56:20","Total":6625.744,"Yesterday":23941.357,"Today":25634.059,"Period":31,"Power":[210,0,0],"Current":[0.000,0.000,0.000],"Load":0,"ADCO":"050426021895","OPTARIF":"HC..","ISOUSC":30,"HCHC":292497726,"HCHP":22313078,"PTEC":"HP..","IINST1":0,"IINST2":0,"IINST3":0,"IMAX1":42,"IMAX2":31,"IMAX3":33,"PMAX":14720,"PAPP":210,"HHPHC":"A","MOTDETAT":0,"PPOT":0}} 18:17:33.248 MQT: stat/tasmota_7A1D65/STATUS8 = {"StatusSNS":{"Time":"2021-05-08T18:17:33","ENERGY":{"TotalStartTime":"2021-05-07T13:56:20","Total":6625.744,"Yesterday":23941.357,"Today":25634.059,"Power":[210,0,0],"Current":[0.000,0.000,0.000],"Load":0,"ADCO":"050426021895","OPTARIF":"HC..","ISOUSC":30,"HCHC":292497726,"HCHP":22313083,"PTEC":"HP..","IINST1":0,"IINST2":0,"IINST3":0,"IMAX1":42,"IMAX2":31,"IMAX3":33,"PMAX":14720,"PAPP":210,"HHPHC":"A","MOTDETAT":0,"PPOT":0}}} 18:18:23.849 MQT: tele/tasmota_7A1D65/STATE = {"Time":"2021-05-08T18:18:23","Uptime":"0T04:20:17","UptimeSec":15617,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"Wifi":{"AP":1,"SSId":"roxane","BSSId":"70:4F:57:97:78:75","Channel":1,"RSSI":94,"Signal":-53,"LinkCount":3,"Downtime":"0T00:00:22"}} 18:18:23.860 MQT: tele/tasmota_7A1D65/SENSOR = {"Time":"2021-05-08T18:18:23","ENERGY":{"TotalStartTime":"2021-05-07T13:56:20","Total":6625.744,"Yesterday":23941.357,"Today":25634.059,"Period":0,"Power":[200,0,0],"Current":[0.000,0.000,0.000],"Load":0,"ADCO":"050426021895","OPTARIF":"HC..","ISOUSC":30,"HCHC":292497726,"HCHP":22313084,"PTEC":"HP..","IINST1":0,"IINST2":0,"IINST3":0,"IMAX1":42,"IMAX2":31,"IMAX3":33,"PMAX":14720,"PAPP":200,"HHPHC":"A","MOTDETAT":0,"PPOT":0}} 18:19:10.752 MQT: Attempting connection... 18:19:10.964 MQT: Connect failed to 192.168.68.137:1883, rc -2. Retry in 10 sec 18:19:21.752 MQT: Attempting connection... 18:19:21.964 MQT: Connect failed to 192.168.68.137:1883, rc -2. Retry in 20 sec 18:19:42.752 MQT: Attempting connection... 18:19:42.964 MQT: Connect failed to 192.168.68.137:1883, rc -2. Retry in 30 sec 18:20:13.751 MQT: Attempting connection... 18:20:13.964 MQT: Connect failed to 192.168.68.137:1883, rc -2. Retry in 40 sec 18:20:54.751 MQT: Attempting connection... 18:20:54.963 MQT: Connect failed to 192.168.68.137:1883, rc -2. Retry in 50 sec 18:21:45.751 MQT: Attempting connection... 18:21:45.962 MQT: Connect failed to 192.168.68.137:1883, rc -2. Retry in 60 sec
-
On dirait que le module passe en veille au bout d'un certain temps. Lorsque je me reconnecte a la console alors qu'il ne n'envoi plus les trames mqtt j'ai noté ce log :
06:40:13.841 MQT: tele/tasmota_7A1D65/STATE = {"Time":"2021-05-09T06:40:13","Uptime":"0T11:40:15","UptimeSec":42015,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":6,"Wifi":{"AP":1,"SSId":"roxane","BSSId":"70:4F:57:97:78:75","Channel":1,"RSSI":100,"Signal":-50,"LinkCount":2,"Downtime":"0T00:00:12"}}
C'est quoi ce sleep mode dynamic ?
-
@barbu-dor said in Tasmota:
Si tu ne veux absolument pas passer à MQTT, qui est aujourd'hui "LE" standard en domotique, tu peux essayer de fonctionner à l'inverse avec un règle pour publier vers jeedom avec un WebSend. Certaines personnes font cela avec emoncms.
Par exemple: https://github.com/arendst/Tasmota/discussions/11101#discussioncomment-651394Hello, alors celui ci j'adore justement je voulais faire la même chose avec la téléinfo et Emoncms. Je ne pense pas qu'a la base que chaveiro que voulait se passer de MQTT non plus pour emoncms, c'est juste qu'Emoncms ne permet pas de poster (pardon publier) des valeurs via MQTT (sauf sur ton serveur local). J'ai du implémenter un script php dédié (basé sur l'original) sur mon serveur cloud, tout est détaillé ici mais ils ont pas l'air de vouloir publier cette solution (qui est maintenant très secure puisqu'elle utilise l'auth MQTT de mosquitto.
Mais clairement le WebSend m'aurait été bien plus pratique et rapide -
Rebonjour Messieurs.
Je reviens ici concernant les derniers bug recensé pour savoir si vous saviez les debugger par hasard ?
Concernant la setoption72 , dans le cas d'un contrat BASE en mode standard, actuellement tasmota prend l'index EAST pour le recopier dans le compteur total tasmota, alors que c'est l'EASF01 à utiliser. Vu ci dessous chez moi à la première init
La setoption72 ne fonctionne pas en mode historique.
Merci d'avance.
-
@seb-h
Bonjour j'ai besoin de votre aide! cela fait un moment que je galère ......bon faut dire que je suis nouveau sur tasmota !Bon j'ai un module TIC ou j'ai flaché Tasmota avec Teleinfo!
Mais pas de communication visible
bon je suis en linky standart mais j'arrive pas a changer la vitesse!
j'au beau saisir en console SetOption102 1 ma vitesse de transfert reste a 1200
Comment faire? qu'est ce que j'ai loupé?
merci d'avance -
Tu as du zapper la doc https://tasmota.github.io/docs/Teleinfo/#configuring-teleinfo
EnergyConfig standard
-
Merci nickel ca y est je suis en 9600 bauds.
Mais toujours pas de valeurs qui remontent. Voici mes logs :00:00:00.001 HDW: ESP8266EX 00:00:00.050 CFG: Chargé de la flash à F8, Compte 112 00:00:00.057 QPC: Count 1 00:00:00.061 ROT: Mode 1 00:00:00.063 SRC: Restart 00:00:00.064 Projet tasmota - Tasmota Version 2022.01.3(TasmoCompiler-esp8266generic)-2_7_4_9(2022-01-22T10:22:31) 00:00:00.065 TIC: RX on GPIO3, baudrate 9600 00:00:00.110 SNS: Hardware Serial 00:00:00.110 TIC: using hardware serial 00:00:00.166 WIF: Tentative de connexion... 00:00:00.503 WIF: Connexion à l'AP1 Livebox_zouzous Channel 1 BSSId DC:00:B0:84:86:C9 en mode 11n comme teleinfo... 00:00:01.501 WIF: Tentative de connexion... 00:00:02.500 WIF: Tentative de connexion... 00:00:03.500 WIF: Connecté 00:00:03.752 HTP: Serveur web actif sur teleinfo avec l'adresse IP 192.168.1.24 00:00:04.539 RTC: UTC 2022-01-22T13:42:09, DST 2022-03-27T02:00:00, STD 2022-10-30T03:00:00 14:42:09.209 MQT: Tentative de connexion... 14:42:09.234 MQT: Connecté 14:42:09.237 MQT: maison/tasmota/teleinfo/tele/LWT = Online (persistant) 14:42:09.240 MQT: maison/tasmota/teleinfo/cmnd/POWER = 14:42:09.242 MQT: S'abonner à maison/tasmota/teleinfo/cmnd/# 14:42:09.245 MQT: S'abonner à maison/tasmota/tasmotas/cmnd/# 14:42:09.248 MQT: S'abonner à cmnd/Mqtt_fb/# 14:42:09.249 MQT: Se désabonner de homeassistant/status 14:42:09.254 MQT: maison/tasmota/teleinfo/tele/INFO1 = {"Info1":{"Module":"Generic","Version":"2022.01.3(TasmoCompiler-esp8266generic)","FallbackTopic":"cmnd/Mqtt_fb/","GroupTopic":"maison/tasmota/tasmotas/cmnd/"}} 14:42:09.259 MQT: maison/tasmota/teleinfo/tele/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"teleinfo","IPAddress":"192.168.1.24"}} 14:42:09.263 MQT: maison/tasmota/teleinfo/tele/INFO3 = {"Info3":{"RestartReason":"Software/System restart"}} 14:42:10.801 SRC: MQTT 14:42:10.803 CMD: Grp 0, Cmnd 'STATUS', Idx 1, Len 1, Data '1' 14:42:10.809 MQT: maison/tasmota/teleinfo/stat/STATUS1 = {"StatusPRM":{"Baudrate":9600,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/tasmota-minimal.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:07","StartupUTC":"2022-01-22T13:42:03","Sleep":50,"CfgHolder":4617,"BootCount":59,"BCResetTime":"2022-01-21T22:26:46","SaveCount":112,"SaveAddress":"F8000"}} 14:42:10.851 SRC: MQTT 14:42:10.853 CMD: Grp 0, Cmnd 'STATUS', Idx 1, Len 2, Data '11' 14:42:10.860 MQT: maison/tasmota/teleinfo/stat/STATUS11 = {"StatusSTS":{"Time":"2022-01-22T14:42:10","Uptime":"0T00:00:07","UptimeSec":7,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"Livebox_zouzous","BSSId":"DC:00:B0:84:86:C9","Channel":1,"Mode":"11n","RSSI":100,"Signal":-50,"LinkCount":1,"Downtime":"0T00:00:05"}}} 14:42:10.901 SRC: MQTT 14:42:10.903 CMD: Grp 0, Cmnd 'STATUS', Idx 1, Len 2, Data '10' 14:42:10.911 MQT: maison/tasmota/teleinfo/stat/STATUS10 = {"StatusSNS":{"Time":"2022-01-22T14:42:10","ENERGY":{"TotalStartTime":"2022-01-21T22:26:46","Total":0.000,"Yesterday":0.000,"Today":0.000,"Power": 0,"Current":0.000},"TIC":{}}} 14:42:11.422 QPC: Reset 14:42:12.410 NRG: Energy reset by invalid data 14:42:13.410 APP: Nombre de boot 60 14:42:14.569 CFG: Enregistré en flash à F7, Compte 113, Octets 4096 14:42:14.587 MQT: maison/tasmota/teleinfo/tele/STATE = {"Time":"2022-01-22T14:42:14","Uptime":"0T00:00:11","UptimeSec":11,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"Livebox_zouzous","BSSId":"DC:00:B0:84:86:C9","Channel":1,"Mode":"11n","RSSI":100,"Signal":-49,"LinkCount":1,"Downtime":"0T00:00:05"}} 14:42:14.595 MQT: maison/tasmota/teleinfo/tele/SENSOR = {"Time":"2022-01-22T14:42:14","ENERGY":{"TotalStartTime":"2022-01-21T22:26:46","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period": 0,"Power": 0,"Current":0.000},"TIC":{}} 14:42:18.342 HTP: Menu principal 14:42:20.809 HTP: Consoles 14:42:22.397 HTP: Console
J'ai encore du louper un truc! pouvez vous me dire ce que je dois vérifier et comment?
-
Si ta carte est celle-ci : https://github.com/342apps/teleinfokit-board (comme le sous-entend la photo), je pense que la coupable est R1:
Il semble que différents Linky ont des niveaux de sortie différents.
La spec est de 22V crête a crête (de mémoire) mais sur celui chez ma mère ca atteint a peine le 5V sans charge.
Soit tu as de quoi mesurer l'amplitude du signal (oscilloscope), la loi d'Ohm viendra a ton secours pour le calcul.
Soit tu descends progressivement jusqu'à ce que ca marche de manière fiable : 1KOhm ... 470 Ohm ... 220 Ohm -
Hello bon j'ai tjrs pas de valeurs :
21:28:33.416 MQT: maison/tasmota/teleinfo/tele/STATE = {"Time":"2022-01-22T21:28:33","Uptime":"0T00:00:13","UptimeSec":13,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"Livebox_zouzous","BSSId":"DC:00:B0:84:86:C9","Channel":1,"Mode":"11n","RSSI":100,"Signal":-47,"LinkCount":1,"Downtime":"0T00:00:07"}} 21:28:33.426 MQT: maison/tasmota/teleinfo/tele/SENSOR = {"Time":"2022-01-22T21:28:33","ENERGY":{"TotalStartTime":"2022-01-21T22:26:46","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period": 0,"Power": 0,"Current":0.000},"TIC":{}}
Donc pour toi je dois changer la résistance R1 qui doit faire 4,7 ohm pour le moment!
Sinon j"ai pas super compris l'histoire de l'oscilo!
merci
bonne soiree -
Elle fait 4.7kohm (4700) d'après le schémas sur github dont j'ai extrait le petit bout ci dessus.
L'oscilloscope serait pour mesurer la tension exacte de ton signal TIC et calculer proprement la résistance. Mais si tu ne sais pas comment faire (ou n'as pas l'équipement) la méthode empirique en baissant la valeur petit à petit ira très bien aussi.
-
@zibasedom-seblang mets une 220 Ohms normalement ca fonctionne à tous les coups, en revanche je n'ai jamais testé l'étage a transistor derrière dans ce mode.
-
Merci du retour, c'est quoi le risque si je passe à 20 ohms ? J'ai testé à 1kohms mais rien comme remontée
-
220 ohm c'est ce que Charles met sur ses cartes
surtout pas 20 -
Bonjour
J'ai commandé un WeMos Teleinfo à Charles se sera plus simple.
Seb -
Bonsoir, bon en attendant j'ai changé la résistance pour une 220ohms mais toujours pas plus de remontée d'informations!
un autre truc a tester?
merci -
@zibasedom-seblang Si tu as un oscilloscope, il faudrait regarder ce que tu as comme signal, depuis l'entrée jusqu'à l'ESP