# Unable to get until node working as intended

**URL:** https://discourse.nodered.org/t/unable-to-get-until-node-working-as-intended/79289
**Category:** General
**Created:** [18 June 2023 20:20 UTC](https://discourse.nodered.org/t/unable-to-get-until-node-working-as-intended/79289 "2023-06-18T20:20:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![dan\_moss](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dan_moss/32/80752_2.png) [@dan\_moss](https://discourse.nodered.org/u/dan_moss)
#### Post date: [18 June 2023 20:20 UTC](https://discourse.nodered.org/t/unable-to-get-until-node-working-as-intended/79289/1 "2023-06-18T20:20:43Z")

</div>

I have a flow where i want to turn on a light when the door is opened then motion is detected within 10s

the only weird thing is that the microwave sensor doesnt seem to activate the until node and always times out. the trigger for the microwave node shows on and off, however it stays red when 'on' is displayed. I have the binary sensor debug shown and beleive that is correct (same as i have for the door magnet sensor set up in the same way)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9f7bfbba228d04cd5a9447680c42567cdc0eb900.png)

i tried turning off 'check against current state' since that was in another forum post, but doesnt seem to make a diffrence if on or off.

Thanks!

---

<div class="post-metadata">

### Author: ![dan\_moss](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dan_moss/32/80752_2.png) [@dan\_moss](https://discourse.nodered.org/u/dan_moss)
#### Post date: [21 June 2023 20:35 UTC](https://discourse.nodered.org/t/unable-to-get-until-node-working-as-intended/79289/2 "2023-06-21T20:35:27Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/0/90bb06ecacbc7ae8c97f80599ca22176d0df05a2.png)

i had to use state instead of payload and now it works as intended

---

<div class="post-metadata">

### Author: ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)
#### Post date: [21 June 2023 21:05 UTC](https://discourse.nodered.org/t/unable-to-get-until-node-working-as-intended/79289/3 "2023-06-21T21:05:54Z")

</div>

Hi Dan, and welcome to the forum.

I think if you hang around here for a while, you'll find that relatively few of us use Home Assistant, although we help when we can. So cross-posting on the HA forum with questions like this is probably a good idea.

---

<div class="post-metadata">

### Author: ![dan\_moss](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dan_moss/32/80752_2.png) [@dan\_moss](https://discourse.nodered.org/u/dan_moss)
#### Post date: [22 June 2023 07:11 UTC](https://discourse.nodered.org/t/unable-to-get-until-node-working-as-intended/79289/4 "2023-06-22T07:11:27Z")

</div>

Thanks for the heads up!  
@drmibell Out of curiosity what is your application if not home assistant?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [22 June 2023 07:34 UTC](https://discourse.nodered.org/t/unable-to-get-until-node-working-as-intended/79289/5 "2023-06-22T07:34:35Z")

</div>

He means most people here run node-red without ha.

---

<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: [6 July 2023 07:34 UTC](https://discourse.nodered.org/t/unable-to-get-until-node-working-as-intended/79289/6 "2023-07-06T07:34:39Z")

</div>

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