Skip to main content

tablo-api

PyPI version Python 3.11+ License: MIT CI

Unofficial Python wrapper for the undocumented Tablo 4th Gen (LighthouseTV) API. Use at your own risk — Nuvyyo may change endpoints without notice.


Features

  • Cloud authentication via lighthousetv.ewscloud.com
  • Local device discovery (IP + port returned by cloud)
  • OTA/OTT channel listing from the cloud guide
  • Live-stream URLs via HMAC-MD5 signed local device requests
  • Fully typed with Pydantic v2 models

Supported Hardware

Device Supported
Tablo 4th Gen (2023+) ✅
Tablo 2nd / 3rd Gen ❌ (different API, no auth required)

Installation

pip install tablo-api

Requires Python 3.11+.


Quick Start

from tablo_api import TabloAuth, TabloClient

# 1. Authenticate and discover local devices
auth = TabloAuth("you@example.com", "your-password")
devices = auth.discover()
print(devices)
# [TabloDevice(sid='SID_5087B8536004', name='Living Room Tablo', ...)]

# 2. Connect to the first device
client = TabloClient(devices[0])

# 3. List OTA channels
channels = client.channels()
for ch in channels:
    print(ch.display_name, "-", ch.network)
# 4.1 KFOR - NBC
# 5.1 KOCO - ABC

# 4. Start a live stream (returns HLS playlist URL)
stream = client.watch(channels[0])
print(stream.playlist_url)
# http://192.168.1.100:8885/stream/abc.m3u8

# 5. Feed to ffmpeg
import subprocess
subprocess.run(["ffmpeg", "-i", stream.playlist_url, "-c", "copy", "out.ts"])

API Reference

TabloAuth(email, password, timeout=15)

Authenticates with the Tablo cloud.

Method Returns Description
discover() list[TabloDevice] Log in and return all linked devices
make_device_auth(method, path, body="") (auth_header, date_header) HMAC-MD5 auth for local requests
device_date() str RFC 1123 UTC timestamp

TabloClient(device, timeout=15)

Interacts with a single device.

Method Returns Description
channels(include_ott=False) list[TabloChannel] OTA channel listing from cloud guide
watch(channel) TabloStream Start live stream, returns HLS URL
ping() str Device SID via unauthenticated /ping
server_info() dict Raw /server/info (requires auth)

Models

TabloDevice(sid, name, local_url, lighthouse_token)
TabloChannel(identifier, call_sign, major, minor, network, kind)
TabloStream(channel_identifier, playlist_url, token, expires, keepalive)

How It Works

Tablo 4th Gen dropped the open local API used by earlier hardware. All auth now goes through Nuvyyo's cloud (lighthousetv.ewscloud.com):

  1. POST /api/v2/login/ — email + password → Bearer token
  2. GET /api/v2/account/ — device list with local IP/port
  3. POST /api/v2/account/select/ — device-scoped Lighthouse token
  4. GET /api/v2/account/{lighthouse_token}/guide/channels/ — channel guide
  5. POST http://{local_ip}:8885/guide/channels/{id}/watch — HMAC-MD5 signed → HLS URL

The HMAC-MD5 signing scheme was reverse-engineered from the Tablo iOS app by the tablo2plex project.


Security Notes

  • Credentials are never stored by this library. Cache or store them yourself using a secure mechanism (e.g. system keychain).
  • All cloud traffic uses HTTPS.
  • Local device traffic uses plain HTTP (port 8885) — do not use over untrusted networks.
  • The HMAC signing keys are static values embedded in the official Tablo app. They are not secret in the cryptographic sense; they only prevent trivially unauthenticated local requests.

Contributing

Bug reports and PRs are welcome! Please open an issue before starting large changes.

git clone https://github.com/trevor-viljoen/tablo-api
pip install -e ".[dev]"
pytest

Support

If this saves you time, consider buying me a coffee:

PayPal GitHub Sponsors


License

MIT — see LICENSE.

This project is not affiliated with Nuvyyo Inc. or Tablo. "Tablo" is a trademark of Nuvyyo Inc.

Metadata

Release files for tablo-api 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tablo-api 0.1.2
File Size Uploaded Provenance Actions
tablo_api-0.1.2.tar.gz 13.7 kB With provenance Details for tablo_api-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tablo-api 0.1.2
File Interpreter ABI Platform Actions
tablo_api-0.1.2-py3-none-any.whl Python 3 none any Details for tablo_api-0.1.2-py3-none-any.whl

Total release size: 23.3 kB

Release files / tablo_api-0.1.2.tar.gz

Download URL tablo_api-0.1.2.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
25b3f5983e8da1886c95c897505e74db0a7a9cb21193f5ce80cbfcd3462ccad4
BLAKE2b-256 checksum
How to use checksums
b3586fe0ff078774d2e00bc1f40c89c9c28b025fbb6d41a95c8f2778cbc4e7d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 5, 2026.

Transparency log

Release files / tablo_api-0.1.2-py3-none-any.whl

Download URL tablo_api-0.1.2-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
017977d1dcc0d7f0a510d7e0de0d423cd51fa73acb31ccc39871c7a2baf44dae
BLAKE2b-256 checksum
How to use checksums
874540c9748de651520797a0da0bd2edb767df461bfb54e981461db10de96d9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 5, 2026.

Transparency log

Security for tablo-api 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tablo_api-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page