Skip to content

hubgitbb/homeassistant-enigma-player

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Readme

This is a custom component for the media_player and notify components of Home Assistant.

It allows you to remotely control your enigma2 compatible satellite/cable receivers. It also allows you to send notification using the notify component.

You must install OpenWebif from your enigma2 image.

What is working:

  • Power status: on, off, standby.
  • Loads all sources from first bouquet. (Current channel and possibility to change channels)
  • Volume regulation (mute, set, step)
  • Change channel (Selecting from source list or via Right/Left - from remote controller)
  • Current channel and current event
  • Picon from current channel
  • Supports authentication and multiple receivers
  • Sending notifications to the box (timeout and type of message can be selected)

Tested with OpenWebif versions:

  • 0.2.7
  • 1.3.0

Install:

To use the media_player custom component, place the file enigma.py from the folder media_player inside your folder ~/.homeassistant/custom_components/media_player To use the notify custom component, place the file enigma.py from the folder media_player inside your folder ~/.homeassistant/custom_components/notify

The custom components directory is inside your Home Assistant configuration directory.

You need to install (if not yet) the BeautifoulSoup module for Pyhton.

Activate the virtual environment:

$ source bin/activate

Install BeautifoulSoup:

$ python3 -m pip install BeautifoulSoup4

Configuration Example (for both components):

media_player:
- platform: enigma
    host: 192.168.1.50
    port: 80
    name: Gigablue
    icon: mdi:satellite-variant
    timeout: 20
    username: root
    password: !secret enigma_password

notify:
- platform: enigma
    host: 192.168.1.51
    port: 80
    name: Dreambox
    timeout: 20
    icon: mdi:satellite-variant
    username: root
    password: !secret enigma_password

Screenshots

Channel example 1 Channel example 2 In detail Change source Send notification

Contact

joao.amaro@gmail.com

License

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%