My Automated Home


The Automated Home seems to be undergoing constant upgrades these days.

Here is a chart of the current Automated House functions.  The system uses a combination of older X10 powerline control devices and more modern Z-Wave devices along with specialty devices like web-based relays, hard-wired Arduino and Raspberry Pi I/O interfaces and wireless environmental sensors.

Function Method
Remote Control Web-Based Interface
HSTouch Smartphone App for Android and iPhones.
IFTTT Integration.
Security System Doors and Motion Sensors.  Cameras. E-Mail and SMS Alerts. 
Occupied / Vacant Mode Vacant Mode performs Thermostat Setback, Main Water Valve Off, unnecessary devices Power Off, changes Lights Schedule.
Power Failure E-Mail and SMS Alert.
Power Restored E-Mail and SMS Alert.
Low Temperature E-Mail and SMS Alert.
Boiler and Water Heater E-Mail and SMS Alert for low temperature.
Smoke,  Carbon Monoxide, Natural Gas Alarms E-Mail and SMS Alert.
Water Leaks E-Mail and SMS Alert, automatic water shutoff.
Main Water Valve Control
Web-Based and Smartphone Control.
Thermostat Control Web-Based or Smartphone Control. Three heat zones, central air conditioning, workshop Air Conditioner, Basement Mini-Split Air Conditioner and basement Central Dehumidifier. IFTTT control of mini-split ACs.
Freeze Protection Redundant mercury thermostat fail-safe in case of automation failure.
Lights/Appliances Web-Based and Smartphone Control / Computer Schedule for lived-in look. Macros and Scenes.
Front Door Lock
Shed Door Lock
Web-Based and Smartphone Control plus Manual Keypad and Key. Remote code programming,
Garage Door Opener
Web-Based and Smartphone Control plus Manual Keypad.
Energy Monitoring Monitoring of power usage and demand. Weekly, Monthly and Yearly graphs for demand and cost.
Environmental Monitoring Indoor and Outdoor sensors for wind speed, wind direction, rainfall, temperature, humidity and barometric pressure.
Temperature Sensors in all rooms and in the Attic and Garage and outside.  Humidity sensors in many rooms.
Irrigation System Web-Based and Smartphone Control and IFTTT.
Video Cameras Web-Based and Smartphone Viewer. Outside Front, Outside Rear, Kitchen, Living Room, Garage, Workshop. 
Diagnostic Tools Remote reboot of router, cable modem and computer.  SMS and Email Alerts for critical network outages.
Audio Devices Various Logitech Squeeze Box devices.  Squeezebox Radios, Duet Receivers and Remotes.  Raspberry Pi based players. Smartphone control. Automatic power control for amplifiers.
Battery Backup Uninterruptible Power Supply (UPS.) Provides backup power for the laptop server, cable modem, VoIP phones, router, switches and some cameras.  UPS provides power for email and SMS alerts for loss of AC power, restoration of AC power, low UPS battery condition and house alarms and alerts.


Let's look at the details of the automated house.

Main-Rack

This is a picture of the network rack.

From top to bottom: At the very top left is a four relay network control board.  This board is reachable remotely as long as the internet is up and is independent of the NUC computer.  One of the relays is wired directly into the Intel NUC computer's power supply so I can power the computer on or off or force a reboot remotely.  The NUC is set to resume on power up and wake on Lan.  If there is a very long power outage I need a way to power the computer back on remotely or reboot it in case of a problem.  

The two X10 Universal Modules on the top right are used to control the power to the router and cable modem.  Sometimes you just need to force a power cycle reboot remotely.  I created two Homeseer events which monitor their network status and power cycle them if they lose heartbeat.



Here's a close-up view of the relay board. You can see DC power and ethernet connections on the bottom and dry contact terminals on the left side.  Simple.

 

Rack-2-11-2017

On the left is an Intel NUC (Next Unit of Computing) Module.  The NUC is a small 4" x 4" x 2" low power consumption full-featured computer.  This is the brains of the operation.  It runs Windows 10, Homeseer HS3-Pro, Logitech Media Server and other software  The one I purchased has the following specs:

  • 7th Generation Intel Core i3-7100U
  • Intel HD Graphics 620
  • 16 GB Intel Optane memory accelerator preinstalled (DDR4 memory is required and must be purchased separately). Intel Optane memory automatically learns your computing behaviors to accelerate frequently performed tasks
  • M.2 22x42/80 (key M) slot for SATA3 or PCIe X4 Gen3 NVMe or AHCI SSD
  • 2.5" SSD/HDD bay. USB 3.1 Gen2 (10 Gbps) and DisplayPort 1.2 via USB-C
I added my own memory and solid state drive.  This computer boots Windows 10 from a cold start in about 6 seconds.

