@robert I have tried your Node sketch and it works fine with my gateway, I am using development branch 2.3.1-alpha.
Your listing is the same as my unit, gateway stats and the node presents data to the gateway.
If you are expecting anything else then the controller will have to send some command. Your log file shows no commands from the controller.
I am using openHAB and it works as expected switching the relay outputs.
Are you sure your domoticz is sending switching information?
my Gateway Log, of Gateway startup and Node Presentation
0 MCO:BGN:INIT GW,CP=RSNGA---,VER=2.3.1-alpha
4 TSM:INIT
5 TSF:WUR:MS=0
6 TSM:INIT:TSP OK
7 TSM:INIT:GW MODE
9 TSM:READY:ID=0,PAR=0,DIS=0
12 MCO:REG:NOT NEEDED
314 GWT:TIN:IP=192.168.1.152
1316 MCO:BGN:STP
1318 MCO:BGN:INIT OK,TSP=1
1320 TSM:READY:NWD REQ
1340 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
1723 TSF:MSG:READ,10-10-0,s=255,c=3,t=21,pt=1,l=1,sg=0:0
1748 TSF:MSG:READ,0-10-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
1754 TSF:MSG:BC
12392 TSF:MSG:READ,10-10-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
12397 TSF:MSG:BC
12399 TSF:MSG:FPAR REQ,ID=10
12401 TSF:PNG:SEND,TO=0
12404 TSF:CKU:OK
12405 TSF:MSG:GWL OK
12552 TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
14423 TSF:MSG:READ,10-10-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
14428 TSF:MSG:PINGED,ID=10,HP=1
14457 TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
14488 TSF:MSG:READ,10-10-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
14514 TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
14547 TSF:MSG:READ,10-10-0,s=255,c=0,t=18,pt=0,l=11,sg=0:2.3.1-alpha
14572 TSF:MSG:READ,10-10-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
16600 TSF:MSG:READ,10-10-0,s=255,c=3,t=11,pt=0,l=5,sg=0:Relay
16626 TSF:MSG:READ,10-10-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
16650 TSF:MSG:READ,10-10-0,s=1,c=0,t=3,pt=0,l=0,sg=0:
16672 TSF:MSG:READ,10-10-0,s=2,c=0,t=3,pt=0,l=0,sg=0:
16695 TSF:MSG:READ,10-10-0,s=3,c=0,t=3,pt=0,l=0,sg=0:
16717 TSF:MSG:READ,10-10-0,s=4,c=0,t=3,pt=0,l=0,sg=0:
16740 TSF:MSG:READ,10-10-0,s=5,c=0,t=3,pt=0,l=0,sg=0:
16762 TSF:MSG:READ,10-10-0,s=6,c=0,t=3,pt=0,l=0,sg=0:
16788 TSF:MSG:READ,10-10-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
16825 TSF:MSG:SEND,0-0-10-10,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1
Gateway and node then wait for data from controller then the gateway forwards the information to the node for the relays to operate
21545 GWT:TSA:ETH OK
21553 GWT:RFC:MSG=0;0;3;0;2;
21558 GWT:RFC:MSG=
38531 GWT:RFC:MSG=10;1;1;0;2;1
38551 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:1
38558 GWT:RFC:MSG=
40156 GWT:RFC:MSG=10;1;1;0;2;0
40177 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:0
40183 GWT:RFC:MSG=
41359 GWT:RFC:MSG=10;1;1;0;2;1
41379 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:1
41385 GWT:RFC:MSG=
42444 GWT:RFC:MSG=10;1;1;0;2;0
42465 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:0
42472 GWT:RFC:MSG=
43549 GWT:RFC:MSG=10;1;1;0;2;1
43570 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:1
43576 GWT:RFC:MSG=
44527 GWT:RFC:MSG=10;1;1;0;2;0
44548 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:0
44555 GWT:RFC:MSG=
45376 GWT:RFC:MSG=10;1;1;0;2;1
45396 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:1
45404 GWT:RFC:MSG=
46257 GWT:RFC:MSG=10;1;1;0;2;0
46278 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:0
46284 GWT:RFC:MSG=
47184 GWT:RFC:MSG=10;1;1;0;2;1
47205 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:1
47211 GWT:RFC:MSG=
48029 GWT:RFC:MSG=10;1;1;0;2;0
48050 TSF:MSG:SEND,0-0-10-10,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:0
48057 GWT:RFC:MSG=
50527 GWT:RFC:MSG=10;2;1;0;2;1
50547 TSF:MSG:SEND,0-0-10-10,s=2,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:1
50554 GWT:RFC:MSG=
51294 GWT:RFC:MSG=10;2;1;0;2;0
51314 TSF:MSG:SEND,0-0-10-10,s=2,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:0
51320 GWT:RFC:MSG=
Node Debug Log
7 MCO:BGN:INIT REPEATER,CP=RSNRA---,VER=2.3.1-alpha
27 MCO:BGN:BFR
28 TSM:INIT
29 TSF:WUR:MS=0
30 TSM:INIT:TSP OK
32 TSM:INIT:STATID=10
34 TSF:SID:OK,ID=10
36 TSM:FPAR
54 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
214 TSF:MSG:READ,0-0-10,s=255,c=3,t=8,pt=1,l=1,sg=0:0
219 TSF:MSG:FPAR OK,ID=0,D=1
2062 TSM:FPAR:OK
2063 TSM:ID
2064 TSM:ID:OK
2066 TSM:UPL
2084 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
2119 TSF:MSG:READ,0-0-10,s=255,c=3,t=25,pt=1,l=1,sg=0:1
2124 TSF:MSG:PONG RECV,HP=1
2127 TSM:UPL:OK
2128 TSM:READY:ID=10,PAR=0,DIS=1
2151 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
2176 TSF:MSG:READ,0-0-10,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
2209 TSF:MSG:SEND,10-10-0-0,s=255,c=0,t=18,pt=0,l=11,sg=0,ft=0,st=OK:2.3.1-alpha
2235 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
4262 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=11,pt=0,l=5,sg=0,ft=0,st=OK:Relay
4289 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.0
4312 TSF:MSG:SEND,10-10-0-0,s=1,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
4335 TSF:MSG:SEND,10-10-0-0,s=2,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
4358 TSF:MSG:SEND,10-10-0-0,s=3,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
4380 TSF:MSG:SEND,10-10-0-0,s=4,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
4403 TSF:MSG:SEND,10-10-0-0,s=5,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
4425 TSF:MSG:SEND,10-10-0-0,s=6,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
4431 MCO:REG:REQ
4451 TSF:MSG:SEND,10-10-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
4488 TSF:MSG:READ,0-0-10,s=255,c=3,t=27,pt=1,l=1,sg=0:1
4493 MCO:PIM:NODE REG=1
4495 MCO:BGN:STP
4497 MCO:BGN:INIT OK,TSP=1
26218 TSF:MSG:READ,0-0-10,s=1,c=1,t=2,pt=0,l=1,sg=0:1
Incoming change for sensor:1, New status: 1
27844 TSF:MSG:READ,0-0-10,s=1,c=1,t=2,pt=0,l=1,sg=0:0
Incoming change for sensor:1, New status: 0
29046 TSF:MSG:READ,0-0-10,s=1,c=1,t=2,pt=0,l=1,sg=0:1
Incoming change for sensor:1, New status: 1
30133 TSF:MSG:READ,0-0-10,s=1,c=1,t=2,pt=0,l=1,sg=0:0
Incoming change for sensor:1, New status: 0
31237 TSF:MSG:READ,0-0-10,s=1,c=1,t=2,pt=0,l=1,sg=0:1
Incoming change for sensor:1, New status: 1
32216 TSF:MSG:READ,0-0-10,s=1,c=1,t=2,pt=0,l=1,sg=0:0
Incoming change for sensor:1, New status: 0
33064 TSF:MSG:READ,0-0-10,s=1,c=1,t=2,pt=0,l=1,sg=0:1
Incoming change for sensor:1, New status: 1
33946 TSF:MSG:READ,0-0-10,s=1,c=1,t=2,pt=0,l=1,sg=0:0
you could try to change the setup to request the status of the relays from the controller.
void setup()
{
wdt_enable(WDTO_4S);
for (int sensor=1; sensor<=NUMBER_OF_RELAYS; sensor++) {
request(sensor,V_STATUS);
}
}