fmartinou / hassio-addons

Hass.io addons repository
MIT License
28 stars 21 forks source link

Téléinfo2MQQTT - Problème mode Standard #12

Open xekil opened 1 year ago

xekil commented 1 year ago

Bonjour,

J'essaie d'utiliser l'addon (8.2.0) avec un module USB de chez GCE (compatible Standard et Historique). Mon compteur linky est en mode Standard et je suis sur un tarif BASE.

Je rencontre plusieurs problèmes et du coup cela ne fonctionne pas :(

1) Il semble y a voir des trames erronés :

20:28:33.296 DEBUG teleinfo2mqtt: Split frame [PCOUP,12,\]
20:28:33.296 DEBUG teleinfo2mqtt: Value for label PCOUP = 12
20:28:33.296 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.328 DEBUG teleinfo2mqtt: Raw frame [SINSTS 02928   []
20:28:33.328 DEBUG teleinfo2mqtt: Split frame [SINSTS,02928,[]
20:28:33.328 DEBUG teleinfo2mqtt: Value for label SINSTS = 02928
20:28:33.328 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.391 DEBUG teleinfo2mqtt: Raw frame [SMAXSN H230201090704   04820   7]
20:28:33.391 DEBUG teleinfo2mqtt: Split frame [SMAXSN,H230201090704,04820,7]
20:28:33.391 DEBUG teleinfo2mqtt: Value for label SMAXSN = 04820
20:28:33.391 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.440 DEBUG teleinfo2mqtt: Raw frame [SMAXSN-1   H230126082828   04970   )]
20:28:33.440 DEBUG teleinfo2mqtt: Split frame [SMAXSN-1,H230126082828,04970,)]
20:28:33.440 DEBUG teleinfo2mqtt: Value for label SMAXSN-1 = 04970
20:28:33.440 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.504 DEBUG teleinfo2mqtt: Raw frame [CCASN  H230201200000   00656   6]
20:28:33.504 DEBUG teleinfo2mqtt: Split frame [CCASN,H230201200000,00656,6]
20:28:33.504 DEBUG teleinfo2mqtt: Value for label CCASN = 00656
20:28:33.504 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.551 DEBUG teleinfo2mqtt: Raw frame [CCASN-1    H230201193000   00696   #]
20:28:33.552 DEBUG teleinfo2mqtt: Split frame [CCASN-1,H230201193000,00696,#]
20:28:33.552 DEBUG teleinfo2mqtt: Value for label CCASN-1 = 00696
20:28:33.552 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.599 DEBUG teleinfo2mqtt: Raw frame [UMOY1  H230201202000   234 #]
20:28:33.599 DEBUG teleinfo2mqtt: Split frame [UMOY1,H230201202000,234,#]
20:28:33.599 DEBUG teleinfo2mqtt: Value for label UMOY1 = 234
20:28:33.599 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.648 DEBUG teleinfo2mqtt: Raw frame [STGE   003AC001    M]
20:28:33.648 DEBUG teleinfo2mqtt: Split frame [STGE,003AC001,M]
20:28:33.648 DEBUG teleinfo2mqtt: Value for label STGE = 003AC001
20:28:33.648 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.712 DEBUG teleinfo2mqtt: Raw frame [MSG1        PAS DE          MESSAGE        <]
20:28:33.712 DEBUG teleinfo2mqtt: Split frame [MSG1,     PAS DE          MESSAGE    ,<]
20:28:33.712 DEBUG teleinfo2mqtt: Value for label MSG1 =      PAS DE          MESSAGE    
20:28:33.712 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.760 DEBUG teleinfo2mqtt: Raw frame [PRM    25450553296398  T]
20:28:33.760 DEBUG teleinfo2mqtt: Split frame [PRM,25450553296398,T]
20:28:33.760 DEBUG teleinfo2mqtt: Value for label PRM = 25450553296398
20:28:33.760 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.792 DEBUG teleinfo2mqtt: Raw frame [RELAIS 000 B]
20:28:33.792 DEBUG teleinfo2mqtt: Split frame [RELAIS,000,B]
20:28:33.792 DEBUG teleinfo2mqtt: Value for label RELAIS = 000
20:28:33.792 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.824 DEBUG teleinfo2mqtt: Raw frame [NTARF  01  N]
20:28:33.824 DEBUG teleinfo2mqtt: Split frame [NTARF,01,N]
20:28:33.824 DEBUG teleinfo2mqtt: Value for label NTARF = 01
20:28:33.824 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.855 DEBUG teleinfo2mqtt: Raw frame [NJOURF 00  &]
20:28:33.855 DEBUG teleinfo2mqtt: Split frame [NJOURF,00,&]
20:28:33.855 DEBUG teleinfo2mqtt: Value for label NJOURF = 00
20:28:33.855 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:33.904 DEBUG teleinfo2mqtt: Raw frame [NJOURF+1   00  B]
20:28:33.905 DEBUG teleinfo2mqtt: Split frame [NJOURF+1,00,B]
20:28:33.905 DEBUG teleinfo2mqtt: Value for label NJOURF+1 = 00
20:28:33.905 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.048 DEBUG teleinfo2mqtt: Raw frame [PJOURF+1   00008001 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE  9]
20:28:34.048 DEBUG teleinfo2mqtt: Split frame [PJOURF+1,00008001 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE,9]
20:28:34.048 DEBUG teleinfo2mqtt: Value for label PJOURF+1 = 00008001 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE
20:28:34.048 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.096 DEBUG teleinfo2mqtt: Raw frame [ADSC   023885955617    L] 
20:28:34.096 DEBUG teleinfo2mqtt: Split frame [ADSC,023885955617,L]
20:28:34.096 DEBUG teleinfo2mqtt: Value for label ADSC = 023885955617
20:28:34.096 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.096 DEBUG teleinfo2mqtt: Ignoring MQTT emission because of emit interval (Emit interval : 30 - Last emit time : 1675279687774 - Current time : 1675279714096
20:28:34.128 DEBUG teleinfo2mqtt: Raw frame [VTIC   02  J]
20:28:34.128 DEBUG teleinfo2mqtt: Split frame [VTIC,02,J]
20:28:34.128 DEBUG teleinfo2mqtt: Value for label VTIC = 02
20:28:34.128 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.176 DEBUG teleinfo2mqtt: Raw frame [DATE   H230201202832       :]
20:28:34.176 DEBUG teleinfo2mqtt: Split frame [DATE,H230201202832,:]
20:28:34.176 DEBUG teleinfo2mqtt: Value for label DATE = 
20:28:34.176 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.224 DEBUG teleinfo2mqtt: Raw frame [NGTF         BASE          <]
20:28:34.224 DEBUG teleinfo2mqtt: Split frame [NGTF,      BASE      ,<]
20:28:34.224 DEBUG teleinfo2mqtt: Value for label NGTF =       BASE      
20:28:34.224 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.272 DEBUG teleinfo2mqtt: Raw frame [LTARF        BASE          F]
20:28:34.272 DEBUG teleinfo2mqtt: Split frame [LTARF,      BASE      ,F]
20:28:34.272 DEBUG teleinfo2mqtt: Value for label LTARF =       BASE      
20:28:34.273 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.304 DEBUG teleinfo2mqtt: Raw frame [EAST   028038936   6]
20:28:34.304 DEBUG teleinfo2mqtt: Split frame [EAST,028038936,6]
20:28:34.304 DEBUG teleinfo2mqtt: Value for label EAST = 028038936
20:28:34.304 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.352 DEBUG teleinfo2mqtt: Raw frame [EASF01 028038936   I]
20:28:34.352 DEBUG teleinfo2mqtt: Split frame [EASF01,028038936,I]
20:28:34.352 DEBUG teleinfo2mqtt: Value for label EASF01 = 028038936
20:28:34.352 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.400 DEBUG teleinfo2mqtt: Raw frame [EASF02 000000000   #]
20:28:34.400 DEBUG teleinfo2mqtt: Split frame [EASF02,000000000,#]
20:28:34.400 DEBUG teleinfo2mqtt: Value for label EASF02 = 000000000
20:28:34.400 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.431 DEBUG teleinfo2mqtt: Raw frame [EASF03 000000000   $]
20:28:34.431 DEBUG teleinfo2mqtt: Split frame [EASF03,000000000,$]
20:28:34.431 DEBUG teleinfo2mqtt: Value for label EASF03 = 000000000
20:28:34.431 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]
20:28:34.479 DEBUG teleinfo2mqtt: Raw frame [EASF04 000000000   %]
20:28:34.480 DEBUG teleinfo2mqtt: Split frame [EASF04,000000000,%]
20:28:34.480 DEBUG teleinfo2mqtt: Value for label EASF04 = 000000000
20:28:34.480 DEBUG teleinfo2mqtt: Frame parsed [[object Object]]

2) Les entités ne sont pas toutes créer dans HA (lié au premier problème ?)

Appareil

PS : J'ai pu voir qu'il existait précédemment un problème avec le PJOURF+1 mais aussi avec le mode Standard et je me demande (dans le doute) si les corrections sont faite simultanément sur l'addon et sur le docker ?

Merci d'avance