Corrupted values PiTInfo v1.3
-
Hi,
I have received my PiTInfo v1.3 some days ago and connected it to an ESPHUZZAH ESP-12. I can collect metrics, but after some time of activity, I start getting weird values. Reseting the ESP board fix the problem for some hours. The two errors I've seen until now are:- The
BASE
value ending with anX
like002401276X
(instead of simply02401276
) - The
ADCO
value ending with the stringBASE
orASE
(instead of just numbers)
My Linky is on TIC
HISTORIQUE
mode.@Charles any clue on what can goes wrong? Is there any known workaround like in https://community.ch2i.eu/topic/37/pitinfo-téléinfo-emoncms-avec-node-red-sur-raspberry-pi-moins-de-30-min-moins-de-10/5 ?
Bests
Kumy - The
-
I've set the
LibTeleinfo
library in debug mode, here is a frame output when it goes wrong:08:47:40.378 -> Updated Frame (37024 Bytes free) 08:47:40.445 -> 1) OPTARIF=BASE '48' Flags:0x04 =>Exist 08:47:40.445 -> 2) ISOUSC=45 '63' Flags:0x04 =>Exist 08:47:40.445 -> 3) PTEC=TH.. '36' Flags:0x04 =>Exist 08:47:40.445 -> 4) IINST=005 '92' Flags:0x04 =>Exist 08:47:40.445 -> 5) IMAX=090 '72' Flags:0x04 =>Exist 08:47:40.445 -> 6) PAPP=01110 '36' Flags:0x08 =>Updated 08:47:40.445 -> 7) HHPHC=A '44' Flags:0x04 =>Exist 08:47:40.445 -> 8) MOTDETAT=000000 '66' Flags:0x04 =>Exist 08:47:40.445 -> 9) BASE=002783606X '43' Flags:0x04 =>Exist 08:47:40.445 -> 10) ADCO=031XXXXXXX04ASE '64' Flags:0x04 =>Exist 08:47:40.445 -> 11) PTECATDCO=031XXXXXXX04 '64' Flags:0x02 =>New
While it's ok after the reset:
08:53:43.751 -> New Frame (38184 Bytes free) 08:53:43.751 -> 1) ADCO=031XXXXXXX04 '64' Flags:0x04 =>Exist 08:53:43.751 -> 2) OPTARIF=BASE '48' Flags:0x04 =>Exist 08:53:43.751 -> 3) ISOUSC=45 '63' Flags:0x04 =>Exist 08:53:43.751 -> 4) BASE=002783719 '48' Flags:0x04 =>Exist 08:53:43.751 -> 5) PTEC=TH.. '36' Flags:0x04 =>Exist 08:53:43.751 -> 6) IINST=005 '92' Flags:0x04 =>Exist 08:53:43.751 -> 7) IMAX=090 '72' Flags:0x04 =>Exist 08:53:43.751 -> 8) PAPP=01120 '37' Flags:0x04 =>Exist 08:53:43.751 -> 9) HHPHC=A '44' Flags:0x04 =>Exist 08:53:43.751 -> 10) MOTDETAT=000000 '66' Flags:0x04 =>Exist
-
Hi Kumy,
I've seen this sometimes (long time ago) when the ESP is stuck in other task and missing some serial char.
I must admin I fixed that long time ago and did not seen it anymore. I did not follow the new update of ESP SDK and arduino, may be you can try with IP stack V1.4 of Arduino IDE ?