Skip to content
  • Blog
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Community Forum

M

Matlo

@Matlo
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent

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

    @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;
                     }
    
    Wemos Teleinfo

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

    @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.

    Wemos Teleinfo
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Blog
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups