LeClubSandwichStudio / LaCOOLBoard

Arduino library & sample sketches for La COOL Board, the open-source, open-hardware environmental monitoring and control device
http://www.lacool.co
MIT License
3 stars 5 forks source link

Sending saved json fails and data is lost! #28

Closed LeSuedois closed 6 years ago

LeSuedois commented 6 years ago

Here one of my tests, in the first try I went to a spot where I have just a little internet with my phone.. the first publish was nice and then the MQTT was gone. the index of lines goes wild and we lose the data between 2018-03-01T09:44:05Z and 2018-03-01T10:03:55Z which is quite a lot since a log is made about every 30 seconds. I don't know if the data is erased at the end of a long push, I don't remember if I saw something like this in the code. I don't think that this is the case ...

` Loading configuration for this CoolBoard... Configuration loaded : OK

Starting La COOL Board... Reading Sensor Configuration... Configuration loaded : OK Onboard Sensors : OK

Reading Wifi Configuration.. Configuration loaded : OK Irene Button : 8725 Wifi connecting... MQTT connecting... Publishing Message : {"state":{"reported":{"publicIP":"xx.xxx.xxx.xxx"}}}

Publish : OK time is syncronised : OK

Printing Cool Board Configuration log interval :10 irene active :1 jetpack active :0 external sensors active :0 sleep active :1 manual active :0 saveAsJSON active :1 saveAsCSV active :0

one log every 10 s CoolBoard is in Online Mode There is data saved on the File System Sending saved data over MQTT

Publishing Message : sending saved data

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:44:05Z","mac":"5CCF7F6815FB","visibleLight":260,"infraRed":256,"ultraViolet":0.02,"Temperature":25.96999,"Pressure":99241.31,"Humidity":26.68066,"Vbat":4.010938,"waterTemp":21.19211,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:44:29Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":256,"ultraViolet":0.03,"Temperature":25.84,"Pressure":99242.96,"Humidity":27.25585,"Vbat":4.034531,"waterTemp":21.10742,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:44:53Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":253,"ultraViolet":0.02,"Temperature":25.6,"Pressure":99234.2,"Humidity":27.38183,"Vbat":4.134805,"waterTemp":21.02272,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:45:16Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":255,"ultraViolet":0.03,"Temperature":25.38999,"Pressure":99235.75,"Humidity":28.31152,"Vbat":3.993242,"waterTemp":21.44621,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:45:40Z","mac":"5CCF7F6815FB","visibleLight":260,"infraRed":259,"ultraViolet":0.03,"Temperature":25.5,"Pressure":99237.95,"Humidity":32.74609,"Vbat":4.087617,"waterTemp":21.53092,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:46:04Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":259,"ultraViolet":0.02,"Temperature":25.58,"Pressure":99236.42,"Humidity":29.95605,"Vbat":3.999141,"waterTemp":21.70033,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:46:28Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":260,"ultraViolet":0.02,"Temperature":25.69,"Pressure":99243.32,"Humidity":27.98144,"Vbat":3.993242,"waterTemp":21.8274,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:46:52Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":259,"ultraViolet":0.03,"Temperature":25.78,"Pressure":99240.67,"Humidity":28.58203,"Vbat":4.128906,"waterTemp":21.95447,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:47:15Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":260,"ultraViolet":0.03,"Temperature":25.84,"Pressure":99237.52,"Humidity":28.43457,"Vbat":4.016836,"waterTemp":21.91211,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:47:39Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":260,"ultraViolet":0.03,"Temperature":25.92,"Pressure":99235.98,"Humidity":29.79199,"Vbat":4.123008,"waterTemp":21.99683,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T09:48:03Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":257,"ultraViolet":0.02,"Temperature":25.99,"Pressure":99235.56,"Humidity":28.875,"Vbat":4.128906,"waterTemp":22.12391,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected... No WiFi Re-connecting..

Exception (29): epc1=0x4000e1b2 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont sp: 3fff2d30 end: 3fff3100 offset: 01a0

stack>>> 3fff2ed0: 00000484 00000484 000001fd 401004f4
3fff2ee0: 00000000 00001000 000001fd 40107a58
3fff2ef0: 40004b31 3fff2f20 0000001c 402393a5
3fff2f00: 401063ea 4023948d 3fffbacc 000001ff
3fff2f10: 000001fd 3fff2fc0 3fffbacc 000001fd
3fff2f20: ffffff00 55aa55aa 000002da 0000001c
3fff2f30: 0000001c 000000c2 000000c2 000001ff
3fff2f40: 4023987c 3fffbacc 3fffbacc 00000001
3fff2f50: 00000001 3fff2fe0 402399e1 3ffefcb0
3fff2f60: 3fffbacc 00000001 3fff2fc0 00000000
3fff2f70: 3fffbb8c 3fff3021 00000001 40239a90
3fff2f80: 3fff2fc0 3fffbacc 3fff2018 3fff05c0
3fff2f90: 3fff2fe0 3fffbacc 3fffbacc 3fff2018
3fff2fa0: 40239acc 3fff1eb1 00000000 3fff05c0
3fff2fb0: 40217f90 00000019 3fff2018 4021cbd9
3fff2fc0: 3fff1f00 000001fd 000001fd 4010020c
3fff2fd0: 00000000 3fff2018 3fff3018 4010068c
3fff2fe0: 00000000 00000001 3ffe901f 4021f4c4
3fff2ff0: 3fff2018 3fff2018 fffffffe 3fff05c0
3fff3000: 3fff2018 00000017 3fff2018 4021cbd9
3fff3010: 3ffe901e 000000f4 3fff0680 40214069
3fff3020: 3fff3a14 00000016 3fff2018 4021cc04
3fff3030: 3fff2018 3fff900c 3fff1eb1 4020e44b
3fff3040: 3fff2018 3fff900c 00000000 4020d27c
3fff3050: 00000001 3fff06c4 3fff0680 3fff0632
3fff3060: 3ffe89c7 3fff05c0 3fff0008 3fff1e44
3fff3070: 3fff89a0 3fff05c0 3fff0008 4020a055
3fff3080: 3fff900c 000000ff 000000f4 00000032
3fff3090: 40239f47 00000003 3fff2018 4021cbd9
3fff30a0: 3fff005c 3fff1e50 3fff2018 4021cbd9
3fff30b0: 0000000a 3fff8928 3fff2018 4020e42c
3fff30c0: 3fffdad0 3fff0008 3fff2018 3fff20d4
3fff30d0: 3fffdad0 00000000 3fff0008 40206e38
3fff30e0: feefeffe 00000000 3fff20cc 4021dbd4
3fff30f0: feefeffe feefeffe 3fff20e0 40100718
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld ⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard...

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld ⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard... Configuration loaded : OK

Starting La COOL Board... Reading Sensor Configuration... Configuration loaded : OK Onboard Sensors : OK

Reading Wifi Configuration.. Configuration loaded : OK Irene Button : 8731 Wifi connecting... Wifi Not Connected time is syncronised : OK

Printing Cool Board Configuration log interval :10 irene active :1 jetpack active :0 external sensors active :0 sleep active :1 manual active :0 saveAsJSON active :1 saveAsCSV active :0

one log every 10 s Wifi Not Connected CoolBoard is in Offline Mode Wifi Not Connected Collecting sensors data

Reading Sensors... saving Data as JSON in Memory: OK Entering CoolBoard.sleep() going to sleep for 10s

rl⸮⸮r⸮⸮#⸮n⸮⸮⸮ ⸮ ⸮⸮p⸮<⸮⸮⸮⸮8⸮⸮ǒ⸮⸮p  ⸮nn⸮⸮;⸮nĒ⸮⸮ ⸮ b⸮$⸮rrp⸮n⸮⸮܀ ⸮⸮⸮⸮l⸮⸮⸮⸮ ⸮ b⸮n⸮⸮n⸮$⸮⸮ ⸮ b⸮⸮>~⸮n⸮⸮⸮⸮⸮l⸮⸮⸮#⸮n⸮⸮rnr⸮⸮⸮;⸮⸮ ?⸮ ⸮;r⸮ےn⸮⸮⸮b⸮⸮Ğ⸮ ⸮⸮⸮Ìr⸮⸮n⸮b⸮⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard... Configuration loaded : OK

Starting La COOL Board... Reading Sensor Configuration... Configuration loaded : OK Onboard Sensors : OK

Reading Wifi Configuration.. Configuration loaded : OK Irene Button : 8727 Wifi connecting... MQTT connecting... Publishing Message : {"state":{"reported":{"publicIP":"80.215.175.131"}}}

Publish : OK time is syncronised : OK

Printing Cool Board Configuration log interval :10 irene active :1 jetpack active :0 external sensors active :0 sleep active :1 manual active :0 saveAsJSON active :1 saveAsCSV active :0

one log every 10 s CoolBoard is in Online Mode There is data saved on the File System Sending saved data over MQTT

Publishing Message : sending saved data

Publish : OK Publishing Message : {"state":{"reported": {"timestamp":"2018-03-01T10:03:55Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":272,"ultraViolet":0.04,"Temperature":26.38999,"Pressure":99218.26,"Humidity":28.11816,"Vbat":4.07582,"waterTemp":22.717,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:04:19Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":271,"ultraViolet":0.03,"Temperature":26.42,"Pressure":99212.21,"Humidity":27.58398,"Vbat":4.07582,"waterTemp":22.4628,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:04:43Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":271,"ultraViolet":0.04,"Temperature":26.46999,"Pressure":99217.53,"Humidity":27.33007,"Vbat":3.999141,"waterTemp":22.63227,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:05:07Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":272,"ultraViolet":0.04,"Temperature":26.46999,"Pressure":99219.46,"Humidity":26.75683,"Vbat":4.028633,"waterTemp":22.67463,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:05:31Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":271,"ultraViolet":0.04,"Temperature":26.36,"Pressure":99220.8,"Humidity":27.59179,"Vbat":4.005039,"waterTemp":22.5899,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:05:54Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":272,"ultraViolet":0.04,"Temperature":26.29,"Pressure":99214.95,"Humidity":27.09668,"Vbat":4.081719,"waterTemp":22.5899,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:06:18Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":272,"ultraViolet":0.04,"Temperature":26.21999,"Pressure":99221.65,"Humidity":27.30273,"Vbat":4.052227,"waterTemp":22.50517,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:06:42Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":270,"ultraViolet":0.03,"Temperature":26.30999,"Pressure":99226.35,"Humidity":28.2539,"Vbat":4.128906,"waterTemp":22.717,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:07:06Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":272,"ultraViolet":0.04,"Temperature":26.33,"Pressure":99222.23,"Humidity":27.09863,"Vbat":4.07582,"waterTemp":22.5899,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:07:30Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":270,"ultraViolet":0.03,"Temperature":26.37,"Pressure":99223.21,"Humidity":27.59179,"Vbat":4.069922,"waterTemp":22.5899,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:07:54Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":270,"ultraViolet":0.03,"Temperature":26.38999,"Pressure":99220.98,"Humidity":28.29394,"Vbat":4.087617,"waterTemp":22.67463,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:08:17Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":271,"ultraViolet":0.04,"Temperature":26.44,"Pressure":99223.61,"Humidity":28.04003,"Vbat":4.128906,"waterTemp":22.5899,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:08:41Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":269,"ultraViolet":0.04,"Temperature":26.33,"Pressure":99218.67,"Humidity":28.91992,"Vbat":4.064023,"waterTemp":22.75937,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:09:05Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":272,"ultraViolet":0.04,"Temperature":26.33,"Pressure":99219.5,"Humidity":28.04492,"Vbat":4.016836,"waterTemp":22.84411,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:09:29Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":263,"ultraViolet":0.03,"Temperature":26.4,"Pressure":99227.25,"Humidity":27.72168,"Vbat":3.999141,"waterTemp":22.63227,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:09:53Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":264,"ultraViolet":0.04,"Temperature":26.4,"Pressure":99219.87,"Humidity":27.92089,"Vbat":4.087617,"waterTemp":22.80174,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:10:17Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":266,"ultraViolet":0.04,"Temperature":26.43,"Pressure":99221.2,"Humidity":27.84082,"Vbat":4.134805,"waterTemp":22.80174,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:10:40Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":265,"ultraViolet":0.04,"Temperature":26.38999,"Pressure":99220.17,"Humidity":27.68652,"Vbat":4.134805,"waterTemp":22.84411,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:11:04Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":265,"ultraViolet":0.03,"Temperature":26.36,"Pressure":99223.53,"Humidity":27.19433,"Vbat":4.105312,"waterTemp":22.80174,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:11:28Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":268,"ultraViolet":0.03,"Temperature":26.37999,"Pressure":99226.75,"Humidity":28.01269,"Vbat":4.128906,"waterTemp":22.84411,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:11:52Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":272,"ultraViolet":0.03,"Temperature":26.41,"Pressure":99228.85,"Humidity":27.4082,"Vbat":4.134805,"waterTemp":22.75937,"ph":195.2497} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:12:16Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":273,"ultraViolet":0.04,"Temperature":26.4,"Pressure":99225.32,"Humidity":27.55957,"Vbat":4.111211,"waterTemp":22.75937,"ph":194.1247} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:12:40Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":272,"ultraViolet":0.04,"Temperature":26.33,"Pressure":99224.95,"Humidity":28.05664,"Vbat":4.010938,"waterTemp":22.717,"ph":187.1066} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:13:03Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":274,"ultraViolet":0.03,"Temperature":26.33,"Pressure":99221.39,"Humidity":28.208,"Vbat":4.052227,"waterTemp":22.5899,"ph":185.8506} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:13:27Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":276,"ultraViolet":0.05,"Temperature":26.32,"Pressure":99219.78,"Humidity":28.81445,"Vbat":4.046328,"waterTemp":22.63227,"ph":186.6185} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:13:51Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":275,"ultraViolet":0.03,"Temperature":26.33,"Pressure":99219.5,"Humidity":27.2041,"Vbat":4.052227,"waterTemp":22.5899,"ph":181.9517} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:14:15Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":255,"ultraViolet":0.03,"Temperature":26.03,"Pressure":99210.13,"Humidity":27.79296,"Vbat":3.999141,"waterTemp":22.54753,"ph":202.0476} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:14:39Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":255,"ultraViolet":0.02,"Temperature":25.77,"Pressure":99223.51,"Humidity":27.90527,"Vbat":4.093515,"waterTemp":22.16627,"ph":10.04175} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:15:02Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":256,"ultraViolet":0.02,"Temperature":25.65,"Pressure":99217.77,"Humidity":27.57128,"Vbat":3.981445,"waterTemp":21.99683,"ph":10.04175} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:15:26Z","mac":"5CCF7F6815FB","visibleLight":260,"infraRed":256,"ultraViolet":0.02,"Temperature":25.53,"Pressure":99218.28,"Humidity":27.6455,"Vbat":4.034531,"waterTemp":21.86975,"ph":10.0358} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:15:50Z","mac":"5CCF7F6815FB","visibleLight":260,"infraRed":256,"ultraViolet":0.02,"Temperature":25.45,"Pressure":99223.64,"Humidity":28.53808,"Vbat":3.975547,"waterTemp":21.70033,"ph":10.0358} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:16:19Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":256,"ultraViolet":0.02,"Temperature":25.37,"Pressure":99221.64,"Humidity":28.25293,"Vbat":4.128906,"waterTemp":21.57327,"ph":10.02985} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:16:42Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":256,"ultraViolet":0.02,"Temperature":25.29999,"Pressure":99217.4,"Humidity":27.29394,"Vbat":4.081719,"waterTemp":21.44621,"ph":10.01794} } }

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:17:57Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":255,"ultraViolet":0.03,"Temperature":25.11,"Pressure":99211.25,"Humidity":28.69043,"Vbat":3.981445,"waterTemp":21.19211,"ph":10.01794} } }

Publish : OK Re-checking RTC... time is syncronised : OK

Reading Sensors... Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:19:24Z","mac":"5CCF7F6815FB","wifiSignal":-62,"visibleLight":261,"infraRed":260,"ultraViolet":0.02,"Temperature":24.11,"Pressure":99173.84,"Humidity":24.76757,"Vbat":4.087617,"waterTemp":21.02272,"ph":52.26328} } }

Publish : OK Entering CoolBoard.sleep() going to sleep for 10s `

