Added PIR sensor integration