Below the NUC is an ELK Voice Siren module driving the alarm speakers in the house.  Next to that is an NWDR ThumbTV AMBE 3000 Vocoder module.  This device allows me to use computers with microphones and speakers to communicate over Digital Ham Radio using DMR, DStar and YSF protocols.

In the middle is a newer W800+ receiver with a serial interface.  Windows USB can be problematic.  I chose the W800+ serial model because sometimes I experienced problems getting some USB connections to become active without rebooting the computer.  Even then, sometimes devices would not be recognized without physically disconnecting and reconnecting.  With my serial devices using serial to USB adapters I don't seem to have this problem.  I use a high quality FTDI serial to USB adapter with no issues on the serial devices.  A big advantage is that serial ports require no Windows drivers and will always work.  It's easier and less expensive to replace the serial to USB adapter than to have to replace the whole device or discover that the device will never work on a new version of Windows. 

To the right is an ICOM PCR100 Wideband Conputer Controlled Radio Receiver.  The Icom PCR-100 was discontinued many years ago. It was introduced in the era of Windows 95!  They are hard to find these days.  It has no knobs or switches and is totally controlled over a serial interface by the computer.  The frequency range is from 10 KHz to 1300 MHz. This particular model is probably the only one with FM Stereo reception.  Further on down I explain how I control and listen to this receiver over the internet

Here's a close-up view of the NUC with the Optane memory which is a type of flash storage that helps speed up applications.  

 

Arduino-Wide

Moving down to the second gray panel on the upper left is a 4-line LCD display connected to the Arduino Mega controller on the lower right.  In the upper middle is a breadboard with 4 pushbutton switches that cycle the display through various status displays. To the right of the switches is a homemade Opto-Isolator interface board.  This interfaces the house's existing wired door alarm switches to the Arduino Controller.  Two ILQ74 Quad Optoisolators are used for 8 input channels.  The 8 LEDs are lit when the loops are clsoed.  To the right of the Interface Board is a Delay Board for the Kitchen PIR Motion Sensor.  The Honeywell PIR sensor is rather "chatty" with it's relay constantly going on and off as people move about.  I used the Delay Board to lengthen the PIR signal to about 8 seconds so it does not change so rapidly and cause unnecessary I/O on the Arduino.

In the upper left is the XTB-232 X10 Powerline Interface.  I have been in the process of gradually replacing X10 devices in the house with Z-Wave.  The XTB-232 is an aftermarket replacement for the CM11a interface sold by X10.  It is more reliable and delivers a more powerful X10 signal into the power line.

On the lower left of the second gray panel is a 9 port powered USB switch.  Next is the Arduino Mega controller which is under the terminal strip breakout board.  On top of the breakout board is an Ethernet shield.  To the right is an 8 channel relay board connected to the Arduino. I currently do not have anything controlled by these relays.

To the very right mounted to the side of the rack is an RFXCOM RFXrec433 433.92 MHz receiver used to receive data from Oregon Scientific environmental sensors.  At the upper right is a Berringer USB Audio interface.  It takes the audio from the ICOM Radio Receiver and feeds it into the laptop via USB.  

In the middle of the rack you have an ethernet punchdown block connecting with the yellow patch cables to a 24 port ethernet switch. Below the switch we have the Netgear R7000 Wireless Router and the Motorola cable modem.  Both are hidden behind the yellow network cables.

Arduino-Medium

Here's a closeup of the Arduino Mega and relay board.  The Arduino is interfaced to Homeseer through an ethernet connection.  Digital Input Ports are used to monitor the three heating system zone valves and the state of the basement central dehumidifier, electric power state, all the wired door alarm switches, the wired Kitchen PIR Motion Sensor, the smoke alarms and the natural gas alarm.




Here is the 4-line I2C LCD display connected to the Arduino.  The top picture is the normal view.  The bottom line cycles through the various input signal statuses.  The bottom picture is what it looks like when one of the 4 switches are pressed.  There's a door view, a motion sensor view, a temperature view and a heating system status view.


Finally you see the display, keyboard and mouse attached to the NUC computer that runs all the software that controls the house, serves the audio streams, and provides remote control. The computer is an Intel NUC which stands for Next Unit of Computing. 



At the bottom of the rack is a Tripplite Uninterruptable Power Supply (UPS) which provides battery backup power to the system. There's also a set of speakers for monitoring the audio streams.



This is a view of the Netgear R7000 Router. It is a 4 port router and an 802.11 AC wireless access point. I installed DD-WRT aftermarket firmware on the router.

With DD-WRT running on my routers I have built-in VPN capability, built-in access to dynamic DNS services like No-IP, stateless packet inspection, higher power Wifi transmit and even hotspot portal capability.  One feature I especially like is Ethernet over IP (EoIP).  When I had two houses with DD-WRT firmware on both routers, EoIP creates a dedicated IP link between the two houses.  The network at one house was available at the other.  All IP addresses at both houses were reachable at both houses.  This was essential when I installed the Linksys SPA-9000 PBX phone system at one house and wanted to use it from the other.  With EoIP the phones at the second house are easily configured as extension lines from the first house.

