Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Tester la librairie LibTeleinfo V1.01 2021-04-18

    Scheduled Pinned Locked Moved Librairie Téléinfo
    2 Posts 1 Posters 682 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      Géryko
      last edited by Géryko

      Bonjour à tous

      Actuellement j'ai un abonnement EDF de base, monophasé, TIC historique.

      J'ai donc les trames de ce type : (LibTeleinfo V1.01 2021-04-18 de Charles-Henri Hallard)
      stx
      ADCO 031762023755 @
      OPTARIF BASE 0
      ISOUSC 30 9
      BASE 000076645 '
      PTEC TH.. $
      IINST 012 Z
      IMAX 090 H
      PAPP 02800 +
      HHPHC A ,
      MOTDETAT 000000 B
      etx
      Je souhaiterais tester des trames réelles avec tarif HP-HC et aussi pour un compteur triphasé.

      Question :
      Quelqu'un pourrait-il me fournir une trame réelle, historique, mono, avec HP-HC ? (comme ci dessus)
      Quelqu'un pourrait-il me fournir une trame réelle, historique, triphasé, (avec HP-HC ou sans, voire les 2) ?
      Si nécessaire, masquer ADCO avec des X. je recalculerai le checksum.

      Si j'ai bien compris, la bibliothèque gère tous les cas et s'adapte ?
      Mais "Attacher les callback dont nous avons besoin" doit-il changer pour le triphasé ?
      En clair, pour un compteur triphasé, faut-il modifier le setup ?

      Merci.
      .........................................................................................
      PS : en cherchant sur le site j'ai trouvé ça pour un compteur HP-HC semble t-il ? (de charles)
      stx
      ADCO 031428067147 B
      OPTARIF HC.. <
      ISOUSC 15 <
      HCHC 000246575 #
      HCHP 000000000 S
      PTEC HC.. S
      IINST 001 X
      IMAX 001 @
      PAPP 00150 ' // apostrophe ?
      HHPHC A , // virgule ?
      MOTDETAT 000000 B
      etx

      1 Reply Last reply Reply Quote
      • G Offline
        Géryko
        last edited by Géryko

        Bonjour à tous,

        J'ai tenté d'approfondir la question malgré la valeur de ADECO qui est toujours fausse.

        1. Avec ma trame de test (captée à mon domicile en tarif BASE) j'obtiens ceci au démarrage :

        TIC RX=GPIO33 Mode:Historique

        ADCO 031762023755 => @ // checksum recalculé = OK ainsi que les autres.

        {"_UPTIME":0, "ADCO":2147483647, "OPTARIF":"BASE", "ISOUSC":30, "BASE":15572906, "PTEC":"TH..", "IINST":2, "IMAX":90, "PAPP":480, "HHPHC":"A", "MOTDETAT":0}
        {"_UPTIME":60, "ADCO":2147483647, "OPTARIF":"BASE", "ISOUSC":30, "BASE":15572906, "PTEC":"TH..", "IINST":2, "IMAX":90, "PAPP":480, "HHPHC":"A", "MOTDETAT":0}

        1. Avec la trame de test (fournie par Charles en tarif HC.. , voir mon 1er post) j'obtiens ceci au démarrage :

        TIC RX=GPIO33 Mode:Historique

        ADCO 031428067147 => B // checksum recalculé = OK ainsi que les autres.

        {"_UPTIME":60, "MOTDETAT":0}
        {"_UPTIME":120, "MOTDETAT":0}
        {"_UPTIME":180, "MOTDETAT":0}

        Question : Pourquoi je n'ai pas l'affichage de la trame complète ? Est-ce normal ?
        Exactement dans les mêmes conditions, il n'y a que la trame de test qui change !
        On peut voir qu'il n'y a pas de " {"_UPTIME":0, etc ...} " et impossible de l'afficher alors qu'avec ma trame, je peux l'afficher à tout moment.

        Merci pour vos retours.

        1 Reply Last reply Reply Quote

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post

        3

        Online

        5.8k

        Users

        552

        Topics

        5.2k

        Posts

        Top Topics

        • Accès à l'interface Serial et/ou Reset du Winky
          Nicolas BernaertsN
          Nicolas Bernaerts
          0
          6
          194

        Popular Tags

        teleinfo
        25 topics
        arduino
        19 topics
        remora
        16 topics
        esp8266
        10 topics
        arduipi
        10 topics
        raspberry
        8 topics
        wifinfo
        7 topics
        broadcast
        7 topics
        Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB