Skip to content

audiofreak9/PHP-X10-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-X10-Control

Phone, Tablet & Desktop PHP X10 control

Code written in PHP that allows control X10 devices with a phone, tablet or desktop.

Save the code as index.php on the Apache server in the /var/www/html/ folder. It uses twitter bootstrap for mobile compatibility and fluidity. I’ve saved the Twitter bootstrap responsive and theme CSS files locally to the RPi. The code gets your configured heyu devices and displays their state and gives control of each. It also gets your configured scenes and displays them as well.

Prerequisite components

  • Linux box, preferably a Raspberry Pi
  • HEYU installed
  • Apache installed
  • PHP installed

To install in an empty directory:

$ cd /var/www/html/

$ sudo git clone https://github.com/audiofreak9/PHP-X10-Control .

Refer to my blog post for Installation details: http://coreyswrite.com/tips-tricks/phone-tablet-desktop-php-x10-control/