{"_id":"wemo","_rev":"35-3c202ef9a28053dc0a8753a74a66f116","name":"wemo","description":"WeMo client","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"wemo","version":"0.0.1","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{},"_id":"wemo@0.0.1","description":"WeMo client","dist":{"shasum":"c46fab6729016da34a15998965e81c5562e4f367","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.0.1.tgz","integrity":"sha512-glSbM8En8vNZk3yfFP0dtagdBbAHBnUI9VK1tz9gsD8L3qE/KzV3GzzezQ7oWrfayQMyTqiTT1Ajb0Cwiv0Fbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID5Wp/qpW4+QG6s17dx5Tt0hxom/N7huGi03Ita9buzpAiEAgHIGLYmozHkjyA0hnUWcjZjVAvxbBhzOUZySEbr3ZAw="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.0.2":{"name":"wemo","version":"0.0.2","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{},"_id":"wemo@0.0.2","description":"WeMo client","dist":{"shasum":"a839e6a0198add59827598e5d592453480d21e6a","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.0.2.tgz","integrity":"sha512-oUQBlfdYgpG0mu9LSiSTSjLQ32v+yFmszWAAosRoDftv3t7BT3jefWPywxCRW4CBYXi38AbeGwxS1Z9PhOEmuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHihDmfg6ghcaPGZtCznkDdvmVKWuXuTr6gjWKgWavv7AiAUa82uoM2dlM5aipx4dfrq18UGyYw9GkF0sRguwobj6w=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.0.3":{"name":"wemo","version":"0.0.3","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{},"_id":"wemo@0.0.3","description":"WeMo client","dist":{"shasum":"19ad8fd1f5fbbb3c85ce7d771e4f8c1b7972470a","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.0.3.tgz","integrity":"sha512-8vZlUyBQfuP5u6vm/3n/H5q9/vGbB1i5lLJlJSXmGvfYudgp9gLk1QIElmjbDqEGJpy8cky5MeTBDPLjcf83XA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVFcQJx+cgn/QFakV9DJTNU3AC1jGDa3XDqYjTCoKccAiBN26C+oPZP3NWq5e7QkfXlDQFw3rzJ1ZEH4/j80fzWNg=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.0.4":{"name":"wemo","version":"0.0.4","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{},"_id":"wemo@0.0.4","description":"WeMo client","dist":{"shasum":"a34c4fcaf0b66dda62fd96b951c47eb1361d872e","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.0.4.tgz","integrity":"sha512-HO1+XPgt8TLfRU9SBlHz+/limzWOXC5L3ntb5XZrpUdpftNJ/avish84G8/NXKjPW625yXF5d/4O8ItHZxvMHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3twagRH57dePvaIwYbfjgiee6MJjGEGTGsZaJwwdvVQIhAOmvqR5qJwcoJF6/GqzFlV5e9io0DUyoOYHRSIhAu4kr"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.0.6":{"name":"wemo","version":"0.0.6","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{"node-ssdp":"*"},"_id":"wemo@0.0.6","description":"WeMo client","dist":{"shasum":"41dbdb7dc80dcc1bf71adcd886e5f53426969bcf","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.0.6.tgz","integrity":"sha512-7xHIJnOdsdWAFrtF5UadF2E9D0HR+VOGZyGlNQKcIbIJrFDADagnTmJ1JS6oxH1I1pewpSy2WAjulAPmctnIiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU7oYrHQ7vK3e10RmxNZcJ+Bcc5M8pPJjlAO4KwsjFjwIgI8+e2XwTG9Bau/64HMcStCCWQ37c2lUN+yPaM+owCSU="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.0.7":{"name":"wemo","version":"0.0.7","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{"node-ssdp":"*","request":"*","xml2js":"*"},"_id":"wemo@0.0.7","description":"WeMo client","dist":{"shasum":"fc2e971814f641a42b9b691984000c25d031cabf","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.0.7.tgz","integrity":"sha512-yt73BdC9jC3qfkUujY7flyEfvXN+UvJTibFu/uYBM7UeW8da7PqpSOM9pCuL0YxZ/DRhK4eJHCoJvfx3j2Eyyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEadZQU3A9cmo4A5gAcafiXhJE6OB7UeQIrUAXcKuHASAiEAqc8I1aQWEaXmxGr7VdRMOMCw1MNjCFVRJW6FGrfa93o="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.0.8":{"name":"wemo","version":"0.0.8","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{"node-ssdp":"*","request":"*","xml2js":"*"},"_id":"wemo@0.0.8","description":"WeMo client","dist":{"shasum":"1408601dc4f036b1f08b8efb423949a33f5af44b","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.0.8.tgz","integrity":"sha512-aIPEt9QrnLqi7RoH5Qtd5vOlxcPdrr1ngZVJT2PcMGuUJ3caGHaNSsBAoJo8qVVdr47lGGgD63ScQ0vhIb0MVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEEIPXS8zOjEFBXyxg4KU1kfUIMttnujvBjJCKrT2MzAiEA/OqnIs2siogvI3/G+/rhoFqSp40BPazYOuEELsAlKss="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.0.9":{"name":"wemo","version":"0.0.9","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{"node-ssdp":"*","request":"*","xml2js":"*"},"_id":"wemo@0.0.9","description":"WeMo client","dist":{"shasum":"2ee8b6ad5eae88d72b1c3f60b3d58e64efc119a7","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.0.9.tgz","integrity":"sha512-LKC0lhzRkje7WuYASnhS0OaLsz81SxJauMbOxL0s5OukNeudYO8e7+aLAB28ftIKvq08DOKVkTtaKgs9im5/Hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpR6oK56RRlCuAb+v2hFv884FfD6uAx9fc4ZJRjMzEpAIgXSM+EJXrGoZCLWgBSx/PEBA+PC3KEDXJoyIq8+gTgr8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.1.0":{"name":"wemo","version":"0.1.0","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{"node-ssdp":"*","request":"*","xml2js":"*"},"_id":"wemo@0.1.0","description":"WeMo client","dist":{"shasum":"eccc371e516c59554dab8264b281363072d6ad00","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.1.0.tgz","integrity":"sha512-x/0AG5lHSNfTfzsrhrdFH1wpfPKhoRtuv5pcYZrQF52d5NqZtJbR8hzatVMjW/VgYczNvv0SmrY2PWycbrpjOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0I29o3XeGZ7Jdh6kwry/4bb+KMBxsqtT+etahk5tQPAiARk0hEM4cPzZ5KCW2jHzdRjFjDRt2LOJKFGze3d1QUZQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.1.1":{"name":"wemo","version":"0.1.1","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{"node-ssdp":"0.2.1","request":"*","xml2js":"*"},"description":"WeMo client","_id":"wemo@0.1.1","dist":{"shasum":"7c9dde3091cb0b806fa678b580a9e399cd412246","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.1.1.tgz","integrity":"sha512-N/JxfJLTXyhTeXr7XyYaA59W4N/tztWPY5bSrSCOIxVFY27NP1zIBZ2CYZPm+JZ0JtrysT9ZIxyZuVfnZp5pqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCrLgwSASf2R/mCsufnUEBJBf5CeuCgwFjemHQDSA9aAiAIwCWKSs8lM/PehtcHytO82Bpi3qEKU9KI3w5RMoZjWA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}]},"0.2.0":{"name":"wemo","version":"0.2.0","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{"node-ssdp":"^2.0.1","request":"^2.51.0","xml2js":"^0.4.4"},"description":"WeMo client","gitHead":"9ebba7eb527489b384d6f251acd12acd7e717e0a","_id":"wemo@0.2.0","scripts":{},"_shasum":"7955a45265dd9b152a45ac22569465641594e293","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}],"dist":{"shasum":"7955a45265dd9b152a45ac22569465641594e293","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.2.0.tgz","integrity":"sha512-ZooHJZ2o95yMQtDRmQclj0jlOQCgSLuFbo1xvFaye1D6b0Eum2Aw8uSya2kD2DRdQM2hwYghX2fFVib25TXhlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGnxYBgvp6Dtrtmj3hgTly1clTHouDlZIOLn51BcssRAiEAhdDhrXa7SufCjFffqfej8HnRR8GF8KLIRxav1thJWCg="}]}},"0.2.1":{"name":"wemo","version":"0.2.1","author":{"name":"hecomi","email":"info@hecomi.com"},"main":"wemo","dependencies":{"node-ssdp":"^2.0.1","request":"^2.51.0","xml2js":"^0.4.4"},"description":"WeMo client","gitHead":"9b28f3d9909393584f0b6389a753871e8258d49f","_id":"wemo@0.2.1","scripts":{},"_shasum":"47aaec64f0014721c9d8a345074b2a39c78b8295","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"hecomi","email":"info@hecomi.com"},"maintainers":[{"name":"hecomi","email":"info@hecomi.com"}],"dist":{"shasum":"47aaec64f0014721c9d8a345074b2a39c78b8295","tarball":"https://registry.npmjs.org/wemo/-/wemo-0.2.1.tgz","integrity":"sha512-pLSAYSjrdm96RtLszV5jwyoHErjTXXLvwPjqsRXKbHm/dKKiIncKxc4zDwVYZiYjhJyZvGClUqLE+xZQ8gqXjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkT1lPOabiA1VSUHNycdNKZS4/HLrqaIeaVUF4HJMP4QIgIGJ3oyl+g8cevta4EMN+EbkHJ5FiVRdWPSCh+hP+MiI="}]}}},"readme":"WeMo client library for Node.js\n===============================\n\nこれは何？\n----------\nBelkin 社の **WeMo Switch / Motion** を操作する Node.js 用モジュールです。\n\nインストール\n------------\n\t$ npm install wemo\n\n使い方\n------\n以下のように `getBinaryState` / `setBinaryState` で操作出来ます。\n\n```javascript\nvar WeMo = new require('wemo')\nvar wemoSwitch = new WeMo('192.168.0.16', 49154);\nwemoSwitch.setBinaryState(1, function(err, result) { // switch on\n\tif (err) console.error(err);\n\tconsole.log(result); // 1\n\twemoSwitch.getBinaryState(function(err, result) {\n\t\tif (err) console.error(err);\n\t\tconsole.log(result); // 1\n\t});\n});\n```\nWeMo Motion は `getBinaryState` のみ可能です。\n\n家にある WeMo の検索には `Search` を使います。\n\n```javascript\nvar WeMo = require('../wemo');\n\nvar client = WeMo.Search();\nclient.on('found', function(device) {\n\tconsole.log(device);\n\tsetTimeout(function() {\n\t\tclient.exit();\n\t}, 3000);\n});\n```\n\nアプリから設定した Friendly Name で検索することも可能です。\n\n```javascript\nvar WeMo = require('wemo');\n\nWeMo.Search('Hecomi WeMo Switch 1', function(err, device) {\n\tvar wemoSwitch = new WeMo(device.ip, device.port);\n\t...\n});\n```\n\nその他サンプルは `./test` 以下をご覧ください。\n\nLICENSE\n-------\nCopyright (c) 2014 hecomi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","maintainers":[{"name":"hecomi","email":"info@hecomi.com"}],"time":{"modified":"2022-06-29T01:05:49.149Z","created":"2013-02-02T16:48:34.597Z","0.0.1":"2013-02-02T16:48:36.606Z","0.0.2":"2013-10-12T17:17:27.360Z","0.0.3":"2014-02-11T03:13:02.198Z","0.0.4":"2014-02-11T05:38:31.632Z","0.0.6":"2014-02-18T17:20:54.728Z","0.0.7":"2014-02-19T16:02:06.791Z","0.0.8":"2014-02-20T14:33:02.479Z","0.0.9":"2014-02-21T16:46:38.352Z","0.1.0":"2014-02-23T10:00:52.005Z","0.1.1":"2014-08-09T17:29:53.314Z","0.2.0":"2015-01-27T16:14:43.843Z","0.2.1":"2015-05-07T17:09:07.042Z"},"author":{"name":"hecomi","email":"info@hecomi.com"},"readmeFilename":"README.md","users":{"tfmnode":true}}