Door Handle

A door handle has two sides. assuming she(!) has the minimalist sensory data:

touch (yes|no)
doorState (open|close)
position (0..1)

In the following situations:

Can we teach her how to actuate:

  1. light inside
  2. light outside
  3. door lock
  4. water heater

example

when handle is touched on the outside and then the door opens - turns on the light
when handle is touched on the inside and then the door closed - locks door

learning

the 'supervisor' of the learning scheme is the manual mode of the actuator (lightswitch, key-lock)