Controlling smart environments containing multiple devices is a challenging problem. In particular the definition of suitable interaction paradigms, which can be divided into implicit and explicit models. Here we introduce an implicit controller for smart environments that infers possible goals of the users and provides support by achieving them automatically. We use models of the environment and the user to automatically create this controller. The resulting system is purely reactive and can be executed in real time.