{"_id":"@boneskull/node-red-contrib-homekit","_rev":"2-21bd06e84705c00e60ada7144bef3ae3","name":"@boneskull/node-red-contrib-homekit","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@boneskull/node-red-contrib-homekit","version":"1.0.0","description":"Node-RED nodes to simulate Apple HomeKit devices","main":"homekit.js","repository":{"type":"git","url":"git+https://github.com/boneskull/node-red-contrib-homekit.git"},"keywords":["homekit","hap-nodejs","node-red","iot"],"node-red":{"nodes":{"homekit":"homekit.js"}},"author":{"name":"Marius Schmeding"},"license":"Apache-2.0","bugs":{"url":"https://github.com/boneskull/node-red-contrib-homekit/issues"},"homepage":"https://github.com/boneskull/node-red-contrib-homekit#readme","dependencies":{"hap-nodejs":"^0.4.41"},"gitHead":"6cc58b9ff04ffe8410c20b224f37019b51bb8961","_id":"@boneskull/node-red-contrib-homekit@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"boneskull","email":"boneskull@boneskull.com"},"dist":{"integrity":"sha512-64dpRdiPO/3q8PY4d434Wr3R3ud0l22bbDv11QWIlmx9DEjGnVVUwv2ereaAgaG066Z2RPGT5gStYGfeVmd6Yw==","shasum":"ea4131377f28c5df05fe926a3754927afa87e035","tarball":"https://registry.npmjs.org/@boneskull/node-red-contrib-homekit/-/node-red-contrib-homekit-1.0.0.tgz","fileCount":18,"unpackedSize":60014,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK6eHdlytROGopfYOR2afv8PbSIa0L0r96rwhp9hDj4QIhAKtaOqt2hIvs9nzVVYXXZzklaBdtg9TXXQo/Wyw7jF4e"}]},"maintainers":[{"name":"boneskull","email":"boneskull@boneskull.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-homekit_1.0.0_1518500543375_0.605188483086724"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-13T05:42:23.304Z","1.0.0":"2018-02-13T05:42:23.522Z","modified":"2022-04-04T20:06:07.843Z"},"maintainers":[{"name":"boneskull","email":"boneskull@boneskull.com"}],"description":"Node-RED nodes to simulate Apple HomeKit devices","homepage":"https://github.com/boneskull/node-red-contrib-homekit#readme","keywords":["homekit","hap-nodejs","node-red","iot"],"repository":{"type":"git","url":"git+https://github.com/boneskull/node-red-contrib-homekit.git"},"author":{"name":"Marius Schmeding"},"bugs":{"url":"https://github.com/boneskull/node-red-contrib-homekit/issues"},"license":"Apache-2.0","readme":"node-red-contrib-homekit\n========================\n\nNode-RED nodes to simulate Apple HomeKit devices.\n\n![Intro](http://g.recordit.co/zDBJUdAO04.gif)\n\n## Prerequisites\n\nThese nodes are based on the *extremely* **awesome** [HAP-NodeJS](https://github.com/KhaosT/HAP-NodeJS) -Project which uses an implementation of mdns to provide Bonjour / Avahi capability.\nPlease refer to the HAP-NodeJS [Wiki](https://github.com/KhaosT/HAP-NodeJS/wiki) and to [mdns](https://www.npmjs.com/package/mdns) for install instructions, if you get stuck on the following.\n\n## Install\n\nFor Debian / Ubuntu you need to install the following in order to support Bonjour / Avahi\n\n        sudo apt-get install libavahi-compat-libdnssd-dev\n\nThen run the following command in your Node-RED user directory - typically `~/.node-red`\n\n        npm install node-red-contrib-homekit\n\n## Docker\n\nIf you have a beautiful solution to run this in Docker, please share :)\n\nRelated Issue: [#8](https://github.com/mschm/node-red-contrib-homekit/issues/8)\n\n## Nodes\n\n### Accessory\n\nThe Accessory node is a configuration node, specifying the *device* that iOS sees.\n\n* **Pin Code**: Specify the Pin for the pairing process.\n* **Port**: If you are behind a Firewall, you may want to specify a port. Otherwise leave empty.\n* **Manufacturer, Model, Serial Number**: Can be anything you want.\n* **Name**: If you intend to simulate a rocket, then why don't you call it *Rocket*.\n\n*Bridged Accessories* are not supported at the moment.\n\n### Service\n\nThe Service nodes add functionality to your Accessories. You can assign multiple Services to one Accessory.\n\n* **Accessory**: What Accessory this Service is for.\n* **Service**: Choose the type of Service from the list.\n* **Name**: *optional*\n\n## Input Messages\n\nInput messages can be used to update any *Characteristic* that the selected *Service* provides. Simply pass the values-to-update as `msg.payload` object.\n\n**Example**: to signal that an *Outlet* is turned on and in use, send the following payload\n\n```json\n{\n    \"On\": 1,\n    \"OutletInUse\": 1\n}\n```\n**Hint**: to find out what *Characteristics* you can address, just send `{\"foo\":\"bar\"}` and watch the debug tab ;)\n\n## Output Messages\n\nOutput messages are in the same format as input messages. They are emitted from the node when it receives *Characteristics* updates from a paired iOS device.\n","readmeFilename":"README.md"}