Motionsensor + Relay 2.1
- 
					
					
					
					
Does anyone has a sketch for a node with Motionsensor and a Relay?
Please help
 - 
					
					
					
					
Any ideas?
 - 
					
					
					
					
How about adapting RelayWithButtonActuator example. The "button" in your case would be the motion sensor.
 - 
					
					
					
					
Its an nice idea.
But i need the motion sensor seperatly in domotic.
It controls more than One relay or device.
 - 
					
					
					
					
Then you have to modify it a bit. I really think you should try this yourself to learn how it works.
Have you read the relevant API pages on the main site? Did you get stuck somewhere?