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

Seamless HomeKit integration #1

Open
bohtho opened this issue May 6, 2020 · 2 comments
Open

Seamless HomeKit integration #1

bohtho opened this issue May 6, 2020 · 2 comments

Comments

@bohtho
Copy link

bohtho commented May 6, 2020

Could you please elaborate the documentation on how to use this node with HomeKit ?

@calkoe
Copy link
Owner

calkoe commented May 6, 2020

Hi bohtho,

yes the documentation isn't ready jet.

Homekit:
You can use the IN- and OUT-Nodes to Read/Write to HomeKit accessories provided by library's like these:
https://github.com/NRCHKB/node-red-contrib-homekit-bridged

The Problem is, HomeKit will reply messages you put in on the output side. This is why the "context" functionality exists, you have to set the context parameter on the Input and Output side identically e.g. the UID of the node or any other random unique value.
The OUT-Node will add the context to the message payload, the HomeKit-Node will pass it through and the Input Node will block all messages with identical message context as configured.

a

Hope it helps!

I will complete the documentation and provide some example Flows in the next few days.

@bohtho
Copy link
Author

bohtho commented May 6, 2020

That would be great! I am very intrigued by this node and how it might help with HomeKit nodes. I have different use cases where I in one of them use node-red to communicate with the homebridge-MQTT plugin, and I wonder if it could help me there too.

As for homekit replies ("throughput"), I think you can turn this off in node-red-contrib-homekit-bridged, but it might be helpful to have turned on together with your node.

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