{"_id":"@briandunn/homebridge-swifi-flocam2","_rev":"2-b3d7c4210bb48c9d57b3406241b421ab","name":"@briandunn/homebridge-swifi-flocam2","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1-beta.0":{"public":true,"displayName":"Swann Floodlight","name":"@briandunn/homebridge-swifi-flocam2","version":"1.0.1-beta.0","description":"A light accessory for the Swann floodlight","license":"Apache-2.0","repository":{"type":"git","url":"git://github.com/briandunn/homebridge-swifi-flocam2.git"},"bugs":{"url":"https://github.com/briandunn/homebridge-swifi-flocam2/issues"},"engines":{"node":">=10.17.0","homebridge":">0.4.53"},"main":"dist/index.js","scripts":{"lint":"eslint src/**.ts","watch":"npm run build && npm link && nodemon","build":"rimraf ./dist && tsc","prepublishOnly":"npm run lint && npm run build","debug":"npm run build && npm link && homebridge"},"keywords":["homebridge-plugin"],"dependencies":{},"devDependencies":{"@types/node":"^14.0.11","@typescript-eslint/eslint-plugin":"^3.1.0","@typescript-eslint/parser":"^3.1.0","eslint":"^7.2.0","homebridge":"^1.1.0","nodemon":"^2.0.4","rimraf":"^3.0.2","ts-node":"^8.10.2","typescript":"^3.9.5"},"gitHead":"63e3b1f76f37c6c964fcd74f172404d810bc86cf","homepage":"https://github.com/briandunn/homebridge-swifi-flocam2#readme","_id":"@briandunn/homebridge-swifi-flocam2@1.0.1-beta.0","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-C+62TQWlbHACDAaSgOuyzqBJxBzfnO2dRJyGT/ggKD4U/jspqEOg9C1xhMkpKA8kytMHhvgNHY2dxuEmM1I7Wg==","shasum":"953d94685717428b374d61d97de466d5c0287739","tarball":"https://registry.npmjs.org/@briandunn/homebridge-swifi-flocam2/-/homebridge-swifi-flocam2-1.0.1-beta.0.tgz","fileCount":21,"unpackedSize":43998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5RlBCRA9TVsSAnZWagAAlnsQAKLQKoNGoUMZtFLKJwVN\nfRqT2MrYWXh4YWM6akTsst2z1r4LpEZOnIQ0jWhPTpyJiGfL+NmF2mjwkPTP\nlnBwaofQYS4h7EbhRohSVrX6qKhTtYeASzmOAXEFy7003H9LP+U57SF2GBTU\nqb6q4dCkhHDwO9t4kwTYKtL6MKdDUSootBvExrq7iPLwEHsE5FV0g2qAC9qS\nwzXb7GLv+O2pbgJBnj7xVap2qOmjGmWXK9F9YYGfGiuTBz5zZi2QsqO5onwG\nhQrBDB5dB1RXE66kfY1EIVuemhWHGjlO/q7sF/lZr7/CBt+/SqWJiDyC5wbZ\npK/vhG8tVh3sKOzojWVwSWmcVatpsvid42IysvhTxB1e6XthoBF2T9OwM2B8\nvGMsKIccMHtDrsDu3aNH64v5T916l3e8YbbyIdbYrXUTpRYPZZmlHDj+9yWp\n30z73HdvLXcXbFe2RXFRs/1EItAl2lE9MJlh6Hrgu/VdVcF9+5htjNdSn1cY\n3rG7SjDe2yPSBuqykZVh4d/W0Bic3wINE/1zI4fsjdX/j622plIvYwE2hq9Y\n/UlGf3DBDsLgAscSx8HvLOXKZKpoDLzAxCA8vXmhPpSNXPbFpW5F5iXeZLSz\ngus6U3a/v5FEyDzYYR3EmqZgvrDTPo+SVdf1p2QKrW7LrRtgPN0P1C1k7zFK\nRsVo\r\n=StSs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFz2e9AjISfjLD9OoWh9xKzOLf1KYnrkg1nXymp7AdkOAiEA8t9AN7BGHXpXSNxZV2TvEC83NxSmolrkuDmCwLsKz7s="}]},"maintainers":[{"name":"briandunn","email":"brian@theophil.us"}],"_npmUser":{"name":"briandunn","email":"brian@theophil.us"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-swifi-flocam2_1.0.1-beta.0_1592072513464_0.8045662708495689"},"_hasShrinkwrap":false},"1.0.2":{"public":true,"displayName":"Swann Floodlight","name":"@briandunn/homebridge-swifi-flocam2","version":"1.0.2","description":"A light accessory for the Swann floodlight","license":"Apache-2.0","repository":{"type":"git","url":"git://github.com/briandunn/homebridge-swifi-flocam2.git"},"bugs":{"url":"https://github.com/briandunn/homebridge-swifi-flocam2/issues"},"engines":{"node":">=10.17.0","homebridge":">0.4.53"},"main":"dist/index.js","scripts":{"lint":"eslint src/**.ts","watch":"npm run build && npm link && nodemon","build":"rimraf ./dist && tsc","prepublishOnly":"npm run lint && npm run build","debug":"npm run build && npm link && homebridge"},"keywords":["homebridge-plugin"],"dependencies":{},"devDependencies":{"@types/node":"^14.0.11","@typescript-eslint/eslint-plugin":"^3.1.0","@typescript-eslint/parser":"^3.1.0","eslint":"^7.2.0","homebridge":"^1.1.0","nodemon":"^2.0.4","rimraf":"^3.0.2","ts-node":"^8.10.2","typescript":"^3.9.5"},"gitHead":"c6c41d8c0aadb93aa8425c4147935a9c795d7ec8","homepage":"https://github.com/briandunn/homebridge-swifi-flocam2#readme","_id":"@briandunn/homebridge-swifi-flocam2@1.0.2","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-MjXd5+7hZNNRP6hdokRWJGS3A0ELHq0iRyMQLpqmDVmTmwuVIiJ6t0BIeD+cnwt2EvvypvQR+W8qg3MgNlfmIw==","shasum":"d5ecf539dbf379ee9780c56a7b57209b52a6a983","tarball":"https://registry.npmjs.org/@briandunn/homebridge-swifi-flocam2/-/homebridge-swifi-flocam2-1.0.2.tgz","fileCount":25,"unpackedSize":42975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6mr3CRA9TVsSAnZWagAA7foQAJ/m2IfNtR17IfL60rbF\nSL/e0gIdbM8VT+Z0itrCJPUpuYeg11gLTvAI3AIsjKPVWjr1Bb3S8XooB0b0\noE1B41IetDMRrWoT2ZspOATXQJAB5tWtDRj4dKbIkHOlX3QRlKmo2aS/8dKn\nIXV6JDfXpBHIJLPq2H2hTdXFgCA2s83sucXhkY0d+YOXjeCX6ezQruNk9g76\nxBQ8V8yeNZ3ZRAkKYukd8JrrPzZt6AKLk6ejjIOBpTArtFsrwHC1b44ZyLFV\nChL9y3Tt1K8ToC75fTV69leOImT9HbGbtbRHzOIi8RrHibYug8DoG/sLZ2UC\npobTS4LED285gqIpVrmclTy9SvXLWf1jmta+nheEH2dSmEEqf8HwtjSM2+VO\n85xDk00LS9oHkTb66N0veyuOZIp4JGkgpopDQaMwiSPkCH3bc+6MWCeHYiYE\n7bT9q+f/9IFDpC1CO6FxHJCvKBSyrdvPexckThf2lSkKB2eSHxy5R+PhalfR\nJ9aLtYvXBm8m6CYXwEJww9mHt91GLsAJcJJqCcoBLjytRvmLbSiycJzAbW7a\nkYFlxxfYr30SRxScmBKVL0NVRiUa+4pERVp1q74xk98uZE99N6mv/Yxq2h2e\nhWNyV9/hs0MuM/wmW9eEVIjtPrWf1XbUkG2bUizFN0E47h1T3A13LQa6KLtc\nHbK0\r\n=vEmK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHLdqWTgUNE61rLTGHOm4SfIZ2k03SJ74mJmV3vi5lMDAiBOM6UcJFwTkOgyjPu+33gk/Fy6B1XbH8DcimK17WVS9g=="}]},"maintainers":[{"name":"briandunn","email":"brian@theophil.us"}],"_npmUser":{"name":"briandunn","email":"brian@theophil.us"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-swifi-flocam2_1.0.2_1592421110960_0.5091280550681763"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-13T18:21:53.431Z","1.0.1-beta.0":"2020-06-13T18:21:53.592Z","modified":"2022-04-04T20:31:59.164Z","1.0.2":"2020-06-17T19:11:51.072Z"},"maintainers":[{"name":"briandunn","email":"brian@theophil.us"}],"description":"A light accessory for the Swann floodlight","homepage":"https://github.com/briandunn/homebridge-swifi-flocam2#readme","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git://github.com/briandunn/homebridge-swifi-flocam2.git"},"bugs":{"url":"https://github.com/briandunn/homebridge-swifi-flocam2/issues"},"license":"Apache-2.0","readme":"<p align=\"center\">\n\n<img src=\"https://github.com/homebridge/branding/raw/master/logos/homebridge-wordmark-logo-vertical.png\" width=\"150\">\n\n</p>\n\n# Swann Floodlight\n\nControl the floodlight on [Swann Floodlight Security Cameras](https://www.swann.com/us/swwhd-flocamw).\n\n## Install\n\n- Add the camera via the swann app\n- Configure your router's DHCP to allocate a known IP to the camera\n\n## Configuration\n\nAdd this to the `platforms` list:\n\n```json\n{\n  \"platform\": \"SwifiFlocam2\",\n  \"devices\": [\n    {\n      \"name\": \"back yard\",\n      \"host\": \"<Camera IP>\",\n      \"port\": 85\n    }\n  ]\n}\n```\n\n## Troubleshooting\n\nI only have one of these, so I don't know if they always use port 85 for the HTTP server. If you're getting errors in the homebridge log, you can spy on the app to find out what port it's using.\n\nI used `rvictl` with wireshark on my mac. (These helpful instructions](https://github.com/AMoo-Miki/homebridge-tuya-lan/wiki/Common-Problems#want-to-help-debug-and-have-a-mac) should get you started.\nOnce you're spying on phone traffic, filter to the IP of your camera. Play around with the app controls and see what happens. If you learn something please open an issue on this repo.\n\n## Video Feed\n\n(Homebridge Camera FFmpeg)[https://www.npmjs.com/package/homebridge-camera-ffmpeg] works for the camera with the following config:\n\n```json\n{\n  \"cameras\": [\n    {\n      \"name\": \"back yard\",\n      \"motion\": true,\n      \"videoConfig\": {\n        \"source\": \"-re -i rtsp://10.0.1.30:554/mpeg4\",\n        \"audio\": true\n      }\n    }\n  ],\n  \"platform\": \"Camera-ffmpeg\"\n}\n```\n\n## TODO\n\n[] Poll (or subscribe?) to update light state when activated elsewhere (app or motion sensor)\n[] Discovery?\n","readmeFilename":"README.md"}