Tag Archives: X10 smart home

Give life to your home lighting

It is known that X10 is the “Grandfather” of home automation but being the first one always creates compatibility issues in an fast changing world. X10 has a large base of different gadgets to control nearly anything. Today there are so many X10 users that would love to see their smart homes updated but are afraid to touch their working systems. They would love to control and manage their X10 smart devices with the newer smart home gadgets and smartphones.

If you are one of many that jumped into home automation game early with X10 devices and love open source projects and tools you probably know and use Mochad (if not maybe its the time to do so!). Mochad is an application that allows you to control your X10 smart devices over the Web.

So you have your home server setup and use Mochad for the past years with no problems to switch lights, plugs and devices on and off from a linux terminal.

But what about real automation? How do you set the garden lights off on daybreak? Linux has some great tools but you either have to code them or find something similar created by someone else and adapt it. And what about controlling everything from your smartphone?

There is no reason to start from scratch! Sensorflare comes to save the day with its new “mochad-python” daemon that runs in the background and brings your old X10 devices back to life. Even if you are afraid of touching your Mochad server you do not need to. Just install “mochad-python” to the same machine and leave Sensorflare do the rest.

So…

What you have?

You probably already have a server running with Mochad and a CM15A or CM19 attached to it via usb.

What you need to do?

  • Just grab a copy of the script via github and add it to your server.
  • Log in to Sensorflare and visit the resources page. Click the “+ Add” button and set a password to secure the communication with Sensorflare.
  • Copy the “properties.py.template” file to properties.py and change its contents to match the ones that you setup in the previous step.
  • Finall run “python mochad_python.py” and visit the Remote Mochad Terminal and enjoy your new home!

What is more?

Save all your devices using the “+” button, add them to Dashboards, schedule their operation or add Intelligence based on your location and combine them with other devices like Smartthings or Insteon.

Interested in understanding how this works? Check out the following image and see what actually happens every time you click “On” on your Smartphone to turn your “X10 Supersocket” on and give power to your awesome smart-fan!

Click on the picture to enlarge.

How to control your X10 SuperSocket using Sensorflare

More detailed instructions are available here. Learn how to install mochad from scratch? Interested in adding this to a Raspberry Pi? Use it on Windows? Stay tuned for more updates…

If you have any questions about how to connect your X10 Mochad to Sensorflare, just leave us a note in the comments section, or contact our team.