PiPup icon indicating copy to clipboard operation
PiPup copied to clipboard

Sony KD-65ZD9

Open AdyRock opened this issue 4 years ago • 4 comments

Hi,

This doesn't seem to work on my TV. The app is installed and I have rebooted the TV. The app page shows server running but nothing ever appears on the TV. I'm using the Homey app to send messages or images but nothing showing up.

I see a note in the side loading section about setting a permission. Do I have to do this when installing from the Play store? If so how do I do that?

Any suggestions?

Thanks, Adrian.

AdyRock avatar Oct 06 '19 12:10 AdyRock

I have tested this on 2 Sony KD TVs (49/55) so it should work. Can you tell me which Android TV version?

If you have any knowledge of sending HTTP commands (e.g. through postman) you could try to communicate with the server directly bypassing the Homey app.

I would at first start with a basic message which can be found in the readme below Sending notifications section.

rogro82 avatar Oct 09 '19 21:10 rogro82

I also have this issue. I am using Sony android 8 TV. I did restart/reboot TV many times. I am using beta app from google store

When using curl command. I can get reply from the app but nothing is displayed on TV.

curl -v --header "Content-Type: application/json" --request POST --data '{"message": "What ever you want to say... do it here...","media": { "web": { "uri": "http://google.com", "width": 480 }}}' http://192.168.2.47:7979/notify
Note: Unnecessary use of -X or --request, POST is already inferred.
* Expire in 0 ms for 6 (transfer 0x780880)
*   Trying 192.168.2.47...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x780880)
* Connected to 192.168.2.47 (192.168.2.47) port 7979 (#0)
> POST /notify HTTP/1.1
> Host: 192.168.2.47:7979
> User-Agent: curl/7.64.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 121
>
* upload completely sent off: 121 out of 121 bytes
< HTTP/1.1 200 OK
< Content-Type: text/plain
< Date: Fri, 11 Oct 2019 12:26:14 GMT
< Connection: keep-alive
< Content-Length: 266
<
* Connection #0 to host 192.168.2.47 left intact
PopupProps(duration=30, position=TopRight, backgroundColor=#CC000000, title=null, titleSize=14.0, titleColor=#ffffff, message=What ever you want to say... do it here..., messageSize=12.0, messageColor=#ffffff, media=Web(uri=http://google.com, width=480, height=480))

Can you please check?

hungpr0 avatar Oct 11 '19 12:10 hungpr0

I got this working by execute "adb shell appops set nl.rogro82.pipup SYSTEM_ALERT_WINDOW allow"

hungpr0 avatar Dec 10 '19 14:12 hungpr0

I got this working by execute "adb shell appops set nl.rogro82.pipup SYSTEM_ALERT_WINDOW allow"

Thank you! Had to do this on my KD-55X8500D to get it working after a TV factory reset. For anyone who wants to do it (and to remind me how to do it in the future), here are the steps. https://appchoose.blogspot.com/2018/12/connect-to-android-tv-via-adb-from.html

Some points to note:

  • You can just use PowerShell instead of typing start cmd, you just have to proceed any commands with ./ so first command would be ./adb connect TV.IP.address:5555 example, ./adb connect 10.0.0.4:5555
  • After a successful connection, simply run the command mentioned adb shell appops set nl.rogro82.pipup SYSTEM_ALERT_WINDOW allow
  • Note: You won't get any response after sending the message
  • You can test using Postman

xbmcnut avatar Aug 15 '21 11:08 xbmcnut