Comments (8)
Hey, I think that this endpoint might be used for search (I remember seeing something like that in the mobile app), but I don't have access to a TV right now to test. I'll take a look in a week or two and will report back.
from pylips.
The text entry endpoint is at POST /input/textentry
and the body is:
{"currentstring" : "<the full string you want to pass to the textfield>"}
It looks like it works only if the POST /notifychange
API returns that "textentry":"requested"
.
Looks like it works for textfields where the builtin android keyboard is showing on the TV. There are apps that do not use the standard android keyboard (Netflix, HBO GO), so text input did not work there.
That's what I know for now. I checked this by inspecting the calls the Philips Remote iOS app is doing.
from pylips.
Ok, so I've tested the search in the Phillips mobile app, however, it does not use this endpoint...
I'll try to investigate more, but for now I unfortunately have no clue where the textentry
enpoint is used...
from pylips.
Closing the issue for now since I don't have any more ideas to test. Will re-open when there is any new info/ideas available.
from pylips.
@zierka, thank you for sharing this! I'll check if it's indeed the case and will update the docs if it works!
from pylips.
FYI one more useful feature is to send chars one by one to POST /input/key
with the body {"unicode" : "A"}
Works pretty well on input fields for my non-Android TV (2019)
from pylips.
Also you could use POST /input/pointer
with
{
"x": 50,
"y": 50
}
which will move cursor 50 points left and 50 points down
from pylips.
/input/textentry
{
"currentstring" : "<the full string you want to pass to the textfield>",
"action_id": "IME_ACTION_SEARCH"
}
This also submits the input.
from pylips.
Related Issues (20)
- [FEAT] Docs on pairing protocol HOT 22
- [FEAT] control volume via HDMI / CEC HOT 3
- [FEAT] Some new found endpoints to document HOT 5
- 65pus6703/12 cannot pair[BUG] HOT 3
- [BUG] IP blocked by TV HOT 1
- 2020 Android TV Ambilight "lounge lights" doesn't respond[BUG] HOT 2
- 'PowerON' failure HOT 2
- [BUG] set_channel command not working
- [FEAT] Switch Picture style HOT 1
- [BUG] Pairing process fail on android TV 8 (55OLED803)
- [FEAT] Using pylips as a python module? (+ Ambilight colour control) HOT 1
- Ambilight + Hue configuration endpoint HOT 1
- [FEAT] Open Browser at URL
- Ambiligt missing modes HOT 1
- [BUG] 2020/2021 support hack?
- [BUG] Port 1926 not opened 43PUS7956
- [help request] Google assistant CURL command
- sending letters as for keyboard HOT 1
- 55PUS8007[BUG] HOT 6
- [BUG] "TypeError: option values must be strings" when writing apiversion to config 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 pylips.