jaruba / ha-samsungtv-tizen

📺 HomeAssistant - For Samsung TVs 2016+, Includes SmartThings API and Channel List Support
Apache License 2.0
286 stars 64 forks source link

SAMSUNG FRAME TV 2020 - APP CHANGE AND TTS NOT WORKING #124

Open pricard32 opened 3 years ago

pricard32 commented 3 years ago

The current app are correctly displayed. Power on/off and volume control working correctly.

I can change from TV to HDMI, but not able to change between TV apps. The TTS doesnt work for me ?

tomredhot commented 3 years ago

Exactly same problem here, with exactly same TV.

Surgical71 commented 3 years ago

Same Issue here

JimboJones3101 commented 3 years ago

I've got the same issue that starting apps described in app_list cannot be started. But maybe some more insights: I'm running a Samsung 75" QLED 4K Q90TC (2020). I've activated the API (Smartthings) so I'm able to switch to TV, HDMI1, etc, etc. Furthermore I'm still able to use the channel-list. Nonetheless apps stated in app_list are correctly shown. I mean when I start the netflix app on my TV, Homeassist tells me that the media_player is running org.tizen.netflix-app. After the following configuration it correctly displays "Netflix" with the logo in Home Assist:

media_player:
  - platform: samsungtv_tizen
    host: 192.168.178.30
    mac: "zz:zz:zz:zz:zz"
    name: Fernseher
    api_key: "xxx-xxx-xxx"
    device_id: "yyy-yyy-yyy"
    source_list: '{"TV":"KEY_TV","Switch":"ST_HDMI1","Xbox":"ST_HDMI4"}'
    app_list: '{"Netflix": "11101200001/org.tizen.netflix-app", "Prime Video": "3201512006785/org.tizen.primevideo", "YouTube1": "111299001912/9Ur5lzDKqV.TizenYouTube", "YouTube2": "111299001912/9Ur5IzDKqV.TizenYouTube", "Disney+": "3201710015067/MCmYXNxgcu.DisneyPlus"}'
    channel_list: '{"KiKa":"4","MTV":"23"}'

Unfortunately its not possible to start the app herefrom. Thats the issue. As of now the only viable option to start netflix is to keychain commands.

freenetwork commented 3 years ago

I have this problem!

stan69b commented 3 years ago

Hi, I found another issue for something like this on this repo, can;t find it anymore sorry. It says that posting a request to the tv works so I ended up creating restful request in home assistant 👍

just past the following (and change the ip) in your config.yaml and use the new actions as services in any scripts :)

the numbers at the end of the requests are the app id

rest_command:
  netflix:
    url: "http://[YOUR TV LOCAL IP]:8001/api/v2/applications/3201907018807"
    method: post
    content_type: "application/x-www-form-urlencoded"
  prime_video:
    url: "http://[YOUR TV LOCAL IP]:8001/api/v2/applications/3201910019365"
    method: post
    content_type: "application/x-www-form-urlencoded"
  youtube:
    url: "http://[YOUR TV LOCAL IP]:8001/api/v2/applications/111299001912"
    method: post
    content_type: "application/x-www-form-urlencoded"
  spotify:
    url: "http://[YOUR TV LOCAL IP]:8001/api/v2/applications/3201606009684"
    method: post
    content_type: "application/x-www-form-urlencoded"
  steam_link:
    url: "http://[YOUR TV LOCAL IP]:8001/api/v2/applications/3201702011851"
    method: post
    content_type: "application/x-www-form-urlencoded"

Hope it helps anyone in the meantime.

stan69b commented 3 years ago

Can have a nice result in the dashboard as well :

Screenshot 2021-08-14 at 14 12 48
- type: grid
    cards:
      - type: picture
        image: /local/assets/netflix.png
        tap_action:
          action: call-service
          service: rest_command.netflix
          service_data: {}
          target: {}
        hold_action:
          action: none
      - type: picture
        image: /local/assets/prime_video.png
        tap_action:
          action: call-service
          service: rest_command.prime_video
          service_data: {}
          target: {}
        hold_action:
          action: none
      - type: picture
        image: /local/assets/youtube.png
        tap_action:
          action: call-service
          service: rest_command.youtube
          service_data: {}
          target: {}
        hold_action:
          action: none
      - type: picture
        image: /local/assets/spotify.png
        tap_action:
          action: call-service
          service: rest_command.spotify
          service_data: {}
          target: {}
        hold_action:
          action: none
      - type: picture
        image: /local/assets/steam_link.png
        tap_action:
          action: call-service
          service: rest_command.steam_link
          service_data: {}
          target: {}
        hold_action:
          action: none
    columns: 5
    square: false
SpectorHacked commented 1 year ago

Still have this error, Anyone successfully solved it?