Michael LeMay
Published

Interfacing X10 CM19A to Home Assistant

Connect the X10 CM19A, a USB module that sends RF commands to X10 receivers, to the Home Assistant automation framework.

EasyProtip1 hour796
Interfacing X10 CM19A to Home Assistant

Things used in this project

Hardware components

X10 CM19A
×1

Software apps and online services

Home Assistant
Home Assistant

Story

Read more

Code

Home Assistant configuration.yaml snippet

YAML
Configuration settings for connecting a switch at X10 address A1 to Home Assistant via PyCM19A.
switch:
  platform: command_line
  switches:
    desk_lamp:
      command_on: "python c:/X10/pycm19a.py +a1"
      command_off: "python c:/X10/pycm19a.py -a1"
      friendly_name: "Desk lamp"

PyCM19A

Python driver for X10 CM19A USB transceiver.

Credits

Michael LeMay

Michael LeMay

2 projects • 1 follower
Research Scientist at Intel Labs
Contact

Comments