The house is automated with Homeseer software running on an Intel NUC computer running Windows 10. Through the cable modem, the lights, heating and air conditioning, door locks and many more things are controllable on a web pages or by smartphones processed by Home Seer. The Home Seer software also controls scheduled events such as timers for the lights to give the home a lived-in appearance when we are not there.

Home Control Quick View

Above is a screen shot of the Homeseer web interface. Sorry about the resolution. It's a long page and hard to fit here in the article. Click here for a better resolution screen shot. Then use your cursor and press on the + to zoom in to the pcture. This page is actually four browser screen pages long.  You can see the controllable devices with the ON and OFF buttons (some with the ability to set the dim level) and an abundant amout of data from the environment and security devices. 

I will get a text message and an email for Security Breaches, Water Leak, Low Temperature, Smoke Alarms, Carbon Monoxide Alarms, loss and restoration of AC Power. 

For Homeseer I installed a WGL800 310 MHz UHF Receiver that monitors X10 radio signals in the house.  It monitors door and window sensors, motion sensors and remote controls.  Emails and text messages are generated for all kinds of faults.  It also gives me the ability to set and reset the alarm remotely, even over my phone.  I have the older receiver which uses a serial interface.  I purchased the newer WGL800USB but I did not think it performed as well.  The USB interface was temperamental and sometimes required rebooting the computer to regain the connection.  I never had this problem with the older WGL800 serial device using a standard FTDI USB to Serial adapter.  I tried the RFXCOM  RFXRX315 transceiver configuring it for X10 mode at 310 MHz.  This device performed worse than the WGL800.  To be fair, I suspect this was because the X10 devices were not all exactly on 310 MHz.  The WGL800 receiver was probably more broad and less selective than the RFXRX315 transceiver and could receive more of the off-frequency signals from the X10 devices.  I have an RFXCOM REC432 receiver for the Oregon Scientific environment sensors.  This receiver works exceptionally well.

In recent times I have been gradually moving away from the unreliable X10 technology.  I no longer use X10 door and motion sensors.  My retirement home had an obsolete Napco security system with wired door switches and a wired motion sensor.  I just used those switches and wiring and monitor them using an Arduino Controller with a Arduino plugin through Homeseer.  There is one motion sensor wired in.  For the other motion sensors I have replaced them with Aeotec Z-Wave Tri-Sensors.  These detect motion and measure temperature and light levels.

Using an RFXCOM 433.92 MHz receiver some of the environmental monitoring is done with wireless Oregon Scientific devices designed to be used with a Weather Station.  I only have the sensors.  There is a temperature sensor in every room, in the attic and on the boiler.  The sensor in the living room senses temperature and humidity plus barometric pressure.  Outside there is a temperature and humidity sensor on the house designed for outdoor use.


These are some of the Oregon Scientific environment sensors I have around the house.  The outdoor sensors are the top three:  WGR800 Wind Speed / Wind Direction, PCR800 Rain Gauge, and THGN801 Outdoor Temperature and Humidity.  The bottom three are the indoor sensors: BTHR918N Temperature / Humidity / Barometric Pressure, THGN122 Temperature / Humidity and THN132 Temperature with no local display,

In my basement workshop I have a portable air conditioner that I vented out of the house.  In the past an Oregon Scientific room temperature sensor was used to control the air conditioner.  An X10 outlet module controls the power to the AC and the AC remote control is set to maximum cool.  The actutal cooling set point is made within HomeSeer so the control system is closed loop and the power and set point is locally and remotely controllable.

In later years I replaced this with a Z-Wave thermostat which controlled a 24 VAC relay to provide power to the AC. I did not like either approach because the AC was not meant to be power cycled that way.

I replaced the Z-Wave thermostat with a Sensibo Sky Controller.  This is an internet connected stand-alone device.  It sends infrared signals to the AC and receives commands from the App on my smartphone.  It also can be commanded from Homeseer Events using getURL commands through IFTTT.

To receive X10 wireless signals a different receiver is needed on 310 MHz.  This is the original WGL800RF32A which has a conventional serial interface.  I have had good luck using this device and more reliable performance than the other available receivers.

This is the newer W800+ shown with the serial interface option.  I did not use the USB version because a serial interface is more likely to be usable in the future.  You can always upgrade your USB to Serial adapter without requiring replacinng the receiver.  At this time the only X10 wireless device I am using is several PHR03 sixteen function handheld controllers.






At the top is the DS-10 Door and Window Sensor and the MS-10 Supervised Motion Sensor.  At the bottom is the Security Kepad and the EagleEye Unsupervised Motion Sensor. These are all compatible with Homeseer but are old technology.  I no longer use these X10 security devices.  I have my doors hardwired into the system.  The first floor has hard wired motion sensors. The hardwired door switches and motion sensors are interfaced to Homeseer using an Arduino Mega Controller. 

