Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant YAML config #1

Open
tiagofreire-pt opened this issue Mar 17, 2020 · 5 comments
Open

Home Assistant YAML config #1

tiagofreire-pt opened this issue Mar 17, 2020 · 5 comments

Comments

@tiagofreire-pt
Copy link

Hi.

Is this the correct config schema?

tvheadend:
  host: 192.168.10.68
  port: 9981
  username: XXXXXX
  password: YYYYY
  maxconn: '2'

Thanks.

@kuchel77
Copy link

I haven't got it setup as yet, but just by looking at the code I think it should be

sensor:
  - platform: tvheadend
    host: 192.168.10.68

and so on.

The other issue you might have, is that all of the code from custom_components, should be in a directory called tvheadend to ensure it is consistent and loaded from memory. So /config/custom_components/tvheadend/sensor.py for instance should be there, rather than just /config/custom_components.

@kuchel77
Copy link

tvheadend:
  host: 192.168.0.2
  port: 9981
  maxconn: '2'

This connects to my server, but because I haven't got it properly setup at the moment, that is all that works.

@tiagofreire-pt
Copy link
Author

Is this component compatible with the tvheadend 4.2.8?

@tiagofreire-pt
Copy link
Author

tiagofreire-pt commented Mar 23, 2020

I get this error message:

    Error fetching data: 401
    Unable to fetch subscriptions.

@cokete
Copy link

cokete commented Apr 4, 2020

Same problem here.

Error fetching data: 401 Unable to fetch subscriptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants