Further to an earlier post I used the following links to successfully install Home Assistant on a Raspberry Pi and setup X10 using the CM11/CM12 controller. The instructions assume a basic knowledge of Linux and the ability to SSH into a Raspberry Pi from another computer. There's quite a lot of tutorials on installing Raspbian Stretch on an SD card available on the net if you need to look around.
This installation was carried out on a Raspberry Pi3
1. You will need a fresh copy of
Raspbian Stretch Lite (not the desktop version) written to an SD card. Details to achieve this here
https://hackernoon.com/raspberry-pi-headless-install-462ccabd75d02. Now that your Raspberry Pi setup and have SSH into it from another computer you will see the a prompt. Now its time to install Heyu on the Raspberry PI. Follow these instructions exactly as they are presented in this link. NOTE when you get to the section where it asks you who you want this to be available to select option 3 and NOT 1 as mentioned in the instructions
https://blog.wouterspaans.nl/2017/02/23/control-your-x10-lights-from-a-raspberry-pi/3. Now it's time to install Home Assistant. This is the manual install which is what you need here
https://www.home-assistant.io/docs/installation/raspberry-pi/4. Now that you have Home Assistant up and running you need to configure it to run X10. The following link will demonstrate how to configure it by editing what is called the configuration.yaml
https://www.home-assistant.io/components/light.x10/All I ask here is that we keep this on topic and where possible I will be only too glad to answer any questions you may have on the above. The installation should be fairly straightforward and take approximately two hours