The wireless motion sensors are Aeotec Z-Wave Tri-Sensors. They detect motion and report temperature and light level (lux).

 

Home ]

HSTouch-Main
Above is the Main Menu Screen of my Homeseer HS3 implementation using their HS Touch Application on a smartphone.  For these screens I used Homeseer icons or personally modified / customized Homeseer icons.HSTouch is a server plugin that runs on Homeseer.  The client can be an Android or IPhone running the HSTouch client software.  It's not for the faint of heart to get the results I am showing here.  Many hours of work have gone into the design and functionality of the screens.

Home ]


HST-Security

The above screen is the Security Screen.  Using custom icons I change the background color of the icon's text to indicate the state of the function.  For example, "Vacant" is yellow to indicate the active state and "Armed Away" is yellow to indicate the armed state.  I like to think of yellow as an indicator light being "on" and gray being "off."  So if the system were disarmed the "Disarm" icon will be gray inside and the yellow will be turned off on the "Armed" icons.


Above is the Locks Page.  You are required to enter a pin on the phone to bring up this page.  I have a Kwikset Z-Wave lock on the front door and a Z-Wave Controller connected to the Garage Door motor.  I installed a redundant Z-Wave power controller on the Garage Door controller.  I force off the power to the Garage Door controller when the house is in Unoccupied Mode to prevent accidental remote opening of the Garage Door.

The outside weather sensors include Oregon Scientific Wind Speed, Wind Direction, Temperature, Humidity, Barometric Pressure and Rain.  The sensors above the root of the house are powered by rechargeable batteries that are charged by a solar panel.



The above screen is the Outside Climate Screen.  it shows the current weather conditions at Chatham Airport from a NOAA RSS feed over the Internet.





This is the Inside Climate screen showing the temperature and humidity in the various rooms. Some readings come from Oregon Scientific sensors over 433.92 MHz radio. Some come from the thermostats over Z-Wave.


The above screen is one of a few Lighting screens.  When you press the icon the light toggles on and off and the icon lights up or goes dark like they are in the image.



Here is an example of a screen which has slider controls to operate dimming Lamp Modules.  The sliders work just like a hardware slider and the brightness of the picture of the light bulb changes in proportion to the dimming level.

 

 

This is the main Thermostat Screen. From here you can access any of the three Z-Wave thermostats as well as the App to control the Mini-Split air conditioners. You can also control the workshop ceiling fan speed and the workshop ventilation fans.




This is one of the three Thermostat screens.  Once again I used the colored fields like indicator lights: red for heat, green for cool, gray for off and yellow for on.  All but the Valve field comes directly from the Thermostats.  The Valve field reports the acutal status of the zone valve on the heating system

HST-ArduinoThis is the screen I designed to consolidate the inputs and outputs of the Arduino Interface,  The 8 paddle switches control the relays on the digital output pins. They are currently unassigned.  Among the digital inputs are Zones 1, 2 and 3 of the heating system, the basement central dehumidifier, electric power monitor, the doors, motion sensor, natural gas and fire alarms.


HSTouch-Irrigation
[ Home ]

I selected the OpenSprinkler device as my irrigation controller.  It is economical and comes with smartphone software for remote control.  Further, there is a plugin for Homeseer HS3 to interface with the controller. 

OpenSprinkler

This device comes in several configurations.  One is Arduino based.  Another is Raspberry Pi based.  I purchased the classic version which operates 24 VAC valves and powers up from the systems 24 VAC transformer.  The latest version runs on either USB 5V DC power or a provided 12 VDC power supply.  It can control AC or DC valves but you need to provide your own power for the valves.

Opensprinkler can be completely controlled remotely using their smartphone app.  There is an Opensprinkler plug-in so it can also be controlled using Homeseer both on the Homeseer web page and using Homeseer HSTouch on a smatrphone.  This gives versatility,  flexibility and convenience.

Opensprinkler interfaces with Weather Underground to allow automatic adjustements to the watering schedule based on the weather.  It also has an input for a rain sensor to tell the system not to water if it is too damp already.

[ Home ]



On the right side of the breaker panel we have the XTB-IIR X-10 Amplifier-Repeater, two XTB-ANR X-10 Automatic Noise Reducers (one on each phase) and the Aeotec Z-Wave Energy Meter.  The clamp-on current transformers for the energy meter are inside the breaker box, clamped on each leg of the 220v mains entering the box.  Also pictured is an X-10 16 button controller.

[ Home ]


The WaterCop system consists of an electronic shut-off valve and three wireless, battery-operated WaterHound probes. The shut-off valve installs on the home's main water line, right after the main shut off valve. The electric water valve plugs into any standard 3-prong power outlet and features green and red LEDs indicating if the water flow is open or closed.

On the WaterCop front panel you can see the Open/Close membrane switches and indicator LEDs. You can also see the RJ-45 jack that interfaces the WaterCop to the Sensaphone so you can get an automatic notification if one of the three WaterHound sensors detected water and shut off the house main water supply.

The radio antenna is extending below the WaterCop motor.

On the RJ45 jack there are both inputs and outputs. You can manually control the valve by the membrane switches on the front of the motor, or you can wire in a single pole double throw switch to control the valve remotely, such as from the primary entrance to the house. For those who like to shut the water off in their vacation house before they leave, having this feature at the main entrance is convenient. There are also signal outputs to light indicator lights at the remote location which show the current open or closed status of the valve. These outputs can also be used to send a signal into a monitoring system to alert you when the valve has been closed. I don't use these signals because I shut the water off when the house is unoccupied.

[ Home ]

WaterCop


The WaterCop electric valve is the black box on the left side of the pipe, mounted on a ball valve. This is the version for 3/4 inch pipe. The house main water valve is located below the WaterCop and is not visible. To the right of the WaterCop I installed a bypass valve so that I can manually override a shutoff caused by the electric valve. Although you can manually open and close the electric water valve simply by pressing the open or close buttons on the motor housing, I thought it was prudent to install a fail-safe mechanical bypass for those times such as when the power is out. If you don't want a bypass valve, you can turn the water back on without power by removing a retaining clip, removing the motor assembly from the ball valve, and turning the valve on with a screwdriver.  To the left of the WaterCop you can see I mounted two Qubino ZMNHND3 Z-Wave relay modules.  These modules are really small. They are the size of a camera battery. I needed two relays to control the open/close functions of the electric water valve. I obtained two of the single relay models because I heard there were problems getting both relays on a dual relay module included in certain Z-Wave systems. Plus, the dual relay module did not provide isolated contacts from the AC line. I purchased these because they have isolated dry contacts. That means none of the relay contacts are internally connected to the AC line. I also wanted to use the configuration parameter to make the relay automatically turn off after 1 or 2 seconds so it could act like an electric push button. I connected one set of relay contacts to the Water Cop's remote OPEN connection and the other set of relat contacts go to the Water Cop's remote CLOSE connection. In order for HomeSeer to operate the OPEN/CLOSE function you send an ON command to the OPEN relay to open the valve and you send an ON command to the CLOSE relay to close the valve.  These Qubino modules can be configured to return to the OFF state after a predetermined time.  I set the modules to return to the OFF state after two seconds.  Now the relays send either a two second OPEN signal or a two second CLOSE signal to the water valve.  I mounted the relay modules on a bracket screwed to the side of the WaterCop valve.  I also provided AC power to the modules by running a power cord into the WaterCop and tapping into the 110 VAC power there,

Today you can purchase Z-Wave ready water valves.  I would have not gone through this trouble if I did not already have the valve!

These Relay Modules are operated in conjunction with the Home Automation's Occupied/Vacant function. A Home Seer macro event has been programmed so when it receives the remote command that the house is vacant, HomeSeer turns down the heat on the Z-Wave thermostats and it tells the WaterCop water valve to close. When HomeSeer receives the remote commend that the house is occupied it signals the Z-Wave thermostats to return to normal temperatures and signals the WaterCop water valve to open. The workshop air conditioner is also forced off when the house is unoccupied using this macro.

 

PCR100

The laptop server also provides an audio feed from a computer controlled wideband radio receiver. I am using an ICOM IC-PCR100 Receiver (R). The receiver covers 10 kHz - 1.3 GHz and has modes for AM, Wide FM (broadcast) and narrow FM (communications) This radio does not have SSB capability. This is an older receiver (released around 1998) but is probably the only remote controllable receiver with FM Stereo. (The newer ones are mono only.)

Many laptops today do not have a stereo line input jack. Sometimes it is available if you purchase an optional port replicator. It was easter to use the Sound Blaster Live 24 External USB sound card (L) to create the stereo line input for the computer. The audio output of the ICOM Receiver is connected to the line input of the Sound Blaster.

A Winamp Shoucast Server provides two 128 kpbs 44 KHz stereo audio streams. One has the ICOM Receiver audio and the other is a Winamp playlist of my oldies MP3 collection. These streams are available on the LAN in the house and also over the internet. They are not publicly available. The 128 kpbs 44 KHz gives near-CD quality.

Shortwave Log Remote Server

The receiver is controlled using Shortwave Log, a comprehensive logging and radio control program. While I don't use the logging functions, the web server and remote access allows for remotely tuning the receiver, saving preset stations and controlling many of its functions including random access tuning over the internet.

Alternately the receiver can be controlled by PCR Server which gives greater flexibility but can not be operated with a browser and requires the PCR Remote client to be installed on each remote Windows computer. Because I like to listen to the radio's audio stream on my Android devices I tend to stay with Shortwave Log. You only need a browser to use it.


