Cool! It's so easy to forget that there are long press and short press conmands, isn't it?
Once when a client had a fireplace installed with an RF controller. I located the valve wires, ditched the RF controller, and controlled it with a Xantech multichannel relay module. It was then MY remote!
A good answer is easier with a clear question giving the make and model of everything. "The biggest problem in communication is the illusion that it has taken place." -- G. “Bernie” Shaw