Integrating X-10 Devices with SmartThings: A Community Collaboration

Hey everyone, I wanted to share my journey and experiences with integrating X-10 devices into my SmartThings setup. It’s been quite an adventure, and I’m excited to hear how others have tackled similar challenges!

A few years back, I made the switch from X-10 to Wink, and recently, I migrated to SmartThings. While X-10 physical remote controls are cost-effective and I have quite a collection, finding code for X-10 integration with SmartThings has been a bit of a puzzle. I stumbled upon some threads discussing Insteon and X-10 switches, but nothing specifically for handling signals from X-10 remotes and motion sensors. This got me thinking—why not create something myself?

I’ve developed a piece of code using the mochad daemon to listen to RF and powerline X-10 signals and send them to SmartThings via REST. It’s been working reliably, and I’m eager to share it with the community. However, I’m not a professional JavaScript developer, so I could really use some help cleaning up the JS side of the code. It’s not too extensive—just a few routines that parse and call SmartThings. I’ll make sure to post the cleaned-up code along with installation instructions once it’s polished.

For those interested in the technical side, mochad is a robust daemon that runs on Linux systems, including Raspberry Pi, and uses CM15A or CM19A USB devices for X-10 communication. I’ve previously written bindings for Pimatic and OpenHAB, but this code is designed to be standalone without relying on additional subsystems like MQTT.

I’m curious to hear if anyone has similar projects or tips for improving this integration. Have you successfully integrated X-10 devices with SmartThings or other platforms? Any suggestions for optimizing the code or handling edge cases would be invaluable!

Let’s collaborate and make this integration smoother for everyone. Looking forward to your thoughts and contributions! :rocket: