Git Product home page Git Product logo

Comments (8)

ollo69 avatar ollo69 commented on July 22, 2024

Problem doesn't seems be related to SmartThings but to local initial connection.
Did you try leaving SmatThings key blank?
Can you try to put this url: http://{host}:8001/api/v2/ (replacing {host} with your TV IP) in a browser and provide me the result (removing your mac-address from result)

from ha-samsungtv-smart.

sirs2k avatar sirs2k commented on July 22, 2024

Thanks for the prompt reply @ollo69

Here you go

Please let me know if I should be censoring any other details

{"device":{"FrameTVSupport":"false","GamePadSupport":"true","ImeSyncedSupport":"true","OS":"Tizen","TokenAuthSupport":"true","VoiceSupport":"true","countryCode":"AU","description":"Samsung DTV RCR","developerIP":"0.0.0.0","developerMode":"0","duid":"uuid:0b0fb24c-e019-4498-b8a7-18c0fdd91a86","firmwareVersion":"Unknown","id":"uuid:0b0fb24c-e019-4498-b8a7-18c0fdd91a86","ip":"192.168.1.118","model":"18_KANTM2_UHD","modelName":"UA82NU8000","name":"[TV] Cinema TV","networkType":"wired","resolution":"3840x2160","smartHubAgreement":"true","type":"Samsung SmartTV","udn":"uuid:0b0fb24c-e019-4498-b8a7-18c0fdd91a86","wifiMac":"xxxxxxx"},"id":"uuid:0b0fb24c-e019-4498-b8a7-18c0fdd91a86","isSupport":"{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"false\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"true\"}\n","name":"[TV] Cinema TV","remote":"1.0","type":"Samsung SmartTV","uri":"http://192.168.1.118:8001/api/v2/","version":"2.0.25"}

Here's my second tv

{"device":{"FrameTVSupport":"false","GamePadSupport":"true","ImeSyncedSupport":"true","Language":"en_GB","OS":"Tizen","PowerState":"on","TokenAuthSupport":"true","VoiceSupport":"false","WallScreenRatio":"0","WallService":"false","countryCode":"AU","description":"Samsung DTV RCR","developerIP":"0.0.0.0","developerMode":"0","duid":"uuid:fb63c26c-f430-470c-80c1-58b487a84cb0","firmwareVersion":"Unknown","id":"uuid:fb63c26c-f430-470c-80c1-58b487a84cb0","ip":"192.168.1.226","model":"19_MUSEL_UHD_BASIC","modelName":"UA65RU7100WXXY","name":"[TV] Samsung 7 Series (65)","networkType":"wired","resolution":"3840x2160","smartHubAgreement":"true","type":"Samsung SmartTV","udn":"uuid:fb63c26c-f430-470c-80c1-58b487a84cb0","wifiMac":"xxxxxxx"},"id":"uuid:fb63c26c-f430-470c-80c1-58b487a84cb0","isSupport":"{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"false\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"false\"}\n","name":"[TV] Samsung 7 Series (65)","remote":"1.0","type":"Samsung SmartTV","uri":"http://192.168.1.226:8001/api/v2/","version":"2.0.25"}

I'd also like to ask, if I manage to get this integration working. Will HA be able to report when the TV is playing something or is idle?

Thanks

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

Did you try without SmartThings key?

I'd also like to ask, if I manage to get this integration working. Will HA be able to report when the TV is playing something or is idle?

what do you mean with playing something? You will be able to know if tv is turned on and wich app / source / channel is selected.

from ha-samsungtv-smart.

sirs2k avatar sirs2k commented on July 22, 2024

Thanks @ollo69 I tried without smartthings and it worked great straight away.

What I meant was when content is being streamed from netflix or plex it would show as playing or paused etc.

If you've ever tried the Plex or Kodi integration you'd know what I mean, It also gives you the content name that's being played etc...

Just the playing or idle states would be great!

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

To have better experience you should connect to SmartThings.
Did you follow the guide for SmartThinks token generation? Is your TV logged in SmartThings?

from ha-samsungtv-smart.

sirs2k avatar sirs2k commented on July 22, 2024

Yeah I have already created a token following the instructions... But as my OP mentions, it never worked.
It only worked when you suggested I try without token, I'm going to try to include the token in the configuration.yaml

What's weird is that both my TVs are signed into samsung account but only one is showing under https://graph-eu01-euwest1.api.smartthings.com/device/list (the NU8000)

Edit: I have added the following lines to config.yaml

  - host: 192.168.1.118
    app_list: '{"Netflix": "11101200001", "YouTube": "111299001912", "Plex": "3201512006963"}'
    api_key: 7104c81a-efee-....
    device_id: 269f5899-44f8-....

How do I know now if smartthings key is working?
Everything seems to be the same πŸ˜„

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

With multiple TV it is better to use config_flow for configuration so you will understand what is happening.
configuration.yaml is to be used only post configuration to add app_list. The main info are always stored in the registry

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

I close this issue because I do not receave any feed-back from more that 1 months

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.