LeSuedois commented 6 years ago

this time I went upstairs to have a better 4G on my phone. the results are not the same, this time I got a kind of loop of death with a little stack overflow at the end... ` Loading configuration for this CoolBoard... Configuration loaded : OK

Starting La COOL Board... Reading Sensor Configuration... Configuration loaded : OK Onboard Sensors : OK

Reading Wifi Configuration.. Configuration loaded : OK Irene Button : 8729 Wifi connecting... MQTT connecting... Publishing Message : {"state":{"reported":{"publicIP":"80.215.80.189"}}}

Publish : OK time is not syncronised Transmit NTP Request Transmit NTP Request Enter CoolTime.saveTimeSync()

Printing Cool Board Configuration log interval :10 irene active :1 jetpack active :0 external sensors active :0 sleep active :1 manual active :0 saveAsJSON active :1 saveAsCSV active :0

one log every 10 s CoolBoard is in Online Mode There is data saved on the File System Sending saved data over MQTT

Publishing Message : sending saved data

Publish : OK Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:21:09Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":259,"ultraViolet":0.03,"Temperature":24.08,"Pressure":99174.43,"Humidity":25.85839,"Vbat":4.081719,"waterTemp":21.10742,"ph":45.13806} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:21:33Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":259,"ultraViolet":0.03,"Temperature":24.1,"Pressure":99166.79,"Humidity":25.16308,"Vbat":3.999141,"waterTemp":21.14976,"ph":46.82264} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:21:57Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":260,"ultraViolet":0.03,"Temperature":24.1,"Pressure":99170.32,"Humidity":25.62793,"Vbat":3.999141,"waterTemp":21.14976,"ph":46.59644} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:22:21Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":261,"ultraViolet":0.03,"Temperature":24.1,"Pressure":99177.66,"Humidity":26.01171,"Vbat":4.016836,"waterTemp":21.14976,"ph":53.05497} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:22:45Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":260,"ultraViolet":0.03,"Temperature":24.11,"Pressure":99165.68,"Humidity":24.87207,"Vbat":4.016836,"waterTemp":21.19211,"ph":51.76922} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:23:08Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":262,"ultraViolet":0.03,"Temperature":24.12,"Pressure":99172.73,"Humidity":24.93066,"Vbat":4.128906,"waterTemp":21.19211,"ph":51.1442} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:23:32Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":261,"ultraViolet":0.03,"Temperature":24.11,"Pressure":99168.4,"Humidity":25.24414,"Vbat":4.010938,"waterTemp":21.19211,"ph":50.38822} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:23:56Z","mac":"5CCF7F6815FB","visibleLight":262,"infraRed":260,"ultraViolet":0.03,"Temperature":24.1,"Pressure":99164.88,"Humidity":25.77929,"Vbat":3.981445,"waterTemp":21.19211,"ph":48.86437} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:24:20Z","mac":"5CCF7F6815FB","visibleLight":260,"infraRed":257,"ultraViolet":0.02,"Temperature":24.1,"Pressure":99155.92,"Humidity":24.80175,"Vbat":4.123008,"waterTemp":21.23446,"ph":9.851277} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:24:44Z","mac":"5CCF7F6815FB","visibleLight":261,"infraRed":257,"ultraViolet":0.02,"Temperature":23.98,"Pressure":99192.48,"Humidity":29.05957,"Vbat":4.123008,"waterTemp":-400,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:25:08Z","mac":"5CCF7F6815FB","visibleLight":264,"infraRed":271,"ultraViolet":0.04,"Temperature":24.04999,"Pressure":99195.66,"Humidity":28.90234,"Vbat":4.028633,"waterTemp":21.36151,"ph":202.0476} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected... No MQTT, re-connecting.. MQTT connecting...

Exception (29): epc1=0x4000e1b2 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: sys sp: 3ffffd70 end: 3fffffb0 offset: 01a0

stack>>> 3fffff10: 0262615d 000002f4 3ffeead0 401004f4
3fffff20: 3fff360c 3ffefa30 3ffeead0 40107a58
3fffff30: 3fff360c 3fff3608 00be6c99 40226286
3fffff40: 40105d3a 00be8b1b 40226746 00000008
3fffff50: 4024b13c 00000000 402267f3 3ffeeb84
3fffff60: 3ffefa30 00be9916 3ffefa30 60000600
3fffff70: 40237ee5 3ffeeb84 3ffefa30 026234a0
3fffff80: 40237f2a 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffefa50 00000000 40000f65 3fffdab0
3fffffa0: 40000f49 0002eccf 3fffdab0 40000f49
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld ⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard...

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld ⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard... Configuration loaded : OK

Starting La COOL Board... Reading Sensor Configuration... Configuration loaded : OK Onboard Sensors : OK

Reading Wifi Configuration.. Configuration loaded : OK Irene Button : 8725 Wifi connecting... MQTT connecting... Publishing Message : {"state":{"reported":{"publicIP":"80.215.80.189"}}}

Publish : OK time is syncronised : OK

Printing Cool Board Configuration log interval :10 irene active :1 jetpack active :0 external sensors active :0 sleep active :1 manual active :0 saveAsJSON active :1 saveAsCSV active :0

one log every 10 s CoolBoard is in Online Mode There is data saved on the File System Sending saved data over MQTT

Publishing Message : sending saved data

Publish : OK Publishing Message : {"state":{"reported": {"timestamp":"2018-03-01T10:41:01Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":270,"ultraViolet":0.03,"Temperature":26.36,"Pressure":99180.7,"Humidity":26.85546,"Vbat":3.999141,"waterTemp":22.63227,"ph":188.1841} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:41:25Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":266,"ultraViolet":0.03,"Temperature":26.36,"Pressure":99172.53,"Humidity":27.83691,"Vbat":4.123008,"waterTemp":-400,"ph":186.3804} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:41:49Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":271,"ultraViolet":0.04,"Temperature":26.35,"Pressure":99173.64,"Humidity":28.10449,"Vbat":4.123008,"waterTemp":22.50517,"ph":175.898} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:42:13Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":274,"ultraViolet":0.04,"Temperature":26.34,"Pressure":99173.95,"Humidity":28.40722,"Vbat":4.134805,"waterTemp":113.2035,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:42:37Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":277,"ultraViolet":0.05,"Temperature":26.32,"Pressure":99162.53,"Humidity":27.92675,"Vbat":4.052227,"waterTemp":-400,"ph":46.37024} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:01Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":274,"ultraViolet":0.04,"Temperature":26.30999,"Pressure":99163.64,"Humidity":28.97753,"Vbat":4.052227,"waterTemp":-400,"ph":46.37024} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:24Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":277,"ultraViolet":0.04,"Temperature":26.28,"Pressure":99173.25,"Humidity":28.07714,"Vbat":4.087617,"waterTemp":22.4628,"ph":46.35834} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:48Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":279,"ultraViolet":0.05,"Temperature":26.24,"Pressure":99172.26,"Humidity":28.02734,"Vbat":4.134805,"waterTemp":113.0729,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:44:12Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":277,"ultraViolet":0.05,"Temperature":26.26,"Pressure":99170.03,"Humidity":26.04394,"Vbat":4.099414,"waterTemp":22.25099,"ph":152.5996} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:44:36Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":276,"ultraViolet":0.04,"Temperature":26.18,"Pressure":99162.6,"Humidity":27.94238,"Vbat":4.123008,"waterTemp":22.16627,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:45:00Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":277,"ultraViolet":0.04,"Temperature":26.18,"Pressure":99162.6,"Humidity":27.86035,"Vbat":4.099414,"waterTemp":-400,"ph":148.0102} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected... No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected... No MQTT, re-connecting.. MQTT connecting... rl⸮⸮r⸮⸮#⸮n⸮⸮⸮ ⸮ ⸮⸮p⸮<⸮⸮⸮⸮8⸮⸮ǒ⸮⸮p  ⸮nn⸮⸮;⸮nĒ⸮⸮ ⸮ b⸮$⸮rrp⸮n⸮⸮܀ ⸮⸮⸮⸮l⸮⸮⸮⸮ ⸮ b⸮n⸮⸮n⸮$⸮⸮ ⸮ b⸮ľ~⸮n⸮⸮⸮⸮⸮l⸮⸮⸮#⸮n⸮rnr⸮⸮⸮;⸮⸮ ?⸮ ⸮;r⸮ےn⸮⸮⸮b⸮⸮Ğ⸮ ⸮⸮⸮Ìr⸮⸮n⸮b⸮⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard... Configuration loaded : OK

Starting La COOL Board... Reading Sensor Configuration... Configuration loaded : OK Onboard Sensors : OK

Reading Wifi Configuration.. Configuration loaded : OK Irene Button : 8726 Wifi connecting... MQTT connecting... Publishing Message : {"state":{"reported":{"publicIP":"80.215.80.189"}}}

Publish : OK time is syncronised : OK

Printing Cool Board Configuration log interval :10 irene active :1 jetpack active :0 external sensors active :0 sleep active :1 manual active :0 saveAsJSON active :1 saveAsCSV active :0

one log every 10 s CoolBoard is in Online Mode There is data saved on the File System Sending saved data over MQTT

Publishing Message : sending saved data

Publish : OK Publishing Message : {"state":{"reported": {"timestamp":"2018-03-01T10:41:01Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":270,"ultraViolet":0.03,"Temperature":26.36,"Pressure":99180.7,"Humidity":26.85546,"Vbat":3.999141,"waterTemp":22.63227,"ph":188.1841} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:41:25Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":266,"ultraViolet":0.03,"Temperature":26.36,"Pressure":99172.53,"Humidity":27.83691,"Vbat":4.123008,"waterTemp":-400,"ph":186.3804} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:41:49Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":271,"ultraViolet":0.04,"Temperature":26.35,"Pressure":99173.64,"Humidity":28.10449,"Vbat":4.123008,"waterTemp":22.50517,"ph":175.898} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:42:13Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":274,"ultraViolet":0.04,"Temperature":26.34,"Pressure":99173.95,"Humidity":28.40722,"Vbat":4.134805,"waterTemp":113.2035,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:42:37Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":277,"ultraViolet":0.05,"Temperature":26.32,"Pressure":99162.53,"Humidity":27.92675,"Vbat":4.052227,"waterTemp":-400,"ph":46.37024} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:01Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":274,"ultraViolet":0.04,"Temperature":26.30999,"Pressure":99163.64,"Humidity":28.97753,"Vbat":4.052227,"waterTemp":-400,"ph":46.37024} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:24Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":277,"ultraViolet":0.04,"Temperature":26.28,"Pressure":99173.25,"Humidity":28.07714,"Vbat":4.087617,"waterTemp":22.4628,"ph":46.35834} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:48Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":279,"ultraViolet":0.05,"Temperature":26.24,"Pressure":99172.26,"Humidity":28.02734,"Vbat":4.134805,"waterTemp":113.0729,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:44:12Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":277,"ultraViolet":0.05,"Temperature":26.26,"Pressure":99170.03,"Humidity":26.04394,"Vbat":4.099414,"waterTemp":22.25099,"ph":152.5996} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:44:36Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":276,"ultraViolet":0.04,"Temperature":26.18,"Pressure":99162.6,"Humidity":27.94238,"Vbat":4.123008,"waterTemp":22.16627,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:45:00Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":277,"ultraViolet":0.04,"Temperature":26.18,"Pressure":99162.6,"Humidity":27.86035,"Vbat":4.099414,"waterTemp":-400,"ph":148.0102} } }

No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected... No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected... No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected... No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected... No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected...

Exception (29): epc1=0x4000e1b2 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: sys sp: 3ffffd70 end: 3fffffb0 offset: 01a0

stack>>> 3fffff10: 020e37c0 000002f4 3ffeead0 401004f4
3fffff20: 3fff360c 3ffefa30 3ffeead0 40107a58
3fffff30: 3fff360c 3fff3608 00a436da 40226286
3fffff40: 40105fc8 00a44c15 40226746 00000008
3fffff50: 40106e3c 00000000 402267f3 3ffeeb84
3fffff60: 3ffefa30 00a44c15 3ffefa30 60000600
3fffff70: 40237ee5 3ffeeb84 3ffefa30 020df3ba
3fffff80: 40237f2a 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffefa58 00000000 40000f65 3fffdab0
3fffffa0: 40000f49 00007dec 3fffdab0 40000f49
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld ⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard...

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld ⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard... Configuration loaded : OK

Starting La COOL Board... Reading Sensor Configuration... Configuration loaded : OK Onboard Sensors : OK

Reading Wifi Configuration.. Configuration loaded : OK Irene Button : 8726 Wifi connecting... MQTT connecting... Publishing Message : {"state":{"reported":{"publicIP":"80.215.80.189"}}}

Publish : OK time is syncronised : OK

Printing Cool Board Configuration log interval :10 irene active :1 jetpack active :0 external sensors active :0 sleep active :1 manual active :0 saveAsJSON active :1 saveAsCSV active :0

one log every 10 s CoolBoard is in Online Mode There is data saved on the File System Sending saved data over MQTT

Publishing Message : sending saved data

Publish : OK Publishing Message : {"state":{"reported": {"timestamp":"2018-03-01T10:41:01Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":270,"ultraViolet":0.03,"Temperature":26.36,"Pressure":99180.7,"Humidity":26.85546,"Vbat":3.999141,"waterTemp":22.63227,"ph":188.1841} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:41:25Z","mac":"5CCF7F6815FB","visibleLight":263,"infraRed":266,"ultraViolet":0.03,"Temperature":26.36,"Pressure":99172.53,"Humidity":27.83691,"Vbat":4.123008,"waterTemp":-400,"ph":186.3804} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:41:49Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":271,"ultraViolet":0.04,"Temperature":26.35,"Pressure":99173.64,"Humidity":28.10449,"Vbat":4.123008,"waterTemp":22.50517,"ph":175.898} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:42:13Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":274,"ultraViolet":0.04,"Temperature":26.34,"Pressure":99173.95,"Humidity":28.40722,"Vbat":4.134805,"waterTemp":113.2035,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:42:37Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":277,"ultraViolet":0.05,"Temperature":26.32,"Pressure":99162.53,"Humidity":27.92675,"Vbat":4.052227,"waterTemp":-400,"ph":46.37024} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:01Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":274,"ultraViolet":0.04,"Temperature":26.30999,"Pressure":99163.64,"Humidity":28.97753,"Vbat":4.052227,"waterTemp":-400,"ph":46.37024} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:24Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":277,"ultraViolet":0.04,"Temperature":26.28,"Pressure":99173.25,"Humidity":28.07714,"Vbat":4.087617,"waterTemp":22.4628,"ph":46.35834} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:43:48Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":279,"ultraViolet":0.05,"Temperature":26.24,"Pressure":99172.26,"Humidity":28.02734,"Vbat":4.134805,"waterTemp":113.0729,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:44:12Z","mac":"5CCF7F6815FB","visibleLight":266,"infraRed":277,"ultraViolet":0.05,"Temperature":26.26,"Pressure":99170.03,"Humidity":26.04394,"Vbat":4.099414,"waterTemp":22.25099,"ph":152.5996} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:44:36Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":276,"ultraViolet":0.04,"Temperature":26.18,"Pressure":99162.6,"Humidity":27.94238,"Vbat":4.123008,"waterTemp":22.16627,"ph":397.1011} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

Published failed after 5 retries Publishing Message : {"state":{"reported":{"timestamp":"2018-03-01T10:45:00Z","mac":"5CCF7F6815FB","visibleLight":265,"infraRed":277,"ultraViolet":0.04,"Temperature":26.18,"Pressure":99162.6,"Humidity":27.86035,"Vbat":4.099414,"waterTemp":-400,"ph":148.0102} } }

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT connected : OK

No MQTT, re-connecting.. MQTT connecting... MQTT not jet connected...

Exception (29): epc1=0x4000e1b2 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: sys sp: 3ffffd70 end: 3fffffb0 offset: 01a0

stack>>> 3fffff10: 01f81a93 000002f4 3ffeead0 401004f4
3fffff20: 3fff360c 3ffefa30 3ffeead0 40107a58
3fffff30: 3fff360c 3fff3608 009d3f87 40226286
3fffff40: 40105d3a 009d5e06 40226746 00000008
3fffff50: 40106e3c 00000000 402267f3 3ffeeb84
3fffff60: 3ffefa30 009d61cd 3ffefa30 60000600
3fffff70: 40237ee5 3ffeeb84 3ffefa30 01f80e7d
3fffff80: 40237f2a 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffefa48 00000000 40000f65 3fffdab0
3fffffa0: 40000f49 0000929f 3fffdab0 40000f49
<<<stack<<<

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld ⸮ [5C:CF:7F:68:15:FB]

Loading configuration for this CoolBoard...

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 ~ld ⸮ `

LeSuedois commented 6 years ago

Ok I thing I found why we get funny crashes. in CoolFileSystem.cpp, line 736: int maxString = 50; this maxString counts later (line 771-814) the lines we loaded into memory to push them over MQTT. I prepared my CoolBoard with a hundred logs in memory and at some moment it crashed, everything burns and smoke everywhere... A message is about 240-250 chars long so : 250*50 = 12500 At a pointour buffer overflows and that's all. I reduced this parameter to 5, it takes "longer" to get all messages but at least you get them.. take a look at fix/nomadLEAK

LeSuedois commented 6 years ago

solved with new storage system https://github.com/LaCoolCo/LaCOOLBoard/commit/ddce1c2ef2cf23509c7983ecaa42f0f75abc267d