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

pilight config #6

Closed
jenswet opened this issue Dec 19, 2017 · 6 comments
Closed

pilight config #6

jenswet opened this issue Dec 19, 2017 · 6 comments

Comments

@jenswet
Copy link

jenswet commented Dec 19, 2017

Hello,

thanks for providing a pilight addon! Installation worked without any problems.

But I don't get how to change the pilight config. I can see only the option to change the gpio platform. Where can I add devices?

Would be great if you can help me.

Jens

@pschmitt
Copy link
Owner

Sadly, there is no way to achieve this ATM with this addon.

@jenswet
Copy link
Author

jenswet commented Dec 20, 2017

So what is the addon good for if we can't change it?

@pschmitt
Copy link
Owner

pschmitt commented Dec 20, 2017

It is meant to integrate with Home Assistant. You don't need any kind of config for pilight in order to achieve that.

pilight:
  host: hassio.local
  port: 5000

switch:
  - platform: pilight
    switches:
      my_switch:
        on_code:
          protocol: pollin
          systemcode: 2
          unitcode: 2
          'on': 1
        off_code:
          protocol: pollin
          systemcode: 2
          unitcode: 2
          'off': 1

What are you trying to do?

@jenswet
Copy link
Author

jenswet commented Dec 20, 2017

I am trying to switch from pilight only to pilight with Home Assistant.
So pilight automatically uses all devices I specify in Home Assistant? I just write my existing pilight config in the Home Assistant config for switches like your example above and pilight will use it?

@pschmitt
Copy link
Owner

pschmitt commented Dec 20, 2017

Yep. Setting up your devices in pilight's config is only good for the presentation layer ie. pilight's own web UI.

@jenswet
Copy link
Author

jenswet commented Dec 20, 2017

The web UI is replaced with the Home Assistant web UI, so thats fine. Thanks, now I understand it!

@jenswet jenswet closed this as completed Dec 20, 2017
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

2 participants