Git Product home page Git Product logo

Comments (56)

nomc2 avatar nomc2 commented on July 22, 2024 8

Looks like some of the codes for the applications have changed.
I was having the same issue so I used Tizen Studio to retrieve the webapp list from my tv (2020 QE55Q64TAUXZT) in developer mode.
Below is what I got for Netflix and Prime Video, setting them in my configuration.yaml fixed the issue for me and now I can succesfully open Netflix and Prime Video through the integration:

[ 1 - Netflix]
- App Name                            :     Netflix
- App Version                         :     5.2.550
- App ID - WAS                        :     3201907018807
- App ID - Tizen                      :     org.tizen.netflixapp
-----------------------------------------------------------------------------------------------------
[ 2 - Prime Video]
- App Name                            :     Prime Video
- App Version                         :     2.01.23
- App ID - WAS                        :     3201910019365
- App ID - Tizen                      :     org.tizen.primevideo

YMMV though, as it looks like the codes might be different between versions of the same app.

from ha-samsungtv-smart.

nomc2 avatar nomc2 commented on July 22, 2024 3

@nomc2 how did you retrieved all apps form tv?

I used the Samsung Tizen SDK and the TV in Developer Mode:

It is convoluted but it was the only foolproof way to get the app list as for some reason the integration does not seem to be able to generate it in my TV.

from ha-samsungtv-smart.

nomc2 avatar nomc2 commented on July 22, 2024 2

@nomc2, good catch.
Did you change something at integration options or you leave all default?

I did change the Application Launch Method to REST API Call a few days ago during my tests and never reverted it back, so this works for sure in my TV.
I have just tested reverting it back to Standard WebSocket Channel and it works as well.
Everything else was not changed from default

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024 1

Yes, re-install is the only option, Sorry but at this moment I have no other idea, I will think if there are possible alternative...

from ha-samsungtv-smart.

nomc2 avatar nomc2 commented on July 22, 2024 1

Hi,

I have samsung TU7172 from 2020.
I got select input for apps working by creating list in yaml.

samsungtv_smart:
  host: 192.168.0.118
  app_list: '{"Netflix": "3201907018807/org.tizen.netflix-app", "YouTube": "111299001912/9Ur5IzDKqV.TizenYouTube", "EON": "IaJ5S3D7jQ.Eon"}'

I had to use the new id for Netflix you provided. Thank you.
I don't have applist-.txt and the list is not created automatically.

I also really want to get app id for this app of mine EON. I tried to follow your way, @nomc2 but with no success yet. I don't have "Installed Web App List" in device manager.

image

Did you install the TV Extensions for the SDK? I had the same issue before installing them and restarting Device Manager

from ha-samsungtv-smart.

gody93 avatar gody93 commented on July 22, 2024 1

Also mine Netflix app didnt work with the example in the Readme. Not with numeric and/or alphabetic variants, but it worked with "Netflix": "3201907018807". Maybe it would be a good idea to change it/ add it in the description.

Edit: Also this can be useful https://github.com/tavicu/homebridge-samsung-tizen/wiki/Applications

from ha-samsungtv-smart.

DavidHemsley avatar DavidHemsley commented on July 22, 2024

Did you let it create the list for you initially as it can?
You should only need to create it manually if the automatic list doesn't work for you
Sounds like you have a typo in the app, as I use HA to switch to Netflix and other Apps successfully.
My Netflix in app_list is 'Netflix': '11101200001/org.tizen.netflix-app'
and I have used org.tizen.netflix-app in my scene

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

Provide additional detail on your configuration and share your app_list here.
Are you using SmartThings?

from ha-samsungtv-smart.

josiamichael avatar josiamichael commented on July 22, 2024

@DavidHemsley intially I let it create the list automatically, but it didn't detect any of my apps so I decided to input the app_list manually in the HA configuration. I have double checked and I didn't have any typo on my configuration.

Also as a side note, my TV used org.tizen.netflix-app I knew it since it was showing up on the source in HA when I turn on netflix manually on my TV.

from ha-samsungtv-smart.

josiamichael avatar josiamichael commented on July 22, 2024

@ollo69

