Everytime you use the app, to put the system off, and FIRST open the app in your phone and THEN put the system on.
Everytime you use the app, to put the system off, and FIRST open the app in your phone and THEN put the system on. The detection in the app is automatic without any further issues.