Comments (8)
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.
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.
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 isidle
?
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.
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.
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.
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.
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.
I close this issue because I do not receave any feed-back from more that 1 months
from ha-samsungtv-smart.
Related Issues (20)
- Smartthings.md Instructions point to dead link HOT 2
- Google Home CH Up/Down not working HOT 2
- Custom Turn on Action HOT 1
- Option to use just the binary sensor to detect power status
- HomeKit not working HOT 2
- Power button switch to art mode does not work HOT 6
- How to start TV applications
- Samsung UE49K"8000 (2017 Tizen TV) sources issue HOT 1
- Full screen mp4 file in the browser
- HDMI sources gone? HOT 19
- Error retrieving proxied image HOT 2
- CanΒ΄t find SamsungTV Smart Addon HOT 2
- SmartThingsTV pypi module HOT 3
- Source State - media_input_source
- Update to the Application ID list links
- When app is running, title shows HDMI1 name HOT 2
- OSErrors when using send media key HOT 6
- State does not update properly? HOT 27
- Unsupported media type: key_ambient HOT 2
- Problems with audio mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-samsungtv-smart.