Archive for April, 2011

Control Insteon and X10 Devices From .NET

Have you ever wanted to control your lights and appliances from a .NET application? We’ve just released a new .NET library called FluentDwelling that makes it really easy to write a .NET application that interfaces with Insteon and X10 devices using a SmartHome 2413U:

It’s designed to be really easy to use:

DeviceBase device;
if(powerlineModem.Network
    .TryConnectToDevice("55.55.55", out device))
{
    // support auto-discovery of device type:
    if(device is LightingControl)
    {
        var lightingControl = device as LightingControl;
        lightingControl.TurnOn();
    }
    else if(device is IrrigationControl)
    {
        var irrigationControl = device as IrrigationControl;
        irrigationControl.TurnOnSprinklerValve(3);
    }
}

It’s free and open source! Go get FluentDwelling now!

,

No Comments