Rob Chartier ~ Contemplation...

.NET, C#, Work, etc.

News






www.flickr.com
This is a Flickr badge showing public photos from Rob & Kat Chartier. Make your own badge here.


Even Quicker Links

CruiseControl.NET Tray Application & X10

 

I've been doing allot of work recently with CruiseControl.NET and noticed that a few in the community have bridge the gap between CCNET and X10.  Essentially controlling lights or devices based on your build status.  I decided to build this right into the CCTRAY application itself.

 

As you can see above you can control all aspects of your X10 setup with CCNET.  Devices supported are both CM11A and CM17A (Firecracker).  I have tested it on CM11A and have yet to test it on the CM17A but I dont see any issues with it.

I followed the same requirements as the original CCTRAY, which means only .NET Framework V1.1, which means I had to use the SerialPort workspace stuff from GotDotNet and not the native provider in V2.

I have a few more things to add before I publish anything.  If you can think of anything to add to it, let me know!

 

Comments

AndrewSeven said:

So if I understand correctly, I can no longer procrastinate. As soon as you publish it I can just buy the x-10 controller and two lava lamps and away I go...

Woohoo
# December 8, 2005 12:12 PM

Stuart Toller said:

I'd love to see the source code for the CM11A part of this as we have our own build system and X10 lights - described on my colleague James' blog (http://staff.interesource.com/james/PermaLink.aspx?guid=3a200c52-74a3-4b6c-b8d6-c2ab1958e074)
controlled via a CM11A. I currently control the CM11A through a command line 16 bit windows application which relies on a 16 bit communications bridge which is unstable to say the least!
# December 9, 2005 9:35 AM

si said:

Any updates on this?  I'm about to re-invent your funky wheel using CM12AU (which I think is same as CM11A only for Australia)
# June 21, 2006 10:39 AM

shahab said:

hi has anyone been able to control CM12AU through .net2.0? I have tried the code floating on the net but i keep getting the follwing error: ================================================== "Object reference not set to an instance of an object." "SerailPort" any ideas or directions will be most appreciated :-) ================================================== Imports System.IO Imports System.IO.IsolatedStorage Imports CraigsCreations.com Imports System.IO.Ports Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x10 As New CraigsCreations.com.X10.X10CM11aController(CraigsCreations.com.X10.HouseCode.A, "COM3") Dim redLamp As New CraigsCreations.com.X10.X10Lamp(x10, 1) redLamp.On() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim x10 As New CraigsCreations.com.X10.X10CM11aController(CraigsCreations.com.X10.HouseCode.A, "COM3") Dim redLamp As New CraigsCreations.com.X10.X10Lamp(x10, 1) redLamp.Off() End Sub End Class ==============================================
# July 8, 2006 6:47 AM

uglybugger said:

Have you made any further progress on this? I'm looking for a solution along these lines as my build machine runs on a VM and I can't use the existing CC X10 interface without dodgy virtual serial ports.

# June 29, 2007 12:15 AM

Scott Bateman said:

I am probably just missing something, but I don't see a link in your blog post.  Did this effort get completed?  Is there an app version or code I can download?

Thanks in advance

# September 21, 2007 9:37 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)