Motion detecting to turn on device

Hi my name is Mandela
I am wondering how to program a motion detector to turn on my ceiling light and to start up my computer and its two LCD screens when I walk into the room? What sketch would you use
thankyou

Hi my name is Mandela
I am wondering if there is a way to program and get a motion detector ( for cheap) to turn on my ceiling light and to start up my computer and its two LCD screens when I walk into the room?
thankyou

Probably. It depends on how cheap you are.

Don

Probably. It depends on how cheap you are.

funny Don, :grin:

Yes you could....

Desktop or laptop? (WOL / wake on lan) or button press
Ceiling light - a simple relay .

My desktop tower system is old by normal standards (>4 yrs) but it has a momentary button to turn on as opposed
to the old style that had a switch that was either IN or OUT and you could turn on the system by pushing in the button and then using the power strip on/off switch. With my current pc, the only way to turn it on is depress the momentary button or take the covers off and hack into the wires going to the button and connect them to relay contacts, and then you have wires coming out of
it.

Hoi,

of course this is possible - easily :smiley:

@Mandela01, please do not cross-post. Topics merged.