Benutzer:Amogorkon/PiLife/IPlamp
< Benutzer:Amogorkon | PiLife
Zur Navigation springen
Zur Suche springen
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.