Hi @mfalkvidd,
thanks for the suggestion.
For the complete log, there will be some wait time. I will have to come back to the location and record it. It may takes days.
The only log I have was the last successful one.
I have some serial prints in each main function.
As it is visible in the log, I enter and leave properly in each.
- before in and out,
- setup in and out...
And there is a lot of activity about temperature sensors prior the presentation.
Each of these temperature reading are coming from the loop(). Each read do lead to a send(). So I was wondering if these send() could or couldn't be the reason of the random delay to execute the presentation? !
Considering without presentation being executed, the sends are useless !
0 MCO:BGN:INIT GW,CP=R-NGA---,REL=255,VER=2.3.1
4 MCO:BGN:BFR
Before_in:
Before_out:
684 GWT:TIN:IP=192.168.0.27
1687 MCO:BGN:STP
Setup_in:
Setup_out:
1688 MCO:REG:NOT NEEDED
1692 MCO:BGN:INIT OK,TSP=NA
Temp Sensor[5] tempidx[0]temp=29.30
Temp Sensor[6] tempidx[1]temp=43.70
Button sensor7 value=1
Waterpump button value1 send 0
Button sensor-1 value=1
Button sensor-1 value=1
Button sensor-1 value=1
Button sensor-1 value=1
Temp Sensor[5] tempidx[0]temp=29.20
Temp Sensor[6] tempidx[1]temp=43.60
Temp Sensor[5] tempidx[0]temp=29.30
Temp Sensor[5] tempidx[0]temp=29.20
Temp Sensor[5] tempidx[0]temp=29.30
Temp Sensor[6] tempidx[1]temp=43.50
Temp Sensor[6] tempidx[1]temp=43.60
33609 GWT:TSA:ETH OK
->presentation_in:
Nb temperature sensors=2
S01-P22 Relais 1
S02-P23 Relais 2
S03-P24 Relais 3
S04-P25 Relais 4
Present sensor temperature[5] idx_temp=0 : desc=S05-P36 Temp 1-Pisc
Present sensor temperature[6] idx_temp=1 : desc=S06-P36 Temp 2-Chauf
S07-P35 Moteur Pisc
<-presentation_out
33636 GWT:RFC:MSG=0;0;3;0;2;
33716 GWT:RFC:MSG=0;0;3;0;2;Get Version
34708 GWT:RFC:MSG=0;0;3;0;18;PING
Temp Sensor[6] tempidx[1]temp=43.50
Temp Sensor[6] tempidx[1]temp=43.60
Temp Sensor[6] tempidx[1]temp=43.50
44723 GWT:RFC:MSG=0;0;3;0;18;PING
54733 GWT:RFC:MSG=0;0;3;0;18;PING