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

Not working? #1

Open
morphix9 opened this issue Mar 26, 2018 · 2 comments
Open

Not working? #1

morphix9 opened this issue Mar 26, 2018 · 2 comments

Comments

@morphix9
Copy link

Hey there,

I tried your plugin but cannot make it work. I hope I understand it correct:

  • input PIN: if it's on (voltage) - it will put the Button to on
  • output PIN: if button state is on, the output pin will be HIGH (for how long?)

I have wired a LED to the output PIN but I can't get it ON. I also cannot trigger the input PIN to change the button state (puting voltage on it).

Can you help?

@smartechru
Copy link
Owner

smartechru commented Mar 27, 2018

Hi, morphix9.
I know there is a bug in my plugin. We can't trigger the input pin with getOn().
In my opinion, getOn( ) and setOn( ) are used for triggering HomeApp button status.
We can't trigger External pin status in this way.

This plugin was made when I am working for integrating HomeKit + Raspberry Pi.
At that time, I tried to control relay by external switch via HomeApp. I am now trying to fix it.

Thanks.

@morphix9
Copy link
Author

Hey,
I'm trying to do the same - I have an external switch that will set a button state in HomeKit. Please let me know when you fix it, I would like to try it out!

Thanks!

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