# Set stoptimer value with text input node&environment variables

**URL:** <https://discourse.nodered.org/t/set-stoptimer-value-with-text-input-node-environment-variables/69849>\
**Category:** General\
**Created:** [31 October 2022 16:23 UTC](https://discourse.nodered.org/t/set-stoptimer-value-with-text-input-node-environment-variables/69849 "2022-10-31T16:23:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DiverRich](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/diverrich/32/64523_2.png) [@DiverRich](https://discourse.nodered.org/u/DiverRich)\
**Post date:** [1 November 2022 03:37 UTC](https://discourse.nodered.org/t/set-stoptimer-value-with-text-input-node-environment-variables/69849/4 "2022-11-01T03:37:14Z")

</div>

Not sure if this helps, but attached is a stripped down version of how I use voice commands to Alexa to set the time on the varidelay stop timer. Although I'm using function nodes, I don't see any reason you couldn't feed the information to varidelay via environment variables in a similar way. I use this system for my lights, fans, hubitat modes, and even status reports of different smart home items.

The flow uses the following nodes:

node-red-contrib-alexa-remote2-applestrudel  
node-red-contrib-ecolect  
node-red-contrib-stoptimer-varidelay

You'll have to put in your Alexa account info if you want to use the Alexa nodes. If not, just delete all of the Alexa nodes and the ECOLECT node. The flows should still give you a pretty good idea of how I'm passing info to varidelay.

Hopefully this is somewhat helpful. I'd be happy to answer any questions I can.

If you have more interest in the Alexa aspect you can find out more at: [Pure fun with Alexa and Alexa Skills](https://discourse.nodered.org/t/pure-fun-with-alexa-and-alexa-skills/46867)

[varidelay example flow.txt](https://discourse.nodered.org/uploads/short-url/3CrNG4zsgojvJmp1WolUWE26XiP.txt) (66.8 KB)

---

_[View the full topic](https://discourse.nodered.org/t/set-stoptimer-value-with-text-input-node-environment-variables/69849)._
