-
Notifications
You must be signed in to change notification settings - Fork 16
Great Project. U8G partially works. #19
Comments
Yikes. I am not sure what steps to take with debugging this. This is probably something going wrong in the TV, and that's pretty much a black box. |
Opening apps uses launchapp mqtt message instead of sendkey.
To emulate power button:
/remoteapp/tv/remote_service/XX:XX:XX:XX:XX:XY$normal/actions/sendkey
-m
KEY_POWER
To start netflix:
/remoteapp/tv/remote_service/XX:XX:XX:XX:XX:XY$normal/actions/launchapp
-m
{"appIcon":"","appId":"","has_detail_page":0,"isLocalApp":1,"name":"Netflix","storeType":0,"type":0,"url":"com.netflix.ninja","urlType":0}
…On Thu, Mar 10, 2022, 7:28 AM Alex Martens ***@***.***> wrote:
Yikes. I am not sure what steps to take with debugging this. This is
probably something going wrong in the TV, and that's pretty much a black
box.
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPS36RVALJXNRP7DJXAZYTU7IIINANCNFSM5QK3PXIQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yup. That is the current behaviour: hisensetv/hisensetv/__init__.py Lines 389 to 392 in 25e00da
hisensetv/hisensetv/__init__.py Lines 242 to 270 in 25e00da
Is that not what you expected? |
the mqtt topic But, the following works in MQTT Explorer when I change message to: When I use RemoteNow app on Note 10+ android phone and press the Netflix logo it also works: |
This home assistant community post looks accurate for the latest Hisense AndroidTVs in case that's the difference between our TVs: "For app launching, here’s an example MQTT publish and the JSON for it. This launches the app immediately, from every screen and input I could try.
"
" |
Ah, that makes sense - they changed the API. I originally accepted a pull-request for the netflix/youtube/amazon keys - I never got those to work on my TV myself. If you want to send in a pull-request for that update I am happy to review it, but I would rather not develop features myself without a mechanism to test them. |
Sound good, But I've never done that before.
with
and then click save or something? |
OK tried pulling and forking. Not sure what to do now. |
Holy moly. It worked! |
Sorry to revive this, but does this project still work on the U8H? Trying to decide if I should buy one. |
U8G
AndroidTV
Python 3.7-64 / 3.9-64
hisensetv-0.2.0.tar.gz
[--key {,exit,ok,volume_up,volume_down,channel_up,channel_down,fast_forward,rewind,stop,play,pause,mute,home,subtitle,,0,1,2,3,4,5,6,7,8,9,source_1,source_2,source_3,source_4,source_5,source_6,source_7}]
Steps to Reproduce
The following does not work , (the TV stays on the home screen):
--key netflix
--key youtube
--key amazon
Other commands such as power, back, etc. work fine
PS C:\WINDOWS\system32> hisensetv 192.168.86.98 --key youtube
[2022-03-08 12:11:27,082] [INFO ] sending keypress: youtube <--- Does nothing
PS C:\WINDOWS\system32> hisensetv 192.168.86.98 --key back
[2022-03-08 11:50:26,050] [INFO ] sending keypress: back <--- Works as expected
The text was updated successfully, but these errors were encountered: