Smart knock