{"_id":"homebridge-gpio-wpi2","_rev":"26-6f45a4eee425cfad92212906b37cefc7","name":"homebridge-gpio-wpi2","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","dist-tags":{"latest":"0.2.2","beta":"0.2.1"},"versions":{"0.0.1":{"name":"homebridge-gpio-wpi2","version":"0.0.1","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1"},"gitHead":"d4026fee3ed84b993a8859c1f01cad4915343240","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.0.1","scripts":{},"_shasum":"441501c9a5b78534738744cdb3e7fe33581e9089","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"441501c9a5b78534738744cdb3e7fe33581e9089","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.0.1.tgz","integrity":"sha512-rL2AQW+QvExjiEnkaRnpS75VWBlQVYN/ua2hT83dwV3fptJnZXGBZOJdcoFGF9XAI9UsVUzE2hZQGUsbj78clg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKb/kVlJ7r9IUJuvENUfY5J7SJz4KNKEmAiWwvb7lmfAIgFf1dq6PhQeex33BhPg2ev7mwrvtz0W++WOrEpNupxz8="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.0.1.tgz_1483905942305_0.43306923448108137"},"directories":{}},"0.0.2":{"name":"homebridge-gpio-wpi2","version":"0.0.2","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1"},"gitHead":"c6bb4d84ff5651acab7d3c0591dc31c89af2de3d","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.0.2","scripts":{},"_shasum":"196fc479a877b19c07ba7fe0d09fb856af0b89e9","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"196fc479a877b19c07ba7fe0d09fb856af0b89e9","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.0.2.tgz","integrity":"sha512-qsJY3Io92DL4rix9OXP13vZZub7+SJrQfOjX3B6i7I8sF9gHSuY4qV99CH64Fonua6H4grY39ytOsnCfOn9l5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6tqJ7eYXaMHW03BEOJ5a9Wp+Q5lpN4KwhiBdKaA6o+AIgKryDoKbTuQvjwdmpigfbOvbRdD6keGMT3t1IPNQM9gg="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.0.2.tgz_1484254527413_0.002972693182528019"},"directories":{}},"0.0.3":{"name":"homebridge-gpio-wpi2","version":"0.0.3","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1"},"gitHead":"5d82ac185c5af9f2ab2a0671fa81693b7e915971","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.0.3","scripts":{},"_shasum":"9b0318a341730a00968eb79247a9afe4fb85c2c3","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"9b0318a341730a00968eb79247a9afe4fb85c2c3","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.0.3.tgz","integrity":"sha512-0RPfQGYAwU5OFY99fDZkzic8DVAJ629R2lNn7XEpYm5Hm3fhS7JcFzt9MJ/0BBhuz8LBaTeaW1GDzZLMfg7K5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3fqcuStcHWVmVuwlRwzYlYsULItBNLFQA9nYD9WYSfgIgZnKfVhVOE1rDVG+/FRK9gfstnd7HSd+ixfuWJOc4iBY="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.0.3.tgz_1484255036816_0.3294671680778265"},"directories":{}},"0.0.4":{"name":"homebridge-gpio-wpi2","version":"0.0.4","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1"},"gitHead":"28916734a175da822a7521d8a40117d2587b25c0","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.0.4","scripts":{},"_shasum":"135e56f06b51bc029ed0bc63e58bc35f0fd5dab8","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"135e56f06b51bc029ed0bc63e58bc35f0fd5dab8","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.0.4.tgz","integrity":"sha512-8zS/z22YfzJSxppNbFiM1vlnVgzJOGwwqWrpSvzoSECDzGtlgGPcmuRidR8Yuci2IabxSQ+EIEhHSRJ98FuqYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUoW0TB2dB+IM3JgqrPpbzXd2i+iOEdn/xvuBYczWaWAIgVdLbk35KyBZuNp1CV/DmUldR4kV8h6IGBF2vBk8YXz4="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.0.4.tgz_1484256583225_0.2601196705363691"},"directories":{}},"0.0.5":{"name":"homebridge-gpio-wpi2","version":"0.0.5","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1"},"gitHead":"83584eedfa5b7c8742d644d610da9c00fb465034","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.0.5","scripts":{},"_shasum":"de7b1851f226274bb1909261c69024354c064f19","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"de7b1851f226274bb1909261c69024354c064f19","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.0.5.tgz","integrity":"sha512-MkzVGiGKJM6p4Y3iYDrgDps0/GAPwlMtRztd0Ra/QjWQ+HnO4KkUKs4BK0x0dCr3/hwh5OCaSMgump5FZayjcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZHTlbvYn4/CqRfZkcc/ot5C0bG6PQZdA1XUcqaGLTWAiBttSpC+Qm/y5sVLTIJ5iMVJsVqlyzWu3ZHZcBgzP6DQQ=="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.0.5.tgz_1484257233351_0.2072481734212488"},"directories":{}},"0.0.6":{"name":"homebridge-gpio-wpi2","version":"0.0.6","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1"},"gitHead":"94cad093b24f620cd3b066a1a181df485fbddde7","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.0.6","scripts":{},"_shasum":"4fbeceb4e2e150732093d3e5ffca0be79da1989d","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"4fbeceb4e2e150732093d3e5ffca0be79da1989d","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.0.6.tgz","integrity":"sha512-uly7CTV4Z/uHpoqq1iBymfG9j48+KvCJ6RlSO6gsJPkrhAwweB/KM0d2Y3jjOUdTEvniBV/XL/i2rGrZYGaUKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaiT6Q5XoGzongNABLS+aj7T87jOgTM7QIgqFKGHzfBAiBGoPue3gn6JZ6JxgQWsXptT0mt/BOe55qVOiAw83aaDQ=="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.0.6.tgz_1484257326846_0.4401676014531404"},"directories":{}},"0.0.7":{"name":"homebridge-gpio-wpi2","version":"0.0.7","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1"},"gitHead":"b77428d656486b1b53de2e3ad249c655496e8e14","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.0.7","scripts":{},"_shasum":"9108d68e1520bbe893702dd7cde9d31483ed3c2e","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"9108d68e1520bbe893702dd7cde9d31483ed3c2e","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.0.7.tgz","integrity":"sha512-mbI/Uh4Rou/yX2zYWnWa96psRHEGMKdC2IWy47JFInLbs5OVwTsTRPfLvvwMlAP0ZPwCVhv4M9jeGwLCq2IRPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0SM4aXKlHdd3NdXnmY9FVfPREQAZR+cj15+MnpTX39AiEA78GubM2jV0d2iD9oQzBPnXXNOHX5oBETT07hMLwa94M="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.0.7.tgz_1484258289672_0.034047720255330205"},"directories":{}},"0.0.8":{"name":"homebridge-gpio-wpi2","version":"0.0.8","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1"},"gitHead":"d83b93e70aac60d8b3753c694d40c4d1d56350e8","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.0.8","scripts":{},"_shasum":"a3774473f461fe395293bf624662211de818ebe3","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"a3774473f461fe395293bf624662211de818ebe3","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.0.8.tgz","integrity":"sha512-QWXpsphHA0TMjRl55FERusRXsbndewVH2MzOPE7GyNzmmRQRn+ubtijn792bUl5E22oOnoS3b2Tno8KqfuL0ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcabkqkprStMgs9Jc8j5Gz9JhWhdjYSYvG/M1LlYBixAiEAx8A845q/Uxltr8fWXNnqrTpE028dYywHxb9Dt3zu2Tw="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.0.8.tgz_1484258445043_0.6073451493866742"},"directories":{}},"0.1.0":{"name":"homebridge-gpio-wpi2","version":"0.1.0","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1","sleep":"^5.1.0"},"gitHead":"04f43e7fd7671404014b2ad9c1d83dffe53690f6","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.1.0","scripts":{},"_shasum":"95d6b26245032a7a4c3d869a07ed68c36255ca4c","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"95d6b26245032a7a4c3d869a07ed68c36255ca4c","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.1.0.tgz","integrity":"sha512-ZBtD0+C7DiwfOY3NzSDj1mXvDvGyoGlne9P8QeRoUgBY4Z/pFPsGCAqhr152/ICwFtfQkLr6Qr3b1xVb9PcMrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8arP74s6NOG3AC0p8QRcFCkRl7As5uc9SyiXVeR3EwAIgBRcg5ZdspKPqSM4BqdXulAIl4Yzq1ghyeknYennGiIE="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.1.0.tgz_1484501449491_0.5648475566413254"},"directories":{}},"0.1.1":{"name":"homebridge-gpio-wpi2","version":"0.1.1","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.1","sleep":"^5.1.0"},"gitHead":"1d0d0895883c2591df272b3492a19c060317d641","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.1.1","scripts":{},"_shasum":"392ce95080a436b620d011669d6cd05755a55a57","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"392ce95080a436b620d011669d6cd05755a55a57","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.1.1.tgz","integrity":"sha512-k52QKaokPmnDl4TeV46f6y5MiOorATHF0RnjwEG/pz8unFdvrJHpUEoCw1Alt8v5vkJq+k+QR7/vwHTdxez8bA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQ5j2+Y8mmwBfAB8II38+oKFgrR9Zs+oepVyn7T/TzBAiEA4Q9QCoFuCDcedZb8Xfof82jP4pkG3h6qaBSDql9GQuk="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.1.1.tgz_1484683609839_0.8776502199470997"},"directories":{}},"0.1.2":{"name":"homebridge-gpio-wpi2","version":"0.1.2","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.2","sleep":"^5.1.0"},"gitHead":"fbb67c92cfff855430e63b3b3be2b1de9eccdc2f","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.1.2","scripts":{},"_shasum":"b76fac1453a785a464f2df2c5c1b0776389536f8","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"b76fac1453a785a464f2df2c5c1b0776389536f8","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.1.2.tgz","integrity":"sha512-7kF2zotOaLkCaT+ZelC3PM8rkl3dOJccVq+Om6QTjgNOqxVwJJ80AgOlcanOwAdeiezHwlDoc1BwJq1xVU7qyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDBWqxwDKfny+JDPwbz2WgHknR6va+ySxg13Ou3fQKMAiEA5jwBtXD+YmKKeYy1oVF5i1VfZdzMZkv//IZueXJoYvE="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.1.2.tgz_1485633277535_0.23274175031110644"},"directories":{}},"0.1.3":{"name":"homebridge-gpio-wpi2","version":"0.1.3","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.3","sleep":"^5.1.0"},"gitHead":"fc5a0c387bcbbea3c75e955237766877980d77ed","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.1.3","scripts":{},"_shasum":"d5f69e792d481e312dabb57c4c7698c320de163a","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"d5f69e792d481e312dabb57c4c7698c320de163a","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.1.3.tgz","integrity":"sha512-J3neyAcJnZu1BUVMYJs5NsGahUx5Igywio/Ggk/htbvCDjISNaowGss6iUbTiw518UZC/6yxx13WwI5enQMkXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/5Qf5po4KVLzVTYPSbAK6OCbAzbzbMm+yJ8SuF4bjsAiEAmwuHEWfW1wexcxo07ZWecH1k3etVpQ8WibHcIflCknw="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.1.3.tgz_1485888703292_0.4461840963922441"},"directories":{}},"0.2.0":{"name":"homebridge-gpio-wpi2","version":"0.2.0","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.3","sleep":"^5.1.0","epoll":"^0.1.21"},"gitHead":"2ae013618cb0283308e0e7990c1fce0fd9f048ec","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.2.0","scripts":{},"_shasum":"8e9841dad70258bce48febff3ed7321f50656a55","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"shasum":"8e9841dad70258bce48febff3ed7321f50656a55","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.2.0.tgz","integrity":"sha512-opn8Lbq3TgSc1300JH22ROt3LlLght7VCq4TtXlWBzEfLRx8KnP1czwTpcshy4wGsA1eeEDLZWvtrb5JpK6L9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDayrMu2mTWwAzOWKJZ+pZDLuCgeSRviqUst6GKXp+4AiBJXIhWREQCojO5+39Zw4K+yxOb4yDkS1ZJ30hlo/nfCg=="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/homebridge-gpio-wpi2-0.2.0.tgz_1487956002782_0.654252395266667"},"directories":{}},"0.2.1":{"name":"homebridge-gpio-wpi2","version":"0.2.1","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.3","sleep":"^5.1.0","epoll":"^0.1.21"},"readme":"# Homebridge GPIO WiringPi - Platform Plugin\n\n***\n\n## WORK IN PROGRESS\n\nPlease report issues at https://github.com/rsg98/homebridge-gpio-wpi2/issues\n\n***\n\nSupports triggering General Purpose Input Output (GPIO) pins on the Raspberry Pi.\n\nUses wiringPi as a back end to give non-root access to GPIO.\n\n## Requirements\n\n-\t[Homebridge](https://github.com/nfarina/homebridge) - _HomeKit support for the impatient_\n-\t[node-wiring-pi](https://github.com/rsg98/node-wiring-pi) - _Node.js bindings to wiringPi_\n\nThis version of the plugin expects WiringPi itself to already be installed - see the documentation for [node-wiring-pi](https://github.com/rsg98/node-wiring-pi)\nfor more details, or just follow the instructions below for Raspbian.\n\n## Installation\n\n1.\tInstall the wiringpi package using `sudo apt-get install wiringpi`\n2.    Install Homebridge using `sudo npm install -g homebridge`\n3.\tInstall this plugin `sudo npm install homebridge-gpio-wpi2`\n4.\tUpdate your configuration file - see `config-platform-sample.json` in this repo\n5.    Make sure your `homebridge` user is in the `gpio` group.\n\n ```Shell\n  $ sudo usermod -G gpio homebridge\n ```\n\n## Configuration\n\n**The pin numbers used in this config file are the BCM pin numbers, not the physical pins or WiringPi pin numbers.**\n\nYou can run `gpio readall` to generate a table showing how the BCM pin numbers map to the physical pins, which varies between models of Raspberry Pi.\n\n```json\n{\n\t\"bridge\": {\n\t\t\"name\": \"Homebridge\",\n\t\t\"username\": \"CC:22:3D:E3:CE:30\",\n\t\t\"port\": 51826,\n\t\t\"pin\": \"031-45-155\"\n    },\n    \"description\": \"This is an example configuration file with one fake accessory and one fake platform.\",\n\n    \"platforms\": [{\n          \"platform\" : \"WiringPiPlatform\",\n          \"name\" : \"Pi GPIO (WiringPi)\",\n          \"overrideCache\" : \"true\",\n          \"autoExport\" : \"true\",\n          \"gpiopins\" : [{\n\t  \t\"type\":\"Switch\",\n\t\t\"name\" : \"GPIO2\",\n                \"pin\"  : 27,\n                \"enabled\" : \"true\",\n                \"mode\" : \"out\",\n                \"pull\" : \"down\",\n                \"inverted\" : \"false\",\n                \"duration\" : 0,\n                \"polling\" : \"true\"\n\t        },{\n\t\t\"type\":\"MotionSensor\",\n                \"name\" : \"GPIO3\",\n                \"pin\"  : 22,\n                \"enabled\" : \"true\",\n                \"mode\" : \"in\",\n                \"pull\" : \"down\",\n                \"inverted\" : \"false\",\n                \"duration\" : 0\n          }]\n    }]\n}\n\n```\n### Platform Config Items\n\n| Config Item | Valid Values | Description |\n| --- | --- | --- |\n| `platform` | `WiringPiPlatform` | Must be set to this value to initialise this plugin |\n| `name` | `string` | What you want this platform to be called (appears in the logs and such like) |\n| `overrideCache` | `true / false` | Homebridge will cache all your accessories - setting this to true will ignore the cached value (direction, mode, etc.) and read them direcly from your config file |\n| `autoExport` | `true / false` | As long as your homebridge user has permission (i.e. is a member of the `gpio` group), setting this to `true` will automatically export the pins via sysfs, meaning you _don't_ need a set-gpio.sh script |\n\n\n### Pin Config Items\n\n| Config Item | Valid Values | Description |\n| --- | --- | --- |\n| \"type\" | \"string\" | Type of device connected to GPIO. Set to \"Switch\" for \"out\" pin mode, or one of \"ContactSensor\", \"LeakSensor\", \"MotionSensor\", \"OccupancySensor\", or \"SmokeSensor\" for \"in\" pin mode | \n| `name` | `string` | Initial display name for the PIN accessory - can be renamed in HomeKit app (e.g. Home) |\n| `pin` | `number` | The BCM pin number - see Pin Configuration below |\n| `enabled` | `true / false` | Whether you want the module to publish this pin as an accessory |\n| `mode` | `out / in` | Mode the pin should operate in |\n| `pull` | `up / down / off` | Configuration for the built in Pi pull up resistor |\n| `inverted` | `true / false` | Reverse the behaviour of the GPIO pin (0 is on, 1 is off) |\n| `duration` | `number` | Pin will turn off after this number of miliseconds |\n| `polling` | `true / false` | Whether Homebridge should periodically check the status of the pin (perhaps it's being set by something external to homebridge) |\n\n\n## Pin Configuration\n\nIf you don't use the `autoExport` option above, you'll need to manually configure the relevant GPIO pins using the [gpio utility](https://projects.drogon.net/raspberry-pi/wiringpi/the-gpio-utility/\n) included with wiringPi.\n\nThis _is not_ necessary if you use autoExport and your homebridge user is a member of the `gpio` group.\n\n```Shell\n$ gpio readall\n +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+\n | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |\n +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+\n |     |     |    3.3v |      |   |  1 || 2  |   |      | 5v      |     |     |\n |   2 |   8 |   SDA.1 |  OUT | 0 |  3 || 4  |   |      | 5V      |     |     |\n |   3 |   9 |   SCL.1 |   IN | 1 |  5 || 6  |   |      | 0v      |     |     |\n |   4 |   7 | GPIO. 7 |   IN | 1 |  7 || 8  | 1 | ALT0 | TxD     | 15  | 14  |\n |     |     |      0v |      |   |  9 || 10 | 1 | ALT0 | RxD     | 16  | 15  |\n |  17 |   0 | GPIO. 0 |   IN | 0 | 11 || 12 | 1 | IN   | GPIO. 1 | 1   | 18  |\n |  27 |   2 | GPIO. 2 |  OUT | 0 | 13 || 14 |   |      | 0v      |     |     |\n |  22 |   3 | GPIO. 3 |   IN | 0 | 15 || 16 | 0 | IN   | GPIO. 4 | 4   | 23  |\n |     |     |    3.3v |      |   | 17 || 18 | 0 | IN   | GPIO. 5 | 5   | 24  |\n |  10 |  12 |    MOSI |   IN | 0 | 19 || 20 |   |      | 0v      |     |     |\n |   9 |  13 |    MISO |   IN | 0 | 21 || 22 | 0 | IN   | GPIO. 6 | 6   | 25  |\n |  11 |  14 |    SCLK |   IN | 0 | 23 || 24 | 1 | IN   | CE0     | 10  | 8   |\n |     |     |      0v |      |   | 25 || 26 | 1 | IN   | CE1     | 11  | 7   |\n |   0 |  30 |   SDA.0 |   IN | 1 | 27 || 28 | 1 | IN   | SCL.0   | 31  | 1   |\n |   5 |  21 | GPIO.21 |   IN | 1 | 29 || 30 |   |      | 0v      |     |     |\n |   6 |  22 | GPIO.22 |   IN | 1 | 31 || 32 | 0 | IN   | GPIO.26 | 26  | 12  |\n |  13 |  23 | GPIO.23 |   IN | 0 | 33 || 34 |   |      | 0v      |     |     |\n |  19 |  24 | GPIO.24 |   IN | 0 | 35 || 36 | 0 | IN   | GPIO.27 | 27  | 16  |\n |  26 |  25 | GPIO.25 |   IN | 0 | 37 || 38 | 0 | IN   | GPIO.28 | 28  | 20  |\n |     |     |      0v |      |   | 39 || 40 | 0 | IN   | GPIO.29 | 29  | 21  |\n +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+\n | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |\n +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+\n```\n\n The pin number specified in the config.json file is the BCM pin number in this table.\n\n To set up the pins correctly, this module includes a `make-gpio-script` script, which\n will generate a `set-gpio.sh`.  You should run `set-gpio.sh` *before* starting Homebridge\n so that all the pins are configured.  If you start Homebridge using systemd, you can add\n `set-gpio.sh` as a ExecStartPre command in the `homebridge.service` file\n \n```Shell\n$ node make-gpio-script config.json set-gpio.sh\n```\n\n The gpio tool is setuid root, so this script should be run as the user that runs Homebridge.\n \n## Troubleshooting\n\n### Homebridge reports no errors, but nothing is switched on or off\n\n Check the permissions in /sys/class/gpio/gpioXX - `autoExport` option should have created all these properly, if your Homebridge\n user account has the right permissions (i.e. is a member of the `gpio` group)\n\n ```Shell\n  $ sudo usermod -G gpio homebridge\n ```\n \n If you are not using `autoExport`, you should run the `set-gpio.sh`\n script as the homebridge user (see section above to generate this script):\n\n ```Shell\n $ node make-gpio-script config.json set-gpio.sh\n ```\n\n## Licence\n\n(The MIT License)\n\nCopyright (c) 2016 Richard Grime richard.grime@gmail.com\n\nOriginal Project Copyright (c) 2016 James Blanksby james@blanks.by\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","readmeFilename":"README.md","gitHead":"0dd7bb94a0bed98087d44900a315c5367bbee382","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.2.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"integrity":"sha512-/z6my6EvWeyFp+AQtXskBo8AgDUzEJ2bUYl4s1yADuXF6Sybb0er9IE0FSctdfbavizH68715tVfo6u66Kc6Qg==","shasum":"aa5845910077da132f0744b5e4b9942b9f16ceed","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.2.1.tgz","fileCount":9,"unpackedSize":29285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKQleCRA9TVsSAnZWagAA/mkP/3Ua3aIoAmMPZs6ECGOd\nRZhP/x9lt08h7GF8cKFbJ6IRIAiFZ0ZzlWTmuHTOOtZJ+ziqp5Vv4n8S/z0j\nKhEmsz8WlWUIF2x1jc535b0V9PIyZgYsxzG/ittCkt985VPwEpdK3O7wSSnW\nK0wGCL4rNOxy3yg+aXzDGZngh/kQSDI6Rb6L+9WHEkDiYxy2tbUP/Ft0dO+b\ngPD0vCEKIijMXpyv307POkgxJIHu7F3myO+X2IX+cANYZi85Te5oDDl5t6kF\nQnYfHDj/wl81veCoFfrFavpiisus+EIYzLoGX+pETFnaBsqcNYFTy5h1gdbX\nc0i6/LFRNw13aVODkMLd1zIsej2AnpjDyNAacB25+630jKEjOAc2V8MvaYT7\ngYZU4G+3BtAZRNXbAKT1w1Xo9tE3OAQztxDywTEOB7cO+uzXu9S0Sz8JwMsB\neBQRTJIYjRg31AB98lqTqg9KG/XTS6AED+yMDy9VHL2ZNRvWOJap8uC251gR\n9mGKL4CgmrWUTv0rkcR5oJzcq0ZSbXrdVprms7fQUUtcWY3u7OeL3bqsS70g\n5q6kbFhcSmtQb071x4HlGfMKylwag6T8919csZUhW3dI0EesNl9nyxOMxYYX\nFwEgxVZ9JoEC3uEPl8CmZwEAy3TCFQg7hNqFH22nx7M3xJG8Yp6+nA2xjRRA\nMktO\r\n=z0YM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHhYigzNW47rbJK+X3N8yol39hxv3+0WgDidFrhmFBOQIgFClyxdFw0fvKmBy4fXONrmhdmfCKgAzOkdAy6i2ftpI="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-gpio-wpi2_0.2.1_1529416030269_0.37858662079160044"},"_hasShrinkwrap":false},"0.2.2":{"name":"homebridge-gpio-wpi2","version":"0.2.2","description":"Raspberry Pi GPIO plugin for Homebridge (Wiring-pi backend): https://github.com/nfarina/homebridge","license":"MIT","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"engines":{"node":">=6.8.1","homebridge":">=0.4.6"},"dependencies":{"node-wiring-pi":"^0.0.5","sleep":"^6.0.0","epoll":"^2.0.9"},"gitHead":"ceb199383d52412c124510b12c48924de49c3d2f","bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","_id":"homebridge-gpio-wpi2@0.2.2","_npmVersion":"6.1.0","_nodeVersion":"8.9.1","_npmUser":{"name":"rsg98","email":"richard.grime@gmail.com"},"dist":{"integrity":"sha512-uGCSsyY5t76OCWLnNyU8BzRIvlOEfgbjW4APsg+24RNW5i3yKI5H1MWvJOqYZhwoSBToHIQhnyXzRFheZGNtgQ==","shasum":"54dcf68b71af79b4dcd8b03951ce53bb3db7457f","tarball":"https://registry.npmjs.org/homebridge-gpio-wpi2/-/homebridge-gpio-wpi2-0.2.2.tgz","fileCount":9,"unpackedSize":29284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvF66CRA9TVsSAnZWagAAWOkQAJkJQ9PW2pMP4ByZQfwj\nreUJMDEVlDZYVF4itUysPsYDk4Mg9A9hfYCsk41IFXzIl8cYHQ/ywjjqtybT\nR/NFU9EayO+eqbou5uNg1AcMasgE4DiggvMlY4mYT6IhHNKCXY9DTZAEdUF/\nePnps2RQKCA3jMgv1+S1EI65VMfAASgPCaY2bK0yqvAijAzwbde4LUZQgxiQ\nRfQBN85PQPXp3X7IAp0/HSzerbNTZyK0klpmzI1O0fCafhBnIRT1v34LPqq9\nJPi7a0GGbTcMBSU8+tt2hA6bEsI4rivs/t1coFUEbruIzEwP3OCCPuNGUuZl\ndn8OetI1ooGpPTBxUFvGOB1/FqP7FT7M7yB2DVNjw86i+FoQEDKr1zl9J+Yz\ntt9dF7FtIYrjCmMK/kTyFAvkEzO1VvsNM4n9tcOyNUAUgdT+IQD1+YOQIFh2\n6rBoS5GKT13cevblmbiBM4+eZ1DuLrCIUdmnuvvh33b1LLaFL1xMtqqYCKML\n2eXGXsoFtgF6HFZ6UjEsztQsBK2PYNtqv1gHp1yBZIbF7L+/+bRzJIfIFWSA\nJaznsJkAQ2NovjnHT/143Rk8zY6UFAG1S8ZYDotv6sw9L6528UvgnLX4gtwV\nilPi5fix+vtmQ7so3EKLNpQGy5hDTahXnrNag3FmUyUrA3RzgpdNLaWWgcBe\no2mL\r\n=BSAT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmbc9iXWFgXZJWP+qNYvwX8GdxPSCaiptWujSaOyDd1AiBRMGCpfKGTq2hknBIMbykdKwgPGAtdb+Iccrd/lZwzEg=="}]},"maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-gpio-wpi2_0.2.2_1555848889857_0.7173086244925504"},"_hasShrinkwrap":false}},"readme":"# Homebridge GPIO WiringPi - Platform Plugin\n\n***\n\n## WORK IN PROGRESS\n\nPlease report issues at https://github.com/rsg98/homebridge-gpio-wpi2/issues\n\n***\n\nSupports triggering General Purpose Input Output (GPIO) pins on the Raspberry Pi.\n\nUses wiringPi as a back end to give non-root access to GPIO.\n\n## Requirements\n\n-\t[Homebridge](https://github.com/nfarina/homebridge) - _HomeKit support for the impatient_\n-\t[node-wiring-pi](https://github.com/rsg98/node-wiring-pi) - _Node.js bindings to wiringPi_\n\nThis version of the plugin expects WiringPi itself to already be installed - see the documentation for [node-wiring-pi](https://github.com/rsg98/node-wiring-pi)\nfor more details, or just follow the instructions below for Raspbian.\n\n## Installation\n\n1.\tInstall the wiringpi package using `sudo apt-get install wiringpi`\n2.    Install Homebridge using `sudo npm install -g homebridge`\n3.\tInstall this plugin `sudo npm install homebridge-gpio-wpi2`\n4.\tUpdate your configuration file - see `config-platform-sample.json` in this repo\n5.    Make sure your `homebridge` user is in the `gpio` group.\n\n ```Shell\n  $ sudo usermod -G gpio homebridge\n ```\n\n## Configuration\n\n**The pin numbers used in this config file are the BCM pin numbers, not the physical pins or WiringPi pin numbers.**\n\nYou can run `gpio readall` to generate a table showing how the BCM pin numbers map to the physical pins, which varies between models of Raspberry Pi.\n\n```json\n{\n\t\"bridge\": {\n\t\t\"name\": \"Homebridge\",\n\t\t\"username\": \"CC:22:3D:E3:CE:30\",\n\t\t\"port\": 51826,\n\t\t\"pin\": \"031-45-155\"\n    },\n    \"description\": \"This is an example configuration file with one fake accessory and one fake platform.\",\n\n    \"platforms\": [{\n          \"platform\" : \"WiringPiPlatform\",\n          \"name\" : \"Pi GPIO (WiringPi)\",\n          \"overrideCache\" : \"true\",\n          \"autoExport\" : \"true\",\n          \"gpiopins\" : [{\n\t  \t\"type\":\"Switch\",\n\t\t\"name\" : \"GPIO2\",\n                \"pin\"  : 27,\n                \"enabled\" : \"true\",\n                \"mode\" : \"out\",\n                \"pull\" : \"down\",\n                \"inverted\" : \"false\",\n                \"duration\" : 0,\n                \"polling\" : \"true\"\n\t        },{\n\t\t\"type\":\"MotionSensor\",\n                \"name\" : \"GPIO3\",\n                \"pin\"  : 22,\n                \"enabled\" : \"true\",\n                \"mode\" : \"in\",\n                \"pull\" : \"down\",\n                \"inverted\" : \"false\",\n                \"duration\" : 0\n          }]\n    }]\n}\n\n```\n### Platform Config Items\n\n| Config Item | Valid Values | Description |\n| --- | --- | --- |\n| `platform` | `WiringPiPlatform` | Must be set to this value to initialise this plugin |\n| `name` | `string` | What you want this platform to be called (appears in the logs and such like) |\n| `overrideCache` | `true / false` | Homebridge will cache all your accessories - setting this to true will ignore the cached value (direction, mode, etc.) and read them direcly from your config file |\n| `autoExport` | `true / false` | As long as your homebridge user has permission (i.e. is a member of the `gpio` group), setting this to `true` will automatically export the pins via sysfs, meaning you _don't_ need a set-gpio.sh script |\n\n\n### Pin Config Items\n\n| Config Item | Valid Values | Description |\n| --- | --- | --- |\n| \"type\" | \"string\" | Type of device connected to GPIO. Set to \"Switch\" for \"out\" pin mode, or one of \"ContactSensor\", \"LeakSensor\", \"MotionSensor\", \"OccupancySensor\", or \"SmokeSensor\" for \"in\" pin mode | \n| `name` | `string` | Initial display name for the PIN accessory - can be renamed in HomeKit app (e.g. Home) |\n| `pin` | `number` | The BCM pin number - see Pin Configuration below |\n| `enabled` | `true / false` | Whether you want the module to publish this pin as an accessory |\n| `mode` | `out / in` | Mode the pin should operate in |\n| `pull` | `up / down / off` | Configuration for the built in Pi pull up resistor |\n| `inverted` | `true / false` | Reverse the behaviour of the GPIO pin (0 is on, 1 is off) |\n| `duration` | `number` | Pin will turn off after this number of miliseconds |\n| `polling` | `true / false` | Whether Homebridge should periodically check the status of the pin (perhaps it's being set by something external to homebridge) |\n\n\n## Pin Configuration\n\nIf you don't use the `autoExport` option above, you'll need to manually configure the relevant GPIO pins using the [gpio utility](https://projects.drogon.net/raspberry-pi/wiringpi/the-gpio-utility/\n) included with wiringPi.\n\nThis _is not_ necessary if you use autoExport and your homebridge user is a member of the `gpio` group.\n\n```Shell\n$ gpio readall\n +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+\n | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |\n +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+\n |     |     |    3.3v |      |   |  1 || 2  |   |      | 5v      |     |     |\n |   2 |   8 |   SDA.1 |  OUT | 0 |  3 || 4  |   |      | 5V      |     |     |\n |   3 |   9 |   SCL.1 |   IN | 1 |  5 || 6  |   |      | 0v      |     |     |\n |   4 |   7 | GPIO. 7 |   IN | 1 |  7 || 8  | 1 | ALT0 | TxD     | 15  | 14  |\n |     |     |      0v |      |   |  9 || 10 | 1 | ALT0 | RxD     | 16  | 15  |\n |  17 |   0 | GPIO. 0 |   IN | 0 | 11 || 12 | 1 | IN   | GPIO. 1 | 1   | 18  |\n |  27 |   2 | GPIO. 2 |  OUT | 0 | 13 || 14 |   |      | 0v      |     |     |\n |  22 |   3 | GPIO. 3 |   IN | 0 | 15 || 16 | 0 | IN   | GPIO. 4 | 4   | 23  |\n |     |     |    3.3v |      |   | 17 || 18 | 0 | IN   | GPIO. 5 | 5   | 24  |\n |  10 |  12 |    MOSI |   IN | 0 | 19 || 20 |   |      | 0v      |     |     |\n |   9 |  13 |    MISO |   IN | 0 | 21 || 22 | 0 | IN   | GPIO. 6 | 6   | 25  |\n |  11 |  14 |    SCLK |   IN | 0 | 23 || 24 | 1 | IN   | CE0     | 10  | 8   |\n |     |     |      0v |      |   | 25 || 26 | 1 | IN   | CE1     | 11  | 7   |\n |   0 |  30 |   SDA.0 |   IN | 1 | 27 || 28 | 1 | IN   | SCL.0   | 31  | 1   |\n |   5 |  21 | GPIO.21 |   IN | 1 | 29 || 30 |   |      | 0v      |     |     |\n |   6 |  22 | GPIO.22 |   IN | 1 | 31 || 32 | 0 | IN   | GPIO.26 | 26  | 12  |\n |  13 |  23 | GPIO.23 |   IN | 0 | 33 || 34 |   |      | 0v      |     |     |\n |  19 |  24 | GPIO.24 |   IN | 0 | 35 || 36 | 0 | IN   | GPIO.27 | 27  | 16  |\n |  26 |  25 | GPIO.25 |   IN | 0 | 37 || 38 | 0 | IN   | GPIO.28 | 28  | 20  |\n |     |     |      0v |      |   | 39 || 40 | 0 | IN   | GPIO.29 | 29  | 21  |\n +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+\n | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |\n +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+\n```\n\n The pin number specified in the config.json file is the BCM pin number in this table.\n\n To set up the pins correctly, this module includes a `make-gpio-script` script, which\n will generate a `set-gpio.sh`.  You should run `set-gpio.sh` *before* starting Homebridge\n so that all the pins are configured.  If you start Homebridge using systemd, you can add\n `set-gpio.sh` as a ExecStartPre command in the `homebridge.service` file\n \n```Shell\n$ node make-gpio-script config.json set-gpio.sh\n```\n\n The gpio tool is setuid root, so this script should be run as the user that runs Homebridge.\n \n## Troubleshooting\n\n### Homebridge reports no errors, but nothing is switched on or off\n\n Check the permissions in /sys/class/gpio/gpioXX - `autoExport` option should have created all these properly, if your Homebridge\n user account has the right permissions (i.e. is a member of the `gpio` group)\n\n ```Shell\n  $ sudo usermod -G gpio homebridge\n ```\n \n If you are not using `autoExport`, you should run the `set-gpio.sh`\n script as the homebridge user (see section above to generate this script):\n\n ```Shell\n $ node make-gpio-script config.json set-gpio.sh\n ```\n\n## Licence\n\n(The MIT License)\n\nCopyright (c) 2016 Richard Grime richard.grime@gmail.com\n\nOriginal Project Copyright (c) 2016 James Blanksby james@blanks.by\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"rsg98","email":"richard.grime@gmail.com"}],"time":{"modified":"2022-06-18T21:11:45.208Z","created":"2017-01-08T20:05:43.119Z","0.0.1":"2017-01-08T20:05:43.119Z","0.0.2":"2017-01-12T20:55:29.535Z","0.0.3":"2017-01-12T21:03:57.524Z","0.0.4":"2017-01-12T21:29:43.970Z","0.0.5":"2017-01-12T21:40:34.096Z","0.0.6":"2017-01-12T21:42:09.065Z","0.0.7":"2017-01-12T21:58:10.409Z","0.0.8":"2017-01-12T22:00:47.096Z","0.1.0":"2017-01-15T17:30:50.086Z","0.1.1":"2017-01-17T20:06:50.521Z","0.1.2":"2017-01-28T19:54:39.586Z","0.1.3":"2017-01-31T18:51:44.103Z","0.2.0":"2017-02-24T17:06:43.455Z","0.2.1":"2018-06-19T13:47:10.393Z","0.2.2":"2019-04-21T12:14:49.988Z"},"homepage":"https://github.com/rsg98/homebridge-gpio-wpi2#readme","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/rsg98/homebridge-gpio-wpi2.git"},"bugs":{"url":"https://github.com/rsg98/homebridge-gpio-wpi2/issues"},"license":"MIT","readmeFilename":"README.md","users":{"aptyp222":true,"idum_zaes":true,"pzuccar":true,"dg4444":true,"catattack":true}}