SmartThings Controls X10 Switch -- Demo

what about using this device with eventGhost?
Unfortunately my device is a serial version (not USB), so I’m kinda SOL… wish I could test. but my machine is to old.

However, if it works with EventGhost, you could do everything relatively simply (not serious programming involved).

Anyone tried?

Anyone want to trade a USB version for my serial version? :slight_smile:

Great job. I, too, have developed an x10 integration solution, and I’m sure you realized as I did that it wasn’t easy.

Question: Let’s say you have x10 switches for codes A1, A2 and A3. Do you have to write a custom device type for each one with the housecode embedded in the custom device? I have not found a way to have one custom device that can be used for multiple X10 devices as separate instances.

I’m dealing with the fact that I have to create a separate device type for each housecode. If you know a better way, I’d love to see it!


ps. I approached x10 integration through a custom hardware solution using *duino, a cm11a and a smartshield (X10 working! Requires about $115 in hardware, but is fully self-contained!). It’s good to have multiple ways of skinning this cat.

No, there’s only one device type for all X10 switches. Device instances are created dynamically by the service manager app.

It’s good to have multiple ways of skinning this cat.

I agree. Both solutions have their advantages and disadvantages.

Greetings Geko:
Will this X10 bridge program become intergrated into the SmartThings App one day?
I’m now using Insteon(sorry for using this name in this forum) to power my X10 bedroom light.

If SmartThings intergrates this program into their mobile app, it will open a lot of possibilities.
Regards Robert

I’m planning to release it to the “shared” apps section soon, but installing a shared app is not a particularly smooth process. Hopefully, ST will make it easier in the future.

what about my question above ?

Sorry, I’m not familiar with EventGhost.

you should check it out… might solve some or more challenges. :slight_smile:

in an effort to make things simpler, I have discovered X10 commander, which spits out a friendly web server where you can simply access your X10 devices using the CM19A via an “app”, a web server or (because of the web server), UBI, SmartThings, or anything that can do a httpGET.

This has just made things a WHOLE lot easier! It’s stupid easy! :smiley:

1 Like

Did you mean this ?
If not, would you mind posting a link?

yup. exactly. I have to use it in conjunction with firecracker running (Win 7 machine)… I use my *nix machines for other stuff… but in setting those two things up, it works GREAT! Simple GUI… I get all my codes… really liking the simplicity and ability to use it anywhere since its’ a mini server.

Oh, and you may be VERY interested in what EventGhost has to offer for extra explosive and dynamic functionality.

1 Like

X10 commander uses raw sockets API on port 1033 or something, as far as I remember. I looked at it long time ago. And on Linux, it’s implemented as a shell script on top of Heyu, which does not support USB adapters (CM15 and CM19). I don’t see how it could solve the problem here.

Sorry, I wasn’t seeing a problem, rather an additional solution to the subject of the thread… getting X10 to work on SmartThings. :slight_smile:

Hi thecolor_cypher,

That is exactly what I’m trying to do now - to get SmartThings to talk to X10 Commander server. I have a number of scripts etc. that I already use X10 Commander for. However, I’m a total noob to SmartThings so don’t really know where to start coding-wise, in terms of constructing a suitable httpGET for it. Do you have any examples you would be prepared to share please?



It would seem like there’s an opportunity to create a generic ST to X10 gateway via HTTP using either mochad or X10 Commander though.

For those that have dedicated Windows hardware doing home automation stuff already, or that use serial port devices, X10 Commander seems like a logical choice.

For those that have Linux hardware then running mochad would work best, but hopefully with the same SmartApp that handles interfacing with the bridges.

I am using mochad on a qnap nas, installs as a qpkg, not very advanced, but works. Plug in the cm19 and use the ST X10 gateway.

This is Great!
I do not own a Smartthings hub yet, but I want to make sure it will work with my current X10 system before I purchase about $220 in equipment that might work…

I am running mControl v3, on a windows 7 PC, and this is with a CM15a (USB connection) connected to about 50 switches and such.

Do you have full details on how I can get the smartThings to work with a CM15a to work with X10 devices?

I see some have set up with a CM11a, and they are running Linux machines.

Do you know if I can use a windows PC to set this up, or even if I can get away without a PC?

In the meantime i moved away from mochad. I now use a Raspberry Pi, with Domoticz preinstalled, connect an rfxcom to the USB of the Raspberry and define it in Domoticz. You now will see automatically X10 devices popping up in Domoticz. It even is able to give feedback on one-way X10 devices :slight_smile: . No with the smartapp and devices in the link below you will be able to get the devices in SmartThings. I was only using simple X10 devices, but you might want to give it a go…

Ok, I have mochad installed and running on a Linux machine.

Now how to I get smartthings to talk to it?

Look for a smartapp called x10bridge and copy install that, in that app you can define and talk via ip to mochad and thus x10.

1 Like