Difference between revisions of "Main Page"
(→Serial port) |
|||
Line 25: | Line 25: | ||
For this, the [[install serial port|xPL serial port device]] can be instantiated as many times as needed. | For this, the [[install serial port|xPL serial port device]] can be instantiated as many times as needed. | ||
The xPL infrastructure supports this by the fact that these devices are differentiated by their name. | The xPL infrastructure supports this by the fact that these devices are differentiated by their name. | ||
+ | |||
+ | == Controlled equipment == | ||
+ | |||
+ | The xPL scripts found here allow to control: | ||
+ | * EIB / KNX devices such as lights, shutters, … | ||
+ | * a Denon audio-video controller | ||
+ | * a Panasonic plasma screen | ||
+ | * Philips Hue LED light bulbs | ||
+ | * Ethernet controlled switches | ||
+ | |||
+ | == Triggered actions == | ||
+ | |||
+ | An xPL device sends clock ticks every minute. | ||
+ | |||
+ | A central xPL device monitors all the messages and is configured to trigger specific actions on specific messages. | ||
+ | This allows: | ||
+ | * to update the information about the state of the home (lights, music, …) | ||
+ | * to launch scripts at given times or on specific events | ||
= MediaWiki editing = | = MediaWiki editing = | ||
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. | Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. |
Revision as of 19:19, 16 March 2014
The xPL protocol allows different devices to exchange information in a simple manner. The devices broadcast their messages to the others and register to a hub in order to receive the messages sent by others.
The protocol is light enough to run on simple machines such as the BeagleBone. Some setup insructions show how to prepare a BeagleBone to use with xPL.
The hub and the devices can be installed on different platforms. The system shown here bases on Perl, which is part of the Linux and Mac OS operating systems and can easily be installed on Windows.
Contents
Install xPL
Hub
The first step to xPL automation is to install a hub.
This has to be done on each machine that participates to the xPL network.
Serial port
Many devices are controlled over an RS-232 serial port.
For this, the xPL serial port device can be instantiated as many times as needed. The xPL infrastructure supports this by the fact that these devices are differentiated by their name.
Controlled equipment
The xPL scripts found here allow to control:
- EIB / KNX devices such as lights, shutters, …
- a Denon audio-video controller
- a Panasonic plasma screen
- Philips Hue LED light bulbs
- Ethernet controlled switches
Triggered actions
An xPL device sends clock ticks every minute.
A central xPL device monitors all the messages and is configured to trigger specific actions on specific messages. This allows:
- to update the information about the state of the home (lights, music, …)
- to launch scripts at given times or on specific events
MediaWiki editing
Consult the User's Guide for information on using the wiki software.