# Dimmer Button - Moes / Smart Knob

**URL:** <https://discourse.nodered.org/t/dimmer-button-moes-smart-knob/65535>\
**Category:** General\
**Created:** [24 July 2022 17:10 UTC](https://discourse.nodered.org/t/dimmer-button-moes-smart-knob/65535 "2022-07-24T17:10:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregolin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregolin/32/65109_2.png) [@gregolin](https://discourse.nodered.org/u/gregolin)\
**Post date:** [24 July 2022 17:10 UTC](https://discourse.nodered.org/t/dimmer-button-moes-smart-knob/65535/1 "2022-07-24T17:10:15Z")

</div>

Hi.  
Has anyone had success with Moes/Smart Knob button setup with Node Red? It seems Z2M is accepting 4 actions: single press, double press, long press and rotate (left/right).  
I'm not been able to work with it and I'd be thankful if anyone has some example.  
Thanks.

 ![Screen Shot 2022-07-24 at 2.06.22 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/b/2b54b4dca0b4d8e658233fac20a599e21b5a0b0a.png)

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [24 July 2022 19:53 UTC](https://discourse.nodered.org/t/dimmer-button-moes-smart-knob/65535/2 "2022-07-24T19:53:10Z")

</div>

What's not working? What did you tried yourself?  
The first thing you need to find out on what topic zigbee2mqtt is publishing the messages from this knob.  
If you know that it's simple to add a mqtt node to NR. Add a debug node to it and see what happens.

---

<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 September 2022 19:53 UTC](https://discourse.nodered.org/t/dimmer-button-moes-smart-knob/65535/3 "2022-09-22T19:53:15Z")

</div>

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