Hmm, my french betray me.
For sending, the key is adress and not address…
Try with this command:
mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoRF2" -m "{"unit":1,"groupBit":0,"period":262,"adress":1939456,"switchType":1}"
If working I will correct the code