Smart-Wiring my new house

I’ve spoken to a few people about the new “smart” wiring setup going into
my new house ( which is being built), and I remember at least a few of you
said you were interested in helping out with it when it came time to start
“pulling wires” and whatnot.

Well, that time is now.

Starting tomorrow ( friday 15May), and going all weekend, I’ll be
running/pulling 1/2 km of cat6 cable through my house, including conduit,
trenching, etc.

If you have any hands-on wiring, and want to be productive, then please
flick me an email (davidbuzz@gmail.com) , or phone me (if you have it), and
we can go from there.

I’m hoping maybe to get a couple or a few people to help me on Sat at the
very least. :slight_smile: There will probably be beer/cider/drinks afterwards.
:slight_smile:

Buzz.

1 Like

update: this has been delayed till next weekend as the electrician is
behind schedule and has not done their first - fix yet.
It’s much easier to do my part of the wiring after electricians first
fix… as that means I’m not guessing where the power and lights might end
up…

Buzz

While I’m not available to help out, I am interested in your project. Can you tell us a bit more about it?

Though the delay may be annoying for yourself, it may mean I will be able
to attend the wiring party now :slight_smile:

The plan is to be able to computer control all the lights and built - in
equipment in the house… ie air con etc. Additionally I will also be
running cable to possibly in the future allow computer control of the power
points as well.

Sounds cool. That’s something I’ll be doing once I get to the home-owning stage.

  • What protocol are you using? RS485 (if so, what on top)? X10?
  • What sort of cable are you running it over?
  • How are you powering the control circuitry? Dropping down the mains at each point, or running something lower and DC along with your comms cable?
  • What’s the reason for wired over wireless? (I would do it because it’s: more secure, less prone to interference, and can run DC along with it - but am keen to hear your reasons)

Sounds cool. That’s something I’ll be doing once I get to the home-owning stage.

What protocol are you using? RS485 (if so, what on top)? X10?

ELV ( ie 5 or 12v or similar DC, 50mA current is what matters here) used to
switch a 240V AC rated mains via an appropriate SSR at each
light-switch.

What sort of cable are you running it over?

Cat6… is there any other sort?      This allows me to change the setup in the
future to use RS485, or Ethernet, or some other protocol if I want
to.

How are you powering the control circuitry? Dropping down the mains at each point, or running something lower and DC along with your comms cable?

The “control circuitry” ( ie the intelligent part/s ) is
centrally located in a “server room” ( closet).  From there, the on/off
logic runs as DC to each SSR, which is located at each light-switch.

What’s the reason for wired over wireless? (I would do it because it’s: more secure, less prone to interference, and can run DC along with it - but am keen to hear your reasons)

Absolutely to do with reliability, speed, cost, etc.     
cost:
wifi or any other “wireless” module at each lightswitch means having to have
a cpu located there ( $2-$10), and an appropriate wifi, bluetooth, or
2.4g type adaptor ( $5-$20) ,  and a way to power each of them , such as
a buck converter, or transformer/rectifier, or similar ( $2-$10), or a
DC power cable to each location.

reliability / speed, etc.
20-50 cheap $2 wireless modules all splashing around on the same frequency sounds hard
to write code for, especially if you want your light-switch actions to
“feel” instantaneousm and work 100% of the time. 
20-50 more complicated wifi modules, will also cost $10-$15 each, and even they will suffer
from interference and latency etc.   
DC over cable is 100% reliable ( except for wiring issues, and RF interference, which can be dealt with easily enough ).

If this doesn’t work as-is, eg, I get interference, I could, for example:
1:  change it to use an attiny at each location ( under $1), and a rs485
tranciever chip( DS75176B or similar, $1 each) allowing a max cable
length over 2km…

2:  Or I could just just use RS232  without any extra components ( other
than the attiny at one end, and the Arduino Mega at the other end), and
multiplexed Sftware Serial…  sounds crazy, I know… but the max
length in the standard is 50ft at 19200 baud, but practically, you can
1/2 the baud rate, and double the length a few times to get over 3000ft
at 2400 baud, if needed, so long as your cable voltages are sufficient,
and not just running at 3.3 or 5v.

3: Or I could do something different that I haven’t thought of yet. :slight_smile:

If I ever owned a house I was thinking of using DMX 512 protocol which is
esentulay RS485. Having a common buss for 512 lights makes sense for me
especially if it a retrofit.

Unsure of the cost of this solution though…

Thanks for the explanation, Buzz. Centrally locating the smarts and having very simple peripherals is something I hadn’t considered - but does 80% of the job. Cheaper too.