Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML page support (for PiPup and others) #34

Open
AlexxIT opened this issue Apr 26, 2021 · 13 comments
Open

HTML page support (for PiPup and others) #34

AlexxIT opened this issue Apr 26, 2021 · 13 comments
Labels
enhancement New feature or request

Comments

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 26, 2021

Application: https://github.com/rogro82/PiPup
Video example: https://www.youtube.com/watch?v=j2tCamSDm7o

configuration.yaml

rest_command:
  pipup:
    url: http://192.168.1.123:7979/notify
    content_type: 'application/json'
    verify_ssl: false
    method: 'post'
    timeout: 20
    payload: >
      {
      "duration": "{{ duration }}",
      "position": "{{ position }}",
      "title": "{{ title }}",
      "titleColor": "{{ titleColor }}",
      "titleSize": "{{ titleSize }}",
      "message": "{{ message }}",
      "messageColor": "{{ messageColor }}",
      "messageSize": "{{ messageSize }}",
      "backgroundColor": "{{ backgroundColor }}",
      "media": { "{{ mediaType }}": {
        "uri": "{{ uri }}", "width": "{{ width }}"
      }}
      } 

service call:

service: rest_command.pipup
data:
  title: ''
  message: Someone at the door...
  backgroundColor: '#DD000000'
  duration: 20
  messageColor: '#FFFFFF'
  messageSize: 20
  position: 2
  titleColor: '#50BFF2'
  titleSize: 15
  mediaType: web
  uri: 'http://192.168.1.111:8081'
  width: 640
@AlexxIT AlexxIT added the enhancement New feature or request label Apr 26, 2021
@AlexxIT
Copy link
Owner Author

AlexxIT commented Apr 28, 2021

Added in v1.4.0. More info:
https://github.com/AlexxIT/WebRTC#cast-or-share-stream

@AlexxIT AlexxIT closed this as completed Apr 28, 2021
@jmacul2
Copy link

jmacul2 commented Aug 10, 2021

I cant seem to get the webrct video link to work on this anymore. Anything change?

@AlexxIT
Copy link
Owner Author

AlexxIT commented Aug 10, 2021

@jmacul2 link should work

@gmcmicken
Copy link

This doesn't seem to work for me, only seeing a black screen on the PiPup notification. Based on the open issue on the PiPup github it looks like PiPup doesn't support javascript, but could easily be modified to do so as this person has done.

@AlexxIT AlexxIT reopened this Oct 3, 2021
@gmcmicken
Copy link

It doesn't look the the author of PiPup is active, as the PR to enable javascript has been open for some time, unmerged, and it's just a tiny configuration change. I've forked and built the APK here for the interim.

@sapdemon
Copy link

@gmcmicken @madjam002

When I use lnk generated by WebRTC I`ve got an error
net::ERR_CLEARTEXT_NOT_PERMITTED on popup window

Could you please suggest something?

@gmcmicken
Copy link

@gmcmicken @madjam002

When I use lnk generated by WebRTC I`ve got an error net::ERR_CLEARTEXT_NOT_PERMITTED on popup window

Could you please suggest something?

You need to use SSL I believe (https).

@sapdemon
Copy link

@gmcmicken @madjam002
When I use lnk generated by WebRTC I`ve got an error net::ERR_CLEARTEXT_NOT_PERMITTED on popup window
Could you please suggest something?

You need to use SSL I believe (https).

Thank you, now it works!

@adrianmihalko
Copy link

It would be great to disable https need.

@athyanop
Copy link

Yes disabling https would be perfect

@athyanop
Copy link

Finally APK without https.

https://community.home-assistant.io/t/a-short-guide-for-setting-up-tv-pip-notifications-with-pipup/537084

@that1guy
Copy link

that1guy commented Oct 4, 2023

The PIP window causes the current media to pause. Any way to stop this from happening? Ideally the content on the TV would continue playing when the PIP window starts its camera stream. Or at the very least it should resume playing content when the PIP window disappears.

@gmcmicken
Copy link

The PIP window causes the current media to pause. Any way to stop this from happening? Ideally the content on the TV would continue playing when the PIP window starts its camera stream. Or at the very least it should resume playing content when the PIP window disappears.

It doesn't affect what the TV is doing on mine at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants