1.9. Handle Service

If the handle sevice is activated, it triggers the following behaviour once:

  • handle is turned on and the color is set to blue
  • when the corresponding door or drawer is opened, the handle changes its color to green
  • when the corresponding door or drawer is closed again, the handle is turned off

1.9.2. Interfaces

At present we only have a handle service for the handle with id 503.

Scope (Listener) Type
/home/kitchen/handleservice/<handle_id>  
/home/kitchen/reedswitch/<handle_id> ReedSwitch
Scope (Remote Server) + Method Argument Type Return Type
/home/kitchen/ambientlight/<handle_id>/ctrl/setStatus() AmbientLight  

1.9.3. Examples

Start a handle service for handle with id 503:

 > $prefix/bin/handle_service.py 503

Activate the handle service:

 > $prefix/bin/tools0.12 send "" /home/kitchen/handleservice/503