background preloader

Le protocole xPL

Le protocole xPL
En domotique, l’un des principaux problèmes est d’arriver à faire communiquer l’ensemble des modules et des équipements du système entre eux. On trouve le problème par exemple dès que l’on choisi plusieurs technologies différentes (PLCBUS, ZWave, x10 …), mais aussi pour faire communiquer plusieurs contrôleurs domotique entre eux. C’est dans ce but qu’une équipe de développeurs passionnés a essayé de définir un protocole unifié permettant à tous les équipements qui implémente ce protocole de communiquer ensemble. A la base, le projet s’appelait XAP ( XAP permet, grâce à l’échange de message texte formaté suivant un schéma bien précis de connaître les différents événements qui se produisent sur le réseau domotique et d’exécuter les commandes sur des équipements du système. Le principe du protocole est simple. Il existe 3 types de messages xPL : Le message est basé sur une structure fixe, qui est ensuite complétée par rapport à une notion appelée « Schéma ».

fuzzillogic / 433MHzForArduino This package contains several small libraries for Arduino 1.0 which add communication capability with some radio controlled (433MHz / 434MHz) domestic appliances. The libraries can be used for easy home automation using cheap, off-the-shelf components. Features Support for sending and receiving a wide range of common remote switches. There are four libraries: RemoteSwitch, for generic remote switches NewRemoteSwitch, for KlikAanKlikUit / ClickOnClickOff remotes. All libraries come with a readme and examples. RemoteSwitch Supports sending and receiving signals from and to remote switches, based on PT2262 or M3E ICs. These radio controlled switches are very common. However, these type of devices seem to be available world-wide. 433MHzForArduino's RemotSwitch library directly supports: But many other types are supported as well, as many of them use the same protocol. NewRemoteSwitch Supports sending and receiving signals from and to new A-series KlikAanKlikUit remote switches. RemoteSensor

ATtiny85 433Mhz transmitter with I²C « PiDome UPDATE: The server has now native support for the on this page mentioned devices. This page is primarily for the dutch users, but can also apply for others because the protocols used is quite common and reused a lot. We have created a little script which does 433Mhz transmitting for some simple wall socket switches on a quite capable and nice little device, the ATtiny85. Supported switches are: Elro’sSwitched bought from the BlokkerSwitches bought from the ActionA very old flamingo AB400s switch.Klik aan/Klik uit (non self learning switches). Components Raspberry pi,ATtiny85,433 RF transmitter (Can be a lot of common types, i use the Grove RF Link kit transmitter from Seeedstudio),Logic level converter (3.3 <-> 5.0 volts (I use the one from Adafruit)),breadboard to test,bunch of breadboard wires,The source code, libraries, sketch and breadboard setup (image and fritzing): PiDome Hardware downloads. Prepare the ATtiny85 The preparation is quite simple. Program the ATtiny85 Download the source

Related: