Honeywell Z-Wave Thermostat and Domotiga

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Post Reply
tradiuz
Starting Member
Starting Member
Posts: 8
Joined: Fri Mar 30, 2012 3:38 pm

Honeywell Z-Wave Thermostat and Domotiga

Post by tradiuz »

I recently purchased a Honeywell YTH8320ZW1007/U Z-Wave Enabled Programmable Thermostat (link) and was hoping to add it to my Domotiga setup. I have an Aeon Labs Z-Stick 2 as my z-wave controller. It appears that there is no support in Domotiga for z-wave thermostats yet. Is there any plans to support z-wave thermostats?

Also, is there a way to modify the X10cmd module to add support to the CM19A using this CM19A driver. It would be as simple as changing the message from A1 ON to +A1. I'll try to dig around the source and see if I can find how to modify this (I've never used Gambas, so it's a bit foreign still). Worst case, I could probably make a program that imitates heyu and takes A1 ON and outputs +A1 > /dev/cm19a0.
tradiuz
Starting Member
Starting Member
Posts: 8
Joined: Fri Mar 30, 2012 3:38 pm

Re: Honeywell Z-Wave Thermostat and Domotiga

Post by tradiuz »

I answered my own question on the cm19a linux driver. I wrote a bash script to convert on p2 to +p2 and then echo it to /dev/cm19a0

This is very basic, one way, and will probably break your computer.

Code: Select all

#!/bin/bash


deviceid=$2
command=$1
level=$3

repeat=1

cm19a='/dev/cm19a0'

case $command in
        on)
                output1="+"
                ;;

        off)
                output1="-"
                ;;
        dim)
                output1="s"
                repeat=$level
                ;;
        bright)
                output1="b"
                repeat=$level
                ;;
        *)
                echo "You done goofed up!"
                exit 1
                ;;
esac

for i in `seq 1 $repeat`
do
        echo $output1$deviceid > $cm19a
        sleep 1
done
This will handle your on/off and bright/dim. Save this script to /usr/bin/cm19a and then use the X10cmd interface to point to that location. I'll look at the gambas code to see if it is possible to code this in as a interface instead of having a bash script do a translation.


I chose to go with the x10-cm19a kernel module instead of the pycm19a program because the kernel module doesn't choke on a bad command, where the python script will die ungracefully.

It seems that the CM15A is getting harder to find, since it is no longer for sale on X10.com, and they are sending out CM19As with a T571 transceiver instead.
Post Reply

Return to “DomotiGa Forum”