[OBSOLETE] SmartThings Controls X10 Switch -- Demo

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?

TIA,

Nigel

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

Is that in Github? I can’t find the X10Bridge anywhere,

Do you have a link to the code? Some that I have found are broken links.

P.S I am using the v2 HUB

Thought it was. But i see what you mean all 404’s. Unfortunatly i deleted the copy from my own IDE…

try this one: https://github.com/notoriousbdg/statusbits-smartthings/commit/052a53cf19ac71578f4f990c81401c9b8a6320c3

I am very familiar with how X10 works, but I am new to SmartThings. I really like alot of the features offered by SmartThings and after watching your Youtube video I was convinced it would be an easy setup to the new technology, using some of the old technology until I could afford to replace it with new. One of the things I am not understanding after reviewing the SmartThings App for my phone or Ipad, is I am not able to see how to add the X10 controller for example the CM19A or the CM15A. Can you please provide further details on how this is done?

You can’t. My solution was using a bridge running Mochad software on a Linux box. However, since SmartThings to this day does not support a simple TCP socket protocol, it didn’t work well and I have scrapped this project. I gradually replaced all X10 switches with Z-Wave, which are more reliable and secure. X10 served us well, but I think it’s time for it to retire. :slight_smile:

There was one fellow who build a Netduino based bridge to CM15A (IIRC). That would be an effective method of doing an X10 integration. There isn’t a published integration, but if you search around you might find it, and I think his code is on Github.

I recently built a Lutron RadioRA integration based on Arduino with a SmartThings ThingShield. This approach uses zigbee to communicate between the Arduino and SmartThings, and avoids the whole TCP socket mess. Arduino is a very capable platform for this type of integration between the old world, and the new.

True, but it’s a relatively expensive solution. I wanted to build something that cost $0, re-using equipment I already had. :smile:

You are right. The Arduino setup cost me $80 or $100. But the expensive part was the Lutron side. $100 is a lot to just keep old stuff going.

I read somewhere here about someone integrating their Domia hub used with lightwave or ByeByeStandby products with smartthings and the post explained how X10 sockets could be controlled via Smart Things using https in an app.
Can anyone point me in the right direction?

I can’t find the post anywhere now and have a Domia hub and a smartthing hub already

I have a question unrelated to X10 but related to your video.

It appears you are running on an iPad at full screen. Am I seeing things?

I think it’s just running the app in 2x mode due to the black borders. However, to run in full screen, you can do it if the iPad is jailbroken which allows it to run a program called Fullforce. See some examples here:

Some of you may like to see a new x10 and smarthings way. I made a video https://www.youtube.com/watch?v=-C-pjKdNMBo

Is anyone still using X10 Commander? I’ve been using it since 2010, everything has been great. I just got a new iphone and restored from a backup. X10 commander shows up on my new phone, but since it’s not in the app store anymore I can’t use it to control all my X10 stuff. Anyone have a way to fix?