Control and monitor X10 home automation devices via a CM11A module
4.8K
This is a dockerized heyu for controlling and monitoring X10 home automation devices via a CM11A module.
Run this to generate some config files:
docker run --rm -v /your/config/dir:/etc/heyu kevineye/heyu
Copy x10config.sample to x10.sched.sample and to x10.conf and x10.sched and edit your configuration.
docker run -d \
-v /your/config/dir:/etc/heyu \
-v /etc/localtime:/etc/localtime \
--device /dev/ttyUSB0 \
-p 8080:80
kevineye/heyu
The device can be configured in the x10.conf file.
If you map port 80, you can query and control heyu via the following web services:
A1). Returns text/plain body of ON or OFF. Codes are case sensitive.A1). POST body must be ON or OFF. Codes and body are case sensitive.A) on or off. POST body must be ON or OFF. Codes and body are case sensitive.x10.sched.You may also add some minimal security by supplying the URL_KEY environment variable (choose a long, random string), which will prefix the key before each endpoint (e.g. /<URL_KEY>/A1). You will need to use a reverse proxy to add real authentication or SSL.
Content type
Image
Digest
Size
5.1 MB
Last updated
over 10 years ago
docker pull kevineye/heyu