{"_id":"homebridge-http","_rev":"31-4c3c6fbc627f48b1b02c6a21b2484c10","name":"homebridge-http","description":"http(s) plugin for Homebridge: https://github.com/nfarina/homebridge","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"homebridge-http","version":"0.0.1","description":"https plugin for homebridge: https://github.com/nfarina/homebridge","license":"ISC","keywords":["homebridge-plugin"],"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"author":{"name":"Adrian Rudman"},"repository":{"type":"git","url":"git://github.com/rudders/homebridge-http.git"},"dependencies":{"request":"^2.65.0"},"gitHead":"2bf23c89782fc0c7bf08ecc554f589bdc71b97c5","bugs":{"url":"https://github.com/rudders/homebridge-http/issues"},"homepage":"https://github.com/rudders/homebridge-http#readme","_id":"homebridge-http@0.0.1","_shasum":"4265583df7335b332cce116cfd3ceb83311c3dfc","_from":"git+https://github.com/rudders/homebridge-http.git","_resolved":"git+https://github.com/rudders/homebridge-http.git#2bf23c89782fc0c7bf08ecc554f589bdc71b97c5","scripts":{},"_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"rudders","email":"a.rudman@binarylight.com.au"},"dist":{"shasum":"4265583df7335b332cce116cfd3ceb83311c3dfc","tarball":"https://registry.npmjs.org/homebridge-http/-/homebridge-http-0.0.1.tgz","integrity":"sha512-EUAOMsdJewnvVfEo82mssmF/2l2Z0Oq1ptqMq1wFaN+eeznTCtElbZZEv3Lpa0qQJDUvX20tAeL6VUFoZsAfGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7UG6YpqH/ZSLSaw7tGZBqxR/NZfHRbrdILEq6gwvazgIhANuY0gFX/Yzxif8WdxyZd8/82Xf3bT/AZU4/nUJPcnIN"}]},"maintainers":[{"name":"rudders","email":"a.rudman@binarylight.com.au"}],"directories":{}},"0.0.2":{"name":"homebridge-http","version":"0.0.2","description":"https plugin for homebridge: https://github.com/nfarina/homebridge","license":"ISC","keywords":["homebridge-plugin"],"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"author":{"name":"Adrian Rudman"},"repository":{"type":"git","url":"git://github.com/rudders/homebridge-http.git"},"dependencies":{"request":"^2.65.0"},"gitHead":"8871ee998f09cdef41ac81e33f7a1ba0df05b3bb","bugs":{"url":"https://github.com/rudders/homebridge-http/issues"},"homepage":"https://github.com/rudders/homebridge-http#readme","_id":"homebridge-http@0.0.2","_shasum":"59b9ddfec51a524d4597a29bb25c92d1a0bc7060","_from":"git+https://github.com/rudders/homebridge-http.git","_resolved":"git+https://github.com/rudders/homebridge-http.git#8871ee998f09cdef41ac81e33f7a1ba0df05b3bb","scripts":{},"_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"rudders","email":"a.rudman@binarylight.com.au"},"dist":{"shasum":"59b9ddfec51a524d4597a29bb25c92d1a0bc7060","tarball":"https://registry.npmjs.org/homebridge-http/-/homebridge-http-0.0.2.tgz","integrity":"sha512-RWd27PEOOeEnfhhaQbcYjfdqy25LRItyQztN+85fYXx/dLw6R6Yi2MdJ8BQPEf9CBSLwLbZtCOxsWLy5OdWZLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHQ4JejjX3FxVuJbXOzXn6aeaF9p45ij3AQPP6n67Z0DAiBHhDazrCWs9gcG7ZAOKeh7f5+7+g8HK/2aEoMbE5nJuQ=="}]},"maintainers":[{"name":"rudders","email":"a.rudman@binarylight.com.au"}],"directories":{}},"0.0.3":{"name":"homebridge-http","version":"0.0.3","description":"https plugin for homebridge: https://github.com/nfarina/homebridge","license":"ISC","keywords":["homebridge-plugin"],"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"author":{"name":"Adrian Rudman"},"repository":{"type":"git","url":"git://github.com/rudders/homebridge-http.git"},"dependencies":{"request":"^2.65.0"},"gitHead":"a356f8d16ac2b4587b8cb3a9d0720ce0ec4fccf1","bugs":{"url":"https://github.com/rudders/homebridge-http/issues"},"homepage":"https://github.com/rudders/homebridge-http#readme","_id":"homebridge-http@0.0.3","_shasum":"86812e8111b5b12f8e19ec054a6755d53532460f","_from":"git+https://github.com/rudders/homebridge-http.git","_resolved":"git+https://github.com/rudders/homebridge-http.git#a356f8d16ac2b4587b8cb3a9d0720ce0ec4fccf1","scripts":{},"_npmVersion":"3.4.0","_nodeVersion":"0.12.4","_npmUser":{"name":"rudders","email":"a.rudman@binarylight.com.au"},"dist":{"shasum":"86812e8111b5b12f8e19ec054a6755d53532460f","tarball":"https://registry.npmjs.org/homebridge-http/-/homebridge-http-0.0.3.tgz","integrity":"sha512-1BAc3W7N2fduvrfrUCWtVSrUQOYd5ySypxi3inNA3VNiVWXUM6uIvibvl6IflY0PZ05LSZIuk7647G5TfksVxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHo1tKu128h+xuOPkn7+tF31GK6vW8LHhF4d1r1CgjSzAiEAhVaDacS80XxLtAomsZiuidejMRPs/lrI3+CN8xX8BWk="}]},"maintainers":[{"name":"rudders","email":"a.rudman@binarylight.com.au"}],"directories":{}},"0.0.4":{"name":"homebridge-http","version":"0.0.4","description":"https plugin for homebridge: https://github.com/nfarina/homebridge","license":"ISC","keywords":["homebridge-plugin"],"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"author":{"name":"Adrian Rudman"},"repository":{"type":"git","url":"git://github.com/rudders/homebridge-http.git"},"dependencies":{"request":"^2.65.0"},"gitHead":"74e74d70655bc8c68a077f931643b96d3b55c5d8","bugs":{"url":"https://github.com/rudders/homebridge-http/issues"},"homepage":"https://github.com/rudders/homebridge-http#readme","_id":"homebridge-http@0.0.4","_shasum":"ad38aaca52ce8473e46c36704265d89deb6dbe54","_from":"git+https://github.com/rudders/homebridge-http.git","_resolved":"git+https://github.com/rudders/homebridge-http.git#74e74d70655bc8c68a077f931643b96d3b55c5d8","scripts":{},"_npmVersion":"3.5.2","_nodeVersion":"5.1.0","_npmUser":{"name":"rudders","email":"a.rudman@binarylight.com.au"},"dist":{"shasum":"ad38aaca52ce8473e46c36704265d89deb6dbe54","tarball":"https://registry.npmjs.org/homebridge-http/-/homebridge-http-0.0.4.tgz","integrity":"sha512-fnAhSVkKQ/9fSrTXNV99CrmvPKxpHPV3AAud30ZriEXVPP9rNC4Lfoe8F9V9PSRlTc40ORGnL7KWiVjVIHymFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjCCfzrueyrPfvO2euDwr/vRufm77LaJPF0C6gOfhBSAiEA7RIQ5k/005IXSYi9WlIFXJLomE4VfS8LvVBauPPsAqU="}]},"maintainers":[{"name":"rudders","email":"a.rudman@binarylight.com.au"}],"directories":{}},"0.0.7":{"name":"homebridge-http","version":"0.0.7","description":"http(s) plugin for Homebridge: https://github.com/nfarina/homebridge","license":"ISC","keywords":["homebridge-plugin"],"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"author":{"name":"Adrian Rudman"},"repository":{"type":"git","url":"git://github.com/rudders/homebridge-http.git"},"dependencies":{"request":"^2.65.0"},"gitHead":"5240401c155aa15695c5c1525c44b0c5b4e05286","bugs":{"url":"https://github.com/rudders/homebridge-http/issues"},"homepage":"https://github.com/rudders/homebridge-http#readme","_id":"homebridge-http@0.0.7","_shasum":"4d2e86a2f42ba0ffee9294eabc3947031c0f57f7","_from":"git+https://github.com/rudders/homebridge-http.git","_resolved":"git+https://github.com/rudders/homebridge-http.git#5240401c155aa15695c5c1525c44b0c5b4e05286","scripts":{},"_npmVersion":"3.5.2","_nodeVersion":"5.1.0","_npmUser":{"name":"rudders","email":"a.rudman@binarylight.com.au"},"dist":{"shasum":"4d2e86a2f42ba0ffee9294eabc3947031c0f57f7","tarball":"https://registry.npmjs.org/homebridge-http/-/homebridge-http-0.0.7.tgz","integrity":"sha512-wrXIgIF0hIEdTd+b0LM8321aaxul98T0WpYMtTJF4AdsIEDjuYXMhuCYpWCwYpzx5VidCU+ArS/8me18ajRELA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBA8kkTJzzg9xyN3c+HcyH9T9nvFc91kGrbMO3RpmEXCAiBVxQKX5iqAjt4gmmtiFatboTE/RS6YlK5xfYzWKJDBiA=="}]},"maintainers":[{"name":"rudders","email":"a.rudman@binarylight.com.au"}],"directories":{}},"0.0.8":{"name":"homebridge-http","version":"0.0.8","description":"http(s) plugin for Homebridge: https://github.com/nfarina/homebridge","license":"ISC","keywords":["homebridge-plugin"],"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"author":{"name":"Adrian Rudman"},"repository":{"type":"git","url":"git://github.com/rudders/homebridge-http.git"},"dependencies":{"request":"^2.65.0"},"gitHead":"8d26da9e7c32bc17ea9c1ad076d505e9ec054e24","bugs":{"url":"https://github.com/rudders/homebridge-http/issues"},"homepage":"https://github.com/rudders/homebridge-http#readme","_id":"homebridge-http@0.0.8","_shasum":"7d37589d20c0b91e305a8d52851fd2302cb53471","_from":"git+https://github.com/rudders/homebridge-http.git","_resolved":"git+https://github.com/rudders/homebridge-http.git#8d26da9e7c32bc17ea9c1ad076d505e9ec054e24","scripts":{},"_npmVersion":"3.5.2","_nodeVersion":"5.1.0","_npmUser":{"name":"rudders","email":"a.rudman@binarylight.com.au"},"dist":{"shasum":"7d37589d20c0b91e305a8d52851fd2302cb53471","tarball":"https://registry.npmjs.org/homebridge-http/-/homebridge-http-0.0.8.tgz","integrity":"sha512-HQ9iCuGDDlEmymZbxmsjIHc6kbV/d6gQ57cpgMtwsiGugABuzsPuPOonLkWaE+ffCNhRmKFRpLTBHnD2n6utow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJbgV4cYM/RmTgO0E5X0vr87WIvwT96FCqBtYPiYBiCAIgcMbz3qXPE0NWYMnQJMG98krIwV5M7OYr6AR8x7JWE0A="}]},"maintainers":[{"name":"rudders","email":"a.rudman@binarylight.com.au"}],"directories":{}},"0.0.9":{"name":"homebridge-http","version":"0.0.9","description":"http(s) plugin for Homebridge: https://github.com/nfarina/homebridge","license":"ISC","keywords":["homebridge-plugin"],"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"author":{"name":"Adrian Rudman"},"contributors":[{"name":"NovaGL"},{"name":"David Parry"}],"repository":{"type":"git","url":"git://github.com/rudders/homebridge-http.git"},"dependencies":{"request":"^2.65.0","polling-to-event":">=2.0.2"},"gitHead":"f8a497ae79416f345c3aeb62f5284cbcef798146","bugs":{"url":"https://github.com/rudders/homebridge-http/issues"},"homepage":"https://github.com/rudders/homebridge-http#readme","_id":"homebridge-http@0.0.9","_shasum":"1965ab279b5089303dc7c85ad8a2acc0cf22716c","_from":"git+https://github.com/rudders/homebridge-http.git","_resolved":"git+https://github.com/rudders/homebridge-http.git#f8a497ae79416f345c3aeb62f5284cbcef798146","scripts":{},"_npmVersion":"3.7.1","_nodeVersion":"5.1.0","_npmUser":{"name":"rudders","email":"a.rudman@binarylight.com.au"},"dist":{"shasum":"1965ab279b5089303dc7c85ad8a2acc0cf22716c","tarball":"https://registry.npmjs.org/homebridge-http/-/homebridge-http-0.0.9.tgz","integrity":"sha512-lng4wvF7wL9GGN2OBWBMJ/WbPR7YPOGSnTPm6wsyZyvF+EVMzS+GxxcHC42Y3uGH/xYskl3mUWYZL9la29wDXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4HbkteFxMTKjozjUTtA7xcoZTSE/snNNXnRtUgUtwwAiA8v4uQHRSM53lFnk+5L843KrkiyrEowWwUCoEt/qeVSw=="}]},"maintainers":[{"name":"rudders","email":"a.rudman@binarylight.com.au"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/homebridge-http-0.0.9.tgz_1455614522900_0.3017259333282709"},"directories":{}}},"readme":"# homebridge-http\n\nSupports https devices on the HomeBridge Platform and provides a readable callback for getting the \"On\" and brightness level characteristics to Homekit.\n\n# Installation\n\n1. Install homebridge using: npm install -g homebridge\n2. Install homebridge-http using: npm install -g homebridge-http\n3. Update your configuration file. See sample-config.json in this repository for a sample. \n\n# Configuration\n\nThis module has recently been updated to support an additional method to read the power state of the device and the brightness level. Specify the `status_url` in your config.json that returns the status of the device as an integer (0 = off, 1 = on). \n\nSpecify the `brightnesslvl_url` to return the current brightness level as an integer.\n\nSwitch Handling and brightness Handling support 3 methods, yes for polling on app load, realtime for constant polling or no polling\n\nConfiguration sample:\n\n ```\n\"accessories\": [ \n\t{\n\t\t\"accessory\": \"Http\",\n\t\t\"name\": \"Alfresco Lamp\",\n\t\t\"switchHandling\": \"realtime\",\n\t\t\"http_method\": \"GET\",\n\t\t\"on_url\":      \"http://localhost/controller/1700/ON\",\n\t\t\"off_url\":     \"http://localhost/controller/1700/OFF\",\n\t\t\"status_url\":  \"http://localhost/status/100059\",\n\t\t\"service\": \"Light\",\n\t\t\"brightnessHandling\": \"yes\",\n\t\t\"brightness_url\":     \"http://localhost/controller/1707/%b\",\n\t\t\"brightnesslvl_url\":  \"http://localhost/status/100054\",\n\t\t\"sendimmediately\": \"\",\n\t\t\"username\" : \"\",\n\t\t\"password\" : \"\"\t\t\t\t\t    \n       } \n    ]\n```\n\n#ToDo\n\nComplete documentation and review a number of  forks","maintainers":[{"email":"npm@npmjs.com","name":"npm"}],"time":{"modified":"2022-08-15T00:10:02.036Z","created":"2015-11-05T06:24:23.601Z","0.0.1":"2015-11-05T06:24:23.601Z","0.0.2":"2015-11-05T22:15:22.233Z","0.0.3":"2015-11-20T20:21:22.013Z","0.0.4":"2015-12-18T01:41:55.297Z","0.0.7":"2015-12-28T17:26:34.328Z","0.0.8":"2015-12-28T17:38:09.034Z","0.0.9":"2016-02-16T09:22:04.907Z"},"homepage":"https://github.com/rudders/homebridge-http#readme","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rudders/homebridge-http.git"},"author":{"name":"Adrian Rudman"},"bugs":{"url":"https://github.com/rudders/homebridge-http/issues"},"license":"ISC","readmeFilename":"README.md","users":{"japh":true,"safarikc":true,"nicknewlin":true,"grandefabio":true,"toshir8":true,"dosevader":true,"dmitriydef":true,"krital":true,"djk":true,"dingdangnao":true,"willnewii":true,"seeker5084":true,"egreenie":true,"sziszi":true,"redonebe":true,"marky421":true,"_flo_":true,"brandonb927":true,"thouky":true},"contributors":[{"name":"NovaGL"},{"name":"David Parry"}]}