Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Matlo
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Groups 0

    Matlo

    @Matlo

    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Matlo Unfollow Follow

    Latest posts made by Matlo

    • RE: Wemos téléinfo v1.1 + D1 mini V4 + Tasmota + mode Standard

      @Charles A partir du tag v14.4.1, j'ai remplacé les 4 appels à strstr() introduits par le commit par 4 appels à strstr_P(), cela corrige le problème.

      diff --git a/tasmota/tasmota_xnrg_energy/xnrg_15_teleinfo.ino b/tasmota/tasmota_xnrg_energy/xnrg_15_teleinfo.ino
      index 3b43ac1e7..961bf370e 100644
      --- a/tasmota/tasmota_xnrg_energy/xnrg_15_teleinfo.ino
      +++ b/tasmota/tasmota_xnrg_energy/xnrg_15_teleinfo.ino
      @@ -454,13 +454,13 @@ void DataCallback(struct _ValueList * me, uint8_t  flags)
                   // Contract subscribed (standard is in clear text in value)
                   else if (ilabel == LABEL_NGTF)
                   {
      -                if (strstr(me->value, TELEINFO_STD_CONTRACT_BASE)) {
      +                if (strstr_P(me->value, TELEINFO_STD_CONTRACT_BASE)) {
                           contrat = CONTRAT_BAS;
      -                } else if (strstr(me->value, TELEINFO_STD_CONTRACT_HCHP)) {
      +                } else if (strstr_P(me->value, TELEINFO_STD_CONTRACT_HCHP)) {
                           contrat = CONTRAT_HC;
      -                } else if (strstr(me->value, TELEINFO_STD_CONTRACT_BBR)) {
      +                } else if (strstr_P(me->value, TELEINFO_STD_CONTRACT_BBR)) {
                           contrat = CONTRAT_BBR;
      -                } else if (strstr(me->value, TELEINFO_STD_CONTRACT_EJP)) {
      +                } else if (strstr_P(me->value, TELEINFO_STD_CONTRACT_EJP)) {
                           contrat = CONTRAT_EJP;
                       }
      
      posted in Wemos Teleinfo
      M
      Matlo
    • RE: Wemos téléinfo v1.1 + D1 mini V4 + Tasmota + mode Standard

      @Charles Bonjour,

      J'ai le même problème de plantage avec le wemos d1.

      J'ai fait un git-bissect, le résultat est :

      200221acc2329c8be493f9a946f5d0f4898d429a is the first bad commit
      commit 200221acc2329c8be493f9a946f5d0f4898d429a
      Author: Charles hallard04@free.fr
      Date: Tue Nov 22 00:41:58 2022 +0100

      Added TEMPO and status register decoding for standard mode
      

      Je n'ai pas encore eu le temps de regarder plus en détail ce qui pourrait causer le crash.

      posted in Wemos Teleinfo
      M
      Matlo