Comments (12)
please remove ur api key, device id and mac from the comment, they are a security issue
from ha-samsungtv-tizen.
I have parcially removed them
from ha-samsungtv-tizen.
ok, good. can u check if u have any error? the ST_ keys should work as long as the smartthings api key and device id are correct..
Can you try more ST_ keys? like ST_TV and ST_HDMI1?
from ha-samsungtv-tizen.
Update for media_player.samsung_tv_remote fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 476, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/util/init.py", line 240, in wrapper
result = method(*args, **kwargs)
File "/usr/src/homeassistant/homeassistant/util/init.py", line 240, in wrapper
result = method(*args, **kwargs)
File "/config/custom_components/samsungtv_tizen/media_player.py", line 260, in update
smartthings.device_update(self)
File "/config/custom_components/samsungtv_tizen/smartthings.py", line 37, in device_update
data = resp.json()
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.7/site-packages/simplejson/init.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
from ha-samsungtv-tizen.
That error says that the api key and/or device id is wrong. Try without quotes, or try generating a new key, and double check if they were copied correctly.
from ha-samsungtv-tizen.
If i compltely remove api_key: and device_id: list of apps also disappears. If I return them back to config, list of apps returnes to sources list. Therefore I assume that HA gets connection to ST Cloud.
I can switch the apps easely, but HDMI inputs do not switch
from ha-samsungtv-tizen.
It is also interesting that if I add api key and device list, "KEY_TV" also stops working
from ha-samsungtv-tizen.
That may be a wrong assumption, I still think ur api key and/or device id may be incorrect.
from ha-samsungtv-tizen.
I have the same problem.
in my config i generated the token on smartthing website and i use as api_key. is it correct?
I don't understand if api_key and device_id must be between "" or '' or nothing. Any help?
from ha-samsungtv-tizen.
and finally i get the solution. i used the wrong device_id.
I used the Device Network Id instead device_id (nameid di: in current state)
I find the identificator in smartthing website - my devices - select device name on the first colum - find di: in current states
from ha-samsungtv-tizen.
and finally i get the solution. i used the wrong device_id.
I used the Device Network Id instead device_id (nameid di: in current state)
I find the identificator in smartthing website - my devices - select device name on the first colum - find di: in current states
Thank you! I had exactly the same problem!
from ha-samsungtv-tizen.
@madspeed i told you the api key and/or device id were wrong..
from ha-samsungtv-tizen.
Related Issues (20)
- Has this been abandoned? HOT 1
- Too much delay between commands HOT 1
- Play State HOT 1
- Feature Request / Inquiry- Push notifications with image support HOT 1
- custom_components/samsungtv_tizen/websockets.py, line 115: time.sleep(self.key_press_delay) - Home Assistant 2022.10.5 HOT 3
- Not able to stream camera to TV
- ERROR on first configuration
- Reporting issue blocking calls at line 920
- Key chain delays behaving inconsistently for sources and direct keys
- Cannot configure unique_id over configuration.yaml
- My samsung tv won't turn on HOT 2
- Count hours ON
- Logo
- media_player / device doesn't appear in Home Assistant
- Troubleshooting Home Assistant Integration with Samsung S95C TV: Permission and Connectivity Issues
- Using deprecated supported features values which will be removed in HA Core 2025.1 HOT 2
- using smartthings method : sensor present but lack of attributes
- Google Home verified commands - additional found HOT 1
- Error while setting up samsungtv_tizen platform for media_player
- ha-samsungtv-tizen calls hass.async_create_task from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt HOT 5
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-tizen.