Pi 0 W : trames reçues bizarres



  • Bonjour,
    Je teste mon module PiTInfo sur un Pi 0 W fraichement installé (donc en buster)
    Voici ce que j'obtiens comme trames avec picocom :

    pi@raspberrypi:~ $ picocom -b 1200 -d 7 -p e -f n /dev/ttyS0 
    picocom v3.1
    
    port is        : /dev/ttyS0
    flowcontrol    : none
    baudrate is    : 1200
    parity is      : even
    databits are   : 7
    stopbits are   : 1
    escape is      : C-a
    local echo is  : no
    noinit is      : no
    noreset is     : no
    hangup is      : no
    nolock is      : no
    send_cmd is    : sz -vv
    receive_cmd is : rz -vv -E
    imap is        : 
    omap is        : 
    emap is        : crcrlf,delbs,
    logfile is     : none
    initstring     : none
    exit_after is  : not set
    exit is        : no
    
    !! Settings mismatch !! Type [C-a] [C-v] to see actual port settings
    Type [C-a] [C-h] to see available commands
    Terminal ready
    z GDD}@ N
             -f&C{ Fb{ FB{0FF0F FF fFfffffFf"&%bk $jb2fJJJJJJJJJJGfb%F&$j$F}$F} nk(&(T(T(T(TbFH4pD0}D}aG*HN
                                                                                                           *FG}0fC{pFb{ FB{0FF0F FF fFffffffFf"&%bk $jb*fJJJJJJJJJJGfb%FGF&"F& F},f#F{(DF",pbBb" DD|DE|D0|J }
                           d4*FG}0fG0fC{ Fb{ FB{nFF0F FF fFfffffff"&%bk $jb*fJJJJJJJJJJGfC|f"$E"$j$F| jR,p<pbFb xbbbD
                                                                                                                 DD|D(~F8~D`fQ f0fG0fC{ Fb{ FB{0FF0F FF fFfffffFf"&%bk $jb*fJJJJJJJJ
                                                                                                                                                                                    JFfcB}f""FjD"F&$Fb,p@b"bb"yBD
                            BD(D~P&`f f0fG0fC{ Fb{ FB{0FF0F FF fFffffffFf"%bk $jb*fJJJ
                                                                                      Jp
                                                                                        JpJDfc""bT|$BD"F&$F}(DbbBb"b"""Kr${ 
                                                                                                                            D(`f f0fG0fC{ Fb{ FB{nFF0F FF fFfffffff"&%bk $j*G
                                                                                                                                                                             JpJJ0u""*DfB}"f{jD""pDF""bbbb"""DKDD|I
    
                                 f&&`f f0fG0fC{ Fb{ FB{0FF0> FF fFffffffFf"&%bk |BUb"G+u$LR]"+5Dbc|"|*D#T"D"D"pbDb"bb"""""Dr rEJ
                                                                                                                                &&`f f0fG0fC{ Fb{ FB{0FF0F FF fFffffffFf"&%b&1bEkE0Eb*G$LRY"B$lDD"p"|B"DD"p"D""�"""" D@0r(vEEJ
                                            .`f f0fG0fC{ Fb{ FB{0FF0F FF fFffffffFfT&FDk1bEkD&Eb*GD$L"[LIJ0u""DD"p"|"D"D"pbD"""""""$rcD 0F{8v FbJ
                                                                                                                                                 .&`f f0fG0fC{ F2{ FB{0FF0F FF fFf&ffGFC(""pDOkD(EkE0Eb
                    LIB�$HB�$XB�$D|"pt ""p"D"T"T""""DIAD$v!f(v8F(FJ
                                                                   &&`f f0fG0f{ Fb{ FB{0FF0F FF f(FN,FN,FNC("$pDDEJDDD
                                                                                                                     "HB
                                                                                                                        HB
                                                                                                                          HB
    
                                                                                                                            |"pp "D�p"D�""$"DH"�D` A$F{@ (f8F8F(FJ
                                                                                                                                                                  `f f0fG0fC{ Fb{ FB{0FF0F FF fF-F'-F'ff~CpBD
                           "Td0
                               (~
                                HB
                                  HB
                                    HB
                                      Hz
                                        | pp "D"z"D""IDH$F{,v<v@ ,F,F(f8F8F(FJ
                                                                              c&&`f f0fG0fC{ F5{ FB{0FF0FG{~FF| fFCG\,FNfF("&D
                                                                                                                              "T
                                                                                                                            HB
                                                                                                                              HB
                                                                                                                                HB
                                                                                                                                  Hz
                                                                                                                                    | pNp ""z"DP4Fr"(&$F{@ <b,F,F,F(f88F(FJ
                                                                                                                                                                           &&&`f f0fG0fC{ Fb{ FB{ FF0FG{(FL+fF{CFND((JLFN#C~"  
                                         HB
                                           HB
                                             HB
                                               Hz
                                                 | pt " 	D"F|cD D}4F{,F,F<F<F,F,F,F(f8F8F(FJ
                                                                                               &`f f0fG0fC{ Fb{ FBz*FF~
                                                                                                                       fGzcFF|+fFzffffb~JDz#0x"
                                                                                                                                              HB
                                                                                                                                                HB
                                                                                                                                                  HB
                                                                                                                                                    Hz
                                                                                                                                                      | pt E$JF|,&v 4F,F,F<F<F,F,F,F(f8F8F(FJ
           .&`f f fG0f
                      ~
    
                       N~ | Ht&E$JPF!f<F<F,F,F<F<F,F,,F(f8F8F(J
                                                               :`f f fG~
                                                                        fFj (bz\FN{\FF{BFfD
                                                                                           L|BFHBJD x
                                                                                                 HB
                                                                                                   HB
                                                                                                     Jz
                                                                                                       N|$Fp&E&$j$,f'F<F,F,FF<F,F,F,F(f8F8F(FJ
                                                                                                                                              .&`fN f< fG~
                                                                                                                                                          fFj fF
                                                                                                                                                                ~\FFpXFFt`L
    
                                                                                                                                                                           L|xJDJD
                                                                                                                                                                             $HUDJR $R"BE$F"&$j$F&$',f<F<F,F,F<F<F,F,F,F(f8F8F(FJ
                                               .&.G`fN f<*fG~,F
                                                                fF`XFp#4P#|z~IpJD
                                                                               L(x*E*BJ
                                                                                       J%F&$j$F&$',<F<F,F,F,F(f8F(FJ
                                                                                                                    g8`fN~\(N
                                                                                                                             *fG~-F
                                                                                                                                   P,|#$Fp#A@#A@
                                                                                                                                                L|IpJD
    
                                                                                                                                                    "E E*E$`
                                                                                                                                                            J`JJJtGfb%F&$j$F&$,f<F<FlF,F<F<F,F,F,F(f8F8F(FJ|
                          CG}9D(\bFtX(F
                                       *fXV}#Mp#$Fp#A@ A@
                                                         L|p
    
    
                                                         ( D "E ER*fJpJJJJJJJJGfb%F&$j$F&$,f<F<F,F,F<F<F,F,F,F(f8F8F(F((J|cCzFg{9\D(XfNtH(LF|@(F(cF}#@F@#A
                                                                                                                                                           A@ A@
                                                                                                                                                                L|Ip
    
    
                                                                                                                                                                 (%@BQD $~E0b*fJJJJJJJJJJGfb%F&$j$F&$,f<F<Fp,F,F<F<F,F,F,F(f8F8F(FD}:||cD&Dgz)D(#B@L, Ip#IH#@F@#A
                                                                               #A@ A@
                                                                                     L|IB
    
                                                                                      @AxpDKF $jb*fJJJJJJJJJJGfb%F&fj$F&$,f<F<F,F,F<F<F,F,F,F(f8F8F(F0c0bD{Dz|cPQ~KzD!z#F|#x#Ip Ip@F@ A
      A@ A@
           L|Ip
    
                &$-F%(B"&%bk $jb*fJJJJ&JJJJJGfb%F&$j$F&$',f<F<F,F,F<F<F,F,F,F(f8FF(& b c0bD}pHKD~KFz
                                                                                                    z
                                                                                                     z @|#Ip#Ip Ip @F@ A
                                                                                                                         A@ A@
                                                                                                                              L| 
                                                                                                                                 @$@d&dFf"&%bk $jb*fJJJJJJJJJJGfb%F&$j$F&$',f<F<F,F,F<F<F,F,F,F(f#F{8F~(FzDD0@JDxJp
                                 DKDx
                                     Dp
                                      z#@4z#Ip`Ip Ip @F@ A
                                                           A@ IDOB
                                                                  D0|AG|&d}ffffFf"&%bk $jb*fJJJJJJJJJJGfR%F&$j$F&$,f<F<F,F,F<F<F,F Fb,F~(& FbB((~D Bdp(Dp
                                                                                                                                                         D
                                                                                                                                                          Dz
                                                                                                                                                            Dz
                                                                                                                                                             z @| Ip Ip
    Terminating...
    Skipping tty reset...
    Thanks for using picocom
    
    
    

    C'est .... bizarre non ?



  • J'ai réussi à recevoir autre chose, qui ressemble plus à du contenu viable :

    pi@raspberrypi:~ $ cat logteleinfo.log
    picocom v3.1
    
    port is        : /dev/ttyAMA0
    flowcontrol    : none
    baudrate is    : 9600
    parity is      : even
    databits are   : 7
    stopbits are   : 1
    escape is      : C-a
    local echo is  : no
    noinit is      : no
    noreset is     : no
    hangup is      : no
    nolock is      : no
    send_cmd is    : sz -vv
    receive_cmd is : rz -vv -E
    imap is        :
    omap is        :
    emap is        : crcrlf,delbs,
    logfile is     : none
    initstring     : none
    exit_after is  : not set
    exit is        : no
    
    Type [C-a] [C-h] to see available commands
    Terminal ready
    0	%
    EASF05	000000000	&
    EASF06	000000000	'
    EASF07	000000000	(
    EASF08	000000000	)
    EASF09	000000000	*
    EASF10	0	"
    EASD01	002493203	7
    EASD02	000000000	!
    EASD03	000000000	"
    EASD04	000000000	#
    IRMS1	001	/
    IRMS2	002	1
    IRMS3	000	0
    40MS1	A40	@
    URMS3	239	J
    PREF	09	H
    PCOUP	09	"
    SINSTS	00892	Y
    SINSTS1	00271	A
    SINSTS2	00583	H
    SINSTS3	00038	D
    SMAXSN	E200811115306	03320	.
    SMAXSN1	E200811115306	03050	_
    SMAXSN2	E200811131815	02350	%
    SMAXSN3095922	00130	(
    SMAXSN-1	E200810192506	04240	T
    SMAXSN1-1	E200810192506	03970	N
    SMAXSN2-1	E200810103044	00340	8
    SMAXSN3-1	E2008	00380	I
    CCASN	E200811150000	00578	>
    CCASN-1	E200811143000	00558	\
    UMOY1	E200811150000	239	+
    UMOY2	E200811150000	240	$
    UMOY3	E0000	238	,
    STGE	003A0001	:
    MSG1	     PAS DE          MESSAGE    	<
    PRM	19858176535209	F
    RELAIS	000	B
    NTARF	01	N
    NJOURF
    NJOURF+1	00	B
    PJOURF+1	00008001 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE	9
    ADSC	J21976885617	I
    DATE	E200811150447		?
    NGTF	      BASE      	<
    LTARF	      BASE      	F
    EAST	002493204	'
    EASF01	002493204	:
    EASF02	000000000	#
    EASF03	000000000	$
    EASF04	000000000	%
    EASF05	000000000	&
    EASF06	000000000	'
    EASF07	000000000	(
    EASF08	000000000	)
    EASF09	000000000	*
    EASF10	000000000	"
    EASD01	40	@
    URMS2	240	A
    URMS3	238	I
    PREF	09	H
    PCOUP	09	"
    SINSTS	00897	^
    SINSTS1	00267	F
    SINSTS2	00591	G
    SINSTS3	00038	D
    SMAXSN	E200811115306	03320	.
    SMAXSN1	E200811115306	03050	_
    SMAXSN2	E200811131815	02350	%
    SMAXSN3	E200811095922	00130	(
    SMAXSN-1	E200810192506	04240	T
    SMAXSN1-1	E200810192506	03970	N
    SMAXSN2-1	E200810103044	00340	8
    SMAXSN3-1	E200810085137	00380	I
    CCASN	E200811150000	00578	>
    CCASN-1	E200811143000	00558	\
    UMOY1	E200811150000	239
    UMOY2	E200811150000	240	$
    UMOY3	E200811150000	238	,
    STGE	00
    MSG1	     PAS DE          MESSAGE    	<
    PRM	19858176535209	F
    RELAIS	000	B
    NTARF	01	N
    NJOURF	00	&
    1JOURF+100008001 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE	9
    ADSC	021976885617	I
    VTIC	02	J
    DATE	E2449		A
    NGTF	      BASE      	<
    LTARF	      BASE      	F
    EAST	002493204	'
    EASF01	002493204	:
    EASF02	00000000
    EASF03	000000000	$
    EASF04	000000000	%
    EASF05	000000000	&
    EASF06	000000000	'
    EASF07	000000000	(
    EASF08	000000000	)
    EASF09	0	*
    EASF10	000000000	"
    EASD01	002493204	8
    EASD02	000000000	!
    EASD03	000000000	"
    EASD04	000000000	#
    IRMS1	001	/
    IRMS2	0
    IRMS3	000	0
    URMS1	240	@
    URMS2	240	A
    URMS3	238	I
    PREF	09	H
    PCOUP	09	"
    SINSTS	00931	S
    SINSTS1	00269	H
    SINSTS2	00038	D
    SMAXSN	E200811115306	03320	.
    SMAXSN1	E200811115306	03050	_
    SMAXSN2	E200811131815	02350	%
    SMAXSN3	E200811095922	00130	(
    SMAXSN-1	E2008104240	T
    SMAXSN1-1	E200810192506	03970	N
    SMAXSN2-1	E200810103044	00340	8
    SMAXSN3-1	E200810085137	00380	I
    CCASN	E200811143000	00558	\
    UMOY1	E200811150000	239	+
    UMOY2	E200811150000	240	$
    UMOY3	E200811150000	238	,
    STGE	003A0001	:
    MSG1	  E          MESSAGE    	<
    PRM	19858176535209	F
    RELAIS	000	B
    NTARF	01	N
    NJOURF	00	&
    NJOURF+1	00	B
    PJOURF+1	00008001 NONUTILE NONUTILE NONUTILE NOONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE	9
    ADSC	021976885617	I
    VTIC	02	J
    DATE	E200811150451		:
    NGTF	      BASE      	<
    LTARF	      BASE      	F
    EAST	002493204	'
    EASF01	002493204	:
    EASF02	000000000	#
    EASF03	000000000	$
    EASF04	00000000
    EASF05	000000000	&
    EASF06	000000000	'
    EASF07	000000000	(
    EASF08	000000000	)
    EASF09	000000000	*
    EASF10	000000000	"
    EASD01	002493205	9
    EASD02	000000000	!
    EASD03	000000000	"
    EASD04	000000000	#
    IRMS1	001	/
    IRMS2	002	1
    IRMS3	000	0
    URMS1	2
    URMS2	240	A
    URMS3	239	J
    PREF	09	H
    PCOUP	09	"
    SINSTS	00812	Q
    SINSTS1	00267	F
    SINSTS2	00507	D
    SINSTS3	00038	D
    SMAXSN	15306	03320	.
    SMAXSN1	E200811115306	03050	_
    SMAXSN2	E200811131815	02350	%
    SMAXSN3	E200811095922	00130	(
    SMAXSN-1	E200810192506
    SMAXSN1-1	E200810192506	03970	N
    SMAXSN2-1	E200810103044	00340	8
    SMAXSN3-1	E200810085137	00380	I
    CCASN	E200811150000	00578	>
    CCASN-1	E200811143000	00558	\
    UMOY1	E0000	239	+
    UMOY2	E200811150000	240	$
    UMOY3	E200811150000	238	,
    STGE	003A0001	:
    MSG1	  E          MESSAGE    	<
    PRM	19858176535209	F
    RELAIS	000	B
    NTARF	01	N
    NJOURF	00	&
    NJOURF+1	00	B
    PJOURF+1	00008001 NONUTILE NONUUTILE NONUTILE NONUTILE NONUTILE NONUTIL21976885617	I
    VTIC	02	J
    DATE	E200811150454		=
    NGTF	      BASE      	<
    LTARF	      BASE      	F
    EAST	002493205	(
    EASF01	002493205	;
    EASF02	000000000	#
    EASF03	000000000	$
    EASF04	000000000	%
    EASF05	00000000
    EASF06	000000000	'
    EASF07	000000000	(
    EASF08	000000000	)
    EASF09	000000000	*
    EASF10	000000000	"
    Terminating...
    Skipping tty reset...
    Thanks for using picocom
    pi@raspberrypi:~ $
    

    Afin de sortir ce log j'utilise

    picocom -b 9600 -d 7 -p e -f n /dev/ttyAMA0
    

    (En effet, en 1200 bauds, c'est que du charabia)

    Est-ce que ces trames semblent correctes ?



  • ah ah ah bah oui t'es en mode linky historique c'est du 9600 bauds pas 1200 :-)

    En revanche c'est pas encore codé ce mode dans tasmota, je suis dessus tu pourras tester et me dire si ca fonctionne car tjs pas de linky.



  • ah :)
    ça me rassure :)

    Ok pour faire les tests, pas de souci :)
    D'ailleurs si tu veux que je fasse beta testeur, n'hésite pas !

    Sinon je rappelle mon fournisseur d'électricité pour repasser en mode normal ?


Log in to reply