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 titleduration: Display the notification for the specified period. Default is 5 secondsfontsize: Text font size. UseFontSizesclass to set the fontsize. Default isFontSizes.MEDIUMposition: Notification position. UsePositionsclass to set position. Default isPositions.BOTTOM_RIGHT.bkgcolor: Notification background color. UseBkgColorsclass to set color. Default isBkgColors.GREY.transparency: Background transparency of the notification. UseTransparenciesclass. Default isTransparencies._0_PERCENT.interrupt: Setting it toTruemakes the notification interactive and can be dismissed or selected to display more details. Default isFalseicon: Can bestrrepresnting the file path or anImageUrlSourcethat includes the url and authentication params to fetch the image from a url.image_file: Can bestrrepresnting the file path or anImageUrlSourcethat 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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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.