npope / home-assistant-crestron-component

Integration for Home Assistant for the Crestron XSIG symbol
Apache License 2.0
63 stars 25 forks source link

How to install this? #4

Open Bagunda opened 2 years ago

Bagunda commented 2 years ago

How to install this in HA?

I did the following:

  1. Add the crestron directory to config/custom_components
  2. In configuration.yaml add:
    crestron:
    port: 16384

And "Configuration check" say: Integration error: crestron - Integration 'crestron' not found.

morettigiorgio commented 2 years ago

Have you got to restart your HA, after the copy ?

nstanley commented 2 years ago

After you download and place config/custom_components/crestron, you should restart HA. After restart, you can update the configuration.yaml with the crestron entries

gkotoole commented 2 years ago

I'm new to HA, old to Crestron.

I'm attempting to set this up on a Pi. I've created config/custom_components/crestron, copied all the py components into the crestron folder. Restarted HA. Add the following to configuration.yaml:

crestron: port: 52000

I also get Integration error: crestron - Integration 'crestron' not found

I'm obviously missing some step here. Any ideas please? -g

morettigiorgio commented 2 years ago

You can try to enable more log info in configuration.yaml with:

logger:
  default: warning
  logs:
    custom_components.crestron: info
carlosveny commented 1 year ago

In my case I wasn't copying the repo files in the config/custom_components/crestron folder. Make sure you copy the whole folder with its files in the correct path.