Skip to content

chrom3/kodi_notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

#Kodi notification for Home Assistant

Place the kodi.py file into your /custom_components/notify/ folder

alt text

##Usage Example##

###configuration.yaml example###

# Example configuration.yaml entry
notify:
  platform: kodi
  name: kodi
  host: 192.168.0.123
  port: 8080
  username: USERNAME
  password: PASSWORD

Configuration variables:

  • host (Required): The host name or address of the device that is running XBMC/Kodi
  • port (optional): The port number, default 8080, port 3005 for Plex
  • name (Optional): Name displayed in the frontend.
  • username (Optional): The XBMC/Kodi HTTP username.
  • password (Optional): The XBMC/Kodi HTTP password.

###script.yaml example###

################################################################
## Script / Notify KODI
################################################################
kodi_notification:
  sequence:
  - service: notify.kodi
    data:
      title: "Home Assistant"
      message: "Message to KODI from Home Assistant!"
      data:
        displaytime: 20000
        icon: "warning"

message variables:

  • title (Optional): Title that is displayed on the message.
  • message (Required): Message to be displayed.
  • data (Optional)
    • icon (Optional): Kodi comes with 3 default icons: "info", "warning" and "error", url to an image is also valid. Defaults to "info"
    • displaytime (Optional): Length in milliseconds the message stays on screen. Defaults to 10000 ms

About

Kodi notification for Home Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages