Python API for sending notifications to TVOverlay for Android TV
Project description
TVOverlay Notifications
Python API for TVOverlay Notification
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)
Built Distribution
tvoverlay-1.1.2-py3-none-any.whl
(12.8 kB
view hashes)
Close
Hashes for tvoverlay-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7582fd574c7724214cec71f5c5b797c19367fec03d45e115c3776de75f62b399 |
|
MD5 | 12c0cb1a80892e3db936b8f610e195c0 |
|
BLAKE2b-256 | 1b50fa9014dbaef97ec3608e166943833704d13c7816fced0bbe4a892d666062 |