Esp12-e WiFi QUAD 277Vac/16Amp Relays + power supply

Instead of CAYENNE_IN(V14) use CAYENNE_OUT(V14) and then send your data in that function. There are plenty of examples around here, one of them is here