For me, "knock on" works sometimes, sometimes I have to double-knock it 2 or 3 times. "Knock off" always works.
Here is my theory. The current version of Android tries to optimize battery use by putting apps to sleep when the phone screen is off. I think that whatever code supports knock on is...