A Fuzzy Adaptive Controller for an Ambient Intelligence Scenario