Comments (8)
Sometimes i get 123. I didn't was able to find why. I run the same test again and again.
from samsungctl.
$ samsungctl --host 192.168.100.4 KEY_1 KEY_2 KEY_3 KEY_ENTER
have the same behavior
Tested on Samsung UE49K5502
from samsungctl.
Try to add a small sleep between sending the keys... 0.1 or 0.2 seconds should be enough
from samsungctl.
Samsungctl already waits a bit between the keys, but the current time might not be long enough in some cases. Try to tweak one of these values (depending on if you use legacy or websocket):
https://github.com/Ape/samsungctl/blob/master/samsungctl/remote_legacy.py#L59
https://github.com/Ape/samsungctl/blob/master/samsungctl/remote_websocket.py#L59
We can commit the correct value for everybody if it helped. Or we can make this parameter configurable if there is any need for that.
from samsungctl.
I have created the pull request: #43
from samsungctl.
Are you saying that it actually helps to reduce the value? Does this fix your problem consistently? What is the lowest value that works for you?
from samsungctl.
Yes. It is weird, but this configuration is working.
from samsungctl.
Is there not a way to do like an async / await type of logic on the requests?
Is it the TV that is not fulfilling the remote requests?
from samsungctl.
Related Issues (20)
- No Control for Signage Displays HOT 2
- How to get current volume?
- How to get full path apps icon ? HOT 3
- No success with MU6400 - UnhandledResponse HOT 1
- PermissionError: [Errno 13] Permission denied
- SamsTv
- I look that the Sec-WebSocket-Key inconsistent with the server response
- Problem insall CTL
- Samsung DM55E. Typical ports are not open
- Model : UE50NU7025 / Error: Connection refused HOT 5
- This repository is dead HOT 3
- Netflix app HOT 2
- Key code support access additional virtual keys on the TV screen
- Do you have a payload to send the Mouse movement?
- RangeError after sending many keys in a row
- TV not reacting on UE48H series
- I need your help
- ms.channel.unauthorized
- "ms.channel.unauthorized" While trying to connect to TV HOT 1
- Connection Refused HOT 2
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 samsungctl.