Skip to main content

Python API for sending notifications to TVOverlay for Android TV

Project description

TVOverlay Notifications

Python API for TVOverlay Notification

TvOverlay

Source: https://github.com/gugutab/TvOverlay

Usage

  • Install the application on your TV
  • Get the IP of the TV unit
from tvoverlay import Notifications
notify = Notifications("192.168.1.10")

try:
    await notify.async_connect()
expect ConnectError:
    return False
await notify.async_send(
    "message text",
    title="Title text",
)

Optional parameters

{
    "message": "Message",
    "title": "Title",
    "id": "test1",
    "appTitle": "Postman",
    "appIcon": "mdi:unicorn",
    "color": "#FFC107",
    "image": "https://picsum.photos/200/100",
    "smallIcon": "mdi:bell",
    "largeIcon": "mdi:home-assistant",
    "corner": "bottom_end",
    "seconds": 20
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TVOverlay-1.1.2.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

tvoverlay-1.1.2-py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page