User Tools

Site Tools


about

What is pilight?

pilight is an OpenSource project released under GPLv2 and was initially created for the Raspberry Pi. The core functionality of pilight consists of sending and receiving 433.92Mhz codes, the ability to have multi-platform clients, and the ability to add multiple nodes. All of these aspect of pilight have different functionalities and requirements. The first thing we need to be sure of is that we are talking about the same thing. So i will clarify what these different aspect of pilight do.

Send and receiving

The reason you are installing pilight is probably because you want to have generalized control over your 433.92Mhz capable devices. These devices include remote switches, dimmers, weather stations, blinds etc. To be able to send and receive 433.92Mhz, you must first own a 433.92Mhz sender and receiver that you can connect to a GPIO supported computer. Once you have done that, you can run the pilight-daemon with it's full capacities.

GPIO supported computer

The most well know PC that has GPIO support is the Raspberry Pi. pilight has been developed using a Raspberry Pi and this is probably the must appropriate choice to run the full fledged pilight daemon on.

Sender and receiver

The send and receivers come in different shapes, prices, and qualities. Especially the receivers can differ greatly in quality. Until today i have owned two types of receivers. The first type was of a terrible quality the second one was really great. So the first step is buying the right receiver. This image shows a good quality receiver: 28kgrhqn_nkf_g4j3m_bbqlgu_l0vg_60_3.jpg And the following image shows a bad quality receiver: 28kgrhqvhjfyfgwz7fsoobrvtcnwrfg_60_3.jpg The sender will work in both cases.

pilight-daemon

The core program of pilight consists of the pilight-daemon. This daemon will handle all the sending and receiving of 433.92Mhz codes, and consists of a socket server with which several clients can communicate to on their turn send to and receive messages from the daemon. The daemon even has a built-in webserver that allows controlling various 433.92Mhz devices through a web application.

Multi-platform

pilight can run on various platforms to enable you to use pilight on all computers in your (home) network. The following pilight program are tested to work on:

  • pilight-daemon*: Raspbian, XBian, FreeBSD, Ubuntu, Debian
  • pilight-sender: Raspbian, XBian, FreeBSD, Ubuntu, Debian, Windows 7
  • pilight-receiver: Raspbian, XBian, FreeBSD, Ubuntu, Debian, Windows 7
  • pilight-control: Raspbian, XBian, FreeBSD, Ubuntu, Debian, Windows 7
  • pilight-learn: Raspbian, XBian
  • pilight-debug: Raspbian, XBian

* The pilight-daemon will work fine on non-GPIO capable computers, but of course, it will not be able to use it's direct sending and receiving 433.92Mhz abilities. The daemon can run in node mode.

Node mode

The pilight daemon can run in server mode in which it's able to perform all tasks it's capable of. The pilight daemon can also run in client mode. In this mode, the daemon will act as if it were a node. So let's say you have a Raspberry Pi running the pilight daemon in server mode in your living room. Your house has three levels and the living room is located on the 1st floor. In this situation, it can happen that the sender and receiving can't cover all levels up to the 3th floor, and maybe the coverage on the second floor is weak. In this case you can set-up a second Raspberry Pi on the 3th floor that is running in client mode. This client will connect itself to the main server in the living. Whenever the server or the client receive a code, this code is communicated to all connected nodes. Also, whenever a code has to be send, all nodes will send out the requested code. Of course, a sender and/or receiver has to be connected.

Another feature is that you can have you main server running on a non-GPIO capable machine. Let's say you have a NAS located in the livingroom that is always on. You run the pilight daemon in server mode but with it's sending and receiving capabilities deactivated. Then you set-up various Raspberry Pi's across your house that with the pilight daemon running as client and connected to the main server on your NAS. Now once a code has been received by one of the Raspberry Pi's it will be communicated to the main server on the NAS, and the NAS will transfer the received codes your all other Raspberry Pi's. This way, you can use your super-reliable computer as the main server and you don't have to rely on your Raspberry Pi's.

about.txt · Last modified: 2015/11/27 22:09 (external edit)