-
Notifications
You must be signed in to change notification settings - Fork 130
Z Wave
This is just a filler for right now but work has begun on adding Z-Wave support to Mr. House.
(from Marc, Insteon mh user who gathered UPB and Zwave support data) From what I read on the mh list, and people I talked to, Zwave support may be a bit more complete than this page suggests, it may even support two way operation (hopefully someone will update this page to say more). If you are trying to pick between multiple HA solutions, you'll definitely want to read the Insteon vs X10 vs Zwave vs UPB page for more details on how Zwave differs from the other options, and decide if it's right for you. For one, be careful when buying devices as all may not be compatible for two way operations (as in flipping a switch locally being reported to mh for status updating and local processing). My understanding is that the cheaper Zwave devices (intermatic) may lack that support, making a full 2 way Zwave setup more pricing than a similar Insteon installation. Zwave may still be preferable for your setup though since it does not suffer from powerline noise issues, see the comparison page linked above for more details.
- If you don't have a neutral (white) wire in your switch boxes, you must use Zwave** as neither UPB nor Insteon will work for you unless you have an electrician bring neutral to all the switch boxes you'll be automating (see page above for details).
Leviton - Vizia RF Documentation Z-Wave - Wikipedia entry for general Z-Wave information
- Do not attempt these steps at this time!!!**
To configure and use Z-Wave just follow these directions:
Add the following to your ~mh/bin/mh.private.ini file:
- -[Z-Wave]-----------------------------
Example entry in //~mh/code/items.mht//: code Format = A
- -*- mode: perl-mode; -*-
- See mh/lib/read_table_A.pl for definition of Format=A items
- Type Address Name Groups Other Info
In your user code directory also create //~mh/code/zwave.pl//: code format="perl"
# Category=Zwave #@ Z-Wave interface user code
# Example use, turn the patio lamp at 10 minutes before sun set if(time_now("$Time_Sunset-0:10")) { $ZCR_Lamp->set("ON"); }
# Example use, turn the patio lamp off at midnight if(time_now "12:00 AM") { $ZCR_Lamp->set("OFF"); }
Files you'll need to download from the Misterhouse SVN Trunk:
The file //button.pl// needs to be placed in //~mh/bin/// and the file //list_buttons.pl// needs to be placed in //~mh/web/ia5/lights/// . The rest of the files need to be placed in you //~mh/lib/// directory possibly replacing existing files. I recommend backing up any originals before replacing them to make it easy to restore your previously working Mr. House. Once all the files have been edited and installed you'll need to restart Mr. House to begin using the Z-Wave code.More updates to follow.
Special thanks goes out to Jason Sharpee for finding the Vizia (Z-Wave) information on the Leviton site. And to Dave Houston for the general Z-Wave information from Wikipedia. And to David Satterfield for his code to support Z-Wave and it's modules.