Benutzer:Amogorkon/PiLife/IPlamp

The IPlamp is a small test for PiLife. The idea is to represent a small lamp inside the application, and also be able to control its state.

For a first test a small app is written that communicates via XMPP. There are two functions: getstatus() and switch(). One to get the current status, the other to toggle between on and off.