{"_id":"homebridge-bravia-tvos","_rev":"73-bce688bdbda934377b846e862ee16e1f","name":"homebridge-bravia-tvos","dist-tags":{"latest":"5.0.8","beta":"5.0.8-beta.4"},"versions":{"1.0.0":{"name":"homebridge-bravia-tvos","version":"1.0.0","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android","tv","tvos"],"engines":{"node":"^8.9.1","homebridge":"^0.4.38"},"dependencies":{"node-persist":"0.0.8"},"gitHead":"ced7b1c97742fb1f430b7829a1cbd0e27eda162d","_id":"homebridge-bravia-tvos@1.0.0","_nodeVersion":"9.11.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-qiw68y2YjTUIhylXwjuAn8DFRFwfWgP2hNh4W3aQ4pHApJaESlkokXxhk36TBPfi6GMuSOLf6YjNv+K7CmnIpg==","shasum":"e70d70a6ab5063a88764f099c3f17f8d646c03bd","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-1.0.0.tgz","fileCount":5,"unpackedSize":31915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUm4ECRA9TVsSAnZWagAA5+gP/RqY+KTNiHgVi/Xh+La8\nbfK4mlFSTBcXYyZbMO9SWaMSN5bTnRdelDmVA/MYJzMdv/lg+JcdOHiK8ORT\nhOcYzyHIfkZKcsZWfrk5RVxVTvHxWINasuNQG9GvJ7AfejYFqoDxhs/n1tlv\n9BaYt/O3zYjm7D46pFeQs7o+NGcnN06ZFdXqWNBXxpD7sM//evbLv7Bl5yNG\nCjEFi0U59n1XN2I71JgKcuvVXdeVtj21VFbNA75IJqH/FJXBbphIbcs6vWUE\nQnSFSP+1loIbteQOkCeP+T0Hw0iXNu1kYYg5298qeTn32zkjm7pwZ0p/6iZP\nZESloOgD+pc3Pw2uEXbHZn34LxzyvzZ89i8sdih32awZcczXTsuik+fmD2oh\nnQU6K9olatUQyRnUnuIzI1wY8Fp0IIdPHzBuaUsW/t96knfmTmXxDss7gKhm\n8Z/qbvo1ERDrSN9TfS7KPRytHXWVtSZan3OOgMD2cPyVzmMClxjcC6uRMNOF\n+pz3xnOT/uJ6uR/xMUoMiegEc39wwU1svzAbHQth8GX0UVWora6doZ0TwJoz\nE4P0DdmpVZirI7FNihxMsalHqXo9LFHSkhb8ocTwlKhmS7MiVI8UcEX/5JrK\n8u0FkBB4UsrXZCdSYSB3ENy/FnVOVwKUZnLVZrkU1LXWkHM6VU5RYVCir6q3\nT5in\r\n=a/r8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYsqxNTHBQ5T0VpTWTDIcDbReCOC1QFIjkSFPiQJR6DwIhALklc92AKIajSa8vqfQeqQAKb04TzKiCILT+SUcTRDCB"}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_1.0.0_1548905987730_0.025178609947018593"},"_hasShrinkwrap":false},"1.1.0":{"name":"homebridge-bravia-tvos","version":"1.1.0","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android","tv","tvos"],"engines":{"node":"^8.9.1","homebridge":"^0.4.38"},"dependencies":{"node-persist":"0.0.8"},"gitHead":"87f0c844e9d93819f10bab2eca9d820f2cdc2241","_id":"homebridge-bravia-tvos@1.1.0","_nodeVersion":"9.11.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-GlngkOLLXyhgZX3dBA/WjsVmSsViIXaHOUB2NrmtgQkxrNjPeZKh+ldQqULwyYdrJd8VEg7r408Xd/AV3kneSw==","shasum":"4a0bcdb750e1667fb37a673546ced6158b157618","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-1.1.0.tgz","fileCount":5,"unpackedSize":36620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU734CRA9TVsSAnZWagAArfUP/ia166JmqDZxjrT2ISab\n7myPrjWNppvq4w8+0PM8f6LRNVtK7YwhD3SASErg1ziaGbnty2zqVeRwfYTx\n5yVaZ1s9K+YQNU+JbCGaJmJ544OKY6QJ7ZIntbzpmNbWzR6NLK2vC7Zjy2oR\nSP37lEc+ZyL4owDOceOXQd+0lTpUGTWIxK7LLI5TVRL4jxiEISQJvSI746yd\nrStTMq4URjOkhX7gOxPDDznSUtZXnJPfSMo4/x5RkKNpWwGlrapjoZ1XygvX\nHwoLO+1deUHoOWiaD8v1ICStJOlvfdR0fgZ5hYCCdZ4mGQf+cy+3lT3yfnXW\njm0v9/dYk5UMa7N2v2kXwBu0CS7QhIBVAFoyoE4GTFu2l4dg1pCJlUtfLpNx\nIFiTMOrMGxnLq12XG/TMhH7fE6LnqIjnaVNdP7du6x1QF5Bwha4i8ALjhhnI\nSfvZhU0kYWaDaJJAg0Zfb4GYzlfK3Glm3UoYl2n9kGGT0ccY88agD4lTq4xH\ngb0yjVYLXFYq8JtWbQ+bVL4aTbAULWkqCtnUJzmCTFs2DeX0snsUOiA9SOSw\npRX8yfKUBBoND/TH+jpxr79ochbLC8yr/pT3c5wJjIY8fJCOiAMRL7CjmUBd\n3EEJ3ht4GTjx8nTWw2Pzo76Bh3U+m/ZZGkkBRiBjRQKtugavLrS5rHa9xwEZ\nu0OW\r\n=7XrW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/SEFY1bETpKZiLZDuTUUPKVkktXoAoP/ow0MyJxM3yAiEAgrEj9IET0MdNa6qFGH9R9z4QCz4cPCUKU5bTanTWOUE="}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_1.1.0_1548991992258_0.1084196020371182"},"_hasShrinkwrap":false},"1.1.1":{"name":"homebridge-bravia-tvos","version":"1.1.1","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android","tv","tvos"],"engines":{"node":"^8.9.1","homebridge":"^0.4.38"},"dependencies":{"node-persist":"0.0.8"},"gitHead":"0441db1c5b16f3ba9691d81ddc7c0bbff2b8b429","_id":"homebridge-bravia-tvos@1.1.1","_nodeVersion":"9.11.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-RLdil/5v/Ez13uzmynAbZzzJbIj7sOrMdcHKcwqUVNu1ygNHOVkt7ZRyXcLq8r8rpxU6v2XtusIuJ+4+OS01qA==","shasum":"3eabc1a119fa040b706d7ae98e074c6dcfc6f3b8","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-1.1.1.tgz","fileCount":5,"unpackedSize":37887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU82kCRA9TVsSAnZWagAA8z0QAJHiUhjjLLiHt4+C3bb6\nTehC9jr80M9WqBDPKRYQQTCzlcRllutIb7opm++q9Nouab0Rtd3ncRnqNzbx\nByHxlHezbHEuP9SE0qrfAPMGlBcW0+gWs6ZdoQf21UPpFnwXCHCJC0Wo0Rdw\nBu7JeR3fTX5PMEkXi63uAntlkGmzU+UFqgiJ7PeST/W74aVRr4aad3S1Gv/u\n7bS4yK0xRYkWAiUAQT/HGmZUu+5JYCKmLTQeBi4s/xj3GymPwCGUMdw8Visr\nqcFFwx49RUgF/Qi3GGafOet3vk65febcr2dqsBnZd1D9H3nM9ug52C979dTx\nlDKOVh6b0ofW90Qvx53RwdfLH95ddEH8BrgBqX1AeZbh9oDKkNTSjtkzEGLX\ns8S/TiuOutIs7ffu7o8iw6zBuxCR5Bp+W3wkkpfE1ruv4vCjolFWsriBr0W/\nx9glKfZrAPWx6lI8fJjZ9l9K5Dby5Lcm9VZdSqp6sGqVbhTJai1rX7Cl5jLt\n59T4SjQkMbiIGsYBc1eH192UUIgPBjABlcBGugvrNZxFG4cEgnIR3tCmLdd0\ndkmB9/z2qPVckWfZmpw7kAB5kmaJYfS9rFlc+oYwYWbVCBOQBY487cNUSh0U\n4OxGJrducnPIsR9G0QFxa93IZzNdiGUOdU22qO/fldh1FZKEkB3PoCAsH8ih\nKyOr\r\n=J165\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDql1F4zphpVivsSGdnRpQZaALbsBu3ldG91jEcz3qiQIgCz3wQlhI0m9a4QUPyEqd4Suae7132dK6I581PGnFtzA="}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_1.1.1_1548996003569_0.4873943637158411"},"_hasShrinkwrap":false},"2.0.0":{"name":"homebridge-bravia-tvos","version":"2.0.0","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^8.9.1","homebridge":"^0.4.38"},"dependencies":{"node-persist":"0.0.8","async":"2.6.0"},"gitHead":"6ea2e0897125779bfcccf3f12fcdb3da4a3dd886","_id":"homebridge-bravia-tvos@2.0.0","_nodeVersion":"9.11.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-F/iQiBlEMFF8Zp1iNlMBSZc7HteXVp0gF7K/zo8Ezj30pdcvLgYKmThaS8S3TNAcLcf7wBW+uABKPlaCVTwMdA==","shasum":"6c51092bf3d8b7ef77aaaecfa5b123628d461ebe","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-2.0.0.tgz","fileCount":9,"unpackedSize":75952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXlrnCRA9TVsSAnZWagAAxCcP+QDlIWKpBMloPmoOcQXm\n0Z/UMTbHjInAXubG9Slq3UJgG3cOLTbr0b6NguATgp/eTuS7NgH33nlBGxdO\ntplaY9BvkG+r4Dk5D6GdRvh/vNUpVoP96SBCJmnGuEz68ZpDsF/uZEfsmt4A\nmJfn+9La4XrOr4yOEvjimIpSnGsO7TCuxLtzJvEjRT5A7st+kME76JGexkwc\nyugYpSPzxaJiRdnXG1HJkfI3sldinJUV55zDBVhunKo5AD546GGl5svJ64WG\nFjPPy/yQYO+F7jY4gfRE/XdUQrITVlCxuIuPRVVJnumW49/rjMfi3XPb2nJb\nDJZZ27yX6bbCgleysP72G1SQPwTAxqalEvEhBkagby0KAJZgCt0tN7s7wnZd\nYZKIkEBkY2Yz4lhyPBumWKbZyEpWO4Nmw/x4e6Zu749GLYe0ETuzTGb4FW9Y\nQRkQvYQfx6edyHKLsH4ZhxQo4tPwzmiiYo9KrbIu66H2uCDwyumWGrjh8Icm\nCAUhsHrMTdYxBdxbgKhhvjHmI0rG+6Oj4caW/MfJcHVFk+GRwWbELMnbvpai\nfWT9By9qBZL6sltiDsDQzM/TnN+dIMBFuQlr3txJMwNo43srPXrVyW+WnIoR\nji6XIofGwSneZUHuIaPzx+e8LiNOULGpxFZT8zZ+CqNmR9yCFQHqP2iKWIGq\nOhzA\r\n=z9KU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMD9OND2xlqOsZ0ra/h+ByQqZYA8HUYx9DcAn9uTQVZAiEAoFxcbCLhM916pqhL6ziCeViHZveoRcV9/pEUJTlia9o="}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_2.0.0_1549687526554_0.677409692057501"},"_hasShrinkwrap":false},"3.0.0":{"name":"homebridge-bravia-tvos","version":"3.0.0","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^8.9.1","homebridge":"^0.4.48"},"dependencies":{"axios":"^0.18.0","debug":"^4.1.1","wake_on_lan":"^1.0.0","tcp-ping":"^0.1.1","json-fs-store":"^1.0.1","base-64":"^0.1.0"},"gitHead":"4b51fb469ffcd165cf1dbd6b92be06756071d07b","_id":"homebridge-bravia-tvos@3.0.0","_nodeVersion":"9.11.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ihktEOoco/ILLBikl/q14RFVFjYh+mZKorWfuI2TM0InzObzXpxKwRsHcGGAg86XVPYOi+rgnTjOPOCxsWzEeQ==","shasum":"a672e2879f4d42bd884a45fe52a6510628470fbe","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-3.0.0.tgz","fileCount":14,"unpackedSize":86372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwCEPCRA9TVsSAnZWagAAf+gP/1wj/5FSvSUzx1FgKvTO\ngSXZVMjYrO7yC3Hb0pijiI66XKJ1+6OW2bUlEGrEfAFeEsL+slw6/jr9ftEi\nYnjd2e/9wfXG91XZ1qRVNSifCzlMUcV6zmLeo3JJP7i4RpCsLgzUh4/Wb4B3\ncWfieYpNGBWu8b4CllbtMptQoymyjJliWqry3wqhkwAVRaLMY640A/VihbRi\nrKap+3Tn6Jc2ADQ4wAwqdXLo0YuRL/bC7yTZX3eg7BGmg11SXoj3VH5ykI7w\nVGG3dzkFq2L1ePadTIP8pl9Cq/uDgQPWJbACjsObyTDz345A9sMB8ut5MNsf\nHrKNr82VyPHJR9QhmvvLs1TnonKZpsrOgG3rWWmwMKv634B7PSgwCO0NfsH0\nwLky3GHVUT0EzuRdQVKJ1hpf/9rnFRK21Y8Lqjc5AVfPr2M5Lcc25l6XCto+\n3SMQ3XinoLyOl+AWk2m5sLHeiZC1MaemKY13Q3oUKx6lk+Din6j+a0pj2smL\n7WhxxXzy4gvav3uRMTJreQY+16kLRkAcTo2LOyCBZHiHBLwKUGBnzIJDz+b/\n3m7NPJSzzslGC8y/Mp2IGEHWTy9mnIS/hJMUE+zboqLOCyrWTCvJ3r4YoVh8\ndACOMgNyTxCBnixQ4PeuILPKQqSmeUaDRmGyb/psnmKTLtbZxHDeheW+ngIw\n+grD\r\n=bsww\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDzUVGy8gHJuHHYYYstSbJanZSOvf5O5kFLCN+Ws4nIAIhAJXgy5MlI2Pc50zzgjHkjcUZh1rrKiIUXd437TJXfONo"}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_3.0.0_1556095246361_0.7539074265019017"},"_hasShrinkwrap":false},"3.0.1":{"name":"homebridge-bravia-tvos","version":"3.0.1","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^8.9.1","homebridge":"^0.4.48"},"dependencies":{"axios":"^0.18.0","debug":"^4.1.1","wake_on_lan":"^1.0.0","tcp-ping":"^0.1.1","json-fs-store":"^1.0.1","base-64":"^0.1.0"},"gitHead":"285298043f79eccc8c64a31be68e94c958c8eb53","_id":"homebridge-bravia-tvos@3.0.1","_nodeVersion":"9.11.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-dbUWBghqEDjcB2nMFtx9hd/VKpMi7Vzj0lOXd+qftjfxMdaOSl+IhHdBdfREymyyH3PTLd6JAedzXyw2L3OsKQ==","shasum":"337ad4ae76ebd718bf5c45263ce8f33b212d9a4e","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-3.0.1.tgz","fileCount":14,"unpackedSize":86530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx2ziCRA9TVsSAnZWagAAMrEP/2a/JZI+d7ImY07yxd7H\nfD9/gJm0wFuwApakV/7ahF2tPuQyqZyjHgUYANto83V/7o65EoLgfFGU3AhH\nrl+afOuS2C3oadTdEh8mWiza3XUys0bZt+uUQYiLCR8puzHoebVWV0AVhgqb\nk+a/EY28/bGR/avts3M+ZFtwW+vvm4NSWCVmJ+HOB5xeYV9rvJrkVzgx718+\nZZS8DeoTXneaANTYX6X+K0uCvjPZP2qzAhcAeX+Rlc70EXIxqV0Hf7rZyJc0\nlKvr84i0lHMae7BOPiOQFArwY7xBf2bEW54DDOZUUdqBf8SIAjqwIAtMBU6q\nYcUUyDPMuZNJWB56H5J0FzRfHLUQyGcp8Vzav2Suzhv/vQxL05Ng0BvNNm03\n9e4N55g/g7I7N+Cb4Cm6j9DKvT4Yamv3oo6duCrzButm7xX5WcF8bLoaavn5\ngdC3NHXfhwi/aYj0q89yOvokxbNRRMJcM2gVxyYdZeGcTb7Z4y/+n1/xgrUM\nz2CqoJLvatTLDUiiw6lOa1TENrEssFdkOK+zPWyBV1OKbmQ7Fx9DPYx8uh8C\nmC5P3mc+JOXXPbG+4GKzfHaWckKjFuX7nQjQZWLY4+ko4RltCr4c3MruckZg\nrUArthd2DiFjstadxp+umqF56wf03qKqZ5oOG+W4gO+pGHFtZSV9uvBps0TW\n2yoS\r\n=DYMY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEzok7biB6gjDqJgkhk3YIK1qiKVqMcY+zS4syLVeDR8AiA0LBKTtoo8VEjPFj5wclr6g1AoffApQlOaNA7z+a+GrQ=="}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_3.0.1_1556573409366_0.3006684518533258"},"_hasShrinkwrap":false},"3.0.2":{"name":"homebridge-bravia-tvos","version":"3.0.2","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^8.9.1","homebridge":"^0.4.48"},"dependencies":{"axios":"^0.18.0","debug":"^4.1.1","wake_on_lan":"^1.0.0","tcp-ping":"^0.1.1","json-fs-store":"^1.0.1","base-64":"^0.1.0"},"gitHead":"f6348e24af06abf7cd26e20f80752dbeae2f53ba","_id":"homebridge-bravia-tvos@3.0.2","_nodeVersion":"9.11.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-SMfxbBXwPfdSRTKJ4+57svF1YiuhDUEYULorHrwL1lmnGJlPxBgjxQttFDJmAOUvqPAo1GV07wpv+0dTveAKog==","shasum":"1c226fe2ed5859c6d74561c555e58e1cbfe4e772","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-3.0.2.tgz","fileCount":14,"unpackedSize":86214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx55mCRA9TVsSAnZWagAAPnYP/Ay2lQoQNDCYiXcIc/Jx\nMYf7UiRXxiO4rQBNHDoSo0wui2Bpgo00wW6VaDsyG9SvH1A7BqTUt5QaOF9t\nuIcQreN2PHLGW5M9qmKgPDPU98qxj1sxbeYaj03/ARgDx+e+tg7IQds9ocdS\nK8M8qm1O+yixnmEHeirDzmz0ZSSxkYE4GUeUt+gulq/Dbi1FXqq0gKKwEAzh\nDi8b9GLjn81s4+Km3b+oMEjff/D5d2SB9OZDAglZdKKLc2BhicJ/G137LDly\njSs/3rqFqVl+GhnnQTp44lA/Kk40w1AKnoGSnymysH3fJgAgAESDkRt/Lhqh\niSNBO2qmK9jMumB6AIrhKAkVBBfOKLgGRR2hCJydsUOyEZ98lShfb6Q9Y8JM\nXidSTRxKlAK/zl+BVVe4ZXq24JdsWY/HE0xIm/WR5MDoOWhuYuhCEmbBRaji\nRTzFRbnFClzT9loki+NgFXAUpuCcmFsZejS21c3uUBBlsNrUv31vO3YOSuEL\nBFXxGs09AEwft9/OhWkMmy1mAwIDa95EqqrzIvTe7wD1RBrUlpKXhTEZYasr\nqUqt75iH3LbPu/a9BzHJ2DuI5MmTiR7bRWzg3+Rxq8A7S7+qXCh9GSnzazll\nqYnpVluXE7qwVsxk9E/vDk3X5H328kisXSbZvNUnWLXoD5pi9SMD91+HBDoC\n/Kje\r\n=eukP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNUQJv+Qyp6UUEg/acl+GAvacFXMU0s77irBry9unsNAiEAynQepnsaioxXofm3V+GLYKQcQ4xBw4G3WYAnax+cLsg="}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_3.0.2_1556586085566_0.2973250261991547"},"_hasShrinkwrap":false},"3.0.3":{"name":"homebridge-bravia-tvos","version":"3.0.3","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^8.9.1","homebridge":"^0.4.48"},"dependencies":{"axios":"^0.18.0","debug":"^4.1.1","wake_on_lan":"^1.0.0","tcp-ping":"^0.1.1","json-fs-store":"^1.0.1","base-64":"^0.1.0"},"gitHead":"ca21d1c560235c75eaaa90c154a18719a8344efe","_id":"homebridge-bravia-tvos@3.0.3","_nodeVersion":"9.11.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-b+h0L4z+YRX9kMAjSN8mxOmJNo4C1YF298/lHTJhviLmwnXZVb/3n2n735F1dKC4yfKSsKBtWO92xAkZv8qmxg==","shasum":"1a3d70a0cd374345221b18ebedca51d20083518e","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-3.0.3.tgz","fileCount":14,"unpackedSize":85615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyD5pCRA9TVsSAnZWagAAD8kP/Ap2XR9QzycUMdAxHpLG\nanbTKBm3Cu79EW8fO2i/2cYH2HkGwJk6rfAu6rr3EJBgAwBpmKS1AdwhqVdF\nh2z4deejC0P/doSU3hZJpZvoli2yMfKcVHsKvETtez+jCcXWhb/V7/9VdZE2\nOCYmlPLkn19kb/fUHuwMQIk2itP3JVuDjP8st0pP6UGTsm3oSFG1ul9Nb0E6\nCec/ej4WRV+KawFRBaODbxMxeU4OOMAiZieJQmIxjxNijF9MBkacVIkYbf6i\nnsgarSMG2z4soIPUpZiQEVj4eswpA5Nr9uafQwm1EMwpFNqs4YZS6LJx5IOg\nva5ToZPTTBv+x2/mqcJqjlWovXOcG9QFnoTp3mstxAMyTXEaAyhxcX5K7Q9a\nR+Bk1MQJgRs02iYgk6uwhgtOek2cxLxuSv7F0+MzRKIkmSHx8fmJPnUHcFeZ\nV5HyWUOH4Eyl5Mu5HUf0hLyxlFxhTDJWEVMBlKKpfaoBCN0q9imDZnVYNPQE\nKrDo/gbKKq+HppSmCfNAxa4hPj5901rpfSJBdI4YAuMyzobaJJ3+YCvya3Tc\ndaRTGJhwYnL6Y/I47xztI4+8jU9Ct8CQJekDTwC48SDPcSNod+iMdHZlJ6HV\nCHfTOdevLXS59HW/HMvpwksZUOG2Luy5RDXWN8dLb0p86g48H63BO2twj532\nV2u4\r\n=g7Oa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDbeIhXJUBtKpQPDfu9K8u/hXhm1um8iKNudNdVYg187AiEA9GEJNRQIJmIVGNbWMORCBz77VJmMkkoaxuCvui/HXG4="}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_3.0.3_1556627048724_0.8462258421293416"},"_hasShrinkwrap":false},"3.0.4":{"name":"homebridge-bravia-tvos","version":"3.0.4","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^8.9.1","homebridge":"^0.4.49"},"dependencies":{"axios":"^0.18.0","debug":"^4.1.1","wake_on_lan":"^1.0.0","tcp-ping":"^0.1.1","json-fs-store":"^1.0.1","base-64":"^0.1.0"},"gitHead":"3073c8bf5b9cfa06804e5d425f034e496731b12c","_id":"homebridge-bravia-tvos@3.0.4","_nodeVersion":"9.11.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Ixh1tgLKrvxutpJuXa6hK3l8ALIw+uuZfBcuVillR7pP935+YeBcBNWKD3ifG5QBA7xevYiEzvRuOjmSe5tWvg==","shasum":"bebb12256a2d97adb3567c2004ca3903fff56e6a","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-3.0.4.tgz","fileCount":14,"unpackedSize":85956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyLNsCRA9TVsSAnZWagAA3oUP/jjE/jk/QhCw2Sqe5Svh\nKf4xu54V96XiE703wtMx3G/PPs4+gKjhwNgXGm/4qZpiPvUCV+cw9zo6EfQh\nyHeROireauWTXJns8keFPpx+ANxQIpWvEYN+Ayms9o13IEc967v0f4xI8TQx\nNTGVWyHX5aBYwGBP3Xa/9ycRwl6eyTuZIkMcyKXl5HuCJXUL9YUfmyWtpTkf\nAjt2hR9kEVU0fydL4g2OZSKhnuNDoIpC2B2e7NhsUduJhyTts6o1zhaS/+mZ\nag9NgRwMy3F37/mR2SyLvak2xHpfzObU1PRsBphjmxmJyjLq6X4/nNnoKNgC\ncuM1L8XkAHsxB33WkudbvV0iA2A9ocUkna/CpQ3ll/sAFphovnPJbTd6LDsr\nkBvykjT4R6mokllaMepVq6E4EhY8+ddlz97p9v6aPM9cXfSN47fNEOtz9t8N\nPzTEhp9EIGqvB26v/26yb5tZjKEpj9BVMUH6aqKNTDUUI6lOzcqc4Vp7vgh5\neP8pnIdrx1f0HsdjRKn5Uuwg7gl8RBx+TTZYAw5qgcdsMcblGM4WvxE/6APw\npxgLoXBfzKBJlrCnGYB3Ec4fDWluors16EzepcBfp//O7d8chdC+Dw8UcUPT\nek29xR2NHT86PswPhKTD8dGRbbbcewUJOujkyh9R6arEFvyNNNQcaoBJgJPB\nZnoP\r\n=t40J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9j2Uh9zCfC0HIkE2PIjveh3evAwf1mPMUyWILaliqtwIgfMM6a569R+Xs4beG3aP18suaKiri4Ux/lwsxnWTxyoY="}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_3.0.4_1556657004006_0.6025600221748462"},"_hasShrinkwrap":false},"3.0.5":{"name":"homebridge-bravia-tvos","version":"3.0.5","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^8.9.1","homebridge":"^0.4.49"},"dependencies":{"axios":"^0.18.0","debug":"^4.1.1","wake_on_lan":"^1.0.0","tcp-ping":"^0.1.1","json-fs-store":"^1.0.1","base-64":"^0.1.0"},"gitHead":"a40c58e8846b72f790d759a2d4c93fac7b4f95db","_id":"homebridge-bravia-tvos@3.0.5","_nodeVersion":"9.11.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-vhiUZx2AxznC6yhDqMdoY0H7ekFh7NSywacBr6YauPQx/3d0W+44PXDJVFi14XR1tAKhdIQQhmElgT7AIq8NgQ==","shasum":"e119c4cbe202596be29838169ff9a19e18fb2afc","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-3.0.5.tgz","fileCount":14,"unpackedSize":86344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyMz5CRA9TVsSAnZWagAAkxoP/3PzLHaHpx9WMvtxCG2w\nPHYYOXdSL9+d8Ziqw99r8FT8LSQ5upkOn02GWfDUzgx1RYuYLI909Y/AF8zQ\nHyJouz1rYC1+ECNooK+bK0LU0KYOzOlsDFb64m8F8Zntj+vAAo+aNCUEkIUs\ntcp61QEqRjklXqJuAK9JLz5waVJlnHfF3I4xD1OMDI+YAhBzNtbpvUfqnOa7\nzbaohgCcY+sXelPWi79ypUj0fGYyZahFMzUeh1QQgxhO5oCzIcdkZGJRBH8S\ndVpJi8Vo0w5Q5jQFQKIk4I3ZhSkJS42GTvsGjw/UkGSXPmIES8wohJR0b2va\n2tugzEKl9qsSUhVa+p+fUtRRMH5NKxIPmiczvDj//2pTFsOrUj1DPqMfRNJC\n6khajfu7TgTIuj6gS/uZyX0npI0ebqx09Cz+YuLABcs2eq+YX1227m+KOzmw\nI1kYkcTleoNi02kgeIZsZSLyqJkANvux8fY92zNcap4D/gOUJlWZlJjRFQxF\nB5K0FVNmGA7P/gdCH3VXu9NsdrGjmWGDZVqjVVWLYh/XaFUAN4w+L8ad4EL1\neQb2/QqrLh8emZI2f6I1HtVwELdEuLLqbl5h+bVN7yi9b3mjY6kAsBzYt2AQ\n9cAUA00LihXg9KCBzNfBUVeZW32XO0Tb6wciRDOaLn8o1/W95a2V/ejwhzWv\n03cZ\r\n=/V5U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmkqc9PqrZGzs1pX7T0VbrFNjN1VoWa3tqSmuU5PSmigIhAIzVtKgVmYSW65vw0zYgweAn5l30batOOgtUFT02d58V"}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_3.0.5_1556663545095_0.6157197445926734"},"_hasShrinkwrap":false},"3.0.6":{"name":"homebridge-bravia-tvos","version":"3.0.6","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^8.9.1","homebridge":"^0.4.49"},"dependencies":{"axios":"^0.18.0","debug":"^4.1.1","wake_on_lan":"^1.0.0","tcp-ping":"^0.1.1","json-fs-store":"^1.0.1","base-64":"^0.1.0"},"gitHead":"7d98a669e0fcc4e224db4bef469fab783c3f1419","_id":"homebridge-bravia-tvos@3.0.6","_nodeVersion":"9.11.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ofvPac1CYKrt+Cu6GaZrYpfR/GWSkw5+BkSNvIdk/61UMYenxFh6VB3Kx/qpNXBGj0LAhTxGAtPqmEPQYqGJTQ==","shasum":"31e17d3ef822bb68dc585cd15af03f26d4ce2960","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-3.0.6.tgz","fileCount":14,"unpackedSize":86340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyOmHCRA9TVsSAnZWagAAELsP/3faPEPaRlxev8KIoIUd\nEdkOuhrh4NRGGebqhJwcEbB7yCi2tAHs2Hzt86ns8GVHHeAahBq75Nue+EtM\ndc+LDWNyHDtHxTOhc/UobxwXqeJ72eXLO5PEG++6S7KqqksC3oLKir5b0DHE\nREj6apoSccgws7tS7Bzyx42vX35deiJUXB+5C3t4E8bFKiqfShjJ75GDjFhV\n55TN0XCTC2sPmioOyEmv3jzTqu12n5GMX5dBiofSZxePdoAuuibU5oSG62vy\nAicSWV8HOL9k2CB6NGYBjPpDnn4CsuEmAtF2FYgK/Yx8TWzky5qSIJ6xbhiu\nNPue6Kpl/X+Xnuo8F9KtRc01QnCgNmocCmQ2zET2xEUrKAltcdkgqOezifLE\nCC551RtMVIEV7rDDKcvyw3k97sIOEL7CtaQawUWMHbkelJV8CcbM3mA/oaFX\nXl+SXCfumtdSfP0nCHjj/TZHRwFt7CXaTtUb9RfgWwfA1dS3iPxn1dr8fqjD\nr71yhM5v2jRoD9D6scZwRBezT3ljqBNwnUqJ9OS2RhxD1/V8r+4nDqf6GR4s\nN2kcqDuqTiFAlJKDdlYYcrrk4vbOIaO/e6sY01Gw34ROEHCMoxqfiZpmaSy0\nuewMAOxx5LzpX6bZj+G8LvFLoNMWpQMmfDLLkiYLBaYooed8/0Dxxqkq9i93\ns8eh\r\n=1KhV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoxhjjShHBjKRBC4CIQaejy2IVK4bcRe+twabjBpCM6wIgXwLjJ6TJamx7WltUrs3Je2a/BGpKzfnDGxiRkmnaJHk="}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_3.0.6_1556670855159_0.7747350345085489"},"_hasShrinkwrap":false},"3.0.7":{"name":"homebridge-bravia-tvos","version":"3.0.7","description":"homebridge-bravia-tvos","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":"^12.0.0","homebridge":"^1.0.0"},"dependencies":{"axios":"^0.18.0","debug":"^4.1.1","wake_on_lan":"^1.0.0","tcp-ping":"^0.1.1","json-fs-store":"^1.0.1","base-64":"^0.1.0"},"gitHead":"1c5ed422bddb0cf8ff70e0c9a39efec4a24b9f83","_id":"homebridge-bravia-tvos@3.0.7","_nodeVersion":"12.18.3","_npmVersion":"6.14.7","dist":{"integrity":"sha512-dYUgrp8VVNQtEfb4DgWDi16ujPuw5OlUDfo/X+Uz53xBISv4VDZTtM+qI0PN9yGUi8xJl23x5bZIBRn88lm4ZQ==","shasum":"25555de4afc07376ff3469ebc3a713f265247f5a","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-3.0.7.tgz","fileCount":14,"unpackedSize":86701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLILICRA9TVsSAnZWagAAkGcP+wWmqcSrwAZzY2aRvw0T\nS1yq2ujMBmClCkIMUXjuXN0e0Rsp/OqFy4zUyMe1g1bWOGzgNDwgaANSWrDE\nsUFM1bEp1e/Gfs//rxCBUas/7CbVJQ0eUm4G/yh8gm86cYi1sAM3YVhC4DWp\n3XKFsEUQ7fi81p1UECIE2LWVU0UsmPwmz9+ozPhpSdAdCdFswnX0+wgi+Nlg\nc8UTW4w7dOU3a3WZ2RpUU88WUz3kvXPT/PqwIyDgPermO0Oa0MXe0j/e8V0S\nFdrmrDO1T+T30voIb2mz87rF/CkbUwro4iOCTMyJ9PI8YI7eT77LOW6PXNOS\nvt6H3eqKXErRTuWBHKSAtWvksO49JSkk9REk/ym+bBNErQIzPGceGlqL+vTB\n+hWOiwwTfgmbf/QKSZu1xtqMKgu6JOtDr73S3ERry51745D6imYnOcxJ+myK\nSUlSGps+r/vf4qfdH/1iCeyoskrCbKQOli9uPYWZZQbyot1tC4dmlCsmPzmc\nzSU7glJzvremKC+KtfaVfw9sFDQKBUhbWCK3l8Cg/uk+hgtFerf+CJrIVfXN\nqJGTBokqfRZFYndhICTlq0Caphh7BfRfg7Lm0yLet3JkjpN95K5m22TgM+YJ\nPzV3G56lEzwpKT8v04pzTh0X838RAIkZFMaw+qWonpOfvb1oIahQ66LB4HYq\nA2cT\r\n=Tc5t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWdvTnYEt183gB7dfwomKqpI9nT7Q+em2UYAiPj8xEEQIhAOWF51ZW8f224JSk+cNbrLOZ44g55ag53nYLEuGpB1i4"}]},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_3.0.7_1596752584010_0.8884640587604438"},"_hasShrinkwrap":false},"4.0.0-beta.1":{"name":"homebridge-bravia-tvos","version":"4.0.0-beta.1","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.5","fs-extra":"^9.0.1"},"readme":"<p align=\"center\">\n    <img src=\"https://i.imgur.com/xnQyZaU.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos 4.0\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI, DVB:T, DVB:C etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Remote control:** native iOS Remote control with customizable commands\n- **Login:** with Pre-Shared Key or Token (PIN)\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for three types of speaker (speaker, switch with custom charactersitic or lightbulb)\n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g @seydx/bravia@latest```\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\n### Token (PIN) Authentication (prefered)\n\nTo be able to use the plugin with the PIN procedure a \"token\" must be created first.\n\nYou can create a token as follows:\n\n``bravia pair <host> -p 80 -n MyTV -t 5``\n\n- \\<host\\>: The address of your Bravia TV (eg 192.168.178.1)\n- -n: Name for the app (Default Bravia)\n- -p: The port of your Bravia TV (Default: 80)\n- -t: The amount of time (in seconds) to wait for the response (Default 5s)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203'\n}\n```\n\nYou need to put the generated Token in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"token\": \"A0B9B9D7580466F22EE8F8EA148863774ACCE203\"\n  ...\n}\n```\n\n### PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"token\": \"A0B9B9D1230466F22EE8F8EA148863774AABC203\",\n          \"inputs\": [\n            \"extInput:cec\",\n            \"extInput:hdmi\"\n          ],\n          \"apps\": [\n            \"YouTube\",\n            \"Smart IPTV\"\n          ],\n          \"channels\": [\n            {\n              \"channel\": 97,\n              \"source\": \"tv:dvbt\"\n            }\n          ],\n          \"commands\": [\n            \"AAAAAQAAAAEAAABgAw==\"\n          ],\n          \"speaker\": {\n            \"output\": \"speaker\",\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options Genral\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | BraviaTVOS\n| debug |  | Enables additional output in the log. | false | true/false\n| polling |  | Polling interval in seconds. | 10s\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| ip | **X** | Sony TV IP Address. | \n| mac | | Sony TV MAC Address. |\n| port |  | Sony TV Port. | 80\n| psk | **X** | Either psk **OR** token must be setted. (see preparing the TV above) |\n| token | **X** | Either psk **OR** token must be setted. (see preparing the TV above) |\n| timeout |  | Timer in seconds to wait for a response. | 5s\n| manufacturer | | Manufacturer name for display in the Home app. | Sony\n| model |  | Model name for display in the Home app. | tv/speaker\n| serialNumber |  | Serialnumber for display in the Home app. | Homebridge\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | false | true/false\n| inputs |  | Type of the tv input(s) to display in Apple Home. | [] | extInput:cec, extInput:component, extInput:composite, extInput:hdmi, extInput:scart, extInput:widi\n| apps |  | Name of the app(s) to display in Apple Home. | []\n| channels |  | Channel(s) to display in Apple Home. (see channels.channel and channels.source) |\n| channels.channel |  | Number of the channel as seen on the TV. |\n| channels.source |  | Source of the channel. | tv:dvbt | tv:dvbt, tv:dvbc, tv:dvbs, tv:analog\n| commands |  | IRCC code or name of the command to display in Apple Home. (eg. AAAAAQAAAAEAAABgAw== or PowerOff) |\n| speaker.output |  | Audio output. | speaker | speaker, headphone, other\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | 1\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | 1\n| speaker.accType |  | Accessory type for the speaker. | false | speaker, switch, lightbulb\n| remote |  | Customizable commands for Apple Remote |\n| remote.command | | IRCC command for choosen target\n| remote.target | | Target Apple Remote switch. | | ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, BACK, EXIT, FAST_FORWARD, INFORMATION, NEXT_TRACK, PAUSE, PLAY, PREVIOUS_TRACK, REWIND, SELECT, SETTINGS, VOLUME_DOWN, VOLUME_UP\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* 3rd party apps like Elgato EVE (TV accessory still not supported because apple blocking it)\n* Homebridge v1.2.3+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``Debug`` in your config and restart homebridge.\n","readmeFilename":"README.md","gitHead":"de86366bfc592939ddafa7d7fafa05d5663539e2","_id":"homebridge-bravia-tvos@4.0.0-beta.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-RNGbgGvuoKjrmxdVlhBx+EIdvQGXPg7ITZyVG2O/1rlWQLMiGrwWypSY8Bh/W4DzoE0zEvXsEV5iRDeyNoWxRg==","shasum":"e9e6d811755bc3cdbf6b001b20da9cc0f3a6d390","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.0-beta.1.tgz","fileCount":12,"unpackedSize":82911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfortuCRA9TVsSAnZWagAAd0MP/jpsdkJoGvFFWgIPqLBO\nM3rrnN7FATgBV75bEdXcgly5D32aAq6NwysHcTpWmSE0gfmdBPevV1vusPke\nwEQLSm+T3oSMW5dduxlF04QPqGB79X4mjfZHIhCRGCd408cIpLBzbUj6YbO/\n7VoKxG10SF7CrdevcS9bDymNF7ewqmbNWDDPt4kPHQeGx0PSh2f9JXjOLJTF\n0557aDLdfEp63lyAJ/EIE3NdNrmjNpltdnq42FNXxw5aYXTsSU1dlaAdw+u6\n4TunlRTiAktXlmkkuIGrJV9P60PWtLRxuV36TYCn4TWpR80yKVeW6+WFun7B\nG7rA5pPAq7iOFPq7S1cwCQ7zu/g/qCIBNrjqWCHj4YaTIzB2IV+SILa/HneL\naB/X43Vo4r5oZQlU9fHeccyDzle9VuHxXOQWRBhQ0ApPwGsiw266pgca2BKM\nQHOc1qo4alqYss9QZ93S9+SnSY+Ak3Q5IHxUPGN6t582wCPqc6WMTzw1Ib0+\ntzAXtTrD1N3JMIH2/c9Qx9i90NR8XgauVSSCWBXPoEtz3lrmtoWDptlQ5tun\n9W+NDs8miRSAsQJa/MRMhXv1DQUVDpuIgJl+CEPpSkymvJbCmkUUIZvZ2XuT\n+SldJEiHqB+Gy74MBulE25yrFjR6yTnG3Ts+RY6LW+2pHm7P8YzI+8+E4h8/\nJZh9\r\n=xSJJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0td0cs0zsmGgrCLCHYizr1pR/zTue56oX2N0vtn64ZAiBEdYrQPsl7f1upso3iwBvXqExsbQFqPwh82Qkmn3EnZg=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.0-beta.1_1604500334422_0.9637328912944982"},"_hasShrinkwrap":false},"4.0.0-beta.2":{"name":"homebridge-bravia-tvos","version":"4.0.0-beta.2","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.5","fs-extra":"^9.0.1"},"readme":"<p align=\"center\">\n    <img src=\"https://i.imgur.com/xnQyZaU.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos 4.0\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI, DVB:T, DVB:C etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Remote control:** native iOS Remote control with customizable commands\n- **Login:** with Pre-Shared Key or Token (PIN)\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for three types of speaker (speaker, switch with custom charactersitic or lightbulb)\n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g @seydx/bravia@latest```\n\n```sudo npm i -g homebridge-bravia-tvos@beta```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\n### Token (PIN) Authentication (prefered)\n\nTo be able to use the plugin with the PIN procedure a \"token\" must be created first.\n\nYou can create a token as follows:\n\n``bravia pair <host> -p 80 -n MyTV -t 5``\n\n- \\<host\\>: The address of your Bravia TV (eg 192.168.178.1)\n- -n: Name for the app (Default Bravia)\n- -p: The port of your Bravia TV (Default: 80)\n- -t: The amount of time (in seconds) to wait for the response (Default 5s)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203'\n}\n```\n\nYou need to put the generated Token in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"token\": \"A0B9B9D7580466F22EE8F8EA148863774ACCE203\"\n  ...\n}\n```\n\n### PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"token\": \"A0B9B9D1230466F22EE8F8EA148863774AABC203\",\n          \"inputs\": [\n            \"extInput:cec\",\n            \"extInput:hdmi\"\n          ],\n          \"apps\": [\n            \"YouTube\",\n            \"Smart IPTV\"\n          ],\n          \"channels\": [\n            {\n              \"channel\": 97,\n              \"source\": \"tv:dvbt\"\n            }\n          ],\n          \"commands\": [\n            \"AAAAAQAAAAEAAABgAw==\"\n          ],\n          \"speaker\": {\n            \"output\": \"speaker\",\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options Genral\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | BraviaTVOS\n| debug |  | Enables additional output in the log. | false | true/false\n| polling |  | Polling interval in seconds. | 10s\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| ip | **X** | Sony TV IP Address. | \n| mac | | Sony TV MAC Address. |\n| port |  | Sony TV Port. | 80\n| psk | **X** | Either psk **OR** token must be setted. (see preparing the TV above) |\n| token | **X** | Either psk **OR** token must be setted. (see preparing the TV above) |\n| timeout |  | Timer in seconds to wait for a response. | 5s\n| manufacturer | | Manufacturer name for display in the Home app. | Sony\n| model |  | Model name for display in the Home app. | tv/speaker\n| serialNumber |  | Serialnumber for display in the Home app. | Homebridge\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | false | true/false\n| inputs |  | Type of the tv input(s) to display in Apple Home. | [] | extInput:cec, extInput:component, extInput:composite, extInput:hdmi, extInput:scart, extInput:widi\n| apps |  | Name of the app(s) to display in Apple Home. | []\n| channels |  | Channel(s) to display in Apple Home. (see channels.channel and channels.source) |\n| channels.channel |  | Number of the channel as seen on the TV. |\n| channels.source |  | Source of the channel. | tv:dvbt | tv:dvbt, tv:dvbc, tv:dvbs, tv:analog\n| commands |  | IRCC code or name of the command to display in Apple Home. (eg. AAAAAQAAAAEAAABgAw== or PowerOff) |\n| speaker.output |  | Audio output. | speaker | speaker, headphone, other\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | 1\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | 1\n| speaker.accType |  | Accessory type for the speaker. | false | speaker, switch, lightbulb\n| remote |  | Customizable commands for Apple Remote |\n| remote.command | | IRCC command for choosen target\n| remote.target | | Target Apple Remote switch. | | ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, BACK, EXIT, FAST_FORWARD, INFORMATION, NEXT_TRACK, PAUSE, PLAY, PREVIOUS_TRACK, REWIND, SELECT, SETTINGS, VOLUME_DOWN, VOLUME_UP\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* 3rd party apps like Elgato EVE (TV accessory still not supported because apple blocking it)\n* Homebridge v1.2.3+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``Debug`` in your config and restart homebridge.\n","readmeFilename":"README.md","gitHead":"bf588807380183ddddccc88fccdff23e4fa5aee9","_id":"homebridge-bravia-tvos@4.0.0-beta.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-VB7itvsNP+dhd9WCsdt7+clt+mQNi2953w2VB/sV8nTq+Zk+KDgx3jODr8XGbljjLawhN6P85TXzWEyItYdHXQ==","shasum":"042cf22b7eb9497f42c2fb376d0fb6f5c95f2bc8","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.0-beta.2.tgz","fileCount":12,"unpackedSize":82905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoxMrCRA9TVsSAnZWagAA28QQAJhfjXV9TDLSVg3VEIpS\nun3PJH3c6GuDAvSMdASfPPjUvLPfpRkZ7nWs363sK7rA1K0dvS3eZQsBC//G\nnCwcMw3jyEw4hCViS24cYsxuO9wXkjTiq0VYIxIdGjv3dX3oTl/qFCNXvGf4\nRYa9H8x8ZXr0Gx5cB0LxFLGn4rwhLosTKx1a7fD9YvA0nC0sHwfonU98vJmD\nnAxiVwx6rQgkV1FqUbzkFabuN1tdbdoTSEP+6xD996RnFijIaBvujlq4NKzX\nuHvL8W5Pv+5DNBr+WFRYw03Zz9mHz20YXDw9GAve4t4Wg3Bq1yC2ViUaSsHA\no0ZyQ+s8DgdMNC9YqbeU34lOF919qsv8hl6gz6sZzLVx6CAro6Td9984d2jj\n/InWRCV+apOwZOyDesf65eBsUBgV4oxDeU5y/ri72c+4LAtQs+VLXUPn/u4k\nyKiXnjAhnKXPQqFAKpOdSrmOE9q7x8O+FkcdBLJVxC61wsRDo9SEWD78w0Rh\nDFYq4eei8Z5MQ63Jznj8U6FtG1HuHpVv7xvfTBrS9Yfcq6szVRLmcJx4rCJe\nd8oDRlsWAe2ryjPWd/7VtFYDFWlbqV7Ff/gY+UWPL085pkrQJcNx5mo2ioIa\nj+Tz919q3Wk4d6bNM0GyZxB3inRX8tAH7sx4vChUZBV8Z/ug1/lH4FZxuO/L\nGFmr\r\n=e4i6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTK1lmOsqyoWzv+p+rRkfGiOr25zJQ6BhVhlCNPkHvBwIgZyb13orv2OUQ4/I3ojabXlc7SdqDME28gBN4gwNs82o="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.0-beta.2_1604522794986_0.5033419433995665"},"_hasShrinkwrap":false},"4.0.0-beta.3":{"name":"homebridge-bravia-tvos","version":"4.0.0-beta.3","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.5","fs-extra":"^9.0.1"},"readme":"<p align=\"center\">\n    <img src=\"https://i.imgur.com/xnQyZaU.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos 4.0\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI, DVB:T, DVB:C etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Remote control:** native iOS Remote control with customizable commands\n- **Login:** with Pre-Shared Key or Token (PIN)\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for three types of speaker (speaker, switch with custom charactersitic or lightbulb)\n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g @seydx/bravia@latest```\n\n```sudo npm i -g homebridge-bravia-tvos@beta```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\n### Token (PIN) Authentication (prefered)\n\nTo be able to use the plugin with the PIN procedure a \"token\" must be created first.\n\nYou can create a token as follows:\n\n``bravia pair <host> -p 80 -n MyTV -t 5``\n\n- \\<host\\>: The address of your Bravia TV (eg 192.168.178.1)\n- -n: Name for the app (Default Bravia)\n- -p: The port of your Bravia TV (Default: 80)\n- -t: The amount of time (in seconds) to wait for the response (Default 5s)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203'\n}\n```\n\nYou need to put the generated Token in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"token\": \"A0B9B9D7580466F22EE8F8EA148863774ACCE203\"\n  ...\n}\n```\n\n### PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"token\": \"A0B9B9D1230466F22EE8F8EA148863774AABC203\",\n          \"inputs\": [\n            \"extInput:cec\",\n            \"extInput:hdmi\"\n          ],\n          \"apps\": [\n            \"YouTube\",\n            \"Smart IPTV\"\n          ],\n          \"channels\": [\n            {\n              \"channel\": 97,\n              \"source\": \"tv:dvbt\"\n            }\n          ],\n          \"commands\": [\n            \"AAAAAQAAAAEAAABgAw==\"\n          ],\n          \"speaker\": {\n            \"output\": \"speaker\",\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options Genral\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | BraviaTVOS\n| debug |  | Enables additional output in the log. | false | true/false\n| polling |  | Polling interval in seconds. | 10s\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| ip | **X** | Sony TV IP Address. | \n| mac | | Sony TV MAC Address. |\n| port |  | Sony TV Port. | 80\n| psk | **X** | Either psk **OR** token must be setted. (see preparing the TV above) |\n| token | **X** | Either psk **OR** token must be setted. (see preparing the TV above) |\n| timeout |  | Timer in seconds to wait for a response. | 5s\n| manufacturer | | Manufacturer name for display in the Home app. | Sony\n| model |  | Model name for display in the Home app. | tv/speaker\n| serialNumber |  | Serialnumber for display in the Home app. | Homebridge\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | false | true/false\n| inputs |  | Type of the tv input(s) to display in Apple Home. | [] | extInput:cec, extInput:component, extInput:composite, extInput:hdmi, extInput:scart, extInput:widi\n| apps |  | Name of the app(s) to display in Apple Home. | []\n| channels |  | Channel(s) to display in Apple Home. (see channels.channel and channels.source) |\n| channels.channel |  | Number of the channel as seen on the TV. |\n| channels.source |  | Source of the channel. | tv:dvbt | tv:dvbt, tv:dvbc, tv:dvbs, tv:analog\n| commands |  | IRCC code or name of the command to display in Apple Home. (eg. AAAAAQAAAAEAAABgAw== or PowerOff) |\n| speaker.output |  | Audio output. | speaker | speaker, headphone, other\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | 1\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | 1\n| speaker.accType |  | Accessory type for the speaker. | false | speaker, switch, lightbulb\n| remote |  | Customizable commands for Apple Remote |\n| remote.command | | IRCC command for choosen target\n| remote.target | | Target Apple Remote switch. | | ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, BACK, EXIT, FAST_FORWARD, INFORMATION, NEXT_TRACK, PAUSE, PLAY, PREVIOUS_TRACK, REWIND, SELECT, SETTINGS, VOLUME_DOWN, VOLUME_UP\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* 3rd party apps like Elgato EVE (TV accessory still not supported because apple blocking it)\n* Homebridge v1.2.3+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``Debug`` in your config and restart homebridge.\n","readmeFilename":"README.md","gitHead":"808917643f3e760ed2083041a98c278ca1a9495b","_id":"homebridge-bravia-tvos@4.0.0-beta.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Lzea9TWwl8BUO4OqCUaReIyoawRM8lBS3vK9bD4NXn1LX40vPwDi+visM+SRY7DTTjcZmgfOGJbdmHSGbMsfDw==","shasum":"a213735f6418d364637357359c09144b2d2bbfcb","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.0-beta.3.tgz","fileCount":12,"unpackedSize":83061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfox5CCRA9TVsSAnZWagAAkqYQAIwnD3iIBVewkMbe9UFh\nX2WQbQ7rDPdDUQLyHmZFjlVzzS2xCawua6LIH46N2Ep+s+NPIJvalFgp23L7\ncQnR218ugQNgzniw4ht7G39maf5zcBZtLPKdfstKrarA6yeEBfbQgIwW4ia4\n/EPnVAL+50tPLWXjEf0jBwFqpWuhN55WwHt+6rsSeB9y+AZrtMn3K0Kkkuk4\n2YgRMCSWyVvlrKE1x/kpbNKBYeAvgcr+03QYmd2eMQFdQ53uu8ZBNoCqrGFy\nk1Mg/gwypaT16k57tkjR+IBIf0woF9HiH9L/6zZdAh0xW1o/kgDpWewjP/Is\nveb+SsdlPhG+Joxx3vzPF9b1au28ExD8pynGSj5EV8AqDVBdKzSxDLOjb5sl\nxNyw8xQ4Cz1R+obkYo8KQrRsMJJc6PPfu02yEs/BTiMHPD6knEpQx+/1Zlu8\n6Ciw2hBPFClxRStypj2vN+RC4vgZlrZVMcdL+M2Y1W+hniK2pn4l7tqUrbtr\n1QdmrNStSllMSjKYcOqFW4J7jhhflakT502T5GdMzfj6v2ZMwyn/fV8nfCB2\nvPQIC05Mo3jZoa0sT/H7KxeaD11IaJjxHlRXRibysWgCkGrzfEPzJvdHFVzs\nKqWsCzc42gMTzf3BirSMnsqPIh6s08SfL7uVhZDoqNbx57XjZSwizuFcS4XR\nZpkp\r\n=TZiM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGomzTEL7JRRHQZF1LSJpwAeBBYmU2lXPOvTKEJ3iEMAAiB2aYEtHRCcq2m3GqCXjoUp656Hukk3Xe6N0xHeUAOw3A=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.0-beta.3_1604525633167_0.8188588408498259"},"_hasShrinkwrap":false},"4.0.0-beta.4":{"name":"homebridge-bravia-tvos","version":"4.0.0-beta.4","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.5","fs-extra":"^9.0.1"},"readme":"<p align=\"center\">\n    <img src=\"https://i.imgur.com/xnQyZaU.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos 4.0\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI, DVB:T, DVB:C etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Remote control:** native iOS Remote control with customizable commands\n- **Login:** with Pre-Shared Key or Token (PIN)\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for three types of speaker (speaker, switch with custom charactersitic or lightbulb)\n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g @seydx/bravia@latest```\n\n```sudo npm i -g homebridge-bravia-tvos@beta```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\n### Token (PIN) Authentication (prefered)\n\nTo be able to use the plugin with the PIN procedure a \"token\" must be created first.\n\nYou can create a token as follows:\n\n``bravia pair <host> -p 80 -n MyTV -t 5``\n\n- \\<host\\>: The address of your Bravia TV (eg 192.168.178.1)\n- -n: Name for the app (Default Bravia)\n- -p: The port of your Bravia TV (Default: 80)\n- -t: The amount of time (in seconds) to wait for the response (Default 5s)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203'\n}\n```\n\nYou need to put the generated Token in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"token\": \"A0B9B9D7580466F22EE8F8EA148863774ACCE203\"\n  ...\n}\n```\n\n### PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"token\": \"A0B9B9D1230466F22EE8F8EA148863774AABC203\",\n          \"inputs\": [\n            \"extInput:cec\",\n            \"extInput:hdmi\"\n          ],\n          \"apps\": [\n            \"YouTube\",\n            \"Smart IPTV\"\n          ],\n          \"channels\": [\n            {\n              \"channel\": 97,\n              \"source\": \"tv:dvbt\"\n            }\n          ],\n          \"commands\": [\n            \"AAAAAQAAAAEAAABgAw==\"\n          ],\n          \"speaker\": {\n            \"output\": \"speaker\",\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options Genral\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | BraviaTVOS\n| debug |  | Enables additional output in the log. | false | true/false\n| polling |  | Polling interval in seconds. | 10s\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| ip | **X** | Sony TV IP Address. | \n| mac | | Sony TV MAC Address. |\n| port |  | Sony TV Port. | 80\n| psk | **X** | Either psk **OR** token must be setted. (see preparing the TV above) |\n| token | **X** | Either psk **OR** token must be setted. (see preparing the TV above) |\n| timeout |  | Timer in seconds to wait for a response. | 5s\n| manufacturer | | Manufacturer name for display in the Home app. | Sony\n| model |  | Model name for display in the Home app. | tv/speaker\n| serialNumber |  | Serialnumber for display in the Home app. | Homebridge\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | false | true/false\n| inputs |  | Type of the tv input(s) to display in Apple Home. | [] | extInput:cec, extInput:component, extInput:composite, extInput:hdmi, extInput:scart, extInput:widi\n| apps |  | Name of the app(s) to display in Apple Home. | []\n| channels |  | Channel(s) to display in Apple Home. (see channels.channel and channels.source) |\n| channels.channel |  | Number of the channel as seen on the TV. |\n| channels.source |  | Source of the channel. | tv:dvbt | tv:dvbt, tv:dvbc, tv:dvbs, tv:analog\n| commands |  | IRCC code or name of the command to display in Apple Home. (eg. AAAAAQAAAAEAAABgAw== or PowerOff) |\n| speaker.output |  | Audio output. | speaker | speaker, headphone, other\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | 1\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | 1\n| speaker.accType |  | Accessory type for the speaker. | false | speaker, switch, lightbulb\n| remote |  | Customizable commands for Apple Remote |\n| remote.command | | IRCC command for choosen target\n| remote.target | | Target Apple Remote switch. | | ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, BACK, EXIT, FAST_FORWARD, INFORMATION, NEXT_TRACK, PAUSE, PLAY, PREVIOUS_TRACK, REWIND, SELECT, SETTINGS, VOLUME_DOWN, VOLUME_UP\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* 3rd party apps like Elgato EVE (TV accessory still not supported because apple blocking it)\n* Homebridge v1.2.3+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``Debug`` in your config and restart homebridge.\n","readmeFilename":"README.md","gitHead":"90373ce0ceca83fb11f6c407194bf6270d0e9b54","_id":"homebridge-bravia-tvos@4.0.0-beta.4","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-o7wXYRk/I4qzRltlGEs89G0wMu5a2MJUEc809hKChgNnT3X8uYrwjvOW8Lga3PpstWAEZy/jczuLPOyl9axs2A==","shasum":"59aa6e90889dad6dc60127fc0df645b133aa44c7","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.0-beta.4.tgz","fileCount":12,"unpackedSize":83060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfox9bCRA9TVsSAnZWagAA6+4P+wZ2cTvz0sSj5t4svAvn\nRSkjTPSS7imrnbdevsRWkFSR38WALOKkzSfC8D4lZdG8FOIzKXf8whkdioN6\nM2FHncXwSZEXLQzCWHoRxnzy7MOqw7F6ka8NjW7BP1p0JTZeZuE6M2KpD56v\nORyXUaOK6Spf+ZB4FkNVezZWzZhzKxo35b6VvGi8jg0ht10/MTp9atONEAg+\nMFIUQTnp6sWUJL7qDwD36IJjPRnG0a9YbWG6pCulk5SALPhdCzZrGhk2jgBz\n8JYMlAONGHNnyA4R5emvI5Fg092C+CjexxbhZOmF/mzylpXYvsdbwguMupvX\n9KYlvfb18Uto3uGOcqvrwLXWmG8kLoAS8zJf2apL05IQ+/ZsNgNJDjCilGXU\n3UxT+IW6dW+5JIXdJZoSh7l6T8mYJ93jbuekm1fGr6lRifK0BTuhdVBb4WRJ\n9HG3RUEtZdtmyNqnXPRJg21yDobQ6WxU+h2Npwz4fFK/d9OsEODiB+2n3yXh\nK+bxLWaaI9yHSxGBG15EOcZXk8r3dU6zMUZtpkPvRZRK5qC1wgzVtzQmoqjZ\nVbynVqMj2ISGvTUtz1e0G9Ym8GNo01SyBfvRQVVPC05uRU3mp+Lhbw6dR14l\nIXykT3V1MrIoPJiV+LQRAx1A9yeMad+aENY4XDqtmWPLAgeOVqEnZ8ek0TIJ\n5wc/\r\n=iUfz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHFcrvYIuo88wLuU2ilxFobw+kOubPu3GH8g6hrjxVQAiEApARsxgoOYVD7x/SJgTTNBu35EiGTQxC6fxytJ2VRrAc="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.0-beta.4_1604525914846_0.8764311084929219"},"_hasShrinkwrap":false},"4.0.0":{"name":"homebridge-bravia-tvos","version":"4.0.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.5","fs-extra":"^9.0.1"},"gitHead":"b0ad0e9155aef91d5a21cacb5637d07d90296b90","_id":"homebridge-bravia-tvos@4.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.8","dist":{"integrity":"sha512-yvoLhEtSiYrUdRcu8aq3pq5W48bwACASfKICtrjOBGrL8qJD0b/ywylxYOeTeHgSwYWVM3EKzQoyaTv/ty82MQ==","shasum":"fa5df36b2b2900f3994e23540d4daaaee1aee893","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.0.tgz","fileCount":12,"unpackedSize":83053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpXpbCRA9TVsSAnZWagAApbUP/j+hIqjSMVNT9IICPJx9\nesUNdu8313ofRLcpg/R27AEDK8wsOODUhoBo6cKM0XppNYg+tqKieo1I9tt+\nKvZqn6+tLFhJL6NwORERqtkQolzDk92/hnDtMsiB3LCGo1n+Lh/k9usLITyP\nEX3Q7FQlE0eXBQtvpr5PyUdB06+c95/Cof6hQyuwv54t3WkenimLMnlC10Va\nbAHOBmsKAwJkMTxBL0VqJnm7LpkzVR55L5zW0sVDOEvph2o2o5UDJz3nmKvZ\nCo9NW81ZdFQI/yZ5M3kwg8ViTNEWCDBJfPH9bJz30VyVV0wmXRIXLCFPfZrm\nnGzYsyfr+IFXSIdtCfiYXPgKAOlepwKzN2XHN5ybGeJwIyGVGzIZkDKY++CS\nXmzvIxVYIomZfcrKKD8m+ITT5ERztW2kl/Wu+6bLOS32lzMG2znHzoEwh6uZ\nTI1+lbqfBz35l/4b62bHHje5CQ0Hkf8Kl09HR5xrpVK5JgdYBbjmf2/QySkI\nhuJbvtmC5yOQX5OMq4seioQMWpXUQQgoGmy83OzZpyHsQdWVaIzSqi3Oqqpx\ns/dh4y7AsSb6+S19iVnKvw5V0+nuB8a144fHtR2/xH3tbXL31ARIaGvaCFQ3\nNQn3lzUhjhK+8mzBC0bdKv6GCzHfOP1Udh/NLKtEM5efYG8X1aT1Polabndx\nRLrk\r\n=ISqD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJWVduN426EFK0ic0Wnqup4Vu22ZmB2Q9PYt6WLGUDSAIgfLPYAi2iVx/Ay9oA4vks4kAdnjXl6tksOm3IvePVRaw="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.0_1604680283305_0.44750843790413897"},"_hasShrinkwrap":false},"4.0.1":{"name":"homebridge-bravia-tvos","version":"4.0.1","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.5","fs-extra":"^9.0.1"},"gitHead":"6fae4daa66c92abf8109902a4c38a6b02c1ddfbf","_id":"homebridge-bravia-tvos@4.0.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-h7bygpLDB3C/o3WByR1D/ov8R11VI2eU6hKrNZdxK3hSsI1Cl3qq2iIAUOEEymS5eFps/6lcD6s8385Rsbihrw==","shasum":"7759597336b8df6a0cc7ae5315e4d8ffd3b7939d","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.1.tgz","fileCount":12,"unpackedSize":83106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfp+fSCRA9TVsSAnZWagAA5yUP/R+6RRfgs2b0DJNLWPkr\nR3zjvoohEZaXDuXH3/gXSZU4UvMLk8rz3OlPc9ey0wEdS0ZkqO8REt5IJ2M7\ndhiuvr1AaXVcsY5ij2BJU0gCM4Ib0MBBuyOWPTByjngA+Oi8w4dM9rIiv9n7\nVAm9RJbdrVza+h99GJey2ht5imwpmQ/MYQ7YnwWr27Vk+yuw7kbz1LWTQJBy\np+AU26fH+IsAN6c1uwNlimbWKdh+fgoOAAdJAyC0q0OObpB+f3QA/dhYl7fV\nb5WWnO2rBSNGMuQnCEpVVpTZTp/nnkrQbsFsu8QEeW4fNuDSY0GiLJdErtiH\nmu+risOw4xOXacOPBbcIlyoh1Rg3EUgA9gy8K6AEUrCEF+jNQ0rjUiMPLF45\nuFsoEk0u5UKiIkLZb2SqEno2Y0qi47cxhqOhu9JiQZVyGeMqe5O6V53CGGl3\n1pBBSBUSgMedL0qdvrdBZINV6QpHfxwz8X8ZWEYihCLaGq/XQRtXRwP1poNZ\nJ09kpoqcSSWsBsCYTm9SPAp2Ah9eDQRRz+xRyglQSqSZCEx9aXSKbp8G4H9P\nbcDBGC5kyxRCOFN4EdGP5d9k/sF1unK6WRO1ElaNX4ia+3+YtQq/OLb3sl5W\nTEoCSLm/1u3RHj/qV2wKOm7JMTBzYpkVCA/N0tJiseXvrMXtpMrbdLQBkJ5n\n/+1/\r\n=s3kb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxcS/0SIfVCQpAWeDORZ14OAyQgR2ndOPag0noxVFn5AiEA7NCGPNKu0JyHOw7Ka7XjLEiQiycms5ejrpVM2uXkF3I="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.1_1604839377872_0.8827272562618016"},"_hasShrinkwrap":false},"4.0.2":{"name":"homebridge-bravia-tvos","version":"4.0.2","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.5","fs-extra":"^9.0.1"},"gitHead":"9ec47413fe7d66bc8a16e21f26e80f0e557e9da4","_id":"homebridge-bravia-tvos@4.0.2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-BkuIBGSx/tKkn7OrCTfCKOoYadTpAIgbiImUKvUG0Uv4oPk33x41uo8fyMje/sIyUnH0X57LOo8ivt0Mu5vUXA==","shasum":"7da199e0c12e72a30c75dd29e1c9846e2e99b8e2","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.2.tgz","fileCount":12,"unpackedSize":83202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqCTqCRA9TVsSAnZWagAA3G8QAJJVTTawhvlxyqhARifJ\n3gtr8EQ/WGJB4eOTXWDPhwv1pOJn4CUP6j9BVk80S0ipPsoe7grJWA/KM9q8\nyegvGgEO/JpKshkNGTRawLV/zYkr6N+BGqLvmu1Hy0kt7/1avK//59yXOUsy\nfJqWfGZMaUYKmhfxoXjHr7ufHFUqHjxED0jNDHZzVyecz7iMVqZpydOubRNp\nDmpInDTNfEVgzf6P9ahZH72cUSpkAosXXskTAGoixt2QydBOTbA+/ElVPS25\nLN8xhVw0+he5fCinBanQzhKGSogKQzxw+8OCQYd5oowMN8PnQ2CcsM+Y6oM+\nMpFgIgBCsIn48Fz//Att34C08Ffx7Ye1noRhAH0osJzdk45hYABO5p/esfmR\nRPhxsEiI/2LJGR+MtGX7Cah29P5psEt/u6rr2T8JMHWpgZBgGzZfamGN6XuY\nQZueNevHkW5OhuJlL5bmpk5DtOFK6ViSwfDJxOl7yvJ2/2rWtqc15fS6/TTD\n14OIOB8XhSLj4bz7wvGLsQkQP80hINAIIXW2+ueEgzlv8d+BIoNFGUaoZVIF\nNICD3qy/u1p/KIDXbk8yjrj+0/oRBONT8dhYOhh3UNOhqgatwvBbDEbfZPG/\nFesNw8KU/Z1Xt/GoroqpCikcH4Q54L9lOx2zih6d3C0cpf3R/WQ7YmQgi2Ma\nbj2J\r\n=7YlK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDguS27HY6FJ2CHKAhWzmrCpma8ePPoANnaJcEl00Q3igIhAInl1Xg/rCNLsyt3gk+/kyULR2POUp94yMvbWyKSwSqi"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.2_1604855017898_0.10910375393947391"},"_hasShrinkwrap":false},"4.0.3":{"name":"homebridge-bravia-tvos","version":"4.0.3","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.6","fs-extra":"^9.0.1"},"gitHead":"5bc713660c886da3aebee67ff752b29e5edcf9a8","_id":"homebridge-bravia-tvos@4.0.3","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-pg5M0ImYyqBoVr7p0qotAUM7QvoZxbykf/2kVBGtgh2LkTtTqmJx8pDVX6Uj66CVoltAcQx7sgMEmSLLs68S1A==","shasum":"a733ce5dbd5e46c453e51cf36aa92fc9fcb0792c","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.3.tgz","fileCount":12,"unpackedSize":84332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqXoCCRA9TVsSAnZWagAAs4cP/2ZKJiH/p7p8owuAqPT4\ngV4DERNO8nRKS1+2le4eYjlty4usDIrq9E23Kja0bACVo9VEZVXk7i/mePnk\nVBFk3jMSMi7GuFVm2XRn3ESQ0Wp2xu09Pt1FSusrlFee+HWio7t01UDUkw4j\n2zgHcijWDUDTwMBlPwsRr+DHm6YM/Kymugcv29Y+I+6d7pzW9sWzBRp0MguP\nhJ2Lz/f9+jtcC7CM5PI3wcDlugL9MdJCPozTvhTDkGujbt6g1DROcPkoDQZg\nJBa1L/WSp2ME0hAXTS7eyU7JbTfgonZIuXECaYlYegwVcewhMLnCKnliQJU5\nZyZZjlttTQKcD4d2T6aDZ4Qo+0QZkxSSaIwPDWGHucYrDleThCtrEYQLUTwi\nd10+B18+zjtHsPhXqTurZ8gwjXtzb4Gay9L+mmuo4Sy6Veo18UXns06xFRQS\nTxPRF5S92d/vVP+mzY2nhczgMaG6cWEKitpVl9AsXzkpNoQhYCLStVnrmIi6\n4GosJiEsgqq8MCkL86V1QhON55iwqAd2CbTDIbH0UBqEw57qlHGc+pmxj6L1\naRWPDFc5zMqBufMM9CGFuFbmGF8frWbcD4vsfIfXrr3/SI2lKSGDvYxfV5Lb\n6wcebijonfKqjZTASRUWc/3/pMhlQY3Bg7n55MkjzXsmgEhOoI2huTtJTV3Y\nnr72\r\n=jUyo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn1VVOlfyTIryvbjKxw52UMNZ3FNOji8SFsq9ndN18PgIhAOAiBDlqqDs4o2s5nZDhxU6qz8YU0Y+wxfUKplg2bKC9"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.3_1604942338329_0.5831433726546806"},"_hasShrinkwrap":false},"4.0.4":{"name":"homebridge-bravia-tvos","version":"4.0.4","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.6","fs-extra":"^9.0.1"},"gitHead":"55f3417f095b716fd2115877612e9b9eaf9a5443","_id":"homebridge-bravia-tvos@4.0.4","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-mEhYFZRtY2TBOfXEXvfCpr3NHcPukMVq/pj1OfeN9jZJKd8Q/vGU+z31F0Nt7rudBvOJABEqycm/EEDbQ2wHgw==","shasum":"16c3a6f7135cf784b2a547c0957cf18226095016","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.4.tgz","fileCount":12,"unpackedSize":84389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqcc4CRA9TVsSAnZWagAAqUMP+wVcwZelY6JLJq15O2vN\nkpqWf/Yc+U18B7ria3h81wDlnFVkWVsToNizjJhabG4uItHpizM/pUK63VWs\nluPlChACqtYxRShEv+PBRzngYZZjhh/vcKVq72bS/v68mV6l1sf74jKJfqTC\n22X6S/As+ePwMJCnzy1MTnV58OjhcJHJp80CzD5jG7slj+MFfInSGb8M3m8W\n8zEGXViAKLneqCW57vOeDsHQdLhmDA1wgGlJISPSOb0NNshYBvCxdOmaG9nn\n/dWVt03AiRYeLbJkMEYBIWe8XAiaexYroyfgnS5b+6t2OL++OpKKYP5sun84\n7GdVoAbg4af6qlRLduHvp/AzuKEHTpedtl6ndJTEM6EMsHj26ct/imk8GhVC\ngrDfhIihJZe4XCgCYf//kmqI8SGd3GVB8pjzrLh3DM1fxuJE8Owoa2wlvq0W\nq3RNNGS04zmgN0cIemHbXNXArgKGAFQNMm6WCDvNGfsw8AfVXmuDmAb+xr7/\n+ga0CdEuGWZK6309TpsuGoUQxQwHMC2ttD258GerN/RkDOigWVQelbr4B2fI\ng6OdZRfBwSNcap8zPAK5dLfQHITi4b+J4IHB85VKXxAfqFcF2FaJS4hT6S6i\nQUoaXrL1UMgOErvJmiydoTt1c5GEQhWmjgJqoIf0fNB0MwF1oEReDGaIkuhs\nV23v\r\n=YDzi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDpZCizdB9Uqn6mTQHEcWf8qmXQ8+wZLjoKEBQCDHlgAIgWr2TMugQ0LBiMpBvtkAQfdgjKWxHJFmdpNSmou1ad0A="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.4_1604962103790_0.08104141219339556"},"_hasShrinkwrap":false},"4.0.5":{"name":"homebridge-bravia-tvos","version":"4.0.5","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.10","@seydx/bravia":"^1.0.6","fs-extra":"^9.0.1"},"gitHead":"3d596035b366afde5c66b4cef80a45012d9bfcbe","_id":"homebridge-bravia-tvos@4.0.5","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-pqSU3udTdCZdUt9zM5Nx+dEhYyDPf8EAQ4fm8mMtAUkb/Gd5q277l42RTSns+fn18ZAJVzjmKnarQx32gIbP4A==","shasum":"a149764e00d77e8ad5abe163c668ac87a3ed4693","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.5.tgz","fileCount":12,"unpackedSize":85216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqdf6CRA9TVsSAnZWagAAmfcQAIilRTHYvCpEQolrcCor\n+BP6+ArykpUMR5NbYMORge+n8tcS6X+zqBX6YcFCLyhfeTjUsdR4YAs0DrNT\n7rgUMoS7/V1NwgE6mx5i7C9z/SRT6i/YiuvfTfl0wXHE56dO7YgzZoq06RPH\ntMbvvyWTXw/hhLbPZ7TsuuF1vNWl+HGWGc+oZTydS8cIu1GWAhaujvX9Q23w\nh7fSzyA0rUk+kNYxYcewMz+MeK2CPESezgaz2Kjqge3UmaO9KgkM/X950Moj\nnU5/e52OJTq5kWhW8fBQj2wmtipDw7Dl3SZKyUP28sxS8vhZF8DCWPER9R3u\n2rUJwjGTdinArzl83Tl2Eb7r709XfbpOWOqIE1dJ/FYGeHrIwtltAy0rWbUk\nM8fkrQ3WqcqoMP0JmjWBnjz3Ozz1Bf1RK62cgDvENvq1RLNCDLAck7tP0ECj\nmBRNwsiNU3+qQ9vPoJ6QbCIqv3IA6S+7Oz/QwkiqJitfWQY6pa/3X0063xeg\nUdBoSw4Vpe0uFqU4rejgroyGxWGkHFre1XBHbX2PCrzHdHHXEiAsXQxJUrXQ\nyBtBkrmB7GQuhmw/DFeaMHNouvweCOzaOXa4dxA2mMZq5MRbEZtwYef7bG1p\n+WCyF1LDV/CNVipsAQFxhLe1a5okHPtTmLOMGLy6P/u2g+1aZzN5U6ZdQB7l\nRpdw\r\n=mEX0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeQJ9Nx7xrcnLdShfjRbC6Ut85aNzTvlXfuLqP/XCBQQIgWMie1xzKmTn5an+0oiMbrjTFUWWkdKHbabXAH+hcW6Q="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.5_1604966394122_0.36649766647714843"},"_hasShrinkwrap":false},"4.0.6":{"name":"homebridge-bravia-tvos","version":"4.0.6","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@seydx/bravia":"^1.0.7","fs-extra":"^9.0.1"},"gitHead":"81de96c5aa4ea7bcc4ae74cdce8fac1313ad646d","_id":"homebridge-bravia-tvos@4.0.6","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-acJJJT1+ATm0vEbv5d8nggrfUsyAfRmE2e3KlgsqLqjfM0fadHRBUP2fyJrZsZUQbWUZIGcSoKvooo9H7Ywwog==","shasum":"f14f3d6d9cc6698fbd158d68416b250010d9987b","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.6.tgz","fileCount":13,"unpackedSize":85435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqniDCRA9TVsSAnZWagAAG2EQAJRpBPHytUxcztzMTQrB\nxEYAx4fF9/X8y0M7k3CHXcl+2sLYHU1+GippnmDcxSNbK/x9uRalPecesNMd\nIOAAyFcPhv0FvSgXg/GC1qOCwCUDNA7A++OzVcpsK2rHHvnrk7rQQFPZEv+E\neRgVXxkKC2fw/3Wf2NklHZLRUPAbLUP5N8bnbxPdf41CcNMVJBEvI1Dw26tW\nNpJ22AWY9riCpRC2Uh7zOuK/juoPc6OtPNivo1ACIiiZr8zh8/TS+SbqqizU\n9PLdx9ZwoOZZBbvStaDsfMSIlL7aC9v2SMrUCvVpABb2Gq5byOc5nXeDQpDo\nc0tEmt5gJ0Me/NVvso1PhL/dUd4PD8k2e2FZc+7VjU/ZTOAXF9U+fte6G+G0\nVTya9n2PK8B5iiPAqAAZjZhQ31rVrlvs9/laP0CjkWxJgKhsBD656vqDaZRX\noAvZPIvbfiZiI0adxIsG9V9zdKp1EdanqGhsggMc9OqkiEhtFS4u81Ixz3sp\nHFCXln4RaRtNfcpTLzWdZfBK+j66a4KRmf7gmfR2Xm7Cxybs+ErbdRsmn/Kq\nRiGC8wkXSvNqRa+BMarIfqT03OCh/T4fO/2l6K8Gnq7loa/INtpinkX6GJg+\nrBePtawSyGvyx3jI+2+yaKzg/rY4UAu3A3suNc+m0qqlivpP4rG0i6Y0yxkp\nNxmE\r\n=kgvg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaulwaMrNG53oIGE7Rra3lP6sbWVUsDifGzKzIBeqfdwIgWmUoacwR/9NvG/q1fpW0iA4YdQkQ5ubkrKSZP9uUe0U="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.6_1605007490834_0.8293359852192963"},"_hasShrinkwrap":false},"4.0.7":{"name":"homebridge-bravia-tvos","version":"4.0.7","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.2.0"},"devDependencies":{},"dependencies":{"@seydx/bravia":"^1.0.7","fs-extra":"^9.0.1"},"gitHead":"51d2079c648c1facb9a662dd94ff66418680536f","_id":"homebridge-bravia-tvos@4.0.7","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-3uVU1KzeBv14ASUgqg0RUgs8V7tcj20a2RrFbNbqTzb+yOUE5HBUO3uRp8sUelbu1QjUCWthlprLjxesp0FwEA==","shasum":"5ab51f7d0eab07cdbf52eb2d73346775281b7441","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.7.tgz","fileCount":13,"unpackedSize":85485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqxmoCRA9TVsSAnZWagAAM5EP/jc8+Hccw4eOrOMO8ovA\nNZkCpeDtaRS5xDX18zBse48/Rw5sRj7QQohM4pMp3YlYggxr0S1H3aGCA1EP\nisCdU6hEn0c7hC7/eoT7rP2DljfFkqt/g3+Wy1f7WAz9wZP27moM3WpAX3oB\n1XQakv38ThQ6TavJha1g9bSt+6uj9mMGNUEfwOv3dY/RDpRq9hDKwZ+jQkr7\nUHM5sM9UG98rOrzd4Gs4+IVBEj/hj5ewxF2oLkO4izWY/VsbJ8imy0OKlNpl\n32UK2utNPIs1KeD726hh+xAelsGwWSV5j3X40LpiywVAVxbVge2aDGt26MiW\njwzuYzO23oPXcaId3L5KG0EUHWobxBx3EJ8htbsTFULnJMHAoe/xtaV3pCtN\n+OfyVyy5D81fcB6nhhHl34rM/IzF374KWf5C2l5xeFwmKeAXyrO7aCBhyqDP\nvTKzsTw5mN8ZcI+LlHKHFQaitMjogm0Mbuyrn+uKSMMz7WLE7dCgCwh6qatw\nTvaHGpb7xAQYwgsAp6yY1SPD+jTCqppwn+vS1+nksLRPZ53jdoyJeB81SDlT\nuirlSLOCbfrLTkhusgAKm6a9IgkhW3zB0O+KKE5gVJci0SgoCv3ofnROWJND\n5leObZMNbtZsmry5qaDekiA5m0fVZD7s15WClqVM84QT7nlqDY461WcFsU36\nEpXh\r\n=yWRT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQKT78BYOwxTuCZluQhYjrgTaRYy59CyQb1rdCmP3jTAiEAr/q2121AR/TsN1Y9lpuWx9UBmFnPmxddkgvtrYwArUE="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.7_1605048744332_0.6616031837333962"},"_hasShrinkwrap":false},"4.0.8":{"name":"homebridge-bravia-tvos","version":"4.0.8","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@seydx/bravia":"^1.0.7","fs-extra":"^9.0.1"},"gitHead":"b4a5ff6c1fa65e35a1797f1899e362f2ff43922d","_id":"homebridge-bravia-tvos@4.0.8","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ga64Lnf6oqDczofGgFVUKMKIGsXMTuNf+a+bjLo09Efm+zw0w+7LD/LmNkW/zl36Jorc85m9N9xLVm4WYGCcAg==","shasum":"82700e9d900cbd397605a2b3fdcfe950c00755fc","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.8.tgz","fileCount":13,"unpackedSize":88766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfr2DSCRA9TVsSAnZWagAAbsEP/jxOP8F27AP6BBooF/+u\nAcVgTCqJEl5DHw4J1ORvje+5ozNzv5BSTDxLsZS2ysOjGkV6TCBEgzMOQ+w+\n4ed89FHHYgXzrHFm6CuXwp0b25abHFFZX/6eHIPEEMRjd7yPYCQpiRVxGtcf\nobC56OlnTgRUAs6JmVLWO15lyTJ+ktv5+mUEh8g2p190NoNMKPpgUm+n2/u7\n5pR0pB5yT51Nc8RK1iNOmR+jRhgk+ycJuvZ1Hk9r93/SRgPfTmRLLo0eZ7uK\nUkyHHD3y14d6GkdMIYxpgBUQm71kLd+rahO6VnUdQCfbXtjPldWYPAVaJTMn\nPs3sIl1gauTcfkyDgj9pLp6b/qWuSVmQzmH8V7bnewg9+13YNj0dvbtDGe3h\nBeXU2SlMra4d0U9k++UEcaiwsgfymLwTE14MQRozg7wscuhD/KYO7XD4jO4c\nzHuXjk8i6ZlLxCBGDddImaC7etTXC9MYIlxZ8qx65ZxxkbuE/CVJUjRHS+tN\nwoF79mT8roYvbBHvAlmSTqZn2XfUyaL4QTB7VPJS8tTD1do2dqo14g0Yv7HH\nui7WzIyy/hUs3k9/JLDF9/7p4IOqyqvsyfDiU+edh/LTkykBBluRZGoC/y0h\nHqCpPgHMupAMfC0cIu9udLrN+VYvliXqoc+nPgxse2vjvyq9xJOL3U0ezW5x\nrwNP\r\n=R89B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCktGeE+4JC1LGu1aIiTCm7i+KMrou7BjhyLsBIdaL8KgIgFqaKfkW+nnlWNc9UmdW0JHfSVBRGzupFWkRFiIwgdAQ="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.8_1605329105983_0.7862997101320768"},"_hasShrinkwrap":false},"4.0.9":{"name":"homebridge-bravia-tvos","version":"4.0.9","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@seydx/bravia":"^1.0.8","fs-extra":"^9.0.1"},"gitHead":"33561ddaf7c48559ec999ca4c3a59446d50bd730","_id":"homebridge-bravia-tvos@4.0.9","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-RkChKIy5fgtag2GKXyKGXt8mLxSeJ/reRw7jd1imoojQORRt+fdhpruWbzzM7zn8WVezr/AFgtjkgeOxOvaILw==","shasum":"fcf0c128c76bda752e4ecc73477d548006d329a2","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.0.9.tgz","fileCount":13,"unpackedSize":89680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfspn4CRA9TVsSAnZWagAAtfEP/j1yiMe22bXrxoIqusvS\nW9psL+8ALLHeq1QUGWHtOQd/W31qj6TF38GfVpGpQVvgN2yk7Ycj9mku9wwS\nnROGGvlDltvYOhcNc9k0DqFuPitumOjqABG6s1oYTJ7+Xf5JYlX2QE/XWtSc\nierhBn1RvW2iBtUoAmIVl/AVn0EH/pF1jMesMkZFb93cMeZquYKjne4EPSCF\nikctIgtBrhrKA1PA2ffcVXZqKCxobezetV9YqGEz9KmZd/SYTOIV5oMeZ0/h\n54lGfeb0IUPZbZ0gZ8y4MBloKj/ZzN6KMq6sIljkPCEWOW0b/v/rQla5u7RR\nAa0D40uJyGuTSfF+/dFkYuuhkvKTGXoxOdW7BuD4cRGHGmLDAxptTp0cI2yb\nIl3AcZ41o8Fs21f3eDbMUpJtHhF+VXDNPKp4prtv1vbuQwyJaLCKf+J1l0ts\nIuAlcDFD+5iiLVY4uX20ZxiFAbDZcoAk4319W5NrK87i+FIeFgEJyN5ASZ/X\nE87mwoPCbFvadTQsXHyBZbGHdDO9XAY/73alt4tzjuPSNNPdpImekKcLgWGx\ns3dBUCn6mR1OEZBkNMBGvWIKPfVNIn4i2xhAKIDsZsjRkv5iZtQtg0cknPBK\nFQ6My1Z4KtKMnN3xSCsHby6NMf5VZehnzM3dVUC8VsvQLJVkn1XqNgA/pvPT\nwLoV\r\n=nDT0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7wS5VCnOXQJEgDeAogHD5VvEDJ8WhcRi+GbTD9ck1RAiB/+80kFhESe9uXtCg7ZYqp9haZ35iDKSmgE8Eg4G3ewQ=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.0.9_1605540343553_0.13457074414119674"},"_hasShrinkwrap":false},"4.1.0":{"name":"homebridge-bravia-tvos","version":"4.1.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@seydx/bravia":"^1.0.9","fs-extra":"^9.0.1"},"gitHead":"e0b7222fffdd16ba29230dfd121a3654bda2d830","_id":"homebridge-bravia-tvos@4.1.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-GcPLVFMBmCciNCVMSbeUI5jtzOJ7N2hKZgzOmHUjHz45T6l3sbpmMv0p/ZUxtr9uAn85iM0L0JLWHOCsFxjpPw==","shasum":"4e8ad647f16798d251a146cfe6e0d7dc8f0bb4ae","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.0.tgz","fileCount":26,"unpackedSize":448373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuf3zCRA9TVsSAnZWagAAYYIP/0eRgJ7J6R1un6dhWSHd\naX/wDFnP4nOqtB6tvtsq00GZ9hAql3Kynng9HdRz4/EbDUYDytfc6Riau68O\n5UsGi4P+edowZ5J1P4Q/FCRB0h8n3Aef6Gr1up6bjNgqmaROQoGY2mBWov/o\nB4J+qCIWUYEkfQeNglLfNoNzpfxEkkVzLLFLYbaHYYoqBPEddfHlQpA8yWe5\nEqMhsA4Ozd2d9KezOn6cLggzuhRhUT274cas5b5gs17AiiOE0LlEN5C/nBhf\nWjUXtY0pXB8f48kIr+Oe0/02R20H7oiDR8ZLuGUUUGTo46K8vBwuXmeoaz/H\nngj5NUgX9LLJJQbXqTGjuHtRJX6D6niTmSHdxOdmZFLItyxfBUtF7HSVMPQ6\n91uWiySImr3v7/uiSy5ylpv6kUWCBMlkRUptAwi9corNVcm7N00rplqdSqP2\nWO1xdCHwr9J9BCPo+FzFsQMVLgqUUVN+B0TohJETbMChbOqADVUb4uzha7H3\ntwdCXEsrl8a3ks4PNT43PJwYJqjflMlLRRIGhpuEeGO+U5srIZTH+C2jQP59\nvNJ6ewLMldEGorAjFJryeTbrvpoHvk8bskzbkQE8K0bbalMlWO7K/H+OeJDt\n7SNGVmeOWsC4pxp9JcjKcPtC5mMwZ3phwXP7vrN9VBBDjahD4xZ06TYPXR02\nFONL\r\n=+fMx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD58P3p1gUpyq3X2D09OL+6cTDhB2LPQQmc9Ws2q+TClAIgVfcBxOy6vf/xbk6fyfFoo4wJKJ5sGGjC/zPAcTM5O+c="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.0_1606024690955_0.05598844507795109"},"_hasShrinkwrap":false},"4.1.1":{"name":"homebridge-bravia-tvos","version":"4.1.1","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.16","@seydx/bravia":"^1.0.9","fs-extra":"^9.0.1"},"gitHead":"b0ca96a2bd9fae545d55a6fb5861a140593f559a","_id":"homebridge-bravia-tvos@4.1.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-zvJJ3Lv6ZMR8CMPi9Mhlfn03OquMKzEaFevylPm/+VV9jBLs4b5YcchbTMZSKqqlDXJUELvfW5bUwwW4aNEQSg==","shasum":"efb0443050af4f7d7e931c8f377e04f966d01772","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.1.tgz","fileCount":26,"unpackedSize":448490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfugNXCRA9TVsSAnZWagAAgLAP/2EU3zvSmzEHTIbF9xSQ\n3VkCt0DNx2h7+L1GzYP9RfI+kI2HjUAUzI8rmBvx4q5i+o9ko0zNfLSNST8H\nTnOMLzrVQKSc9XJWhZb8g0juNXkhCStzG1FB4gM5+/uthGQXDU++Io/DR4tw\ncRbQAbP4OWAqGHwBwRO5UVEivNoAIk5rNNzwjqQ4D7EhA4p0N+XYi8YHcu2M\nWksmjynd8GUXujg27rWFALJNn/PvyEjEyyKERKnjORW4u/uiXKsSjwaqRv3U\nlfZ7xijzKqdgOYJlpjdN1u85tEscQjNBGVJUB10oAIEYX2ZvJEaRZC4Rw5jW\nSY8fb9zq5F2IO8lTT0kdjNZWx/DtjpFEcoE+4T47uwVDRO0akSof06yG1gFm\ncZ361fYdKoXATqEH923zJZpCWqifc4WYSmWNm8O213GR0qTzaLMf/s1KKLpa\nlLBSHwyJ520JuEqaUq8nEQLOR3BX7HRC3sBKHVtAkF2R4wVGo92BGjjOEkwl\nQ3f9LFVKW3OTDnY8oopBr3XK+jfJSz+pVXDmCwJHYhfCuKCG+rvKdFe5a25e\nEy4h0Nq4y2qIFKDhdvX1lrYToVnOFLYCmwZrzfnhSxAzDe4r6Dw5J4Hw2j+J\nPUU59giNLp4QaOGODQXRmYRubIgOegnPSfdzumwA+DKHwyAXXSRcoJLuFnVw\nNHa1\r\n=e0wt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH8AkNSOR3kRsl/yetRfsJAn0g+/zASJlJmVSnLIYmdlAiEAnpKojY1tFGF2jAuYVmSSR6Ia7DnpKb8GrYfTF8SNhH4="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.1_1606026071134_0.0018553051693819267"},"_hasShrinkwrap":false},"4.1.2":{"name":"homebridge-bravia-tvos","version":"4.1.2","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.16","@seydx/bravia":"^1.1.0-beta.3","fs-extra":"^9.0.1"},"gitHead":"c34b57d538df36e58104d1e774b92d6e34625ff8","_id":"homebridge-bravia-tvos@4.1.2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-jnqhEV3XrZu/WPPYYrB3wbMuaSWTXzU/jcDZwHofozRa1AJqo2XCs1tSOJFJFR3PRwF/TwpUPHjGLbmEbYp5wA==","shasum":"a26f585f04a6a17c7fa43097f158c964ec282779","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.2.tgz","fileCount":26,"unpackedSize":457661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfu2kwCRA9TVsSAnZWagAAqjoQAI3Lmq/8POODR/DZzVgW\nQyDp/h7Pg0QANGSAR3ldIovQ79Nz6BGpGOXvpZ+Pisza4an10TGWMN6Jrwyl\nwSibHbCH5wbFDU/FQ1zue4UirbfCJ5XUBhARQASZSTXppAitVwNvPeDojMko\nNsBixrmkFThnqXmWZ3VmYxe0pROLu8JB2bhh0DB7W3E03rECDZXKCUjtBWuN\nV3JkgfE0b+vRo7rouOUtTRobM+Sp+oiAqWzM0Sc1EZdDZbGgJ6MQkNgj/fdu\nWDXys3MQBRHfSlZ2uIHzuPfNiJNuTCGfLgg5lZHbOchLz8VYKtj9Lws84baI\nfwIBDg4aUcs8Nrw16XqUoF5RABasrWXj7U0pMgN2qMMmFI/Qhb1q3u8qaDiN\nKKiiPELPx0zyMD2O0gYSlhn6qWuABwUO0kdaLqvwBCkVSHLouwid1EYpjIRH\nBeGj0/DxSXJgGcT5Rt3ocSorYPURLloYjxZed++qX3kxRjLHV8ofSuBQET67\nfKvqTMS0/fVAKEILHQbC2VdjZkEtgEndHuZbvCg3JRGdt+1wTUSiLIdK2K4+\nzZt9fwf+JjICAhBnTTC3pSmh4zx96HQZr9uFvZn+4EagMB54RJJDluF7fPBX\nMrK/dlXIIgGgJT4Rl0ifxIzvRcu34YB2qY3cGWAWtfKsLDEKuu2ZxL5srV9c\nucao\r\n=9YLI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5VmoONKQClvfTn+P//BOCDbGJcbbFFhbY4U/2HjZ2LAiEAtRzJF5MaQT7kjXwLcMDC7IraigS6WAKDfSk4M0YggX0="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.2_1606117680014_0.1295185081869612"},"_hasShrinkwrap":false},"4.1.3":{"name":"homebridge-bravia-tvos","version":"4.1.3","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.16","@seydx/bravia":"^1.1.0-beta.3","fs-extra":"^9.0.1"},"gitHead":"7f04b32ee69ba57648c9c2615e34bed122973fec","_id":"homebridge-bravia-tvos@4.1.3","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-PNd0J0hDC+hkLGxrioQggwyuyCYsPqTDmSWgxdhC11gN5v4yeTCzZ5eMmpujXPoizqO2IHJlrhNdBs9CaR5NVQ==","shasum":"56cfa998c2410229d445219b2d2b302c4c2c8519","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.3.tgz","fileCount":26,"unpackedSize":457787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfu7hCCRA9TVsSAnZWagAAxMYP/1Se3HPi9swnhLVUah5+\nilhKDIfY2By8rYCdrdMtNVvfrZaE+wpUCikNn+oEIXk6GbwqjHYWLt7RPHf1\nMGugfgI/7qnboiEpuIQcM1/xL5fZPcHvAPXp4QjZTglUN9qp2cA1tnv1bOKf\npz0YahrPPuQAswuLV+WfgnbuPNDzkOBvSyltJSMIO8dl6Nkhvag1+PObDwlw\nggrND0hhFGbCmoNsJ41C8/DlHldflQQh097YaBbklq5+ezgbEKjKpjZ0dHM8\nfpL2iQ+DmttN/RhOhRhSY27CsY+pP3O+0qBDTFq6IJHLA5faSplyYe4rsTWm\n4UJO86pk+DvEgdMsG08kTCFAWl26zOg4Zmony0r4uUDrYZsDgWO6hRiy6Jea\nlH7JeXJHudg9RzElA+fy9ctQQHTj1r7o7brwHvbDO9X/P8LG5KhOrzL3a0yv\nZT3CdsVkBnat/xgtBn/2CRWWpa0CC/ugJuJWOQcptDufG6H8lhwNDde3y9fT\nLE/M+uxtCI2GhhYQQ0xJ4AQBmIWU6Fk1Bqnc2VWmZyY76doFfCyKoKu1D1Td\nymAGgyBxX5BO9epI9kMXAw9EYG/Scm7lsCU5kQNwKBPRgZhIv5tgy4d1CWTy\nBbPmvkCfrcUeKUGsGa8hV41HQQKR26qhqpMKgQco+mWJ3mSsFVIFWmC6YIGf\n6PlZ\r\n=yFpN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH20+KykbG+iiJdc8MbeHvk1nKrL+CyFymEoPBVRmCTDAiBD4ohzqm6dKloSqB+5z78qdeGFAgEvaX0JBPfXM35wlw=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.3_1606137922157_0.842716801046477"},"_hasShrinkwrap":false},"4.1.4":{"name":"homebridge-bravia-tvos","version":"4.1.4","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","@seydx/bravia":"^1.1.0-beta.3","fs-extra":"^9.0.1"},"gitHead":"0a6178c9daf1dcd8762a9df5b5942324fec2d817","_id":"homebridge-bravia-tvos@4.1.4","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-5tCtMunkqUrD6FtHl4niRGH5ibXHlajd44ZrzEGa6F1EjL/N3KAVmn3wlUmTxYahS2O3mF52wiKPn2FQ6VhBKA==","shasum":"80f0d1c282a48b3225b09b9d69c1eeaf30ed4a18","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.4.tgz","fileCount":26,"unpackedSize":458426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwFOUCRA9TVsSAnZWagAAcTkP/Ri6G5CyT/6hlAu3ostb\n9+wLIb9zx/Ze18p9wGPtWXWmTPPQnrECl78Er8SLmQDSlyybZj2gm1mMwQ6m\nrLWh5siIE6l1bBneoy9VL7zgaJN3ojctjufNie1mBv1Gqg+IER6Yh3Gwy9Nq\n4rcMxkznwqXd+FVw3UuicIV9EKCaliHKHyL8NHhKIWsIUHsuuF/hKXgJFVW5\nL3l9I51TRuan9G2AfO5VyiFoEPLkrIyHI9hoDn9VJ+OrGXCb3kIU9yeHxZ8n\nFW9Mh7iCV0i4tFAweZNry+z2ioRktlNAeuvrB9rY2d9xSXb4Y6bMeOxYQeNd\nqgiscVsJC7XbAgwBA5vXXT2EjUpGGOANE3y9nSXKWnhLKN/6xJabUZ3NvZgO\nMJBw2ziJ9t26osfomaTba9K5MVW1bLmnXsAt3es8qNKKgkClq4XnV1YbQ5ZP\ngzmGUuaUpI0r0N3ZCF7T8SlFCdymOWEKb841jA802UFdU/K4y7bxKF4Pjvr5\nK5eKfOUIwHlnDmnT/lc54cKN/WBhn7O+gX7wm2kxnVp3QHU7BryKTRkq79Hq\nhpuTUH8JOLX8/Fnwd6hdDIq8qyiBX45BMryvSaiSkT6NasqCuNV43mQGTqFV\nkGoOvv3cQEWFDWhshmAazunEiMqWZXZt1hlSg1zv0xRFckwCQ4Ku8a6zaNPh\neC2k\r\n=y/kV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHofPSh9yepGTxR3oq9DqU3Netag/Y4HQR8w+a7ORbqAIgXnN+w7fH2g806mLFSeykwRdvvktpHpboh0OECYMA/WE="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.4_1606439827448_0.7394937624583888"},"_hasShrinkwrap":false},"4.1.5":{"name":"homebridge-bravia-tvos","version":"4.1.5","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","@seydx/bravia":"^1.1.0-beta.3","fs-extra":"^9.0.1"},"gitHead":"0469d7f0c0243143887dbf8e5c4863219e913696","_id":"homebridge-bravia-tvos@4.1.5","_nodeVersion":"14.15.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-TGDqJL9bMLTeJvH8UuICIzt9AhaP12vlI9qHKgaslqQBDuXA7Ur04YmtjBn+s91rm+3OKClyfHcuiqYUKpeBFg==","shasum":"6a522ad4a1f4456c1294db8bd7dd999466090c6e","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.5.tgz","fileCount":26,"unpackedSize":458630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwS/BCRA9TVsSAnZWagAAOUQP/iKlUpLEKgX6grTgUrIg\n4eU8bC7fqPbggZwlLzEC4DWBokFQEo5ZCKVpy5Ty6mt2pH43b0sU0EN9aMUI\nmF1JVriMs2O4Bdmtb9fi2tKvRbwBoQeXpz+o3qGyMvALDxrj3FSluxHaHRzr\nPIAk4AGiobuDRj4oO9xG672PcuDOndyoTZlQhPAbImOoXA7xOnse29wysPI5\nz8UlHZEq+om8RvoVWcJA+1kTjRQOl1gnYZaFPfktISkICLSnPoEi/dthzLrT\nTQCdGvkdsEnxMIqwQY88txz9fvUdiBnufFm6g129F/vtOwjeI1GS6ErUdg9V\ns0fzDFxMsjjASJVRjkT4kZNzIRG0hwuKrnEIY6JqEgIxlxV6vA5KaZRaAW87\nuQFtfiVjzJYYNxqNWNe4a4QMP2Jbfinv9c6LwvRIzFlyglRL25GTpK/8h2Cy\nYDibWscu7UqCzfgf+w8lfAV07fujKMqC8/xrx7x0ZE+0Y3M8u8XKnedgnvHE\nV2ntuBHwIqgsm12mHlJjye/acad/97Xb/fsFqDUQlG6Gpv/axTc4/GAGAHLc\nT6nfhjS36wWJ7uj52LjY6rRVA05oA+unMVEVjbdZgzZ0vETXbrJ5L/5//334\nBf2XkBHuNw+oV2TeCs26ihXzj1d4IRNWX3Sn23Gp52jGa7a3bleKRoDnen7S\nFa+l\r\n=DR9e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDYiYLkoZ0Cbue3/ORq4snzxtbpIS5E3g0L37gC4A4vLAiEA0WL1aN8mTB4cEz32ONesajIJdj7QkXPVERBIC3/sPJo="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.5_1606496193263_0.6790139020983557"},"_hasShrinkwrap":false},"4.1.6":{"name":"homebridge-bravia-tvos","version":"4.1.6","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","@seydx/bravia":"^1.1.0-beta.4","fs-extra":"^9.0.1"},"gitHead":"1709c4e5581c4a96047551618015a6cb93151c85","_id":"homebridge-bravia-tvos@4.1.6","_nodeVersion":"14.15.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-GIooIqFwje5gXVD8j46jFh5O903JcGDAL90TnshaUnWF/jK225EaHpyAj6RF+HY4Uuaj2EbtN52bjMiF2lY1mw==","shasum":"8b3fc55f6914eef3416d1ff7be9f6334aa232326","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.6.tgz","fileCount":26,"unpackedSize":458674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxjCMCRA9TVsSAnZWagAAGUIQAIYxP1ItmOM460aTJP7z\nXjoRkZaKqN//Ud03Yx3ZnW9JEX7pA/Hy46UGFsbxs2X06lED2owHYria3gWT\nKhc7puwbWQ06tMjEEdta/g+KIowgmsE2Hyu+MN3Y6wCkjjpoKcL3FBooNG3F\ngchB+RBWJS2GcoBFeJV8YKPqwXzRdCUnFsZl5LwL4XHTOrYSq3ashRRLPUjz\nVerOMr19i886Yxwz/zTMlR8hFNjy+3+jmDbLpA4fp2sKgCsuWeZdibwl2b46\n1HI6CtYrTiXFXjp+8uS5qYsn/9AvNMqJymKQ6aSXvcE9rTkd8gnXzOWLdNr4\nlaCKpe/3zcNBDvL+u2e/+lTrpnncJEI8IohvmEVyOaOH2vToUbF4d3bxldNR\nw7azLtfV95cWTv6ZKYuhZ4yatCNMqHxhUQQlKNhNvYGRAzp/ygZ5XGp9wDdQ\njZRcr2VTGfx/2EC0328FZ35eZxGHfjTMXEfbzxYJ35MDBDGAGI/PKiA2kh+s\nR5pizEONLJVtX4lQ7dWeI+PlaN0sToObzWInkHrTY/rnq7giRfJc8CksM7x2\naHRn3bvyqP3J1MKo9oPSSz1B65Opxel4ON8n99H7whsP2LR4cQlmAqJUephS\nWUJDvhB03b8McaUYBlsPYQX/9hmxePQ53UP/m3vIUtIaGP4opvVkC8MDgoFv\na4Xx\r\n=b6bt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+zrcZ74Sl3ZKYUJ4I6e1fxCn9qO1GL6BnTifIqJvgeAiBpInfTbrZDemnq5Kef2McmK2A0OuPscLpNwoB1IQ2Q2A=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.6_1606824076203_0.618961531325755"},"_hasShrinkwrap":false},"4.1.7":{"name":"homebridge-bravia-tvos","version":"4.1.7","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","@seydx/bravia":"^1.1.0-beta.4","fs-extra":"^9.0.1"},"gitHead":"6834b245c50b41407f5a0109532ba1e8e9ac9844","_id":"homebridge-bravia-tvos@4.1.7","_nodeVersion":"14.15.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-/0OE9nQJYWVCQA3nMKxmOIxgEUewELH7fKkF9kBSqaB24MMHKuvMN/uNqoBsoWbGF3zH1daOJF75aM4ngzsddg==","shasum":"28b00f30a2efe0003d69cb2cfc925b91acf427e7","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.7.tgz","fileCount":26,"unpackedSize":463031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzIVgCRA9TVsSAnZWagAAahUP/1AJfDm5m8dUQOO4TVrh\n276YdzOJfKj6wtARJqNwlF2WsL/42n3xTV3nd8AIg8QE1dWtjYd2jyOaUKfA\nA5U7E7MdlWkb6BIyWJHtisVLylQ1ouC3H19/30FNCzcYrXbuyIYfB4HNrsL5\nRnp10xiOoT5p0NlJ/uBuwv/JbDEIetLleyfqcPPHv+sqrIT5RDGZIq8cJ6Os\nrqIRCqwW+nhXaqZjlvBg9vX+tNthmsZcDjMeewzObMiS11f1MKGYP4+tZ8z6\n0K61gPc1QhowfiaL/EQ7DuW6jPRxP5sBrze0BT3rdgFxoNrJNZ1p8rbAG8kx\nt0FnDwp8Pb071AuMN5Uy0J9Ao+zkpnxOuN4ImwQ+y/njQeBLqb4zuGBZzS/W\nhS31iyObpc282PolJ1jOT33Tiky35C2mASfoKi5v7yDRtLghmkzpNQeGGSfX\nF9ARYT2RpDY0bJyvWDNuPkFiaxYy1rHzOzd/jmBpInblHfs6DEo7JUpIb4lG\nL6zjCHbpyFUYjxW+b/apV2aRofTJK2EL6CKZteTVeYYObC2C3asqvukDR2gG\nqlyD3mKL6YXobthbGB+8L+5OL1XYPJb+8wSPuJlcmSth+7g6904GZFLdMv6R\nW/aKGUlR3A+rzY6dMkFkvLWTeU+iRthWfOo507G+eBwzY5udhJdc9EAXAw/m\nTf3s\r\n=HZIA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBoHaG0ivROm/hJsKzsc3KpR0Deja+qqHJOxMzNJYtDqAiBrpCwus0AOnGIElBfuGs2WhJzk8vGQQNyUqDPmL+7XnA=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.7_1607239007465_0.26202986467696965"},"_hasShrinkwrap":false},"4.1.8":{"name":"homebridge-bravia-tvos","version":"4.1.8","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.17","@seydx/bravia":"^1.1.0-beta.5","fs-extra":"^9.0.1"},"gitHead":"258fae2e4797ee09a994f5d82b2031dfa24b6dc8","_id":"homebridge-bravia-tvos@4.1.8","_nodeVersion":"14.15.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-QQ7LsTkdYnZB9B24BJDWaCxFA2YUE3OKFyDDW6YcR0e2gSXgsADzxEB4J9mWlg2BSCZkp9pXDn8bpKZeE5Naqg==","shasum":"c9ef66eb3093fc8a2d77ca098d6d3271a14c1fd7","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.8.tgz","fileCount":26,"unpackedSize":463076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzIY+CRA9TVsSAnZWagAAvskP/2+akF27KSH7HOGzjl6j\nCluDVFeaa8VIEGsAUn4Kc8LS/hfG2/af4r5SaMbNClTl4hCt0pE+90cdiZZY\nhytnAssW8sWxbwMoMCJ331tD9kR8IN952Xk3B+aZyjaE5GovaQaF607nAW1n\nbxlj9nT4g2uEgwdN/rmunHPtl0eaClPtY8CJ/GvKCB5/4H9c92vwGL7bR4z7\nRRFCYx4PN9Qynn4c6x2JjYjFkeZsHVZlcIHMbAa6+I0SmvnDSRhi9KJ5Av7V\nSsel5h8VB7OruC5shq4Zlbh52QyHWU7+RAwO0Js6JbnV9OmYyyk8Nz194XOH\nMPc8JL+qmwU3jrz9q9RQ7SffZWijWlehyyUeh7D+rftijrU2A2hPiLXwi/Di\n11insNcEeJD+SRmAfCVVbjUW47pkV0A/y8MaOGbXAgAJ/LUUpYjNY8HuYeNA\n2j+RfpG6qHxb79TzK0UCrkKrrPq/omqA0yc7LIeRhx+/3MqmCITm8mSxeUAy\nf9v6tVBbm9PlEQqys2CKiyQOV+1FPiW0iDp6V1eZaKtK4rrBDXqWQJjIbQdb\nij8hRuHv+bL85+o7vmVpHhrqwF0UdPM/MkMNWDGgYH4Y7zIqkAcnKEU4HZrz\nIJ6KwrqcQjez5lVnct+NtJk2GrIwGJ2+v3xLKz4zL9imXiTzMpCn5+BZKIY6\nez4g\r\n=BYc3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJnkHyjf7c9ASDZgpUFyhqNUsdRSexVK/lCm/knosMxAiBuVW5i4LE14/GF4lt/uDNWyvNBvBJUVtBY334MZHNFmQ=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.8_1607239229940_0.014776486213086804"},"_hasShrinkwrap":false},"4.1.9":{"name":"homebridge-bravia-tvos","version":"4.1.9","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.18","@seydx/bravia":"^1.1.0-beta.7","fs-extra":"^9.1.0"},"gitHead":"0a4d26cb417474afc99fb0f006d74af1dd7b684e","_id":"homebridge-bravia-tvos@4.1.9","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-bpfTWahPCc24vyDStsjO4W2cWC6GOxa10PvvffX6pgFcNIY5G6G4vsWbdEK4i6dNFb0i2ZJSiNbRWqcTpVZw4w==","shasum":"0639b6da6e9038bd138015004d7ab4eb8729c387","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.9.tgz","fileCount":26,"unpackedSize":463318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTXMRCRA9TVsSAnZWagAAgWkQAIL7GSWejVCUBkuYocgn\ncMwaMGlsHMJ+6shx8Am/h5HVt+FadmIJbczzVnbf/ohAfnJCrRbKypSv/3CL\nWbYxBP1XlhsiCdKd36KCpegez3tJ5ZBQzhlg+MI+UH8ZpWMglGgymzsA/7m6\nf7ohX+YNH6CRP6+e3PCWfJEv79fnVzw4PBCCnvXc9ooiJPIwX7hoKZvXqx1x\nqgSFHVL9M/9WpqIT1/hPV0hgtQHCzf9Cr3voCZyhz4BPqNRX9h/4POTsdgto\nhzIIN1bbsOHayMi9h4TQvGPjhVDlTBwl6uxB+e4Wl8BfnBo0ac4uiBpEnZoY\nS9CmSCPlPWsKcOG3/B8vmuz4CxL6UHC7/jrnN7IEXYjFTSNihTC59WBr6Vtg\ncFlaMihdl5BQbYT7V/X+s4ZB77Weq8MZWPKhrA1+4CGurECp9D0k3zfMgOAy\nyGzDn5vjKGQt6/TiLcBhC3m7CyzLuhwZd/GTxyi8SHIO0l5vBLMVPQYFEyeR\nKbbjEnqLIFzEw5c23J1lwvJdGey+9nigOXgH/A1IrFCNRRyUTT1qy53hhiNV\nHDs/ZndNXriELLUqmRHwXlg3tqwPc7hn1WmVQuyCGAoTnpYy52LIs97wpOPH\nUAtN2ioVg4rkv3pPRhWb4Wqh6hWU1vp2Q2kFkTgceRcYxCXy1V/nUyA2NoVi\nqNAg\r\n=yBei\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEzQbRv2bf2RlbsjkIWK9AtahXueWaDWEry1BbqTRWejAiAcyxe5b1DF/XhrBCGoX5H7mN0v9iCZOI4l5DuMXj430A=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.9_1615688465447_0.9353947135021785"},"_hasShrinkwrap":false},"4.1.10":{"name":"homebridge-bravia-tvos","version":"4.1.10","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/SeydX"}],"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"devDependencies":{},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.18","@seydx/bravia":"^1.1.0-beta.8","fs-extra":"^9.1.0"},"gitHead":"a40fe9da53bfbe1c038e8bea4e4da18fe89dc536","_id":"homebridge-bravia-tvos@4.1.10","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-C9VrxjC1nWtkUO/WlsKiGzVmojHIFsYoCxR1yCf4+7MC5j4H6E2M3PfJGsHxOGNsnt3lInyerEoeeT/EbMNyOw==","shasum":"f7da6089792c520802ee0c0a35d0be9e063f5b50","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.10.tgz","fileCount":26,"unpackedSize":463400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTXUlCRA9TVsSAnZWagAAVjMQAJIz8mMBb62GFae7ms7s\npchyDP5AmG2icmA7GTKbaEqnLm6GycDzONh69jqiLtHGuINy/oNqshgd+9ta\n92xdOlmu93756vyiwDSnTVJUICs6JToN8cFAhSct5lucl8y8qMSyMGrOZNLP\nq8s3PWaiEwrpwjnwsvvefmHkyOU1xZ16sFKsEIlYhJ5gbI7OLFugCCB7LCvV\n44y0SwoeIag59W2dr1kJp6SbDTp8KVQWRhJu/7W1KP0zlxW11HStAL/gynZX\nGGR0PiE1/jHUWRjHKxPjGeU1JnylZcG2cgpMe7eMxXOfC0vIOMKi5GQG8XSq\nONW+jeZKo75xSJvV3brOequ9k7JnFrgAD8o0s52mkPLfiiWfcyqfyD2RAsbA\nmKpmGSBfzGdJ3dkoEQMuUcGkvA1fdt8mTZ+uoCmj1egoRugkjrIk6osIN3Qs\ns9JM2QpVUVMS7iqI4hsp9A8M7cKKQh+FxNhGfZwDDci5Olt+pm8D54lHHnH6\n5ckbQx6Bh0YTO3s5TbxufHaPP9RX8R8fFAe619Xjl2JLfgg3bN6xYPXniV82\nN4K65JwspQEemaurhxwRvYItImTHtqhjcEWA+2uzHPGBgI157rXx9SJbG6rb\nQVTTOPLsFA0Qz/Dw4ZnLVUoPlvBYwmiG3at+WdHGW5kpmEbFL0fHaQlRyLb+\nfcHT\r\n=r/Eq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2OY/ROFCQVOTGN+l7sWo3gl/IU+bWNwOCblYj3QuPXAiEAv8/CUBKalhuisI9oKvCYU6knb51ZqHCFKfBHrvv9wmk="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.10_1615688997371_0.18025822916200096"},"_hasShrinkwrap":false},"4.1.11":{"name":"homebridge-bravia-tvos","version":"4.1.11","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"lint":"eslint --fix ."},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^1.1.0-beta.8","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.14.3","@babel/eslint-parser":"7.14.3","@babel/eslint-plugin":"7.13.16","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.2","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.0"},"gitHead":"3c1898ce0ac19da2e16cec1cac51b7d453c5d9c1","_id":"homebridge-bravia-tvos@4.1.11","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-WBEOPQz+LZAb0EKyDr8AzN5COm5chSYC7ohnTRku1Kh2AAK3Ax1sKLg77zg5Y1kxdBxgo7TGZzQc5ZE5AzWKZA==","shasum":"1831adfa76ce4b2b55c58d3e7505731215d69fe9","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.11.tgz","fileCount":23,"unpackedSize":457728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpNK3CRA9TVsSAnZWagAAi/wP/36DBJmwFM+gJwSVZ/EJ\nrxlYNaNMF8Mh+n1nkUVJJENU7N859ZMYtWFaat3yE1e4UZPSUlRjewxYmCmz\nrDhBYlwBAeILSom4aYTfMrHIE6x63hhzYmMib7up62klZoFCny3q3hG+bK57\nb6cFgB0M5IwUu0iZkWiKgmfCWuuFMm4lGM4fr8BJZSTD5ZWKthEbx0d3sp99\nRA07Kv+U77MsFmq1U90L/3Z1oUTb0dLgKPF3py35gZEqCU8FiVPzFnjEr50J\nzFi9Kmw/kxNVqjcsm3mYvYdt1teBTiBXpxf1L5a7iDX33mqdbuHQV4ALE+dl\nxN4gz603Ymj1jSxTHw9C2rKj5SUhAk7g7t2XbrCBOjSmU6y+1uFjaNBvPf9C\n20X/jqJSWchOtgvSEqPGZZWBfDhpkDoi5W44KGrRVfQwesoGX9Amv0K+G+qr\nZn03WW8ZJU1sm97foT8XANXbWMJKh6gcdiTM1Q9xwwUd9+Gl0oyS0MSIiYS9\nPgU/fHAaEVXfAMQ/aMBK1sNWBMYNJbg1uOU4eaAuLLaGs5wvI8brHSg6ZxHD\nAUJGujQnu6nkzU9xfrr384LIzGXqQFwYSmb6UZdb07XgB8cQOAmjbctgttt7\ncXDCHKnjq5ct5295nDl2iEsEwSdhjKGWd7IJxvAvZfdNf8acHWX5WTiSGuQ6\njA4J\r\n=Fv0W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+DNj7TwRDF15UDcREWr0+n8GsJW4LEg/lTmaHao+DBAIgPE4Nh3LSKM0Wj5ckYofo4zutIFSWhP5qsZf/U/0IuAY="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.11_1621414582514_0.33387049695798154"},"_hasShrinkwrap":false},"4.1.12":{"name":"homebridge-bravia-tvos","version":"4.1.12","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"lint":"eslint --fix ."},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.1.6"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^1.1.0-beta.8","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.14.3","@babel/eslint-parser":"7.14.3","@babel/eslint-plugin":"7.13.16","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.2","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.0"},"gitHead":"5769129a075ad8fdfa402d92ed52fe3d41687a69","_id":"homebridge-bravia-tvos@4.1.12","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-0hUqZ4oiQh67pvVB0TKackg4BDr6aYPmtEPP9eShwhMjaLy7CTnfRC3KnrJibMPHDTCdBNDF0g7tCwiKnnBSsQ==","shasum":"e0ce7d4fa253f72661e1ee7e00937e93780ce72e","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-4.1.12.tgz","fileCount":23,"unpackedSize":457770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpfIBCRA9TVsSAnZWagAA5kIQAJDqJ/19U+F5E/gUKXZH\nKyZD6GyFUUpmFjq0T53qbnXtoQldTeJne7G7Xlvh1ogX9Q1ozBSk9mH4umh6\nvMaxKGZO0T1RVjLB3vBHKztNiR/naYkPLOhcY073hYX0tWf4SIyCx6uudA9t\nbe6hAzaC6+9JG7v02d7wa0JSbqLeI8iHN5PVIR3l+SCHB8g1g/u/2OujgoeR\naoVbzEZonwWX/c3v3E3H2ULaFjY/BzZ9QchQ90GE0EidiXTpl0Fhgb9U3sER\nym/r8kN5TnZUMbPmVxOPo5ChqKXQb4yHHo2X55jELyrkuFFKF47aeFb2cQeX\nuO141sDmbdTFsgPuRVOf4oBTuoS5ZCPhUQx4qjbtbZmQhbCCkZ736NbcTN0/\nlz9hNvWDD4jFwUUhKli1iH3fmPqepbBd9nvDn7k4cK4y6PdJoRfFQq4a7mUm\nq1bTkeLiH/iR0XizAES86T6pv2Wqr4bBN+BbjS+atdRAarqfZiUkS1vrQwM8\ndtZIJ/N+XlM6vEH3RZcBzAoMM/qDz5SNdEUN3UJdsTmko2u/IRHnSoiCyCUk\nxax96JwmfueghwZVEJdCz3Hkfr59UJ9Wto4FtqTa5zbjRRkEmGEihXtpCI2F\nCxWynpLnsiOhQy+PFLfeRa+Wvaq3hAZs8DFV5vSnVpLsgkB/ySujVEADr+IF\nVhYe\r\n=smeZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClXbMEdtd3AZWeakts1SHCk/LU8B0lip8/1Y9DceKLEQIhANDkFTgTSwzN2Pw40gvtk/hMBNclsTHMy6UHt1U6DC9p"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_4.1.12_1621488129111_0.36076294627030436"},"_hasShrinkwrap":false},"5.0.0":{"name":"homebridge-bravia-tvos","version":"5.0.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.10","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.14.6","@babel/eslint-parser":"7.14.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.0","eslint":"^7.30.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2"},"gitHead":"83bc3337f959ac35d2ae6621a67ab4555b098724","_id":"homebridge-bravia-tvos@5.0.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Tmz1ZlsP36y50qMxVhTaqTa78Kd9vWyuNt6f/tg6PFNZ3ZwTm3UbmkpiVK1d2A+tBvagHyGj5an+h7OFsbV6pQ==","shasum":"8953b920abadcbdc51f6a52f0ae9e28f99a93b90","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.0.tgz","fileCount":31,"unpackedSize":882365,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4gkoCRA9TVsSAnZWagAAzxAP/AlgA6vR4nzO2CqZ6AY1\nNmwv+QFnUPZS8sPlt10xye9AqFI+Nyhr3fbhM7sV+i0lChREGBQyjQnFVbcj\nN8PYjJ2KT5WKOy3rIsz7YLjJFiW4AVbM8ohNfCQxgdjAszXaioS+IpBzmu7n\n3HJEVzuRiqXKvmuZm2UiFtv9GjjW84WXd91EEXnwl5f+/oHv3Jb5+04f2AKk\nXSSHLv/hs48Pr+54s1qvA9PIcJrgQacALpm8ejLEQnfKFXbCJDkNKsybQU4y\nCzBGFDnuQEQgREPp82YjoOSJ18dqnsKdA54wAGHXyR5RlG3OrKAXoX3v1TMV\n2RVTW457BcMnyHkP3Q+JPDoXFxpd5Oifdps9f5Vi3jD78mG/DDysQXxOI2Ur\nzmVSex58u2TVrB4H95kabttAplOA6PQJFfmVPqIFwoxdJzrZwayscAmZ3dyF\nFnyt4g5LfJHdN8mj0vxXZUIXYZDOkdf/xfZnhNyDiHH/uMfRavC93WGk8Acn\n3yYFPt4HhkkQxD06aWc1srXs56Uu0mr6KzBLNPyTprYCARlLV8Dcj4wBbpXO\nryMkeL3+h0WPMZc0xIl7XgnVo5LFsziatamOyhyZM+kQf5rIlwcKtzVgI5pG\nR+Q5YM9NuVIeN2bhodkP+LkiK4UCG4LstTKNfL9qQPIbn2YN+973ltzvt6UJ\nYJzk\r\n=wUSf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+bqDRpYFJyIJFZOrEHGKrGMoU2V9/9AMU0/FwWM2teAiAIZV6NK1qp9BgjiVRi8L9Nd+b24d/jarHqA85piSRRDA=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.0_1625426215742_0.33355037672033827"},"_hasShrinkwrap":false},"5.0.1":{"name":"homebridge-bravia-tvos","version":"5.0.1","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.10","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.14.6","@babel/eslint-parser":"7.14.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.0","eslint":"^7.30.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2"},"gitHead":"00954339fbfd8abebd443d14bdfd01caeb59d10c","_id":"homebridge-bravia-tvos@5.0.1","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-iSg0GejplhxSIKT3btSMfJNTrgVBewtEsQqAqMGy2FI96BhcuHs3hnp7SrUMn/zfXCixOsmJKIvil7gsif3KkQ==","shasum":"a1ecbd972d2cd8e74a352c2bc040ee0e72a8e017","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.1.tgz","fileCount":31,"unpackedSize":891622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5ArTCRA9TVsSAnZWagAAjGsP/R0adHua2c9RLIlk7tp7\nKwYgNhYNeIC7VniOqy3zO9cBqNaQupAD9x3Fe5PjRhoazNBs/qhPSyrF3z8C\n9nDa+W0+eUGCzvVXQKOob41o23bQsvBVz2T7dmd2UjDbbAzFonhR17Z7leaY\nNQmGEIivyHaNs/YeR3KGD+iEyfx9FlbF7xX2FNomVzGAiXWJTWC3Tgf72Vdp\n8/CICH25Batax7tvcn/a/n6nNjIYHe6VP7oANAd9yEwoiKymmQSmB9cdqyOc\nN9fTLpPNo3Z7l0Rh/EuDLg51ef3Ix4Y+X+vTP+8fK2Gj6XrUFSoxfuEM0bEv\nhu7oJwBCtFJBpsCmOD+4mCowHdNXT/g5BSW9wakNq7jpm+WQ/m4ecreFzTOJ\nmNZqd5LH3GHHBMHErF4Y1JsOiHKaPDRMb4tnXehZaVLeVXpWui8RaV1Vtl1s\nsvfgCcZNAHmSwTwj6O2aBJmZpnYo2QE2js7en2/3SfXg1Astgqjn0AUlGmr7\n0yUHYs0v8T7KUNJ6T1EMbxQH+XghbVMtsdiXMIz66OOGlzp2xyCl3FmcxNsr\nGsrqcLGkB3Idom2wkGCGDeEg446+nXzTrItYxf36YVt+VG9a3yv0qAIUohhG\nyC21ynHfoky7E8VwQIjUiQMVBvlkxIIHkNDEL0+hR5DuDK7+FejUWVywJ2Mv\nZ7PG\r\n=slFk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHy8JfCiUnVysQKwQwHMZezH2GCLHQ/BqfMk6zt6mkRAiAaLcnhSSITeBas5xyKqTDPlOYX08Bl3KRWqKLewJ69Bw=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.1_1625557715102_0.07974244461162439"},"_hasShrinkwrap":false},"5.0.2-beta.0":{"name":"homebridge-bravia-tvos","version":"5.0.2-beta.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.10","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.14.6","@babel/eslint-parser":"7.14.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.0","eslint":"^7.30.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","prettier":"^2.3.2"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@latest\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"1463d6d2810510b49cd4ba3c64b6e2da890ab05c","_id":"homebridge-bravia-tvos@5.0.2-beta.0","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-MI98dLu8BZpWgqsM2+x1XhHC6oUSTKNwZry+pnI5nZA334nXblkc8DS8UxEAcUTz8lkbedEE446dnVa9eVi6nQ==","shasum":"db521fb98b786f87da5f39de3a8aebfd428871db","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.2-beta.0.tgz","fileCount":31,"unpackedSize":945814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6ZTYCRA9TVsSAnZWagAA7eAP/2X/2/O6C5yOLgTg/ArL\nsqY2Q/tkYi/Ox4W1NwIkLuvdWcqLhVEx4olhITESRaZcqYJhayEvdrsp+hX1\nk8N2xYo/9HwjsJNjQmUTT1vcsl5o0cd4yZjhELKnOVQPNNwzqBq3yTnRdB5j\nFFIDESDNtK0qIb4a8U+P/lPm49170IcK76ioehgQO283N9npJ4GsgeFPZALL\nFwPkB2ObksH38PTZzvqAUHsF9ZB2TCdEVcYwqLmUZfMNL4zccTksRMeNylaY\ndUCuA/XXVMTmoXd9sHK30XgkZrv+CagOijMecqZVyWC6LMZmoC3UeWBxc5yd\nX47d0z78ieg4ovwq5u1BOsfe8gn1rs09DsHfxLlg07o93lFS2dZIBRzCgham\nRpsB/mKE1ks0BY8SQQ2V5itw1F8NHdsrmxpsUl2m7nJmrk6GlV2ggZsKFrSm\nm5XVL0Xp8Dw2mti/feBFtjvPpWLO7Ha/qLiwwUpg+Gs0tXgE62UqNxEkk61z\nQu/9O0QdhU9IyjrbjT4bEAvsR3nbt49gA88XLFfkUfsGtmBszBo0uhQ307U4\n23Z1uYPTyL/Ng2a9Dhqzy3gmIfqjIt2LxawuS1nz+Z8BNGUEXzGZSeEdt6gv\neFd2Tb4VNHSsk5Y6D/u2h1TUVtcU7YeyCH0M+A11/fuKreM7S/tN5LB+Q7Rr\nf4LM\r\n=tVlv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiRjoqq26/4gZe6jKimZjGLvKi5ky/I/jjGjVqJTIuXQIhANEkDagqqHaLoV3PPbJ5WVYNnQiogrbjnbUMJQmLUCHK"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.2-beta.0_1625920728271_0.2986231775214794"},"_hasShrinkwrap":false},"5.0.2":{"name":"homebridge-bravia-tvos","version":"5.0.2","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.12","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"gitHead":"10117b3169334fc3d1b1b530affd65a82add6b84","_id":"homebridge-bravia-tvos@5.0.2","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-DLZRSE/De4hgM9QYa/FzaSmtXjCxIPdsv/+qcSC7ulu+EDlCgdQAUVwJEpK0lqLFqdsgmRu64E2yncHdamd1/g==","shasum":"fd79a18053cb69d092e452f91b702b3646e0fc10","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.2.tgz","fileCount":31,"unpackedSize":952961,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcBinL5LMo43Z8Bdn5nPg41ethCRHi57wxVPXM6QqZTwIhAMkaHttfZ7jwo53wUKxAvbCMwsTZiYhv/5chWsKs20jv"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.2_1632112167830_0.5733995245263546"},"_hasShrinkwrap":false},"5.0.3-beta.0":{"name":"homebridge-bravia-tvos","version":"5.0.3-beta.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"4259e2e6fac25332ab77affa29b080e2861e3044","_id":"homebridge-bravia-tvos@5.0.3-beta.0","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-tayzvl6GOacEtGHAQDsiQLBq6wJCbtNL0xL5P7qCeW6WQjQ8ih8aeCnSviBXg9urBL3BfsbGmX4KBsx120OXjQ==","shasum":"54aa9b4a23615e293e94e7ae60645d80b7e19e40","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.3-beta.0.tgz","fileCount":31,"unpackedSize":953952,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5fLlxXUg/VUKpUX8PJRiy7M2y+8vCshvDNxCLeSse9AiEAhMMdRGzmfSXP9ClObeDkVwHrGKlEqPB9fR0TQW4w0M0="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.3-beta.0_1632159280232_0.27341624884268567"},"_hasShrinkwrap":false},"5.0.3-beta.1":{"name":"homebridge-bravia-tvos","version":"5.0.3-beta.1","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"4259e2e6fac25332ab77affa29b080e2861e3044","_id":"homebridge-bravia-tvos@5.0.3-beta.1","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-tAgVmztGXXhH9vrGGWE6z29JyMl3Hg4S2a2ldPw2XbeN84p1PUnldOLGs/gi2tFI1tikJIsrNdK7woHwDbZdlw==","shasum":"2528de3f5b1bd583bfc477b131f6bad2daa75865","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.3-beta.1.tgz","fileCount":31,"unpackedSize":953989,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnwFKBmwQuc3ycac7fkgZQ8kHk2MNOSCSQlaxEh7KRpAIgOvfx1xSqgHNKLxOfc1pnf+XDPaEnTKHWkdxxKh65rmA="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.3-beta.1_1632159661104_0.431249771060946"},"_hasShrinkwrap":false},"5.0.3":{"name":"homebridge-bravia-tvos","version":"5.0.3","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"gitHead":"4259e2e6fac25332ab77affa29b080e2861e3044","_id":"homebridge-bravia-tvos@5.0.3","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-hkBVyjHesEiRL557lBIKOQ3RbppwEwuRsb2tJWoOzceJ01pTqwAia0KrfRGdvSsmMcgu3JNkJb5PbmBlwAS9HA==","shasum":"92b0abba1a685516d936dc3f5ac39860d9a4327c","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.3.tgz","fileCount":31,"unpackedSize":953997,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfb8wfN7LO5vJKLYmr3i1Vd33zI2UlyqRTAE65YXkkjQIhAOaLtQ5pShdZUcbZdcuI5TXVRdjoP2F9ZMwKV71Dmti4"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.3_1632159832927_0.870624278926035"},"_hasShrinkwrap":false},"5.0.4":{"name":"homebridge-bravia-tvos","version":"5.0.4","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"d80778ba1624f1ae534b5b073b23dfdc11df6389","_id":"homebridge-bravia-tvos@5.0.4","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-757GlpHlc1i7bceFH3dsc36sxzX0IxqnStGw5jVsbX6QtjogM3liZjF2SbyG3rn/ZGytJoEu4h0oZM8T/oSj3A==","shasum":"563f57eae465b94cbdb50e1e30201f98571a9520","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.4.tgz","fileCount":31,"unpackedSize":954882,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbWEnpQRJTrbspQMlWj40aGF2Z2q8sJPnB0y1Pg4IKlQIhAPOCdpYmR86Fm1kC7S9H9B4gkDIvWLzYw/SpaHGUFiUH"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.4_1632227020592_0.9959963117836519"},"_hasShrinkwrap":false},"5.0.5-beta.0":{"name":"homebridge-bravia-tvos","version":"5.0.5-beta.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"d80778ba1624f1ae534b5b073b23dfdc11df6389","_id":"homebridge-bravia-tvos@5.0.5-beta.0","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-wGmKkIyWX8mBt5my87nwFfWmyUynAl+GA5k7Gc5z3X1klnz6b9y9OWQqo276QYTpsJLBRqW8j72ZpbNwOIT8PQ==","shasum":"9f816bef93ba34736a9a108f9f2c73b0df5e2449","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.5-beta.0.tgz","fileCount":31,"unpackedSize":955074,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8HOMONaSE1BnuvR9kHJtYJeBBL5viPk4c8xyvZ2xpwgIhALau53RaAqGH9bO4o7SoZvhzrV21P6ZBoLzccL2Ihe3u"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.5-beta.0_1632227417931_0.9637606776253573"},"_hasShrinkwrap":false},"5.0.5-beta.1":{"name":"homebridge-bravia-tvos","version":"5.0.5-beta.1","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"d80778ba1624f1ae534b5b073b23dfdc11df6389","_id":"homebridge-bravia-tvos@5.0.5-beta.1","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-aDfyzAovQa5pJfoNCmb02iUzlBjyLa3utUJEXBnI/IJcbeEjMwirGpCxXpEqXROUwMNzNHNpRHyY+LAuAqD2jw==","shasum":"db54e99a7b53636bb2a6aa3d52f39c1988415424","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.5-beta.1.tgz","fileCount":31,"unpackedSize":955452,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7u5CvDd+iSH9P/gHxmk73NDH3L1mP+VEWWyYAtxgWOwIhANoHsQA9HjAI2A/hlqI9OhcMibHM8LzmUImoNWqiRJky"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.5-beta.1_1632227827032_0.43075529744169705"},"_hasShrinkwrap":false},"5.0.5-beta.2":{"name":"homebridge-bravia-tvos","version":"5.0.5-beta.2","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"d80778ba1624f1ae534b5b073b23dfdc11df6389","_id":"homebridge-bravia-tvos@5.0.5-beta.2","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-u7uxaON1UnKW9ocCU/8tmn1h7kznj89ctVtQ2JrepMjOr4uWrg3nAHAChbgF+b6VTv25bmF27ZLHR+oZbmVbWQ==","shasum":"e1fd1afef173d51d4d091dc9c129e69ca1a6db43","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.5-beta.2.tgz","fileCount":31,"unpackedSize":955349,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICfgl4G2ENSW6KaqSKSWvJyfxCPKKKXjxaDNqpr3A8r5AiEAkpc7T1NUTtgxKo9eMIE2kIgpHK1TTRupKX7Mqtx9m54="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.5-beta.2_1632228112593_0.497479613052223"},"_hasShrinkwrap":false},"5.0.5-beta.3":{"name":"homebridge-bravia-tvos","version":"5.0.5-beta.3","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"d80778ba1624f1ae534b5b073b23dfdc11df6389","_id":"homebridge-bravia-tvos@5.0.5-beta.3","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-/myY+4Y1C2By5Fm867v+UBvUqx8y74kSCNBFHzzaRCNRlJxgOThrIYfRBwK4eQN13a6qiV/CNyGJEJpEiiAkpw==","shasum":"e0f933ab1f340d2955f3d38e753ba3783d35b3e5","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.5-beta.3.tgz","fileCount":31,"unpackedSize":955388,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHpwvnR3hjf6B+k6Z07QyFXZD0O911Fo7I6/prUIYeg6AiEA04A5D6qrFM8pcMoBdaOM8Eh+L+kiTDhwddWWk8Acy20="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.5-beta.3_1632228734860_0.23671589116287906"},"_hasShrinkwrap":false},"5.0.5-beta.4":{"name":"homebridge-bravia-tvos","version":"5.0.5-beta.4","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"d80778ba1624f1ae534b5b073b23dfdc11df6389","_id":"homebridge-bravia-tvos@5.0.5-beta.4","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-zu4wSUObV/GK08TY9MRjiJa7Z5T+WR6OeXJ5NziN/+mmvTRgPNCapsWEWCoRu67INOOEfVyu7BWbO1xJKQ/Lyg==","shasum":"cb945162284a3686669e479ce91f04670994c63c","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.5-beta.4.tgz","fileCount":31,"unpackedSize":955390,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjnmuIFJa5xioLpGNyyPYpqmNJfXpd1+CnaWQ5rB6oMAiEAoiutQZJLW+T8vrKPe8OcAsqd6RwMeJjAO851Tbubooo="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.5-beta.4_1632228973994_0.7645132258083367"},"_hasShrinkwrap":false},"5.0.5":{"name":"homebridge-bravia-tvos","version":"5.0.5","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"gitHead":"d80778ba1624f1ae534b5b073b23dfdc11df6389","_id":"homebridge-bravia-tvos@5.0.5","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-irAUMwZrpXIJdTCwU2jU3MLkTEoWdiluoey0tBUoaVOWnKWACbS7l0EsoVXYsFwOmZIqMx3Cfl64pHqJ5oaxKg==","shasum":"f4987d039650a5712029cef1a8f8cdc1ff486d8d","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.5.tgz","fileCount":31,"unpackedSize":955398,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEu5Q6/OrSy0Xnc2lwOIOP6N7DGH3b5Zlh6Mg4786y9gAiA+u/ByBVqnU4IYLpQxHw5EQ1oDElcB7jb3zDGKnbmdHg=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.5_1632229231624_0.1731825995992311"},"_hasShrinkwrap":false},"5.0.6-beta.0":{"name":"homebridge-bravia-tvos","version":"5.0.6-beta.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.14","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"a97e33877ebbfac939894fb76b2e3909d3f2f4d4","_id":"homebridge-bravia-tvos@5.0.6-beta.0","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-x/ZHB3SCTgB1qU7LKRBl0ZaXOPTyKb9X8+r/ShqMhrCFTaQitvCak1TVIZoS2gXHtD5TBksVOsqdyvdgKlzd5g==","shasum":"069df2365467598b3ca495c5862267eaf96b19eb","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.6-beta.0.tgz","fileCount":31,"unpackedSize":955598,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBg/L8yGvcEHydxgBcHGM5G7kp5sWov56vlCdHKC0TYtAiB1PFcMysBoXJmxC0DUFD4PgCGDFQHZz1/Rfg/3HKZNOw=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.6-beta.0_1632333673374_0.9959849173448196"},"_hasShrinkwrap":false},"5.0.6-beta.2":{"name":"homebridge-bravia-tvos","version":"5.0.6-beta.2","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.16","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"a97e33877ebbfac939894fb76b2e3909d3f2f4d4","_id":"homebridge-bravia-tvos@5.0.6-beta.2","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-ondZ+o9a4114MePBfZnmUsBbYAnmblaWAjEwQWPuBohYheAAOrh1b98Io9xy9+HXfs4TPEkSfg+MWZgV20zsSQ==","shasum":"22061a246423c624629e4bc3df166df801eed411","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.6-beta.2.tgz","fileCount":31,"unpackedSize":958654,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGlY6mFXLa2exadhc4vJ47eGFS7CcuIQQq4pZAoWdtK4AiEAljmP/nxW+zbM+URxgp+u5hkFjnI2iJFAtMkx0Rc+RIA="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.6-beta.2_1632402866265_0.8928582041620843"},"_hasShrinkwrap":false},"5.0.6-beta.3":{"name":"homebridge-bravia-tvos","version":"5.0.6-beta.3","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.17","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"a97e33877ebbfac939894fb76b2e3909d3f2f4d4","_id":"homebridge-bravia-tvos@5.0.6-beta.3","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-ZtuN7J5ZQaF2EyF/h7EqjJ1ZuvfvJIK1acsCLMTFHKg/DasJ8KoeXudDjb57WMbyui+k/YexZQo0E+6Cquct5A==","shasum":"dab10d755cc1472cf3965ab77d63bacb9dd85c7f","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.6-beta.3.tgz","fileCount":31,"unpackedSize":958654,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbHR5ZNIorRAWlBDSkrEeMC2xybFdtULVsBoKlmxgjxgIhAIDqEEsmG7aJwc/DN6n+B4rI7T01XeONzYmoHHuZRO7W"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.6-beta.3_1632403650141_0.8097332538400317"},"_hasShrinkwrap":false},"5.0.6-beta.4":{"name":"homebridge-bravia-tvos","version":"5.0.6-beta.4","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.17","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"a97e33877ebbfac939894fb76b2e3909d3f2f4d4","_id":"homebridge-bravia-tvos@5.0.6-beta.4","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-nWXPuk6ETp06G1kovUazHH/Xvck6RRAkX3wFDoYTR2mZGJkMOqAyVYHuN9Ev6xjroaM7MU1v1jSuEauQnvfl5A==","shasum":"abfd14dd667a4418ba1b5a624659cd4d6e05b1c2","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.6-beta.4.tgz","fileCount":31,"unpackedSize":958758,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsUvJa3vcM9PGwqUQwTdPR/CkGq7zfjYR9FrZyhT1prAIgBEIjzqemyFAo2I32jjEvfEezD6gSNCfnFxUI0mzN+nE="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.6-beta.4_1632435830020_0.5609807019239839"},"_hasShrinkwrap":false},"5.0.6-beta.5":{"name":"homebridge-bravia-tvos","version":"5.0.6-beta.5","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.18","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"a97e33877ebbfac939894fb76b2e3909d3f2f4d4","_id":"homebridge-bravia-tvos@5.0.6-beta.5","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-XnyUhk8a9QzFiWYWG+F28SiiPEFHoI0VIXBUp13dF9hLlsvgGJFYEFSItgwgoY0EzhhEin1dNRAUZK9IU2LwyQ==","shasum":"92b5496b6d64fe102bbc22892af181eec19d0f6d","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.6-beta.5.tgz","fileCount":31,"unpackedSize":956586,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBqwWFnxoQcJ/SbTZpdKcZABsSuV1HZU2JW6RP8p8ZZOAiEA72x0PyemDEQUfkWA3bUfAeKzcdEoVplJ+uurda4Max0="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.6-beta.5_1632510976905_0.47616186625430634"},"_hasShrinkwrap":false},"5.0.6-beta.6":{"name":"homebridge-bravia-tvos","version":"5.0.6-beta.6","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.19","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"a97e33877ebbfac939894fb76b2e3909d3f2f4d4","_id":"homebridge-bravia-tvos@5.0.6-beta.6","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-1B9aThI02mCweVMWNgVBRw5kTri1QjpWhhUWIm83fR1qXCLQ+DWFpahm5vj/D0TffeRztEZqmu9nXb021UEMqA==","shasum":"4a867f090d8637b2a87e182bd0746101cf91d5d1","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.6-beta.6.tgz","fileCount":31,"unpackedSize":956586,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMc8DC7mr7ltYRYgAGoYXXnGdXkjDrQr0RK2qWqtEJeQIhAJ8EQWgOZsOIm3yb5bKlYPiV8j1ndLDl6nzKpmy/TVF2"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.6-beta.6_1632515646395_0.35979481345022446"},"_hasShrinkwrap":false},"5.0.6-beta.7":{"name":"homebridge-bravia-tvos","version":"5.0.6-beta.7","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.20","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"a97e33877ebbfac939894fb76b2e3909d3f2f4d4","_id":"homebridge-bravia-tvos@5.0.6-beta.7","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-Lyu56+8rAfkwAS2rNBivqHAkrjF55SqojrTXikgShzsqaBSFhOgxia5zjvLizVZF10b3QKHTZqZ3XGiFw4A8yA==","shasum":"0f7336a708bebe7619ccb15c0016e8b33cf9b239","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.6-beta.7.tgz","fileCount":31,"unpackedSize":956588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGBTD8D824yVMMNRYyN3xk5iGZP/6szSrGeAQwLaAQewIhAJ4kSy5sYACPaKOeuwFzQER+PgcgT0sIi++qbvTXnuJS"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.6-beta.7_1632607240258_0.7088680760152988"},"_hasShrinkwrap":false},"5.0.6":{"name":"homebridge-bravia-tvos","version":"5.0.6","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.20","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.1","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"gitHead":"a97e33877ebbfac939894fb76b2e3909d3f2f4d4","_id":"homebridge-bravia-tvos@5.0.6","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-or3mqERmaJh6qeIwnRBbrBk1NLdObyKk44YLTgySNAy6tuN1l/RdYg0be/bE7zqYVAMW693dhmw6i3+/zNTkdw==","shasum":"2900be54b96fc4089f86099a1de7ce2b8c4f2f1d","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.6.tgz","fileCount":31,"unpackedSize":956596,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDVMN/+Px7SuwP2epTV1Dgm1Xzb3S7eLu2DSOzMvNfVkAiEAkTfFyT3UcOLsJwou3zhiMMmYgQRk1ad78votrArC2ZA="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.6_1632651018220_0.04517629282714042"},"_hasShrinkwrap":false},"5.0.7-beta.0":{"name":"homebridge-bravia-tvos","version":"5.0.7-beta.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.20","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"6be1dd8080c3cca1f5a1712cfb37670ba10fb509","_id":"homebridge-bravia-tvos@5.0.7-beta.0","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-XcrKEufAsE2xFrz8oxw/YzKxgoSJGMEo5ZND0NGWmTI/n419aosK+/cgeNnqhQzPuukwOlwkS/hqTkznwmbfwg==","shasum":"1cc2c82dd904655b1e9210447a635b97392b7501","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.7-beta.0.tgz","fileCount":31,"unpackedSize":957726,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzlDg5lYf2tg+YpvSlWvdlmo6h32FDJJitI7nG7XDQCAiEAk4I8jVUZ26lkGtwtGx7AxAjgvhCvwiaxoxQta/mL2tM="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.7-beta.0_1633092272281_0.45580561568147027"},"_hasShrinkwrap":false},"5.0.7-beta.1":{"name":"homebridge-bravia-tvos","version":"5.0.7-beta.1","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.20","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"6be1dd8080c3cca1f5a1712cfb37670ba10fb509","_id":"homebridge-bravia-tvos@5.0.7-beta.1","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-JUrJ7fFLzDpqmfIZDmX2pNFF7rFcDhZLLLZUvAlJhjfSfiwuKyILAthHDslTlwAtMLsdeuolXJLUyg4LEVqMmQ==","shasum":"7a52230bda04eed74022fc4570e0cfa775195ff5","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.7-beta.1.tgz","fileCount":31,"unpackedSize":957913,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKnkfQ9Y49SRGeld3moPgIjRc7B70SuHHAt6rdfUhKxgIhANAwUDmJb27kA6JJZqHqI2xy9SWK9a8SyJazBTkw21PV"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.7-beta.1_1633092839200_0.9194355706757673"},"_hasShrinkwrap":false},"5.0.7-beta.2":{"name":"homebridge-bravia-tvos","version":"5.0.7-beta.2","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.20","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"6be1dd8080c3cca1f5a1712cfb37670ba10fb509","_id":"homebridge-bravia-tvos@5.0.7-beta.2","_nodeVersion":"14.17.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-mxblNlJdt9vl81S2DkXrcMtIan6BfYv+hIms+a9se4ddiOpYNnzTXqYcQca3C3iAOvQeDvEzI4ZVvXwH2ixNGw==","shasum":"91006a2e825c2c6e800b5cbaf3c64b40ad3fe560","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.7-beta.2.tgz","fileCount":31,"unpackedSize":958573,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvNCgfzCCVNMY13qUF2Je29NHh1n/zDPwuPW5TTyHwOAiBLYp3cNES6HHpq/ecOGAkVEGUEEkHT8ql68dLr1+10Dg=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.7-beta.2_1633128709434_0.978222782431801"},"_hasShrinkwrap":false},"5.0.7-beta.3":{"name":"homebridge-bravia-tvos","version":"5.0.7-beta.3","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.21","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"6be1dd8080c3cca1f5a1712cfb37670ba10fb509","_id":"homebridge-bravia-tvos@5.0.7-beta.3","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-iI/bJJ9YWdlpxSquMqUQXZ2it67J78GbrL546F/4c7E4h7nMjMTaAv69VwdjlXIXvFJJe84WcFFdmIFC8avWOg==","shasum":"b693ec232f6dcdcf7030273e888cc10a5eb45031","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.7-beta.3.tgz","fileCount":31,"unpackedSize":958689,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICF/v8B6GfSqUxoN+khv80YkoW1ivxQXjmR+mlUKyI//AiB9kcKW/weGS1QBmJMNmnR37VUk7657ly8HxHoLL9qiXw=="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.7-beta.3_1633139196539_0.22474888420579875"},"_hasShrinkwrap":false},"5.0.7":{"name":"homebridge-bravia-tvos","version":"5.0.7","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.21","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"gitHead":"6be1dd8080c3cca1f5a1712cfb37670ba10fb509","_id":"homebridge-bravia-tvos@5.0.7","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-HZSGbsAyJ2ro2BUEqq3Mcs9sE5z/GheZ7timWxfILQycXnJk3pANkShuMFZGHxcZsloZc2cZXnZ0pN82RxgAdQ==","shasum":"72a696508ef74a2e1885438447f771ccc4e9741a","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.7.tgz","fileCount":31,"unpackedSize":958717,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5KL8VQmFZnq9KyGKu1c2vjEdPJCZ1wCPx8GHQJhgHbQIhAMR60VpQajSsz1RKirwkBbWt+DebeioJflzS4G1gNTre"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.7_1633139878208_0.6385849925191913"},"_hasShrinkwrap":false},"5.0.8-beta.0":{"name":"homebridge-bravia-tvos","version":"5.0.8-beta.0","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.21","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"1f609cd2a6e7f799d6ba907246bac17284fec036","_id":"homebridge-bravia-tvos@5.0.8-beta.0","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-jApqp0z+IUmpytqJbMexw+90P2yFFYieIKZvdK9Q0j0/MgQzJbVDIIy2Ov3w6X2Se06sFDn5ahOcVPrab9k6qw==","shasum":"a2e69808abc0a8e9166716ac4da891af2bbc922d","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.8-beta.0.tgz","fileCount":31,"unpackedSize":959747,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyABt9gBv7ZSvjCJuDR6woVDn2WDJPbyqv1NcNEPSmGAIhAOyOci6EhuiDsQtI/MhipgnIm7aHpHke1OCdCZhq1ZtO"}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.8-beta.0_1633261173494_0.6177353294560561"},"_hasShrinkwrap":false},"5.0.8-beta.1":{"name":"homebridge-bravia-tvos","version":"5.0.8-beta.1","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.21","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"1f609cd2a6e7f799d6ba907246bac17284fec036","_id":"homebridge-bravia-tvos@5.0.8-beta.1","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-vNeQ7zl7q5va6Y0izTChs/emXWV2wDJ6nK8+F6wU13o/FCozdTm7t3PpMJtiBltkgg8QH2VdhznnagXyNcmF0w==","shasum":"41a43629b1d2209297e3a4377c72639e2d8e9681","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.8-beta.1.tgz","fileCount":32,"unpackedSize":970534,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICdDTG5YDOfNVaRneSQKL/4tc74gh6GWOFjFwv42mnPLAiEApkalVQ5KLYTX0X2MREgpkXRO9h9ACgYbSnf+LdKGuNo="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.8-beta.1_1633266803754_0.6497070802937106"},"_hasShrinkwrap":false},"5.0.8-beta.2":{"name":"homebridge-bravia-tvos","version":"5.0.8-beta.2","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.21","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"1f609cd2a6e7f799d6ba907246bac17284fec036","_id":"homebridge-bravia-tvos@5.0.8-beta.2","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-hx/MbzKYAfASdspxKSrqQhTxEkDbXtrxJpndbJcxCtGBsNw3hkh80ori/kz66C+1+guBWoWGWweq8PvZCB9f+w==","shasum":"6fd90f5e1a697735d0f3b62315d10877daf42cb4","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.8-beta.2.tgz","fileCount":31,"unpackedSize":960532,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfFxm3Do6Z+nVzETtUkE6jljpjjk3bR0DNXZIt6meqAAIgX2ASnEDrvUETmWggLOEHSSpqXl8XfuLbFbCVpWBlV9I="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.8-beta.2_1633270462664_0.7778742967324808"},"_hasShrinkwrap":false},"5.0.8-beta.3":{"name":"homebridge-bravia-tvos","version":"5.0.8-beta.3","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.21","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.7","@babel/eslint-plugin":"7.14.5","concurrently":"^6.2.2","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"1f609cd2a6e7f799d6ba907246bac17284fec036","_id":"homebridge-bravia-tvos@5.0.8-beta.3","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-qN3GPngWsPG1mVRs5QSG4/f9pK+2fJZlsEyk7rDHrh80E/O2Pj1Vwujg2ME1JyWydkWkb2eP6UTR4x7nKhxvag==","shasum":"5454593d6e4a27ee182ef33a61c1eccb187bb282","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.8-beta.3.tgz","fileCount":31,"unpackedSize":960532,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9R8+RIWo0iwFds/iFQNBvW2xLLBTSCVg6OrqaBlq/OQIgXYp/bsE4Dc0ZDB+jJGgNjydkSYl/RgQioeCLHU8fOrY="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.8-beta.3_1633294829290_0.8564143814612009"},"_hasShrinkwrap":false},"5.0.8-beta.4":{"name":"homebridge-bravia-tvos","version":"5.0.8-beta.4","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.21","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.8","@babel/eslint-parser":"7.15.8","@babel/eslint-plugin":"7.14.5","concurrently":"^6.3.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `atsct`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md","gitHead":"1f609cd2a6e7f799d6ba907246bac17284fec036","_id":"homebridge-bravia-tvos@5.0.8-beta.4","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-2lDm5Q3Q8cjdjQsnnV6ruz9+LpDFgOG1Vc65JTpXWVL1DI8mE7c2ClSvOP2N07Z3ittktReWLC2DmrLxjyF3EQ==","shasum":"e7abb9134eaf02a6b68bc4bb2c8b6f5652d485e6","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.8-beta.4.tgz","fileCount":31,"unpackedSize":960814,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnvyVU6Pn8CaLvnlLvhSmMHsk8n/c4Xg90mZO39QBBggIgTObVxQGGSh5BqDV5B9nUgkybbAabjGAF6+LszGTzIN0="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.8-beta.4_1633637184756_0.9267763413954035"},"_hasShrinkwrap":false},"5.0.8":{"name":"homebridge-bravia-tvos","version":"5.0.8","description":"Homebridge plugin for Sony Bravia Android TVs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"funding":[{"type":"paypal","url":"https://paypal.me/seydx"},{"type":"kofi","url":"https://ko-fi.com/seydx"},{"type":"github","url":"https://github.com/sponsors/seydx"}],"scripts":{"build":"concurrently \"npm run build:homebridge-ui\"","build:homebridge-ui":"npm run build --prefix homebridge-ui/ui","lint":"concurrently \"npm run lint:homebridge-ui\" \"npm run lint:plugin\"","lint:plugin":"eslint --fix .","lint:homebridge-ui":"npm run lint --prefix homebridge-ui/ui","prepublishOnly":"npm i --package-lock-only && npm run lint && npm run build"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"license":"MIT","bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"engines":{"node":">=12.18.3","homebridge":"^1.3.0"},"dependencies":{"@homebridge/plugin-ui-utils":"^0.0.19","@seydx/bravia":"^2.0.0-beta.21","fs-extra":"^10.0.0"},"devDependencies":{"@babel/core":"7.15.8","@babel/eslint-parser":"7.15.8","@babel/eslint-plugin":"7.14.5","concurrently":"^6.3.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.24.2","eslint-plugin-prettier":"^4.0.0","prettier":"^2.4.1"},"gitHead":"1f609cd2a6e7f799d6ba907246bac17284fec036","_id":"homebridge-bravia-tvos@5.0.8","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-y89AuZADXVASJRekGqpBgT/vPLmJeAqd1FUSIWly48MFrA1S3c8Ly0EZM8b+G+6R8nIqdKQNgzXdbTsIo85Lyw==","shasum":"4d5ee8fa3b92456f1ecc7d7d151d419c2f518569","tarball":"https://registry.npmjs.org/homebridge-bravia-tvos/-/homebridge-bravia-tvos-5.0.8.tgz","fileCount":31,"unpackedSize":960822,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2tbkCRA9TVsSAnZWagAAkUwQAJe7BHCW9NAGglaQRJ85\nmsXuCnPPwHPu+Y6bXLnIy1RQaxVVno2tx5yCu7RpAd6WUxDNmRRUt62Q2fic\n9PFrF/5yL6hb1v6k4+72tjNx2XKnE9dCHT+a3sMySEdkeH8ld9drVX5600qX\n7k31OPRCYhp3DSCFZKUmfvDuYWV/K6Zao9nfL9s0tWoMh1gzi+FG96ke1Pzy\nCuRqpxOGiDzfndIQUvBSUmLqnZV2FPmcHwphI3p8PeBW4EbM90bePUnHFemo\n9KBSPzUQxkR8hJrtYigaPUJJrUShHs9Tj3wLVPnQgFxEIl64B2U5qXJQ0/YW\nR8nzULrTDhq8xv7lPuNWQ3xfyOd7rUuj9XCmOJhsjbgI/WAAR1BZQziHYIDT\nA+P8LLD5idL4a+oNuxX3b2DfZ9lZ36PzUkX9KuAOYnLZF+2SFgVWQRpevoeu\ncsn/gqa9ditC20a2K81Xe4orJ2J83V6vKQRfpvUV8zXXFcbCMC4nKIYNr7zw\nWWx0/NhBYzGYsa2vQRDZrn1cFSTWA3pm0pZorbwa7tzA4mhz1vv27fXX54XJ\n4a3CQqf8pWzYjVta2KJCmRFdZyblvMFMeRqfIoqk2ZO09dX4JTnRZIK3yEbO\nlTLEzRyy7G24CsX7V/4+MSVGXfhrw2jZnXrzK67UoXN/9wRWWasNPtAlWeXo\nxaN1\r\n=7RUu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOO/I3TulO0ChSPZTSLv0n+ukmtD83uam2YtHPFBCNfgIgIo7+RBXPLCm1K9kp2ibTdm5h4mdo8CxlyGiQjo+1INs="}]},"_npmUser":{"name":"seydx","email":"seyd55@outlook.de"},"directories":{},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-bravia-tvos_5.0.8_1633689913167_0.5005352226435154"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-31T03:39:47.729Z","1.0.0":"2019-01-31T03:39:47.850Z","modified":"2022-05-05T02:46:52.791Z","1.1.0":"2019-02-01T03:33:12.392Z","1.1.1":"2019-02-01T04:40:03.690Z","2.0.0":"2019-02-09T04:45:26.671Z","3.0.0":"2019-04-24T08:40:46.502Z","3.0.1":"2019-04-29T21:30:09.648Z","3.0.2":"2019-04-30T01:01:25.758Z","3.0.3":"2019-04-30T12:24:08.855Z","3.0.4":"2019-04-30T20:43:24.218Z","3.0.5":"2019-04-30T22:32:25.218Z","3.0.6":"2019-05-01T00:34:15.294Z","3.0.7":"2020-08-06T22:23:04.206Z","4.0.0-beta.1":"2020-11-04T14:32:14.627Z","4.0.0-beta.2":"2020-11-04T20:46:35.176Z","4.0.0-beta.3":"2020-11-04T21:33:53.339Z","4.0.0-beta.4":"2020-11-04T21:38:34.961Z","4.0.0":"2020-11-06T16:31:23.433Z","4.0.1":"2020-11-08T12:42:58.096Z","4.0.2":"2020-11-08T17:03:38.031Z","4.0.3":"2020-11-09T17:18:58.528Z","4.0.4":"2020-11-09T22:48:23.937Z","4.0.5":"2020-11-09T23:59:54.249Z","4.0.6":"2020-11-10T11:24:50.982Z","4.0.7":"2020-11-10T22:52:24.515Z","4.0.8":"2020-11-14T04:45:06.142Z","4.0.9":"2020-11-16T15:25:43.728Z","4.1.0":"2020-11-22T05:58:11.175Z","4.1.1":"2020-11-22T06:21:11.287Z","4.1.2":"2020-11-23T07:48:00.325Z","4.1.3":"2020-11-23T13:25:22.360Z","4.1.4":"2020-11-27T01:17:07.634Z","4.1.5":"2020-11-27T16:56:33.448Z","4.1.6":"2020-12-01T12:01:16.386Z","4.1.7":"2020-12-06T07:16:47.676Z","4.1.8":"2020-12-06T07:20:30.125Z","4.1.9":"2021-03-14T02:21:05.634Z","4.1.10":"2021-03-14T02:29:57.555Z","4.1.11":"2021-05-19T08:56:22.705Z","4.1.12":"2021-05-20T05:22:09.361Z","5.0.0":"2021-07-04T19:16:55.935Z","5.0.1":"2021-07-06T07:48:35.281Z","5.0.2-beta.0":"2021-07-10T12:38:48.474Z","5.0.2":"2021-09-20T04:29:27.980Z","5.0.3-beta.0":"2021-09-20T17:34:40.448Z","5.0.3-beta.1":"2021-09-20T17:41:01.329Z","5.0.3":"2021-09-20T17:43:53.117Z","5.0.4":"2021-09-21T12:23:40.805Z","5.0.5-beta.0":"2021-09-21T12:30:18.129Z","5.0.5-beta.1":"2021-09-21T12:37:07.154Z","5.0.5-beta.2":"2021-09-21T12:41:52.770Z","5.0.5-beta.3":"2021-09-21T12:52:15.037Z","5.0.5-beta.4":"2021-09-21T12:56:14.229Z","5.0.5":"2021-09-21T13:00:31.848Z","5.0.6-beta.0":"2021-09-22T18:01:13.595Z","5.0.6-beta.2":"2021-09-23T13:14:26.424Z","5.0.6-beta.3":"2021-09-23T13:27:30.379Z","5.0.6-beta.4":"2021-09-23T22:23:50.223Z","5.0.6-beta.5":"2021-09-24T19:16:17.157Z","5.0.6-beta.6":"2021-09-24T20:34:06.578Z","5.0.6-beta.7":"2021-09-25T22:00:40.411Z","5.0.6":"2021-09-26T10:10:18.460Z","5.0.7-beta.0":"2021-10-01T12:44:32.567Z","5.0.7-beta.1":"2021-10-01T12:53:59.388Z","5.0.7-beta.2":"2021-10-01T22:51:49.601Z","5.0.7-beta.3":"2021-10-02T01:46:36.817Z","5.0.7":"2021-10-02T01:57:58.363Z","5.0.8-beta.0":"2021-10-03T11:39:33.698Z","5.0.8-beta.1":"2021-10-03T13:13:23.981Z","5.0.8-beta.2":"2021-10-03T14:14:22.839Z","5.0.8-beta.3":"2021-10-03T21:00:29.466Z","5.0.8-beta.4":"2021-10-07T20:06:25.002Z","5.0.8":"2021-10-08T10:45:13.424Z"},"maintainers":[{"name":"seydx","email":"seyd55@outlook.de"}],"description":"Homebridge plugin for Sony Bravia Android TVs","homepage":"https://github.com/SeydX/homebridge-bravia-tvos#readme","keywords":["bravia","player","homebridge","homebridge-plugin","plugin","tv","android"],"repository":{"type":"git","url":"git+https://github.com/SeydX/homebridge-bravia-tvos.git"},"author":{"name":"SeydX","url":"https://github.com/SeydX/homebridge-bravia-tvos"},"bugs":{"url":"https://github.com/SeydX/homebridge-bravia-tvos/issues"},"license":"MIT","readme":"<p align=\"center\">\n    <img src=\"https://github.com/SeydX/homebridge-bravia-tvos/blob/master/homebridge-ui/ui/src/assets/img/logo.png\" height=\"200\">\n</p>\n\n\n# homebridge-bravia-tvos v5\n\n[![npm](https://img.shields.io/npm/v/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![npm](https://img.shields.io/npm/dt/homebridge-bravia-tvos.svg?style=flat-square)](https://www.npmjs.com/package/homebridge-bravia-tvos)\n[![GitHub last commit](https://img.shields.io/github/last-commit/SeydX/homebridge-bravia-tvos.svg?style=flat-square)](https://github.com/SeydX/homebridge-bravia-tvos)\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)\n[![Discord](https://img.shields.io/discord/432663330281226270?color=728ED5&logo=discord&label=discord)](https://discord.gg/kqNCe2D)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square&maxAge=2592000)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NP4T3KASWQLD8)\n\n**Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to \"Star\" or donate.**\n\n[Click here](https://github.com/SeydX) to review more of my plugins.\n\n\n## Info\n\nThis is a plugin for [Homebridge](https://github.com/nfarina/homebridge) to control your **Sony Bravia Android TV**. \n\nThis plugin supports following functions:\n\n- **Power Switch**\n- **Inputs:** like HDMI, Scart, CEC Devices, AV, WIFI etc.\n- **Apps:** like YouTube, Prime Video etc.\n- **Channels:** Your favourite channels as inputs.\n- **Commands:** IRCC commands s inputs.\n- **Macros:** A set of IRCC commands as one input\n- **Remote control:** native iOS Remote control with customizable commands\n- **Authentication:** with Pre-Shared Key or PIN\n- **WOL:** supports Wake on Lan\n- **Speaker:** with support for two types of speaker (switch or lightbulb)\n- **Config UI X Custom UI** \n\n## Installation instructions\n\nAfter [Homebridge](https://github.com/nfarina/homebridge) has been installed:\n\n```sudo npm i -g homebridge-bravia-tvos@latest```\n\n\n## Preparing the TV\n\n### TV Settings\n\n- Set **Remote start** to **ON** _(Settings -> Network -> Remote Start)_\n- Change **Authentication** to **Normal and Pre-Shared Key** _(Settings -> Network -> IP Control -> Authentication)_\n\nIf you want to use authentication with a Pre-Shared key, please do following steps:\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\n## Configuration (Config UI X)\n\nBravia TV OS v5 supports a custom user interface making configuration via **homebridge-config-ui-x** even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!\n\n\nhttps://user-images.githubusercontent.com/34152761/124396673-4b249700-dd0b-11eb-8deb-b7ab18c429e7.mov\n\n\n## Configuration (Manually)\n\nIf you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use.\n\n\n### a) PIN Authentication (prefered)\n\nTo use the PIN authentication you must first install the bravia module:\n\n``\nsudo npm i -g @seydx/bravia@beta\n``\n\nAnd to be able to use the plugin with the PIN procedure your credentials must be created first.\n\nYou can create the credentials as follows:\n\n``bravia pair <host> -p 80 -n MyTV``\n\n- \\<host\\>: The address of your Bravia TV _(eg 192.168.178.99)_\n- -n: Name for the app (Default `\"@seydx/bravia\"`)\n- -p: The port of your Bravia TV (Default: `80`)\n\nThe PIN displayed on the TV must then be entered in the terminal. This will generate a credentials ``<Object>`` like this:\n    \n```javascript\n{\n  name: 'MyTV',\n  uuid: 'e9812807-d394-407c-b657-c89a98804e65',\n  token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',\n  expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'\n}\n```\n\nOnce that is done, you just need to add the \"name\" to your config.json under \"appName\". (E.g.: `\"appName\": \"MyTV\"`)\n\n**Example:**\n\n```javascript\n{\n  ...\n  \"active\": true,\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"port\": 80,\n  \"appName\": \"MyTV\",\n  ...\n}\n```\n\n### b) PSK Authentication\n\n- Enter a **Pre-Shared Key** _(Settings -> Network -> IP control -> Pre-Shared Key)_\n\nYou need to put the PSK entered in your tv also in your config.json.\n\n**Example:**\n\n```\n{\n  \"name\": \"Sony TV\",\n  \"ip\": \"192.168.178.123\",\n  \"psk\": \"MYPSK\"\n  ...\n}\n```\n\n## Example BASIC config\n\n ```javascript\n{\n \"bridge\": {\n   ...\n},\n \"accessories\": [\n   ...\n],\n \"platforms\": [\n    {\n      \"platform\": \"BraviaOSPlatform\"\n      \"name\": \"BraviaTVOS\",\n      \"debug\": true,\n      \"tvs\": [\n        {\n          \"name\": \"Sony TV\",\n          \"ip\": \"192.168.178.123\",\n          \"psk\": \"0000\",\n          \"inputs\": [\n             {\n              \"name\": \"Apple TV\",\n              \"identifier\": \"Wohnzimmer\",\n              \"source\": \"cec\"\n            }\n          ],\n          \"apps\": [\n            {\n              \"name\": \"You Tube\",\n              \"identifier\": \"YouTube\"\n            }\n          ],\n          \"channels\": [\n            {\n              \"name\": \"Planet HD\",\n              \"channel\": 97,\n              \"source\": \"dvbt\"\n            }\n          ],\n          \"commands\": [\n            {\n              \"name\": \"Volume Up\",\n              \"value\": \"AAAAAQAAAAEAAABgAw==\"\n            }\n          ],\n          \"speaker\": {\n            \"active\": true,\n            \"output\": \"speaker\",\n            \"increaseBy\": 1,\n            \"reduceBy\": 1,\n            \"accType\": \"lightbulb\"\n          },\n        }\n      ]\n    }\n ]\n}\n\n ```\n \n See [Example Config](https://github.com/SeydX/homebridge-bravia-tvos/blob/beta/example-config.json) for a **FULL** config example.\n\n \n ## Options General\n\n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| name | **X** | Name for the log. | `BraviaTVOS`\n| debug |  | Enables additional output (debug) in the log. | `false` | `true`, `false`\n| warn |  | Enables additional output (warn) in the log. | `true` | `true`, `false`\n| error |  | Enables additional output (error) in the log. | `true` | `true`, `false`\n| extendedError |  | Enables additional output (detailed error) in the log. | `true` | `true`, `false`\n\n ## Options TV\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| active | **X** | If enabled, the device will be exposed to HomeKit | `false` | `true`, `false`\n| ip | **X** | Sony TV IP Address.\n| mac | | Sony TV MAC Address.\n| port |  | Sony TV Port. | `80`\n| psk | **X** | Either psk **OR** appName/appUUID must be setted. (see preparing the TV above)\n| appName | **X** | Either psk **OR** appName must be setted. (see preparing the TV above)\n| manufacturer | | Manufacturer name for display in the Home app. `Sony`\n| model |  | Model name for display in the Home app. | `Bravia`\n| serialNumber |  | Serialnumber for display in the Home app. | `00000000`\n| refreshInputs |  | When this option is enabled, the TV updates all inputs and saves them to disk for further use. (Please turn on the TV before restarting homebridge with this option enabled, otherwise the plugin will turn on the TV to also retrieve CEC inputs) | `false` | `true`, `false`\n| wol |  | When this option is enabled, the plugin uses WOL instead of API to turn on the TV. (WOL must be enabled on the TV and a MAC address must be specified) | `false` | `true`, `false`\n| polling |  | Polling interval in seconds. | `10` (s)\n| sheduledRefresh |  | Sheduled television (inputs) cache refresh in hours. | `12` (h)\n\n\n ## Options TV Inputs\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| inputs.name | **X** | Name for the channel to display in the tv inputs list\n| inputs.identifier | **X** | Exact name of the input (eg HDMI 1)\n| inputs.source | **X** | Type of the tv input |  | `cec`, `component`, `composite`, `hdmi`, `scart`, `widi`\n\n ## Options TV Apps\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| apps.name | **X** | Name for the application to display in the tv inputs list\n| apps.identifier | **X** | Exact name of the Application\n\n ## Options TV Channels\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| channels.name | **X** | Name for the channel to display in the tv inputs list\n| channels.channel | **X** | Number of the channel as seen on the TV.\n| channels.source | **X** | Source of the channel. |  | `dvbt`, `dvbc`, `dvbs`, `isdbt`, `isdbc`, `atsct`, `isdbs`, `analog`\n\n ## Options TV Commands\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| commands.name | **X** | Name for the command to display in the tv inputs list\n| commands.value | **X** | IRCC code or name of the command to display in Apple Home. (eg. \"AAAAAQAAAAEAAABgAw==\" or \"PowerOff\")\n\n ## Options TV Macros\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| macros.name | **X** | Name for the macro to display in the tv inputs list\n| macros.delay |  | Delay between sending commands (in ms). (Default 1000ms)\n| macros.commands | **X** | An array of IRCC codes/names to perform the macro\n\n ## Options TV Speaker\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| speaker.active | **X** | If enabled, the device will be exposed to HomeKit (as service within the TV accessory) | `false` | `true`, `false`\n| speaker.output |  | Audio output. | `speaker` | `speaker`, `headphone`, `other`\n| speaker.increaseBy |  | Volume level to increse. (for Apple Remote) | `1`\n| speaker.reduceBy |  | Volume level to reduce. (for Apple Remote) | `1`\n| speaker.accType |  | Accessory type for the speaker. | `lightbulb` | `switch`, `lightbulb`\n\n ## Options TV Remote\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| remote.command | **X** | IRCC command/name for choosen target\n| remote.target | **X** | Apple remote target. | | `ARROW_DOWN`, `ARROW_LEFT`, `ARROW_RIGHT`, `ARROW_UP`, `BACK`, `EXIT`, `FAST_FORWARD`, `INFORMATION`, `NEXT_TRACK`, `PAUSE`, `PLAY`, `PREVIOUS_TRACK`, `REWIND`, `SELECT`, `SETTINGS`, `STOP`, `VOLUME_DOWN`, `VOLUME_UP`\n\n ## Options TV Display Order\n \n| **Attributes** | **Required** | **Usage** | **Default** | **Options** |\n|----------------|--------------|-----------|-------------|-------------|\n| displayOrder |  | Array of catagories to sort inputs | `[\"apps\", \"channels\", \"commands\", \"inputs\", \"macros\"]` | `apps`, `channels`, `commands`, `inputs`, `macros`\n\n## Supported clients\n\nThis plugin has been verified to work with the following apps on iOS 14:\n\n* iOS 14\n* Apple Home\n* Homebridge v1.3.0+\n\n\n## Contributing\n\nYou can contribute to this homebridge plugin in following ways:\n\n- [Report issues](https://github.com/SeydX/homebridge-bravia-tvos/issues) and help verify fixes as they are checked in.\n- Review the [source code changes](https://github.com/SeydX/homebridge-bravia-tvos/pulls).\n- Contribute bug fixes.\n- Contribute changes to extend the capabilities\n\nPull requests are accepted.\n\n\n## Troubleshooting\n\nIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable ``\"debug\"`` in your config and restart homebridge.\n\n## Disclaimer\n\nAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.\n","readmeFilename":"README.md"}