@TimO Would you mind showing a sketch of your setup, and the used components?
The thing I don't understand is how you simulate the button push ...
It looks like you use a relay, but is a relay not always on or off? so sending a 24V pulse to the DIN Relay only requires the relay to switch on for 1 sec.
is that what you are doing here?
// Change relay state
// WE ONLY EXPECT a 1 == on HERE
digitalWrite(message.sensor-1+RELAY_1, message.getBool()?RELAY_ON:RELAY_OFF);
gw.wait(1000);
digitalWrite(message.sensor-1+RELAY_1, RELAY_OFF);
@AWI I think you are right looking that the size to accomplish my goal, the sensor in wall scenario is going to be to big.