Now let's move on to the Heating System.

 

CT100


Each of the three hydronic heating zones and the central air conditioning are controlled by CT100 Z-Wave thermostats by Radio Thermostat.  Using these thermostats allows me to control the heating and air conditioning remotely using a web browser or smartphone apps for Android or iPhone.  The living room thermostat is the only one that controls the central air conditioning for the first floor.  These thermostats do not have internally stored shcedules but a schedule can be programmed into Homeseer and uploaded to the thermostats with events.  The thermostats can be battery operated or powered from your heating or cooling systems.  If you want to power them from your system you will need the "C" wire from the system.  That means for heating only, you will need 3 wires:  Rh, W and C.  For cooling you would add Rc, G and Y.  If you power up the CT100 from your heating or cooling system before you associate it with your Z-Wave network the thermostat will always be in listening mode and actively help in routing Z-Wave messages on the network. If you power up on batteries before you associate it with your Z-Wave network the thermostat will be in a frequent listening routing slave mode (FLiRS) to save battery power.  When using a single thermostat for both heating and cooling with separate heating and cooling equipment (typically when you have oil or gas heat with electric AC) be sure to remove the jumper between the Rh and Rc terminals.  This will prevent coupling the two systems 24 VAC transformers which could burn them both out.

Warning! Use a competent professional heating contractor for all updates or repairs on a heating system.

[ Home ]

heat 01


Here's a picture of the rewiring of the thermostat and zone valve connections. The original was a ball of twisted wires and wire nuts. This one is more organized and neat but will probably drive most technicians out of their mind because it is out of the ordinary. There are three zones for hydronic heating and a fourth zone to monitor the basement central dehumidifier. 

Here's a closer view of the heating zones interface board. There are four 7-segment LED displays that light up 1-2-3-4 to indicate which zone is active.  The 24 VAC feeding the zones is converted to an open collector output that drives the Digital Input Ports of the Arduino Controller so that the home automation software can know and display the state of the four zones.

Here's the diagram of the heating sysetm interface.  The inputs on the left connect to the zone valve coils.  The open collector outputs on the right connect to the Digital Input Ports of the Arduino Controller. They are totally isolated from the heating system and look like dry contacts to the Ardiono.  I use the 4th zone to indicate the status of the basement central dehumidifier.  The dehumidifier has a dry relay contact that closes when the system is operating.  I just wired that in series with the Zone 4 inout and the 24 VAC voltage from the heating system.  The LEDs offer a primitive display where they are hard wired to display 1-2-3-4 respectively.  The ILQ-74 IC is a quad optoisolator.  It is virtually equivalent to four 4N25 ICs.  The optoisolator output is not a true dry contact because it is a transistor and only conducts current in one direction.  If the optoisolator is turned on but the Arduino input port does not respond, simply reverse the connection of the two conductors.  On the Arduino input ports the emitters of the optoisolators should go to ground and the collectors should go to the inputs.

Warning! Use a competent professional heating contractor for all updates or repairs on a heating system.

 

This is the heating system low voltage connections diagram.  The interface board previously shown connects to the three zone valves at pins 1 and 2.  These pins have 24 VAC applied when the thermostats are calling for heat.  The 24V is sent into the interface where it is rectified and filtered to DC and then optically coupled to the home automation system.

 

For the front door lock I selected the Kwikset 913 Z-Wave lock.  This lock replaces the conventional deadbolt and runs on four AA batteries. One of the reasons I chose this lock is because the rest of the house has Kwikset SmartCode locks.  These lock cylinders can be easily re-keyed using a simple tool inserted into the tiny slot in the front of the lock.  So it's simple to make all the house locks use the same single key.  This lock can be opened with a Z-Wave command over the Homeseer system, by punching in the access code on the lock's front keypad, or with the physical key.  You can have several different access codes if you desire.  For example, you can set a code for a conractor or service person to enter the house and then delete it when the event is complete.  You can lock the door with the inside knob.  From the outside you can lock the door by pressing the lock button.  No code is needed to lock.  Of course you can always use the key and knob, even with dead batteries. The AA batteries drop to about 50% in about 6 months.  The lock periodically reports its status over Z-Wave and it immediately reports its status if manually operated.

For the Garage Door Opener interface I chose the Teleguard GDC1 Universal Z-Wave Garage Door Control Switch.  The Teleguard GDC1 Universal Z-Wave Garage Door Control Switch is neat because it looks like a plain Z-Wave binary switch.  You open or close the garage door just like you would turn a light on or off.  You know that a garage door opener uses a single push button.  Push to open.  Push again to close.  The GDC1 comes with a wired magnetic door sensor so it knows is the current state of the door.  This allows you to change the single button logic to a dual open/close logic like a toggle switch.  When you remotely request to close the door a warning alarm sounds and a strobe light turns on for about five seconds before the door starts to move.

