~helmut/onoff.git
7 years agodraft device api
Helmut Grohne [Sun, 16 Jun 2013 22:03:44 +0000 (00:03 +0200)]
draft device api

7 years agodbus_service: swap print for logging
Helmut Grohne [Sun, 16 Jun 2013 22:02:06 +0000 (00:02 +0200)]
dbus_service: swap print for logging

7 years agoservice: more generic activation
Helmut Grohne [Sun, 16 Jun 2013 21:57:41 +0000 (23:57 +0200)]
service: more generic activation

7 years agoimprove dbus api
Helmut Grohne [Sun, 16 Jun 2013 21:51:09 +0000 (23:51 +0200)]
improve dbus api

 * rename state signal to changestate
 * provide a state method returning the current state

7 years agochange state meanings
Helmut Grohne [Sun, 16 Jun 2013 19:55:56 +0000 (21:55 +0200)]
change state meanings

The ST_ACTIVE bit is now to define the desired state. The previous
definition of using the state we are coming from does not make much
sense. Consider the case when being deactivated while transitioning to
active. Then we are coming from inactive and transitioning to inactive.

7 years agoport to python3
Helmut Grohne [Sun, 16 Jun 2013 13:33:01 +0000 (15:33 +0200)]
port to python3

7 years agoinitial commit
Helmut Grohne [Sun, 16 Jun 2013 10:32:08 +0000 (12:32 +0200)]
initial commit

Proof-of-concept for the dbus interaction of the onoff service.