Here is the manual configuration I put on my configuration.yaml in HA

#Samsung TV Integration
samsungtv_smart:

  • host: 192.168.1.209
    source_list: '{"TV": "ST_TV", "TV Box": "ST_HDMI1", "Soundbar": "ST_HDMI2", "Playstation 4": "ST_HDMI3"}'
    app_list: '{"Netflix": "org.tizen.netflix-app", "YouTube": "9Ur5IzDKqV.TizenYouTube", "Spotify": "rJeHak5zRg.Spotify"}'

Yes, I'm using SmartThings and my initial configuration was using the WebUI and I have put on my SmartThings API Key there.

Also as a side note, all apps & sources are working fine. The only problem I was facing was only the Netflix App and I still can't figure out why

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

It is better to also use the numeric appID in the list for launching the app, so correct your list as following:

app_list: '{"Netflix": "11101200001/org.tizen.netflix-app", "YouTube": "111299001912/9Ur5IzDKqV.TizenYouTube", "Spotify": "rJeHak5zRg.Spotify"}'

I don't have the numeric id for spotify, but you should be able to retrieve it from the file applist-<your-ip>.txt generated in the custom component folder.

Please id this solve your problem remember to close the issue.

from ha-samsungtv-smart.

josiamichael avatar josiamichael commented on July 22, 2024

@ollo69 thanks for the help, but unfortunately adding the numeric AppID in my app_list doesn't have any impact. My Netflix still won't open but other apps still works fine (YouTube and Spotify).

and also i don't have the applist-<your-ip>.txt file in my custom component folder, am I doing something wrong or is it just not being generated on my HA for some reason ?

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

I need your HA log with debug enabled to investigate.
Add this lines in configuration.yaml to enable debug:

logger:
  default: info
  logs:
    custom_components.samsungtv_smart: debug

After using the component with debug enabled, post your log file here.

from ha-samsungtv-smart.

josiamichael avatar josiamichael commented on July 22, 2024

@ollo69

Here is my Home Asssitant log file. Hope this helps

[debuglog.txt]removed for security

From what I can read is SmartThings spitting 404 error everytime I open up Netflix but I'm not sure why since it's the same id that my TV displays when Netflix isn't on the app_list

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

This is because the component is still using the text org.tizen.netflix-app AppID and not the numeric ones, are you sure that you changed the app_list as I suggest and than reboot HA?
The component is displaying correct running app because SmartThings is providing this info, but for launching application the WS channel is used and it must use the numeric AppID.
Please correct the app-list and provide updated log if still not working.

from ha-samsungtv-smart.

DavidHemsley avatar DavidHemsley commented on July 22, 2024

Here are the AppIDs for the main ones on mine which may be of use to you
'YouTube': '111299001912/9Ur5IzDKqV.TizenYouTube', 'Netflix': '11101200001/org.tizen.netflix-app', 'Disney+': '3201901017640/MCmYXNxgcu.DisneyPlus', 'Prime Video': '3201512006785/org.tizen.ignition', 'Spotify - Music and Podcasts': '3201606009684/rJeHak5zRg.Spotify'

from ha-samsungtv-smart.

josiamichael avatar josiamichael commented on July 22, 2024

@ollo69
My bad, I revert my app_list configuration to my original configuration before logging the debuglog that I sent.

Here is my debuglog with the numeric AppID and the result is the same, YouTube and Spotify works but Netflix still doesn't work.

debuglog.txt

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

Ok, so this is really strange.
May be you can try to re-install Netflix app on TV and also power cycle it, if you don't already did.

from ha-samsungtv-smart.

josiamichael avatar josiamichael commented on July 22, 2024

@ollo69

I tried to uninstall Netflix on my TV but it won't let me (I believe its because Netflix was a default app that come with the TV) but I manage to Re-Install it and do a power cycle on my TV. The results are still the same it still gives me 404 error on my HA log.

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

Honestly I don't think this will solve the issue, anyway install last release and try to call the services media_player.play_media: with this parameters:

  • Test 1
entity_id: media_player.<your_dev_id>
media_content_type: "app"
media_content_id: 11101200001,DEEP_LINK
  • Test 2
