Remotely turn on and off home lights

Hi i was wondering if i could hook up a 120v transistor (don't know if i should use pnp or npn) to my home lights and pmw it with my arduino. Eventually i want to be able to do this remotely, possibly by an ethernet shield.

Hi i was wondering if i could hook up a 120v transistor (don't know if i should use pnp or npn) to my home lights and pmw it with my arduino.

Assuming your home lights are AC then simple answer is no. Start reading here http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1230333861.

Eventually i want to be able to do this remotely, possibly by an ethernet shield.

Search these forums or Google and you will find others who have trodden this path before you.

INFO on the ArduinoInfo WIKI here - http://arduinoinfo.info

Controlling power with Arduino: http://arduino-info.wikispaces.com/ArduinoPower

If you don’t need instant response, you could use ifttt, which can monitor things like twitter feeds, facebook, weather, etc. http://ifttt.com/wtf.

A project that is trying to do this control in a larger scale is SmartThings http://www.kickstarter.com/projects/smartthings/smartthings-make-your-world-smarter/posts/297212?ref=activity.

However, that being said, the whole idea of having all of your devices talking to your smartphone kind of creeps me out.