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!
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!
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.
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.
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?
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 . 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…