after 3-4 hours of reading and testing, I decided to ask for help
i have several X10 devices (most of them dimmable), and a CM11 serial to X10 adapter.
I run HA in a VM under Proxmox, i also use a USB2Serial adapter, Proxmox recognizes this and forwards it to HA.
2.768344] usb 2-1: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 2.00
[ 2.773842] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.779176] usb 2-1: Product: USB <-> Serial
[ 2.782772] usb 2-1: Manufacturer: FTDI
[ 2.785840] usb 2-1: SerialNumber: 12345678
[ 7.176779] usbcore: registered new interface driver ftdi_sio
[ 7.201495] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 7.251128] usb 2-1: Detected FT8U232AM
[ 7.270847] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
this is where i stuck.
HEYU seems to be installed, but how can i configure the port, etc ?
then i used the terminal to issue the following commands:
apk add --update alpine-sdk
wget -O heyu.zip https://codeload.github.com/HeyuX10Automation/heyu/zip/v2.10.3
unzip heyu.zip
cd heyu-2.10.3
./Configure darwin && make
mkdir /var/tmp/heyu
mkdir /etc/heyu
# Change this to specify your CM11A or CM17A TTY
echo "TTY /dev/ttyUSB0" > /etc/heyu/x10.conf
sudo make install
now you have heyu working… you can use these commands:
#get the info
heyu info
#turn on the light on g1
heyu on g1
#turn off the light on g1
heyu off g1
i have a CM11 (not marked as A). Response is not very fast…
its slower in turning off the light.
i finally installed Home Assistant Supervised.
it was much more easier to compile and install Heyu.
cd /usr/local/src/
apt-get install git
git clone https://github.com/HeyuX10Automation/heyu.git
apt-get install build-essential
cd heyu
./Configure.sh
make
make install
heyu info
added heyu to my crontab file, to start with the system…
@reboot /usr/local/bin/heyu start
now i can turn on/off lights from the command line…
heyu info
heyu on g1
my problem is still how can i intergrate this with Home Assistant…
anyone help ?