desertblade / PiPup

Enhanced notifications for Android TV
67 stars 5 forks source link

Send command to terminate the pop-up #6

Open 8666 opened 2 months ago

8666 commented 2 months ago

At the moment I start "streaming" the camera feed after there is a motion but I am not sure how long someone will stay in the scene. I set timeout on 10s and additional request after 10s if there is more motion.. but that is not perfect.. sometimes the new popup does not show immediately so there is a 1-2 sec of no video.

It would be better to start streaming with timeout of like 30s but be able to stop it with command if I am sure that there is no more motion

PS. Is it possible to have more then one popup in different corners? If I send request for a new video in new corner it stops the existing one.

jparthum commented 2 months ago

As a workaround; when my camera(s) trigger off, I send a 1 pixel x 1 pixel image with "duration": 0.1.