Hello again,
My sensor node had the radio module too close to the arduino so I thought it might cause interference.
I modified it a bit putting the radio 3-4cm away and with the antenna up and it started working like a charm.
The problem I have now is that I don't have a node module on vera's interface. I have only the lightswitch.
Tx: fr=3,to=0,la=3,ne=0,ci=3,mt=2,ty=2,cr=13:
Ack: received OK
Message available on pipe 1
Sent ack msg to 0
Rx: fr=0,to=3,la=0,ci=3,mt=3,t=2,cr=134(ok): 0
Message addressed for this node.
Message available on pipe 1
Sent ack msg to 0
Rx: fr=0,to=3,la=0,ci=3,mt=1,t=2,cr=55(ok): 1
Message addressed for this node.
Relaying message back to gateway.
Tx: fr=3,to=0,la=3,ne=0,ci=3,mt=1,ty=2,cr=28: 1
Ack: received OK
Incoming change for relay on pin:3, New status: 1
Message available on pipe 1
Sent ack msg to 0
Rx: fr=0,to=3,la=0,ci=3,mt=1,t=2,cr=80(ok): 0
Message addressed for this node.
Relaying message back to gateway.
Tx: fr=3,to=0,la=3,ne=0,ci=3,mt=1,ty=2,cr=123: 0
Ack: received OK
Incoming change for relay on pin:3, New status: 0