# Dimmer for rf light

**URL:** <https://discourse.nodered.org/t/dimmer-for-rf-light/82291>\
**Category:** General\
**Created:** [23 October 2023 16:08 UTC](https://discourse.nodered.org/t/dimmer-for-rf-light/82291 "2023-10-23T16:08:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![donbrew](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/donbrew/32/108512_2.png) [@donbrew](https://discourse.nodered.org/u/donbrew)\
**Post date:** [23 October 2023 16:08 UTC](https://discourse.nodered.org/t/dimmer-for-rf-light/82291/1 "2023-10-23T16:08:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 December 2023 16:08 UTC](https://discourse.nodered.org/t/dimmer-for-rf-light/82291/2 "2023-12-22T16:08:49Z")

</div>

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