NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
412 stars 52 forks source link

[Feature]: Dynamically adding and removing devices from the Hom Kit #461

Closed NikitaGerasimov closed 2 years ago

NikitaGerasimov commented 2 years ago

Your Current NRCHKB Plugin Version

1.4.3

Operating System

rpi 4

What is your idea?

Hello! Sometimes I need to hide some devices from my Home app. Now this happens if you enable and disable the HK nodes. But this cannot work automatically. It would be very cool if a parameter could be sent to a node and this device was enabled or disabled.

crxporter commented 2 years ago

Hello! This is possible already. We discussed it a bit in issue #334 - I recommend you read through that issue then come back here if you need more help.

The idea would be to use the nodered API to enable/disable your nodes. Have a look and let us know your next questions!

NikitaGerasimov commented 2 years ago

This is incredible! just amazing) this is exactly what I was looking for)

I tried it and it worked!

By the way, on the Internet this is a demanded function (enable and disable flow), but everyone writes that this is impossible)

crxporter commented 2 years ago

but everyone writes that this is impossible

We don't mess around over here. I'm glad it works! Also nice that we "solved" it already a year ago 😉

If you have more questions - ask away! Otherwise hit that "close" button. Thanks for stopping by, feel free to join us on discord anytime! (link is on our readme)