Skip to main content

Android TV / Fire TV Notifications

Python package that interfaces with Notifications for Android TV and Notifications for Fire TV to send notifications to your TV.

Usage

  • Install the application on your TV
  • Get the IP of the TV unit
from notifications_android_tv import Notifications
notify = Notifications("192.168.1.10")
# validate connection
try:
    await notify.async_connect()
expect ConnectError:
    return False
await notify.async_send(
    "message text",
    title="Title text",
)

Optional parameters

  • title: Notification title
  • duration: Display the notification for the specified period. Default is 5 seconds
  • fontsize: Text font size. Use FontSizes class to set the fontsize. Default is FontSizes.MEDIUM
  • position: Notification position. Use Positions class to set position. Default is Positions.BOTTOM_RIGHT.
  • bkgcolor: Notification background color. Use BkgColors class to set color. Default is BkgColors.GREY.
  • transparency: Background transparency of the notification. Use Transparencies class. Default is Transparencies._0_PERCENT.
  • interrupt: Setting it to True makes the notification interactive and can be dismissed or selected to display more details. Default is False
  • icon: Can be str represnting the file path or an ImageUrlSource that includes the url and authentication params to fetch the image from a url.
  • image_file: Can be str represnting the file path or an ImageUrlSource that includes the url and authentication params to fetch the image from a url.

Refer to the example file for setting these parameters directly or from a data dictionary (as documented in https://www.home-assistant.io/integrations/nfandroidtv)

Metadata

Release files for notifications-android-tv 1.2.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 notifications-android-tv 1.2.2
File Size Uploaded Provenance Actions
notifications_android_tv-1.2.2.tar.gz 6.1 kB Without provenance Details for notifications_android_tv-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for notifications-android-tv 1.2.2
File Interpreter ABI Platform Actions
notifications_android_tv-1.2.2-py3-none-any.whl Python 3 none any Details for notifications_android_tv-1.2.2-py3-none-any.whl

Total release size: 14.3 kB

Release files / notifications_android_tv-1.2.2.tar.gz

Download URL notifications_android_tv-1.2.2.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1d643ddefebfd6f3fb6b833b1994a82cc7b159232ede08bf9571ba6aa1a3bd1c
BLAKE2b-256 checksum
How to use checksums
c4e07609d9b0f1898104c33edabadd3387eb964f39791e2febd3d3581a1c944e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.14 Linux/6.5.0-1022-azure

Release files / notifications_android_tv-1.2.2-py3-none-any.whl

Download URL notifications_android_tv-1.2.2-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7da7c5ae9433bf649330f63a4cbbfae8ff722a43171fbfdd2ad36899da9d087e
BLAKE2b-256 checksum
How to use checksums
abc636597c16fd057ed381458fb99c934613726f6f948a570f14234cd09a0c26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.14 Linux/6.5.0-1022-azure

Security for notifications-android-tv 1.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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