entity_id: media_player.<your_dev_id>
media_content_type: "app"
media_content_id: 11101200001,NATIVE_LAUNCH

and let me know if any of this 2 test launch Netflix app on TV

from ha-samsungtv-smart.

DavidPper avatar DavidPper commented on July 22, 2024

Hello, Im having the same issue.
All other apps and sources will open from Home Assistant except for Netflix. If i run Netflix by selecting on the tv it shows up in Home Assistant.
Just out of curiosty, my remote has a dedicated Netflix button, would the tv have a dedicated KEY and if so how could i find what that KEY is.

Regards
David

from ha-samsungtv-smart.

josiamichael avatar josiamichael commented on July 22, 2024

Hello, Im having the same issue.
All other apps and sources will open from Home Assistant except for Netflix. If i run Netflix by selecting on the tv it shows up in Home Assistant.
Just out of curiosty, my remote has a dedicated Netflix button, would the tv have a dedicated KEY and if so how could i find what that KEY is.

Regards
David

I'm still using the integration until now and I still haven't found the solution to this problem unfortunately. Do you have the samsung one remote ? if yes i believe it is using bluetooth to connect to the tv and therefore the KEY feature can't be used since it has no registers netflix KEY. CMIIW

from ha-samsungtv-smart.

DavidPper avatar DavidPper commented on July 22, 2024

Hello, Im having the same issue.
All other apps and sources will open from Home Assistant except for Netflix. If i run Netflix by selecting on the tv it shows up in Home Assistant.
Just out of curiosty, my remote has a dedicated Netflix button, would the tv have a dedicated KEY and if so how could i find what that KEY is.
Regards
David

I'm still using the integration until now and I still haven't found the solution to this problem unfortunately. Do you have the samsung one remote ? if yes i believe it is using bluetooth to connect to the tv and therefore the KEY feature can't be used since it has no registers netflix KEY. CMIIW

I Have the BN5901329C Remote

BN5901329C Samsung Remote

from ha-samsungtv-smart.

josiamichael avatar josiamichael commented on July 22, 2024

Hello, Im having the same issue.

All other apps and sources will open from Home Assistant except for Netflix. If i run Netflix by selecting on the tv it shows up in Home Assistant.

Just out of curiosty, my remote has a dedicated Netflix button, would the tv have a dedicated KEY and if so how could i find what that KEY is.

Regards

David

I'm still using the integration until now and I still haven't found the solution to this problem unfortunately. Do you have the samsung one remote ? if yes i believe it is using bluetooth to connect to the tv and therefore the KEY feature can't be used since it has no registers netflix KEY. CMIIW

I Have the BN5901329C Remote

BN5901329C Samsung Remote

yep, i have the exact same remote as that and as far as i know the remote uses bluetooth for the Netflix button and so the Netflix button isn't registered in the KEY features since it is only IR Keys that are registered there and currently i haven't found solution on how to duplicate that netflix button on the remote

from ha-samsungtv-smart.

DavidPper avatar DavidPper commented on July 22, 2024

Just noticed im having the same issue with prime video

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

I have the exact same issue. everything works apart from Netflix.

`samsungtv_smart:

  • host: 192.168.1.138
    app_list: '{"Netflix": "11101200001/org.tizen.netflix-app" , "Plex": "3201512006963", "YouTube": "111299001912", "Prime Video" : "3201512006785", "Spotify": "3201606009684", "Internet": "org.tizen.browser" }'`

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

Tried it without the /org.tizen.netflix-app too, still doesn't work for me

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

Is there anything I can do to help with this issue, logs or anything I can provide?

from ha-samsungtv-smart.

simoa avatar simoa commented on July 22, 2024

Hi, anyone with the new Samsung tv 2020 is able to run this please ? I think I have found a solution

(Open Netflix)
curl -X POST -i 'http://IP:8001/api/v2/applications/11101200001'

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

Ooh how do you add this? Just that link?

from ha-samsungtv-smart.

simoa avatar simoa commented on July 22, 2024

@mbarnes106 Can you please simply launch this on your browser http://IP:8001/api/v2/applications/11101200001 replace IP with your current TV IP Address. Thanks very much