The only minor problem was that the state of the GDC1 in Homeseer only reflects it's last remote operation.  For example, if you opened the door with the GDC1 and then closed it with the wall switch, Homeseer would show the GDC1 is an opened state.  Even polling the device did not return the real door status.  This was easily resolved by adding a second magnetic switch to the door to feed the real-time door status to Homeseer.

 


One of the most recent additions to my home automation system is the XTB-232 which is a direct replacement for the X10 CM-11a X10 Interfacce.  This interface is needed to allow Homeseer to communicate over the powerline to X10 devices in the house.  Homeseer sends and receives X10 commands which are processed by the XTB-232 and reformatted to native X10 protocol to operate Lamp Modules, Appliance Modules, Wall Switches, Wall Dimmers and more. The XTB-232 is available in kit form for $79 or assembled and tested for $109. Jeff's web site is at http://jvde.us/  The serial cable from the CM11a will work with the XTB-232.  If you need a cable it is an extra cost.

 

XTB-232 Internal
The XTB-232 is another very fine product from Jeff Volpe. Here's an internal view of the device.  You can see the superior quality and thoughtful design.  You can't go wrong with Jeff's products.  Throughout all of his designs he is ultra conservative in selecting the rating of the components.

I built the kit version of this product, the XTB-IIR and two XTB-ANRs.  I was very impressed with the quality of the components, the design, and especially the performance.

 

X10 is an old technology that transmits control signals through the power line.  In today's homes there are a lot of sources of interference and noise on the power line.  Reliable X10 communication requires amplification of the signal and a method of bridging the signal from one leg of the split phase 220V system to the other leg.

A state-of-the-art X10 active coupler is sold by Jeff Volpe of JV Digital Engineering. The XTB-IIR is a high-power 2-phase X10 repeater. It has two coupling networks to drive high power signals onto both phases. The X10 Boost input on the cover will directly boost the output of an X10 transmitter. It will repeat any valid X10 commands it receives over the powerline.

The XTB-IIR has a large power supply. Its powerful transmitter delivers over 20 times the output power of typical X10 transmitters to greatly improve X10 performance and system reliability.

The XTB-IIR emulates the X10 TW523 and PSC05 two-way interface devices which have become harder to find. It accepts the same RJ11 plug that the other devices have.

The XTB-IIR is available in kit form for $129 or assembled and tested for $189. Jeff's web site is at http://jvde.us/


Another essential device desired for proper X10 operation is Jeff Volpe's XTB-ANR.  The XTB-ANR continually monitors the powerline for PLC signals, and will switch off its attenuator when an X10 or Insteon signal is recognized. One plugged into each phase near the distribution panel it will significantly reduce the overall noise levels throughout the home, including any coming in over the utility feed. You will need two of these, one for each leg of the 220V split phase power.  A pair of XTB-ANRs is $79 in kit form or $109 for a pair assembled and tested. Jeff's web site is at http://jvde.us/   I have several LED fluorescent tube replacements that seriously interfere with the X10 signals. No X10 device in the house would work if only one of these LED lights were on.  I had to put X10 filters on each fixture.  After I installed the pair of XTB-ANR devices I could run all the lamps with no filters and still have 100% X10 reliability.  Yeah, I left the filters installed, but it's nice to confirm the ANRs removed the noise so well.

Jeff is to be given a lot of credit for his ongoing support of X10 and his state-of-the-art products.

[ Home ]

 Diagnostics

X10 Scope Display

Here's an example of an X10 waveform being displayed on an oscilloscope. A special test fixture is used requiring a dual channel scope. This arrangement provides exaggerated envelope size for the X10 signal riding on the powerline 60 Hz. sine wave.

 

 

Here are the wiring diagrams of two different styles of X10 scope adapters.  Be careful!  These adapters can be dangerous to use if you don't know what you are doing.  One side of the AC line is connected to the BNC connector shells!  Make sure it's the neutral wire!  Use a three-wire plug even though the ground pin is not used.  Don't assume if you use a three-wire plug that your neutral wire will be correct because the outlet might be miswired! 

[ Home ]


 

Anti-Freeze in the Heating System - How to RechargePowerflash Modules

I used to own a house where the hydronic heating system was installed years after the house was built. It replaced the original electric heat. Because the copper pipes on the second floor run through the unheated eves there is a concern of freezing and bursting during power failures or extremely cold weather. I turn the heat down when we are not home so the concern is high. I tested the original antifreeze and it only had freeze protection down to +20 degrees F. The most trustworthy way to test the antifreeze (propylene glycol) is with a refractometer. Typically, a 50/50 mix of propylene glycol and water is used. This gives freeze protection to -30 degrees F (burst protection to -80 degrees F). When you perform maintenance, such as changing leaking vents and valves, plain water is introduced to re-pressurize the system (unless you have a stock of glycol and a pump on hand). This dilutes the glycol concentration. I purchased a refractometer for testing the glycol mixture. This is a sensitive and accurate scientific instrument and is the only way to ensure you have freeze protection short of completely draining the system, measuring the number of gallons you drained, then refilling completely with 50/50 glycol solution or half filling with 100% glycol and the rest with water.

