HTML page support (for PiPup and others)
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
Added in v1.4.0. More info: https://github.com/AlexxIT/WebRTC#cast-or-share-stream
I cant seem to get the webrct video link to work on this anymore. Anything change?
@jmacul2 link should work
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.
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.
@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 @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).
@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!
It would be great to disable https need.
Yes disabling https would be perfect
Finally APK without https.
https://community.home-assistant.io/t/a-short-guide-for-setting-up-tv-pip-notifications-with-pipup/537084
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.
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.