{"_id":"@automaid/gpio-service","_rev":"1-e34a228c785bfc13959c84fab2cd299a","name":"@automaid/gpio-service","description":"Expose GPIO Ports as a HTTP Service and call remote Services on gpio interrupt","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@automaid/gpio-service","version":"1.0.0","description":"Expose GPIO Ports as a HTTP Service and call remote Services on gpio interrupt","main":"src/index.js","bin":{"gpio-service":"bin/gpio-service"},"scripts":{"start":"bin/gpio-service","lint":"eslint bin/** src/**"},"repository":{"type":"git","url":"git+https://github.com/automaid/generic-gpio-service.git"},"author":{"name":"Max Jöhnk","email":"maxjoehnk@gmail.com"},"license":"GPL-3.0","bugs":{"url":"https://github.com/automaid/generic-gpio-service/issues"},"homepage":"https://github.com/automaid/generic-gpio-service#readme","dependencies":{"@automaid/url-executor":"^1.0.0","bunyan":"^1.8.10","bunyan-format":"^0.2.1","js-yaml":"^3.9.0","lodash.debounce":"^4.0.8","restify":"^5.0.1","tinycolor2":"^1.4.1","yargs":"^8.0.2"},"devDependencies":{"eslint":"^4.3.0"},"peerDependencies":{"wiring-pi":"^2.2.1"},"gitHead":"b015855fcaf29a46eea17375591bc234b7033674","_id":"@automaid/gpio-service@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"maxjoehnk","email":"maxjoehnk@gmail.com"},"dist":{"integrity":"sha512-O4iVpxozbVHf1cbjpzhlwia51UCuonXqhWi9Y95coD9qcLWA3FnaBOta12RvWRplEJKgJ46Y2HbyiEk1/3eo9g==","shasum":"8c8a45813a5b99396e6f754f551221a8f5316877","tarball":"https://registry.npmjs.org/@automaid/gpio-service/-/gpio-service-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/wGnRTJn3yKxVGBmz4aiTP6v0neVpaY+yRx/lYopfYgIhALkOGIb/BgekSrfQ6ST51c6JRknEXxbezL8oPbFfZEIG"}]},"maintainers":[{"name":"maxjoehnk","email":"maxjoehnk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gpio-service-1.0.0.tgz_1511171567310_0.6400940581224859"}}},"readme":"# gpio-service\nThis Service exposes GPIO Ports over an HTTP Endpoint and allows calling of remote Endpoints from Interrupts.\n\n# Configuration\n```yaml\ninterrupts:\n    -   pin: 10\n        urls:\n            -   http://google.com\n        edge: FALLING\n        pud: DOWN\noutputs:\n    -   name: led\n        mode: rgb\n        pins:\n            r: 1\n            g: 2\n            b: 3\n    -   name: light\n        mode: digital\n        pin: 4\n    -   name: white\n        mode: pwm\n        pin: 5\nendpoints:\n    -   url: /led\n        mode: set\n        name: led\n        value: rgb(255, 128, 64)\n    -   url: /light\n        mode: toggle\n        name: light\n    -   url: /white\n        mode: set\n        name: white\n        value: 255\n\n```\n","maintainers":[{"name":"maxjoehnk","email":"maxjoehnk@gmail.com"}],"time":{"modified":"2022-04-04T16:37:39.446Z","created":"2017-11-20T09:52:48.338Z","1.0.0":"2017-11-20T09:52:48.338Z"},"homepage":"https://github.com/automaid/generic-gpio-service#readme","repository":{"type":"git","url":"git+https://github.com/automaid/generic-gpio-service.git"},"author":{"name":"Max Jöhnk","email":"maxjoehnk@gmail.com"},"bugs":{"url":"https://github.com/automaid/generic-gpio-service/issues"},"license":"GPL-3.0","readmeFilename":"README.md"}