cinzas / homeassistant-enigma-player

This is a custom component for the media_player and notify platforms of Home Assistant. Integrates with enigma2 images running OpenWebIf
56 stars 23 forks source link

How to install #16

Open DennisH1978 opened 5 days ago

DennisH1978 commented 5 days ago

Hi there, I am just new with HA so please dont be so hard. I installed per HACS the components, but in the device options there is nothing to chosse for on/off, volume, notification etc. I see that i can be copied in another configuration. But where is this? what exactly is to do? I have no clue, how to fix that. Can someone help me? That would bei great, thanks.

Greetings Dennis

cinzas commented 5 days ago

@DennisH1978 , I would like to help, but you're sharing to little information.

Are you sure you're using this custom_component ? Aren't you using the "standard" enigma2 integration ?

If you installed via hacs, you then need to access HomeAssistant and create the configuration file, where you specify the IP address, user and password.

Have you done that ?

Follow the instructions from the README

DennisH1978 commented 5 days ago

Hello. This is what I downloaded into HACS. "Enigma2 + OpenWebIF integration - media_player and notify platforms". And I have already installed “Enigma2 (OpenWebif)”. It sounds to me in the README as if I first have to carry out the original integration of "Enigma2 (OpenWebif)" and then install the "Custom Components" via HACS. Unfortunately I don't understand where the custom components have to be inserted.

DennisH1978 commented 5 days ago

Can you please tell me where exactly I have to write the configuration?

cinzas commented 5 days ago

Open a SSH connection to the host you are running homeassistant. Locate/create your configuration.yaml file for homeassitant.

Add the configuration as follow (update your host, port,username and password with your enigma2 settings. If you don't know how to do it, I advise you to try first to use the enigma2 integration that comes by default with HomeAssistant.

enigma: 
  devices:
    - host: 192.168.1.20
      port: 80
      name: Gigablue
      timeout: 20
      username: root
      password: your_password
      picon: picon

notify:
  - platform: enigma
    host: 192.168.1.20
    port: 80
    username: root
    password: your_password
    name: gigablue
DennisH1978 commented 5 days ago

thanks a lot. Okay, I have now entered this into the configuration.yaml with all the required data. The standard enigma2 is running so far, but only has 2 entities. I have now restarted HA. What do I have to do now? Does standard enigma2 work with the custom components or do I have to install or uninstall something else?

DennisH1978 commented 5 days ago

Basically I only need the function on/off. how do I realize this?

cinzas commented 5 days ago

Only when you add the devices to home assistant. You could do that using my component on the existent one.

IF you don't know how to add devices using configuration.yaml, I suggest you to read this - https://www.home-assistant.io/integrations/enigma2/

Try adding you device by clicking here - https://my.home-assistant.io/redirect/config_flow_start?domain=enigma2

DennisH1978 commented 5 days ago

Thank you. But I think we're talking past each other. standard enigma2 is already installed via the integration. Now I have entered the custom components in the configuration.yaml. But nothing has changed anywhere. I still only have my two entities. what is the exact way to get the entities for on/off etc.? sorry for the many questions, but unfortunately I don't fully understand yet.