PiPup - Android TV app for notifications

I have a Sony Bravia. I got PipUP to work BUT - while it opens, it doesn’t seem to be able to play video while there is a video playing on the app it opened up above - I get a blank screen with a network spinner for 30 seconds. I also can’t figure out how to get it to autolaunch when the TV boots up.

If I am on the “home screen” - it shows video. If I am in an TV app, but not playing video, it shows video.

I have wired it up so that when my Ring Doorbell notices motion, it pops up a window. Wish it showed video too :expressionless:

I’m doing this via “Android Debug Bridge” integration and

service: androidtv.adb_command
data:
  command: >-
    ps -ef | grep -v grep | grep pipup || am start
    nl.rogro82.pipup/.MainActivity
target:
  entity_id: media_player.android_tv

action in “when TV turns on” atuomation

1 Like

Hi.

Is this still working for you?

webrtc.html does not seem to load on my Fire TV when used in Pipup. stream.html works but I can’t find any way to disable the audio when using stream.html instead of webrtc.html.

Thanks

Yes still works here. At least on my android tv box and all my nvidia sheilds. If stream.html works but webrtc.html doesn’t, then it sounds like an incompatible source and not really a pipup problem. I’d check your source and go2rtc logs

http://xxxx:1984/webrtc.html?src=garage_main&media=video

Can anyone help me with an issue that I am having with this pipup setup please? I’ve posted the info here but essentially the only way I can display the live doorbell cam image in the pipup on my fire tv, is by using the webrtc.create_link service, but this has to use the native Reolink Integrations camera entity, which in itself is painfully slow to load. Ideally I want to be able to use a webrtc URL from go2rtc instead of creating one with a temp ID from the RTSP stream of the Reolink Integration, which will just load the local RTC stream, as this loads much quicker. As go2rtc doesn’t create entities, I can’t target it this way like in the write up by Sean Blanchfied.

Why do you need to use webrtc.create_link? Why aren’t using go2rtc via frigate as the writeup suggests?

I don’t use Frigate at all. I’ve worked out how to do this though. Removing the service call to create a link with webrtc.create_link and downloading a slightly different apk file which has the later webview as well as allowing http rather than just https. I’m now using a local http url instead via go2rtc which has resolved the issue.

1 Like

For a while, it worked flawlessly but now i have to open PipUp once for every few day.
How to accomplish that PipUp works forever in background?

Just bought a new Android Tv device. I came across reitblatt/PiPup: Enhanced notifications for Android TV (github.com). The developer has made some adjustments compared to the original. Is anyone able to create an APK of this?

1 Like

All set on Sony Android TV with stream from Unifi camera working flawlessly.
I have a problem with muted audio on the main source when PiP shows up, and even after PiP disappears.
I have to change the source on TV in order to get audio again.

Maybe someone has some advice?

@rogro82

Because we dont have the option to exit the PiP:
Is there a chance to make a script that we can use to STOP the casting?

For example, to make automation:
-IF motion detect is stopped for 5 seconds
-THEN stop sending video to TV

In that case we can put motion->streaming duration to (whatever)…

Thanks