Before replacing the glycol you should resolve any plumbing issues.  Replace any valves, regulators, reliefs or seals that are leaking or oozing. When you drain the system to perform the plumbing maintenance, completely drain it and measure how much liquid was removed.  When my system was totally drained I measured the volume at 20 gallons. There was no obvious service connection for introducing the new propylene glycol into the system. Some people have used the boiler drain to connect a hose and pump in the antifreeze. I heard that if you do this and shut off the valve while it is under pressure from the outside it could cause problems with the valve. Because of this, I installed a tee on the boiler side of the fill regulator along with a ball valve and hose bib. The system was recharged with water and was allowed to run for a few months to purge out any air in the lines.Powerflash Modules

For the new antifreeze I purchased 10 gallons of Cryo-Tek AG (Arctic Grade) propylene glycol. This is 100% concentrated propylene glycol. Since the system volume is 20 gallons I introduced 10 gallons of concentrate to dilute the total volume to 50% glycol. I shut off the return valve, manually opened one zone valve and pumped 5 gallons of concentrate into the new supply fitting while I drained off the equal amount of water from the return drain cock. I repeated this process closing the first zone valve and opening the second to pump the remaining 5 gallons of concentrate. Using this method I did not introduce any air into the system. I used an ordinary electric water pump with hose connections on both sides (about $40 at the hardware store). It took much longer to pump up to the second floor but it was worth the wait.

After I pumped in the 10 gallons of glycol I added water until the final pressure increased to 15 PSI. After a period of operation the solution totally mixed. I tested with the refractometer and was happy to see 47% glycol with a -27 degree F freeze point. Just for experience, I used a Cryo-Tek 35-271 test strip. It has two color pads at the end of the strip. When dipped into the solution one pad changes color to reflect the concentration. The other pad changes color to reflect the corrosion protection. My strip showed 50% glycol and the highest corrosion protection. Now IPowerflash Modules have a sample referencPowerflash Modulese solution from the first day of the recharge along with the refractometer reading and the test strip.

To preserve the labor and materials investment the glycol will be tested every year. Concentrate can be added if the freeze point increases. If corrosion protection decreases, I can add Cyro-Tek 35-276 Corrosion Inhibitor. The greatest problem with glycol in heating systems is the homeowner's "set it and forget it" mentality. Decrease of the glycol pH will eventually cause many corrosion problems unless it is controlled by testing and adjusting the level of inhibitor.

Adding glycol to a heating system reduces heat transfer by 10% (for a 50% concentration), so it is more costly to run glycol not only from a maintenance perspective but also from a system efficiency (cost of fuel) perspective.

Here's the equation to determine how much 100% AG glycol to add to a running system:

(% Glycol Desired - % Glycol Present) X System Capacity in gallons = Number of gallons of concentrate to add
(100% - % Glycol Present)


Warning! Use a competent professional heating contractor for all updates or repairs on a heating system.

 


 How to monitor the heating oil in your tank

Oil  Monitor

My previous home had oil heat.  Even with automatic delivery of oil, it's still possible to run out of oil. I want to receive an alarm whenever the tank falls below 1/4 full so I can call for a delivery. The oil gauge on the 275 gallon tank in the basement is a rod with an indicator disk that rises up and down inside a calibrated clear plastic cylinder that screws onto the top of the tank fitting. The cylinder can be unscrewed, exposing the rod and indicator disc. I used RTV sealant to mount a small magnet to the disk. I also used RTV to keep the disc from rotating on the shaft. The magnet needs to remain parallel to the switch so the disc can not be allowed to rotate on the shaft. The switch works best in only one magnetic N-S orientation. If you have poor sensitivity, turn either the switch or the magnet around. Then I used a 3/4 inch plastic conduit clamp to mount a reed switch at the 1/4 full level mark. When the oil level falls to 1/4, the magnet will align with the reed switch and the switch will close. The reed switch is connected to an X10 Powerflash Module which sends a "device on" command over the power line to the Home Seer software. Home Seer will page me over email and the status indicator "Oil Level Low Alarm" will be "off" (unlit) on the Home Seer web page.

Completely running out of oil is a pain because you usually need to have the technician purge the air out of the line to restart the burner. Anything you can do to replenish the oil before running dry is a big advantage.

I also added a second reed switch at the full mark on the oil tank gauge connected to another Powerflash Module to tell me when the oil tank has been refilled. I did not want to rely on the low switch turning off as an indicator that the tank was refilled because that switch would also turn off if the oil level dropped below 1/4 full and approached empty.

Warning! Use a competent professional heating contractor for all updates or repairs on a heating system.


[ Home ]