Home automation

I want to control lamp's and outlets. I want to put an Arduino a place, and run as few cables as possible to conrol relays in the outlets. What would be best i2c or somthing else?

(deleted)

I always make two recommendations:

  1. Research existing home automation protocols, and choose one of them. Virtually all of them are wireless.

  2. You can build your own "master controller" if you wish, but don't attempt to build your own switches. There are lots of engineering challenges to making all the electronics and fitting into an electrical box with power supply. For example, you can buy an [u]X-10 dimmer[/u] for about $20 USD.

FYI - I've had an X-10 system based system for many years, but I didn't build any of it myself. (It's now a combination X-10 and Insteon system.) I've got about 10 controlled lights & outlets, a master timer-controller and a few manual remote controllers around the house.

spycatcher2k:
I2C is for short Chip - Chip (Or some sensors) comms - Serial, or RS485 is a better choice. I use RS485 to control 10 lights and 8 sockets, it's easy to use, and has the benifit of working over very long cables. I use telephone cables for this as it only needs 2 wires.

Is there a RS485 transistor or somthing i can controll a relay with?

(deleted)