TeleQ TV
v1.2.0Show text, slides, images, video and live HTML pages on your TV through the TeleQ app.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tv_status TV status
Check what the TV is showing right now (and its id, slide or queue position), whether a phone is also connected, the screen size and safe area, which tools this TV supports (capabilities), the language and country of the TV (search for content in that language) and which video services have their app on it (services_installed). Call this before changing the screen if you are unsure what is on it.
show_text Show text on the TV
Show a large, readable text card on the TV: a recipe, a list, a summary, an answer. Keep it short; people read it from the couch. Markdown subset: # headings, **bold**, - bullet lists, 1. numbered lists, blank lines between paragraphs. Returns an id for update_text.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The text to show (Markdown subset). Up to 20000 characters. |
duration_s | integer | Optional: clear the screen after this many seconds (1-3600). Without it the content stays until replaced or stopped. |
title | string | Optional heading shown above the text (up to 120 characters). |
show_slides Present slides on the TV
Show a presentation: a list of slides, each either Markdown (rendered as a big, centred TV slide) or a complete self-contained HTML page (sandboxed, no network). The viewer moves with ←/→ on the remote; you move with slides_control. Put what you would say in notes (not shown on the TV; returned by slides_control). Up to 50 slides and 1024 KB in total. Returns an id.
| Parameter | Type | Description |
|---|---|---|
slides * | array | The slides in order. Each needs markdown or html (not both). |
start_slide | integer | Optional slide to open first (1-based). Default 1. |
title | string | Optional presentation title (up to 120 characters). |
slides_control Move through the slides
Go to the next, previous, first, last or a given slide of the presentation on screen. Returns the slide number, the count and that slide's notes.
| Parameter | Type | Description |
|---|---|---|
action * | string | Where to go. |
id | string | Optional: the id from show_slides, to make sure the right presentation is still on screen. |
slide | integer | Slide number (1-based). Required for "goto". |
show_html Show an HTML page on the TV
Show a self-contained HTML page (a dashboard, a chart, a scoreboard, a timer, a visual) full screen on the TV. It runs in a locked-down sandbox: scripts and CSS work, but there is no network access, so inline everything; images may be data: URIs or https:// URLs. Design for 1920x1080, large type, dark background, no scrolling, no input. To change values later without reloading, listen for window "message" events whose data is {type:"teleq:update", data} and call update_html. Returns an id.
| Parameter | Type | Description |
|---|---|---|
html * | string | A complete HTML document. Up to 262144 characters. |
duration_s | integer | Optional: clear the screen after this many seconds (1-3600). Without it the content stays until replaced or stopped. |
title | string | Optional title (not drawn; used in the status) (up to 120 characters). |
update_text Update the text on the TV
Replace the text of a card shown with show_text, in place and without flicker. Only works while that card is still on screen.
| Parameter | Type | Description |
|---|---|---|
id * | string | The id returned by the show_* call that put the content up. |
markdown * | string | The new text (Markdown subset). Up to 20000 characters. |
title | string | Optional new heading (up to 120 characters). |
update_html Update the page on the TV
Update a page shown with show_html. With data, the page stays and receives a window "message" event {type:"teleq:update", data} (no reload, no flicker; up to 64 KB of JSON). With html, the page is replaced (a short reload). Only works while that page is still on screen.
| Parameter | Type | Description |
|---|---|---|
id * | string | The id returned by the show_* call that put the content up. |
data | object | New values for the page, delivered as message event data. |
html | string | Optional replacement HTML document (up to 262144 characters). |
show_image Show an image on the TV
Show a picture on the TV, letterboxed on a black background. The image must be reachable on the public internet over https://.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public https:// URL of a JPEG, PNG, WebP or GIF image. |
title | string | Optional caption (up to 120 characters). |
show_queue Show several photos and videos
Show up to 50 photos and videos one after another: each photo stays for its duration_s (default 8 s), each video plays to the end. The viewer can skip with ←/→ on the remote. Public https:// links only. Returns an id.
| Parameter | Type | Description |
|---|---|---|
items * | array | The photos and videos in order. |
play_video Play a video on the TV
Play a video on the TV in full screen inside TeleQ. Works with direct video files (.mp4, .webm, .mkv) and HLS (.m3u8) or DASH (.mpd) streams over public https://. For YouTube, Rutube, VK Video, Netflix and other services use open_in_app instead. Use `playback` afterwards to pause, resume or seek.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public https:// URL of the video file or stream. |
title | string | Optional title shown on the TV (up to 120 characters). |
open_in_app Open a video service on the TV
Open an episode, a cartoon, a film, a music video or a channel in the TV's own app for that service: YouTube, YouTube Kids, Rutube, VK Video, Kinopoisk, ivi, Okko, Wink, START, PREMIER, KION, more.tv, Smotrim, MEGOGO, Netflix, Prime Video, Disney+, Max, Apple TV, Twitch, Vimeo, Dailymotion, Crunchyroll, Pluto TV, Tubi. Find the official link with web search first (in the TV's language, see tv_status). The service's app then plays it (TeleQ leaves the screen; the user returns with Back/Home). Official sources only.
| Parameter | Type | Description |
|---|---|---|
url * | string | https:// link to the video, episode, series, playlist or channel page on one of the listed services (e.g. https://www.youtube.com/watch?v=…, https://rutube.ru/video/…/). |
start_s | integer | Optional (YouTube): start this many seconds in. |
title | string | Optional title, for the notice on the TV (up to 120 characters). |
notify Show a short notice on the TV
Show a short notice for a few seconds on top of whatever is on screen, without interrupting a video. Up to 200 characters, at most one every 10 seconds.
| Parameter | Type | Description |
|---|---|---|
text * | string | The notice (up to 200 characters). |
screen_snapshot See the TV screen
Get a picture (at most 1280 px wide) of what TeleQ is showing right now, to check that your content fits and looks right. Only TeleQ's own content an assistant put up is captured, never other apps or the user's own photos; video frames may come out black.
playback Control video playback
Control the video that is playing on the TV: play, pause, seek to a position, or stop.
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do. |
position_s | number | Seconds from the start. Required when action is "seek". |
clear_screen Clear the TV screen
Stop whatever is being shown and return the TV to its idle screen.
link_tv Link a TV
Link this computer with a TV running TeleQ on the same Wi-Fi. Ask the user to open TeleQ on the TV, choose Linked devices → Link an assistant, and read you the 9-digit code. Only needed once per TV (or after it was unlinked).
| Parameter | Type | Description |
|---|---|---|
code * | string | The 9-digit code shown on the TV. |
tv_address | string | Optional: the TV's address on the home network (like 192.168.1.20), when several TVs are found. |