Dimmer for rf light

I have a litex wall mounted rf remote controlling my ceiling fan. It has 1 button for the light, to dim you hold the button. I have a esp8266 with a cc1101 module attached that controls the fan an turns the light on/off fine using nodered. The dimmer does not accept percentages.
I want to dim the light with node red. The rf code for the light button is 1790. How would I go about simulating holding the button in node red? Everything I can find is about holding a physical button.for mqtt in, not mqtt out.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.