# How to activate dynamically created UI switches

**URL:** <https://discourse.nodered.org/t/how-to-activate-dynamically-created-ui-switches/5348>\
**Category:** Dashboard\
**Created:** [30 November 2018 13:32 UTC](https://discourse.nodered.org/t/how-to-activate-dynamically-created-ui-switches/5348 "2018-11-30T13:32:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [30 November 2018 18:07 UTC](https://discourse.nodered.org/t/how-to-activate-dynamically-created-ui-switches/5348/3 "2018-11-30T18:07:28Z")

</div>

I put up a thread about my "[Coffee Pot Timer](https://discourse.nodered.org/t/coffee-pot-timer/4743/7)" project that has a SonOff S20 with a coffee pot plugged into it. I have a dashboard button (the 'cup' that when you click it, it sends a message to the S20 to turn the pot on and starts a 20 minute count down timer that eil shut the plug off if I forget to (the reason I built the flow).

You might want to install it and examine it to learn what I did.

---

_[View the full topic](https://discourse.nodered.org/t/how-to-activate-dynamically-created-ui-switches/5348)._
