# Help with Dimmer function

**URL:** <https://discourse.nodered.org/t/help-with-dimmer-function/39264>\
**Category:** Developing Nodes\
**Created:** [17 January 2021 12:55 UTC](https://discourse.nodered.org/t/help-with-dimmer-function/39264 "2021-01-17T12:55:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![benilsson](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@benilsson](https://discourse.nodered.org/u/benilsson)\
**Post date:** [17 January 2021 12:55 UTC](https://discourse.nodered.org/t/help-with-dimmer-function/39264/1 "2021-01-17T12:55:47Z")

</div>

Hi

Can someone help me to write this.

I have Shelly Dimmer 2  
Home assistant with node red on a raspberry  
Lights thru Deconz

I want to use input 2 on the Shelly Dimmer to on/off/dimming a light in Deconz.  
On input 2 on the shelly I have a push button.

---

<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:** [18 March 2021 12:55 UTC](https://discourse.nodered.org/t/help-with-dimmer-function/39264/2 "2021-03-18T12:55:59Z")

</div>

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