# Motion Light with Timer

**URL:** https://discourse.nodered.org/t/motion-light-with-timer/90411
**Category:** General
**Created:** [25 August 2024 08:10 UTC](https://discourse.nodered.org/t/motion-light-with-timer/90411 "2024-08-25T08:10:50Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![AphofisX](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aphofisx/32/93843_2.png) [@AphofisX](https://discourse.nodered.org/u/AphofisX)
#### Post date: [25 August 2024 15:44 UTC](https://discourse.nodered.org/t/motion-light-with-timer/90411/8 "2024-08-25T15:44:39Z")

</div>

I don't know exactly how to set the input node. So that the status of the robot is available and how I set the Tuya device at the beginning node  
Vacuum Roboter In Node

 ![Screenshot 2024-08-25 174107](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/5/058695108ae0aa352f6ac89c66a934b3299cb81c.png)  
is Attribute what you fill in "robo" ?

Motion Sensor In Node

 ![Screenshot 2024-08-25 174124](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/2/d21a1aa1bf3c227b84fe2b7a19c2e057d29f350f.png)  
is Attribute from the Wall Switch then mean not payload then named switch  
What do I have to set for this to work?

---

_[View the full topic](https://discourse.nodered.org/t/motion-light-with-timer/90411)._