from ha-samsungtv-smart.

Ernie11 avatar Ernie11 commented on July 22, 2024

Hello,

I have the same issue. I only have problems with Netflix, everything else works. @simoa, I have tried your url but got an error on the json return. It says code: 404, message: "Not found error.", and status: 404. But I tried using 111299001912, which is youtube, and got the json information correctly. id, name, running, version, visibility all has information. I then tried using RN1MCdNq8t.Netflix and org.tizen.netflix-app but both game the 404 error I initially got from 11101200001.

from ha-samsungtv-smart.

simoa avatar simoa commented on July 22, 2024

@Ernie11 Thanks so much. So if you test the links below all good?

(Open YouTube)
curl -X POST -i 'http://IP:8001/api/v2/applications/111299001912'

(Open Prime)
curl -X POST -i 'http://IP:8001/api/v2/applications/3201512006785'

(Open browser)
curl -X POST -i 'http://IP:8001/api/v2/applications/org.tizen.browser'

And for NETFLIX can you check this please
curl -X POST -i 'http://IP:8001/ws/apps/Netflix'

Thanks very much

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

I’m being really slow I am afraid but want to test these tonight. What do you mean put them in your browser though?

from ha-samsungtv-smart.

simoa avatar simoa commented on July 22, 2024

They need to be executed using a terminal with your TV on so we can make sure that it open the apps on the new Samsung. Thank you

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

Sorry, so I can enter that link with my ip into the browser bar if safari on a Mac on my network you mean and see what happens?

from ha-samsungtv-smart.

simoa avatar simoa commented on July 22, 2024

@mbarnes106 if you don't know how to launch a terminal you can simply enter these on your browser

http://IP:8001/ws/apps/Netflix
http://IP:8001/api/v2/applications/org.tizen.browser
http://IP:8001/api/v2/applications/3201512006785
http://IP:8001/api/v2/applications/111299001912

Replace IP wth your TV IP.

Thanks

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

If open application with the method mentioned above fix your issue, with last integration version you can enable this method in integration options selecting Rest API Call for the option Applications launch method. You can also try the option Remote Web Socket Channel as alternative.

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

Netflix still not working, but the curl commands work for youtube etc.

Looks like its just impossible to load Netflix

Mattb:~ mattbarnes$ curl -X POST -i 'http://192.168.1.138:8001/api/v2/applications/111299001912'
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
content-length: 5

true
Mattb:~ mattbarnes$ curl -X POST -i 'http://192.168.1.138:8001/ws/apps/Netflix'
HTTP/1.1 401 Unauthorized
content-type: application/json; charset=utf-8
content-length: 29

401Mattb:~ mattbarnes$

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

Do you have an example of what you put in your actual config yaml file?

from ha-samsungtv-smart.

nomc2 avatar nomc2 commented on July 22, 2024

Do you have an example of what you put in your actual config yaml file?

Here you go:

samsungtv_smart:
  - host: <MY_TV_IP_ADDRESS>
    app_list: '{"Netflix": "3201907018807/org.tizen.netflixapp", "Prime Video": "3201910019365/org.tizen.primevideo", "YouTube": "111299001912/9Ur5IzDKqV.TizenYouTube"}'

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

@nomc2, good catch.
Did you change something at integration options or you leave all default?

from ha-samsungtv-smart.

kuchar91 avatar kuchar91 commented on July 22, 2024

@nomc2 how did you retrieved all apps form tv?

from ha-samsungtv-smart.

Ernie11 avatar Ernie11 commented on July 22, 2024

Hello.

Good find @nomc2. Works for me now. Thanks!

from ha-samsungtv-smart.

mbarnes106 avatar mbarnes106 commented on July 22, 2024

Me too @nomc2 thank you!

ps anyone else find it’s probably around 10 seconds from changing source before it shows the new source in HA etc? Anyway to speed this up?

from ha-samsungtv-smart.

9magic avatar 9magic commented on July 22, 2024

Hi,

I have samsung TU7172 from 2020.
I got select input for apps working by creating list in yaml.

samsungtv_smart:
  host: 192.168.0.118
  app_list: '{"Netflix": "3201907018807/org.tizen.netflix-app", "YouTube": "111299001912/9Ur5IzDKqV.TizenYouTube", "EON": "IaJ5S3D7jQ.Eon"}'

I had to use the new id for Netflix you provided. Thank you.
I don't have applist-.txt and the list is not created automatically.

I also really want to get app id for this app of mine EON. I tried to follow your way, @nomc2 but with no success yet. I don't have "Installed Web App List" in device manager.

image

from ha-samsungtv-smart.

9magic avatar 9magic commented on July 22, 2024

@nomc2 thank you again. I guess I was missing them and I only had TV Extensions Tools.
Now I also have TV Extensions-6.0 and Samsung Certificate Extension. Didn't have to create certificate though to see Installed Web App List now.
I had many problems with Package manager and I would give up if you had not asked me about TV Extensions again and shared your experience:)

from ha-samsungtv-smart.

dgthomson avatar dgthomson commented on July 22, 2024

There are some recent app IDs here. I have a UE43TU8500UXXU (UK 2020).

Edit: my configuration.yaml now reads (and works, □ is a space)

samsungtv_smart:
□□host: 192.168.1.73
□□app_list: '{"Netflix": "3201907018807/org.tizen.netflix-app", "Prime":"3201910019365/org.tizen.primevideo", "YouTube": "111299001912/9Ur5IzDKqV.TizenYouTube", "Apple TV":"3201807016597/com.samsung.tv.ariavideo"}'

from ha-samsungtv-smart.

swisschris104 avatar swisschris104 commented on July 22, 2024

Can confirm that "Netflix": "3201907018807" seemed to work for me too

from ha-samsungtv-smart.

mendoncart avatar mendoncart commented on July 22, 2024

Thanks @gody93 ! This list works for my TV.
If anyone still don't know how to use the command, you need to call this service:

service: media_player.play_media
data:
  media_content_id: 3201907018807
  media_content_type: app
target:
  entity_id: media_player.YOUR_TV_ENTITY

If there is a easier way, please let me know.

from ha-samsungtv-smart.

jk7gr avatar jk7gr commented on July 22, 2024

Hi,

I have samsung TU7172 from 2020. I got select input for apps working by creating list in yaml.

samsungtv_smart:
  host: 192.168.0.118
  app_list: '{"Netflix": "3201907018807/org.tizen.netflix-app", "YouTube": "111299001912/9Ur5IzDKqV.TizenYouTube", "EON": "IaJ5S3D7jQ.Eon"}'

I had to use the new id for Netflix you provided. Thank you. I don't have applist-.txt and the list is not created automatically.

I also really want to get app id for this app of mine EON. I tried to follow your way, @nomc2 but with no success yet. I don't have "Installed Web App List" in device manager.

image

Hi 9magic,
did you manage to get the AppID for EON. I am also looking for CosmoteTV. Maybe you can help?

Thanks man!

from ha-samsungtv-smart.

9magic avatar 9magic commented on July 22, 2024

Hi,

Yes! I managed to do it. I followed his guide and hints.
#35 (comment)

Sorry later I uninstalled Tizen Studio because I used it only that one time. If I understand correctly you are looking for id of different app. In case anyone needs EON app id it is:
"EON": "3201704012154/IaJ5S3D7jQ.Eon"

from ha-samsungtv-smart.

github-actions avatar github-actions commented on July 22, 2024

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days.

from ha-samsungtv-smart.

github-actions avatar github-actions commented on July 22, 2024

This issue was closed because it has been stalled for 7 days with no activity.

from ha-samsungtv-smart.

fabroche avatar fabroche commented on July 22, 2024

hi, can some one helpme to find a Release version of the Netflix App, im trying to install it with sdk tizen but i dont have a valid build

from ha-samsungtv-smart.

mirroringcontact avatar mirroringcontact commented on July 22, 2024

Hi. How to launch youtube with videoId or browser with url via post request? Any parameters or what?
curl -X POST -i 'http://ip:8001/api/v2/applications/11101200001'

from ha-samsungtv-smart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.