{"_id":"homebridge-presence-switch-msgraph","_rev":"52-568941e3ed78dd06d491fd9803bd4c39","name":"homebridge-presence-switch-msgraph","dist-tags":{"latest":"1.8.0","next":"1.7.0-beta.7343413"},"versions":{"1.0.0":{"name":"homebridge-presence-switch-msgraph","version":"1.0.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"tsc","start":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":""},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"2eca06e81a50244c8d0486991c65456036a286e6","_id":"homebridge-presence-switch-msgraph@1.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-/Sj6tslu/OFZOzQ14T12V9hwvVXvBXh5yJ76nJI7/axhlD0pDIZ+Q+EJI936Q1hrI8I5arThn89YWLesUR8+YQ==","shasum":"520bb0f2f57416364d268262b4692ee119be907c","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.0.tgz","fileCount":60,"unpackedSize":50781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeidelCRA9TVsSAnZWagAAV8wQAIcKm9SeLZBxqw4ly1am\nJFo2hKxtKPEsLDmLNMIQPwiQriR5jOl+EmiM6WmVlC4BT/PibAoAleauFfpf\nz75v+lR1Z0GQuNNshGDziT6dJB1Fn4FcjpvbwLLyjfcZJhY25/c2CzzVPaT5\ncj9gKd0SGtSrycB1QKURhzp32+Q9az1H6s5zrm2z0XivVy2O+59XSOuNvZNM\nGB4xEKF2PHZtXv45Z+UQubktyZY2QhX8FwzafWMrgmATyqU+3DsnCNgh8uZs\nG0SWIw8qOJFZPaP9q/KKa0CmFmOriiIa3xN8PoHLVnD/3uVe2jQG6mOXjt3F\nYWDG/1TbpIjNb9LLVsPCoelS3UatQkxM6xdIUZLeD7Vxd1qn7LWRfD1D404D\nMRq0MdkhpB5ivNZDbQ31Ht4RhAYVixluGUY7xW0UrcAtWVBuK99Mw1dQooFC\n6IXWlW2DoGX3PRTYAzPTz+kr3HO9gF7YgXu/HzR3WpuHWLaOcGjexR3krT6w\ntuPxgeLJ2hTgfxdmAbDAsasYZ47JZFk59FANmzCZ9VCjl6MOb1azHpaeWU/X\nI9LZo3lgpwnbrkYh/87tUBky1/8/zB1lUIGATBFLyWH4xzkGofldEgSALGbD\nfncPX2vZ3OfFlJlgeoYwY9AxAuaFAj95gcb7sau4ZzGXW/06V78pPHI5PYAy\nLHq0\r\n=aYXo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAS2jJG0jWNODUu+ZeBTlay+TYA7at57QMIMCNKst4DaAiEAzEZvgC1db3QANIUbA4Nc8NGYu501I3Qmi9CAOmwafHY="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.0_1586091941366_0.6618760135735278"},"_hasShrinkwrap":false},"1.0.1":{"name":"homebridge-presence-switch-msgraph","version":"1.0.1","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"tsc","start":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":""},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"4186b600809bbd6ca5722e528c009023895b9978","_id":"homebridge-presence-switch-msgraph@1.0.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Ss3WgcCwG45NXGlu9VTlBrYEVvja45WzzeK757i1jvv3yLWb8NkJUwJDutTluBvOnI93oUKcEZ3o7R8Dh5+ysw==","shasum":"1ee7491a65df5579e51087aea7606a43a2134f72","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.1.tgz","fileCount":60,"unpackedSize":50889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeidrHCRA9TVsSAnZWagAAHh8P/1LWTL1Pug5yLRffyBt6\nn182tNFnpSHUBQBLvHDJo4wnH+WVoaWi6xAXJo7nWXooNkfcUP7xGwub0Qoi\n8UoEW+3Cl446XvvjVdUCVk9mP4ug1YMmdGo4Uxw/KQgL8aBpQ27eph042bEh\naqu5oZKRjkRlcq+BlbCvrF3cNkFlDkZL4r/mI5g8VVSYM+pphRRDtc6z9nzD\nGsyGymk9Ed+tL/3siYE0gnLpoUSWX9/LvadMu5ncorJvhxT29emTyx13Wscs\n6K8nD23kDzN/vBMih3cSomEf4H/iqvUzl8YFJHPRo+bcfQJPqLEMQbfDMCPP\nzXrrBp0rjxFpO3PrLSsyLVU2+04XKLiOFMEOMdg7u6ZxiqdedsHqlXP+LAlK\nPQ1fFE9B3Wq/0PowaK9//IZK0kIOpnnOVDVfcdty4minYRXp8ASrBItXutG+\n53GQjMxoFfsK1Dv/blZlM55pgbVHHzv+eiCPunJH6TVhDrwgYcJPQT3FD+qu\n7raITz6lJsf2IMEEzSKbl6Ey8QZ/YxEsBQ7aETf3byaTbVHKrLsEAYUv/Gqb\nyVd4QNTR6ky7TJNpjhbyZzWrTfTvGy5YWtwktEBF+2aaNCBkoHlAOzUcaaMF\nJ+yRhHZm2b3fYydyr9JuTp4TGW5ESjciZceHga08k1/X9+P/Pmh+A4uxW8No\nWWNW\r\n=LJqD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnF6cHTzCv5fsvZwhMxcsuxcTf2mFt2P7yrkX/iqR5DAIgb7n6RZU1SaJc1Ite3F4f+PLzRHC8cP0O4UA4JX8BVAc="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.1_1586092743455_0.11881288925157096"},"_hasShrinkwrap":false},"1.0.2":{"name":"homebridge-presence-switch-msgraph","version":"1.0.2","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"tsc","start":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":""},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"f7e670aa50de77ce2940e5ddd2b8a726fc25e737","_id":"homebridge-presence-switch-msgraph@1.0.2","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-zcWIAwR75CWrdFFxlZyDsCOAu/g3ysoa/IXcg0Mg4WCBkhCt82S4DAnEtfXvb3EXXn2jXm/IeEfuHq5+67W4QA==","shasum":"09de3d2f439c78d812b062722efb91d4b1db6d31","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.2.tgz","fileCount":60,"unpackedSize":51090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeix5iCRA9TVsSAnZWagAAhWsQAINoH9gl7cMoNiu2cjHP\n01RMERXNSvdus4wtAI6AUIdCMES+0X2cvBDqxoHcvZsnOcGLiyAYHgEyjHDV\nzcAibNSF3lqBjLr8JzppWdc1uIMUPm7noygUSeZDQRfpn00Cna+39i2ukD1Z\nY0N+QGSPXEfjUGMnotqItpe4uJtzyvVdSZrMtNAAOsnSnIDxm/tz3nEkq4RF\n7b48zLiytOho8cCTdO2UvywbU4Fcb0+TdiM0a+j1191bvsFPLO65Afo8HzBp\nisfKVMDCG6caC4jS/IqWDZYi0ekpq2ZvHe5W4By1tygKNvB292QKoEBCrmf9\nsTekTAVXJfjZ9nsd+Bg6zY8gnGd5wK16ZdjgvU+V95jsX0rMmB4fi+0SgKQW\n8cUoZ3inUCHuQbxFnwKE2lNysvynOw87GMkLsd/y/O2cPp+lIP2i8Fqv0lun\nqs9H223eFKqQkrSJr6mzkfxk/BRb1NZUjbEO0HT51Jrvlx1IZLPJuA4UvN9C\nrIWanjyWtLlC0C1oRSSCu/JDsw1ql5IwYB6ilbNEAlmFAyTJ4ws4U7bXlZIY\nkoulNQ52YjUAlFWmshUgtahLCUcsXha0OVa9GXz70ZhurppPSR7A5r+CkaqF\nKI450X0t0hiUN1lHJvQM/YlKYvWqrDhh78ryFsVsB4E6KH1Oo3UtcZ5mJfSG\nq3p9\r\n=+BmJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChwpM0GCTo6tjmjTMv2MD8qYSpRZMd1y25fd5GX1JfoAIgVehs97w9w2tdOStUtPQEiSqkk4MOQQ8dVP4tLHEH1mw="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.2_1586175586399_0.5929936496076935"},"_hasShrinkwrap":false},"1.0.3":{"name":"homebridge-presence-switch-msgraph","version":"1.0.3","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"tsc","start":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":""},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"7dc50be5ce3c8768d8d56b25f871537f205823e6","_id":"homebridge-presence-switch-msgraph@1.0.3","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-LHWHvbJGR56HiYILZ0OyZbhuEn9Uz/MYY22eyS0Z9bg0pwuU3nvi+u44+AwXr2ha4fs0qDPxHcrz9SlvxsHZgQ==","shasum":"99d365b3bc3aff2a5c8f42972599e3da9c87a29f","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.3.tgz","fileCount":60,"unpackedSize":52248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei1IPCRA9TVsSAnZWagAAdisP/0xhQBe7o0TSn6JVpFZu\nUBTKaS0QMgmCAWSaXULby79FGhJ32Apvdn9xFbdqGoBXH0pClLTFee6fOH7R\nG6qG39YjWtKbqG6JaipuyJ3kFBO5xFF9tU8wjaoipoSIjWbz8AfRZDv/Ev2J\niuLCc2+5w0P64znk92Cju/Tkp+61LXD61Ury1INmcx1uNKWBLj9cCQLYAoNS\nqoOpO5UCH8L173GgqfmsOPDpxE0G4MYeXwg6+iWKgvoXOAqp2LafNrk+7fxr\n2zkwcwt+igZt9dak3Aa81ocLyRtgOdeCSJoA4is44GOIvMXmel9hZQuo+2q2\ns3d6dHWRtRKGati3j114grG2vKztWAoYJdylSHMlPknlE9xDzxnIyGky08ao\nBZuy31NxlwpLuFwbUyNoqmetkI4wFg7+uBgd5FbREUc+xSilXncR2HqeraDW\nF13PU6HEDRtJzg/Gj3aPfPx5kc6Uk6uAQ8f8XpfBAc7C+YEF8WMtr2RIJQNe\nhrhfn9mUKh4PQPJEEP0mqhNTxJ2g7Zv2fqx4BZF3LzmUcbZZR5pP5yKA6M+V\ns1K12nNFrtyq34X6mrwu6A2FQR+H6OmivIadE50TlgN2NFJX543fMBbAT9P/\nnfCiEo2DGc72Fa9aK6Y9TsEMdgjy8rGPczFneGZ1X2+TZDyxAkYqhUzIOHFe\nTDfC\r\n=02IR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbjWRjMdgRcV9mZ+xDzWa4acKeWuXNrSBGdxHUldn1eAiEAkI9A9BVcbVCe5S8y1dIU1HQhltS7yYlsRW+869jWm6w="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.3_1586188814932_0.6804934698562712"},"_hasShrinkwrap":false},"1.0.4":{"name":"homebridge-presence-switch-msgraph","version":"1.0.4","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"tsc","start":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":""},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"70d0b44b2a2119feeb1a9bd21e1aa7b6674df7b2","_id":"homebridge-presence-switch-msgraph@1.0.4","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-f0lI4KGkXikI7Fqqgqy7J+eIGT0y0T2B2FWdUsH3piTJNyIA2AvqkEpA6H3Yr/j//vdFTOiaAt0UL1KAlj5dCQ==","shasum":"6879e14cfebeb6c1bd659df18a932fdae24da6db","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.4.tgz","fileCount":60,"unpackedSize":52408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejJ7GCRA9TVsSAnZWagAAIkUP/AoAh4ZrnLJsJPS54iCv\ngAJ0/oWmtqLoWjsLkf4uZ8JmVePcqynA3hc2OyBiAgw5+qSb/nToCfqfkhhy\nObNkmTtVqdcBBHDXip42ktODFQgIH/BP60Qv4tMofqEwAEzcQjaaPYh8PiUZ\nKQ7XnUxaYDzhhRbjzjLxA94CWeE+SsovMyk4WODGsbpljhf5dQcv0SixKDQa\nBCKsJ84vvI/4FPQlZOkQDTqKfSkXYxfZXVSceO+HpRPcP7MyJlAg+SzmoOIi\niYo4XB3TjlSMPfkATSx0qR4KC2G3QE3oA5da3n0uq87Erjg4IHhfKwyeSonJ\nYZPdWSBH4RWFiK9a2UCS/8+mEdS34VXfmUCV/yWbWdI0F78EWB5jbWmtaDby\nNoDKp/X6exe5vobbaUV0dSSo8CubP0kKbfdZ3qvEZX6dnieT91mGB2JsUSsH\ntAbERxr/9LZFsa03pU4lumheAo7xGDl6fkr4WP8Pu89+jSl220+/uz8KGUht\n6AhUsK68mt7i+tiWTFJ9sLiqGypE2eJJuZ7WDY3mJKXApR+wfospZuqk6GEk\nHVmN8ktYx/oeD7Je7i5FF6oi95VwUubWJBKemeaoqCR/ceXQMMfXfVxsf4vG\nElypo6VV/iPHmeDsNaT2lAZ5bWn3KUxHypPdGRe7E0ubfHA8va2ZrdfLdSee\ncmW5\r\n=jbni\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDN5ihVis1Lgk3Jk3UiTf6QTq27rYy58t5UbsSPOQDq+QIgJCiiZlAJIfCc/HkUN9kW47WuYtjElz4pPIxtTwf85GQ="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.4_1586273990085_0.39976735803394625"},"_hasShrinkwrap":false},"1.0.4-beta.7431971":{"name":"homebridge-presence-switch-msgraph","version":"1.0.4-beta.7431971","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"tsc","start":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":""},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n*To be added*\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\n- AppId\n- API URL to call\n- Light states\n  - Available\n  - Away\n  - Bussy\n- Light settings\n  - type: none, blink, ...\n  - brightness: 0.4 - 1\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"a6dd6f87c44f67d40b82c4a60dd57bf94888ad0d","_id":"homebridge-presence-switch-msgraph@1.0.4-beta.7431971","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-d3pyremipZeBpuImYbD5eNiLAn49pvRTFrQiHHWBfOLFLH31C1rOc7tpEyTPaW6YVkVv0OsH2T8TLJxBDeXiNA==","shasum":"0c768d577c810fa6b437b79bb40a69583567eff5","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.4-beta.7431971.tgz","fileCount":61,"unpackedSize":60779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejvVdCRA9TVsSAnZWagAAo5YQAKO9cMwRz25MCPMUhBc4\nW92THeqEhz/WAlzCK7parsPTj5n4nCTOL12N6JgEn3ow1hWU9Y+Kwr+248Qf\n1CPcV37V19rbNqekeFE+BzYnJ7i4u8LMCGIfIhebbDRoIS8bIk+euIokoiph\nP+i5U6UQF8zqhb7Y5gQqdyfJ8AL8l6a4K1LfrcQjq05wSCjVn46s0ZSSNima\nQWRHRFllviDcSA4z2ywGCzm4yyyZYSIW7aFdtkDkjfCsOJxZFk1IBR3WKs+b\nm9+nYtH8mu+wIUtR9+Fo60QeX+AEtnYvVa+7vXk5hmXU6g5zF8AyMnwIy0zW\n7XYXZhhTM2/1eGC2MudZJ209pBwAI4jRhk95lN0XchctujiUrKoUamvBWbIu\n+TkZmkA2HFD4J4XnHLPJ9RXqxLnHZJjfhHwsi2+BUxr0LF86KBR+G7T+jGrC\nuv31RTTRVLrf1jqvqPFOBDjvye2h5eux3tyZP2TfuhYqNJwDgpLHII+DWqKV\nn1mCE/KcYjl8PtjAyNTimRxG7Pius0pGZNRdwIhG9YCkfoynLRw/rxsj3K/x\nz2ePAJeuKgYSR4Y1YY2Bm/iAG3axwJqDu3VzbjoV/ebLPb0DQW6N9Vu3AhDx\n6kRXAxsh1PJBOPNm4d58Xf+WM4GWIJXFO6esl0PnLaJB4KGD3nXUL1XJjvvu\nkauZ\r\n=xPMo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAuW5nV8ZCcri7G3sBWpgQbS8rDRAAno+kg//zCjfXmlAiAl2kw2GQZy2HKDQ54gpyxA15DqkAbmbJNtsLUIMnxOiQ=="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.4-beta.7431971_1586427228504_0.5275677164815942"},"_hasShrinkwrap":false},"1.0.4-beta.7443001":{"name":"homebridge-presence-switch-msgraph","version":"1.0.4-beta.7443001","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"tsc","start":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n*To be added*\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\n- AppId\n- API URL to call\n- Light states\n  - Available\n  - Away\n  - Bussy\n- Light settings\n  - type: none, blink, ...\n  - brightness: 0.4 - 1\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"af7cf8d986dee2d3b9c9a32f5c051b1fd5c48488","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.0.4-beta.7443001","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-LyagfdU321dRePW1y4egxCqiqrA2gh/iNXyIdAwnx4tXzc5JOSG83okAaihQCwqf+dYFOiH57+Yoid6NifmqvA==","shasum":"8f56bf2d8ff8e7bc2276fab117ceae6519eb7a8a","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.4-beta.7443001.tgz","fileCount":61,"unpackedSize":60507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejx49CRA9TVsSAnZWagAAcYIQAI/C/UwRsSjViJGlDZSa\n5fp784nkXy4QPOWxlyMqaIxKuR+08ldgyT/7pUArSvnO14DWGOJ+2CAAMD79\niRS0qV4FzoPHrXsGjjRI6xr4KXZPUfYt2o+HYQwruaiSsBajA6yj8MqaEhwA\nOIw87No0RrsJRedv4PhF5o1jYKBz26+hy8OoxfFJoISYuHiZ7TYIKwUW8vSL\nuEDbg7SmGOj5MxIuBFgzNzWPlBmiiSlFBh1clGpQM0leiaP3+zW89H+njpUs\n2F4fE5u7TGk6JKplJ6ZwTyJz+KVE6UyHKo/jf0JQI1HlmyvyrlpB7lC1o5vP\nggWBuLvM7M9rToGZC84Jn/Yt/UjlIACZFdl6Mixzc6L908BxHJG5rEAzPUUg\nblq8lVZ+KxzoNKMJrG+FZEDbqKwPzyuqtwGg/FSjM1OxgbASKCubtLxWzl8J\nUv/vn1QD1r7FV/cAjpqHx8YPlE1dP9Ze86MHlA9qYT9c5FbCCsMQlpcUv7Xf\nTu5cxz5HtjVJNOLjpY9us89KQGNOPthwqUeZbBQzaLQGPVqozjp1yVeN7ZyU\npjAP1BRLTIuqz1ngZbTcht+wFnsHNpMUj4Dt14rX7sVCLJer5I7pg4dAzOxh\nIAgmOVitzLnpJP34o11RRTzoVq2aQtzEufuoWlQ1wwoeFSLHrZPU6Ftoi0Fn\n554g\r\n=IuIn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ7sRTC6diBmZk9QMwRJlLM3+5qgE82B+lUeInDZmMZgIgIIskd/QvqjR1bA3bVJ5crnCmfhQBuprYcKgHZGDwZ7Q="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.4-beta.7443001_1586437692788_0.5165467179733789"},"_hasShrinkwrap":false},"1.0.4-beta.7445015":{"name":"homebridge-presence-switch-msgraph","version":"1.0.4-beta.7445015","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"lib/main.bundle.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"webpack","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","awesome-typescript-loader":"5.2.1","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3","webpack":"4.42.1","webpack-cli":"3.3.11","adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"readme":"# Presence switch connected to Microsoft Graph\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"2ddd29a8161c57af52aa523116f1bf9a28180b1f","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.0.4-beta.7445015","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-dkaF0rh8YmEtkCoBBhuOxwVFBx1RcYFWyAIxJ1Hx07Dw6huRYhXR31m17grK+BJNMplTuSKA+7Lqu1N7PuZq9w==","shasum":"6edc00944fca6da86d46d600f3eb03962d5cfe86","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.4-beta.7445015.tgz","fileCount":10,"unpackedSize":3627911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejya8CRA9TVsSAnZWagAApf0P/1NVYJMGLBdWq2wIw3C/\nTpeItz7B2BPZRS2OlzVg94tpcdtJv+jKBEisDZHIl6+IbdpYy/LZvPAmQd07\nKamhxr4cxX1RpLx/SVNEw8Woem80vuGFJPeSYtOiQ+TdOPZfs9Mpx0lxTufe\ncMHB/TwxPh5Duo7kBJYHJdG15xKSUyapfAOUcq8BczEwXNxNZ8U62RMgUseQ\nd2XolP7BioeyevxYrUqVihiqzTIFmmTMyQ7Hk9xU5l2bIiDoNMKJud25QHBS\naIHrR6yg9sUAVdtANdgswdS2K/IhXrcJXwGldfV2kbJtb19gCius+gYtmsas\n78m7lJ5nzR1a6+XnL8HC4wwFUmzSrEzkLGNTyJZAsDm1Wf1rFo9vq1x1AFNk\nOttauJc7I3Uilz8geQa+NZjPemnWLy2WUS73vQiypVw+AAYjyoEs21Qtu4aD\npKY+COZFdo9BkdsX7SJp98EomVAJ5lPO63Jpqz9DSL3ON0dzOllB26U5C2hd\n+3cConFatuKyYVjxbnw/jyIJfSx+D1/ovYVq5yNAyXaMHszdowN+WjrZrnPL\nOmwQU8lSguNk/e6hDRjps/c5ld7ZdvE+k7N1XY1dt1NoS4VFgttegQWiVGeT\nnibdnF0Gjb6RLvpfQp8Z04Xc8Y0rDrdzHcRDq4pA+emYvxhM9iNyP29Eje6Z\n2LHG\r\n=ByeE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAVqdal5GSgGmtMQlkI/VNa2f3JRFm5BoIK/9u2qOHRQIhAJzxpC1025lYaD2u+Gv1gvbOe0oLBy0wXqbMtwMiaIyi"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.4-beta.7445015_1586439867200_0.7708874105780417"},"_hasShrinkwrap":false},"1.0.4-beta.7445526":{"name":"homebridge-presence-switch-msgraph","version":"1.0.4-beta.7445526","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"lib/main.bundle.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"86efc8347b04dc3ca1b25994646d31950c6fac5e","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.0.4-beta.7445526","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-pWKC4gPYKAOU8J044UMw1RalLKB1qkenTuDOB3XNxmOSz+AYm9piI5fn7skMVf4ftGgTXWJ65dREMTZvPBdRZw==","shasum":"8de2d159c256bfd0911c602bcf64aaae6c247b2e","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.4-beta.7445526.tgz","fileCount":6,"unpackedSize":10826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejyi5CRA9TVsSAnZWagAAkCYP/A0gb2TRawo8gk48sfpU\nhawqc7Vfu3Z/BYisywaLuyIljpYQKWrxrl2JpOBNUjP24KZILxPJxiSHYI6F\nr2Q8dvNt0Q+03hmpl9roPoasZwZl599TaKas6d1R0lyeQgagT3WP8s5OZmiX\nbWNll00X2QcJzy8/kcu35DYwMNS1ucdpC5vCgiIwLCw3ybdjftGGpLw02RcM\n1UVFub3F8a8T7gY5rmXWFH6AGN/lPMRoo1/cP2Ap+5/bTYpoV5tzbfJ9IWAa\nueuGQYze0yv+ASqPdPgZESR8nqRV0EPt9l+8IRYAiBknQM8k+T1A0lJVXt3o\nPPvq3+0N8A/AWPg4iqTjMaNN6vZu/xxlh2W6iS7adWNpTSUKtpwWZMt9ZsPB\nxo/xd68ZBeXMoBVFMZa6WtLg9g2AQ+325NvzKGtXjzO+hpRAVs93FWeS1ZhF\nHzOX8bU3IzhVfku+zEQKFQWXBK8mbaG/Oa4HtRDwYp2HG+lPEI6TZ7sG6tJB\n0hnPGoLrldNWaNzzq3sWqPkepjqp/QpWjnYyTJ3Tk2CvA09l1/FdJo0ZGR7X\nm1btg6Zf3xeLOVe/iFXLTp8aCSKnZEEJwmFLMfFlFu0i4U7v8U2sT7muWrEb\nvZLIED+OYXXXb8Zb993veG2eD0mQG4SkV8Dwum17MNnVGuQcW+GEnI5VuDHo\nywML\r\n=TlsX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYIwlU4qi8ga7FKSBKxGp/c6e6UmZLQVrM/8Wr7SzVEgIhAP5pPMjpeqpYTo348NaIw2ozLRRsAFSSl3EZvFm9J5d2"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.4-beta.7445526_1586440377030_0.3296258250948294"},"_hasShrinkwrap":false},"1.0.4-beta.7445634":{"name":"homebridge-presence-switch-msgraph","version":"1.0.4-beta.7445634","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"4e77e0efed1cde0f458cd55a7e1c7fff0a41b48b","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.0.4-beta.7445634","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-1D5syo/4GfHZt4y2O/1x2khDXfIxcgNFDtQq0gw6nLBLjlBqrD04q3GVPvxaaNrUOafTzbIj19QXph9LmkaBSw==","shasum":"ba1559463cebb1c7752799e7196589a15fe8a46e","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.0.4-beta.7445634.tgz","fileCount":60,"unpackedSize":55904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejyk0CRA9TVsSAnZWagAA5poP/A6idmlR4djFKI5q4Kq+\nMZwA++OX0a/O7/zc6QggkunB4EKsfUeS32bms8A+WxXGcW3/bWuLStCkR/SF\nBoCh7xsxhbtKImtShvZj8vfRFQeACWBIR7TZyoN0JdSUH7qii4cbAZcGgMPE\nsCYy2HCdNqiU5r1kdIZikR/WyVvvTRCFcC6JjT0MeQdYHNo27bTlBHHkReM7\nrdiSZjpgLa9ERnfC4m3lpoHzwByUl68ZFL/1jCvSuyOQ19Gz3Vnv2T5z0EZe\nF5tP8Eo12ofLBC2tY9dvXbSxPTpKXS+Fo29fH8XfhpLEcx6y819U9G56FeNW\nyRwO618CjeUXSkn4r2rnkJuR3nF8ccXIN2J0c1RuXWYOPcn12IbD9y1beNir\ngIlV+vnSITSEsXqkH1tlsPXYhyeZaDsPDJ3749lx8EYHz3mq4AwhvtjiXOh6\nwF/kTRqOWmQdAN4WpF6kw8Lb/6sgPqQ7HPxttK04CW/M5DKNXffr+0057eSf\nV6kbbBYOVQiJrmMoTR20l8OFRE6vzqXk8WWQi0Dv4y7GG+Nm8g1Vi5VZzjbt\nDj0lThGCzoz2HsopDye0P6vpYSS+9liHmAmdeQgjqIfJC8gINT8mqY9lMsjc\nktTGJ9EDCCkFysjbL5LCJjiDgj62LfxM/KLzOb6A5abrYM0FKXy+q4/HYsiQ\nInu1\r\n=a+WH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwbYvwRvbDOOssKQO24SufROQuLAS8zSdwlCsVPukciAIgYdfUC12P6QVb0w95NwD/GyN2NfaMCoj1EiLVEJrwiTE="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.0.4-beta.7445634_1586440499913_0.7879241811075599"},"_hasShrinkwrap":false},"1.1.0-beta.7445947":{"name":"homebridge-presence-switch-msgraph","version":"1.1.0-beta.7445947","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"db5a6b1ae3e53cdc2dcf8ca88b5f18af53eab12a","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.1.0-beta.7445947","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-20C/wW0YVxfld5GUFFRP1UnFlNuUohhkbZ5cAembbf2Sf9itC1UDieBl4VrHQXGY8jNQnkSQZXI1zxLNkJW78w==","shasum":"361b38206429990a4ae7fd68fb63ffbc26755971","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.1.0-beta.7445947.tgz","fileCount":60,"unpackedSize":55965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejyqHCRA9TVsSAnZWagAAgesP/RfyE9iRLoRa03IMehgZ\novu3F6UvJe2+027I/fUEDHv0qcuTke1HSXPENDU/grGAm52jyeGGnO17kHPx\nVb+fyTGC51P5jw1+Un4vry06BGTstwYT3VHW8PFKfW6mtXSETkz6CqhOBojG\nZA5yM2wCPcMhkf0pqRtmWD3i5wI5TvCBUJ2Yg8r3m0fZe5nGJ45KSEuBrPIw\nync/eaX16g2/0NjkQqPjNZ6/vu5ljaW6q4lehJArOt6a3rX+u8nCpsF5FHV8\nJFpJjm3QlQ1hhBsxkuIErru4kt9hROZfbLgc3QuQtBCtWUEgIh5g1zx6fVfC\nnwEJxPXnfH4jp/T3OMqgNNPV3WfOpvHMzLKtuD6BZYb1uNJQ7PxQFvXhWPJO\n9McqDN0mbuoTGdLaTdj1r+g4z1Ez6tr1JGXcfVWDsDsJAY6kNVIaY0Z2+peg\nv2VD1wYg7yqtI2oLS6+Ip3aFxwBBaxMTDGVGScLUhKjwKxnZSL+ciubhF1Wq\nzvvKLXUmrQN5V9dqiDjSm4EczfUWm9KzUjN84W2D/M1Sqj1XHmfJitUiFWxi\nR33gBqtSMy6iweMI/ORK1coUEXAa8fafBTjcui04JeLn3tVPV6fa+O4E3G8n\n8TY5Ry1NoeqP24wCJJhTfqh50pVBkbrBLGvnh2YcXIBDyNsKG55KH+T7Qfwn\ngV7r\r\n=VKuA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5UHbD5JwcgOWWVRTKRLloCz9c2ablxmJNHgwUjF7TBgIhAN7SImimHaat1RC/A0CvmmLiNhYFQXhoaBN95Ej5b2Hf"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.1.0-beta.7445947_1586440839049_0.5918377278700928"},"_hasShrinkwrap":false},"1.1.0":{"name":"homebridge-presence-switch-msgraph","version":"1.1.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"00f8354cf1469e99c84bf121b53ae4a52619aa3d","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.1.0","_nodeVersion":"10.20.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-AsbGoAzm6zlf8hl7D2jDTov1oWHKe1LoNn5iCK8DE3RYdJDpJ+xQxKD0sjb9NLQcbaufsB+xi4jCkUpbIfNN9g==","shasum":"8fd8b61337d15b0a7e92c5ba3c60ae149504a6b6","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.1.0.tgz","fileCount":60,"unpackedSize":55953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejyquCRA9TVsSAnZWagAAiXkP/2tV53GRxTNwoGFmtqeS\nJ17KJAKKmjW2hnceLlQ6Md/xgU4ox6CdP5SFQExYi+qzrtrch+qIselRJlO1\nJPH3RKyUJ1Ov5p969Y5Ejdxr5nFEbtC3aVN8ZHg+IRpgUucMunIlL1k3nEry\nbmNEsAPN2mVbAybM9qZiPJkDDLeIM0KGEoFAySzUy+LBHlvacpTIWUz6A2j1\nIQVmUWwHOtGqMIG3XIQ/gpLmQBlHqxyhGjd78usyWNcJkkUZGdVPFiXTKATq\nTGp1OfX9xzcAeA5JA21NPIK5+OBWGaoQdCiWG2XHZ5JcR8NWb/TPXKXv8WsI\nVGafgXDUaYXOFyjdh5ZazVJa/mB32I17InJPCpG4eCFAsa7ZbQN5gkX52XtX\n0PUKAmQsOOLM6ycgWpyXlvE8Vm3srJaQDIjrInGQ8yDNKYJIYJNAIJeRPqEP\nrRpvEsGLDMwqJRVyR4fZ+RSFc4Rrk6jFeJg82izcOSX9XttuhKvoO1a0yIUN\n1rU1N0yiS9esMIfZ0of/QTe5PHZ71+r2pFDiWIvbNx8QXopqu9iqxk1B7aVu\n6THqzHHa6+1Tg/Q85bK3x+7Nj7rIfqDF+8zWERSvbgZdXpyssrWFOJ8XnrbF\ntXq9HsnwSPPh4hdjruE9YwKIq2duH87IvOj1+YNHtUo6iTbhN3/11v5hZ6xC\nz2Ey\r\n=Iv7w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIDu4HeFpNuSquR9KoTuMW37n5gaWesaOo02zg0KSwgAIhAOVAGwjc5Lz1wG1pmMupjik7kirxpfKxtUte9GnL+hVQ"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.1.0_1586440878255_0.5758679480402769"},"_hasShrinkwrap":false},"1.2.0":{"name":"homebridge-presence-switch-msgraph","version":"1.2.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","homebridge-lib":"4.5.6","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"467e62a7b30897537600512d10ae29fe7ef3a186","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.2.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-W9iWTmLxjss3FjVh+VIh3Q7baL3dekahhKympp85dsY/w+Pz0tpI+heEtOjrFzq6y6TFakiLx0N1PAmJ+2cmJA==","shasum":"44b2fdf3a80f411727451d7b93389e013ac65262","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.2.0.tgz","fileCount":60,"unpackedSize":57074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelY8qCRA9TVsSAnZWagAAk8kP/A7d0PIEW4NHI/BlR1XD\npNi8mqgmsHJIqkKVTcaaVaYnEA4/1O9ZgX0di8vMk3M4uSD+W0oclm5oc1Ae\n6ya8RNKNPiltp27GkyhX3q6HHeUnpzne3TLkghU2TexE8xAl/MJCqb6eoik5\nnV/2S3VlZE7YgpIM2xXDYe+wY5qRatcuqxadql37avEP/OAMeLh9lJyzYas8\n5/qdyMtM09bgDO9sq144xbu8HTTMDWv3NQm2kTP35cq3zxaz+T+vquOYoDXP\nJAui+4tpS5SwxdRjR6KYvoI0xeqvTbEu43vOwZMCFupISBhMyCjBCQnSOn94\nHTS1I2TK+IyuuuxFSH6rpKRY8nhLiheb7gKa/KujkVj/NnClRyglKTquOiz2\nqCDLsLVwqkJNhHS7jP7m625BVyYG8XQA4Yvvwilx02Xeoj2cw02mOHXc3CCF\nFAjYSUzWNwPzbjAc9jke5EJ+v0ZRuOYli8ef2MUSt7/9Y5z5Ix2eRmlUB39D\nlrdAQ1MdIWA2d/FBUEwT8UpVbTUJWXOJY7TWf+A4XB8H5iBkYa3BnlzcBazL\nBXCqLerSAm6CNySKO2QdGJjRomz/NGPEBGl8166JaI5FdQ3VJ6PW7A9zca3A\nIYh+prhgS3GkFLQ6VtW3h6SUlEISm43z9k8MYwc120axEPvlc2v8vdEbmDFk\ntpfb\r\n=Ra+u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqLnOEOlr+Zgwbnl9QwMjt9jcXqDh4mvwQhVCmoVQyWwIgD78oMG02echjCMzDOpX4ATg/UrGeKqy3mXtmn2w7liI="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.2.0_1586859817254_0.8368442771442166"},"_hasShrinkwrap":false},"1.2.1":{"name":"homebridge-presence-switch-msgraph","version":"1.2.1","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"fdfca42b614ca3083a50353e97457a2c9dbe6d68","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.2.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-UszDWWLsSOjzQssHOOqRUeM/C7PYPrdVEu2xYtx8oE2LEzJIQ6iDn3dAndNodDYnb5Ypp1tLCs01n5Y1tZWPbQ==","shasum":"2f5c6541f6549cdd87d0e37bf1736a3a482a069c","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.2.1.tgz","fileCount":60,"unpackedSize":57100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemHT5CRA9TVsSAnZWagAAKLAP/jtK8mJX5rduH3frWeeQ\nLmsppkBO42wtQzyvJ1vbDPW/U+5cDtboJN+mAuF8IAsp3L4093kzdFWTbjX7\nY7QAMtnR6DOU06rT3V3gdH7memiDuMPdEOlf8Nd4g85F3gsPOdLT0nFZx4nu\npvkrqcrlK1GRkTXFdpEQTckX2fyBKBsNMKI9liSVFW9PRNLuiuXuIat6onL4\nL44sYtXqellvQWGIIBXSu8dVjth+1X6+WrHptfJ6vRVC3av7JyhbhG3wnSLN\n/otppvRGURU21NFDtckRFWFbRnzSX0EvBvBF2TgDu5A4tUZtDfzVrV+yk6SD\nm/NJCL2+UUvqEC2Jq8RMK+kY9hL50/V5+wAJQBMqZPS13dhFXVLHDJ6jouYh\nZXkA/SFlkI0N/7PCoJgjQioh4Uhk1XrQZjjp61I+bUv43InH4u2FZF7r+K5m\nuI5wRuowxz7VMZ/kqrePCgS39zAUQR1m5tiQMeibjju74VoNVeSDxRmyGbqJ\nBJIwC4r29RIMOzTbtJrxpP6FAvocklEGAXeVaBNZXjiZ11lGwKszm6dOG8fT\na14FsbZic4Vo5OjmsGEVklsvtKZCu9xUuIgCxgTzMfrwZQMTgSe/ZhU5REDa\nVmUnLh0Q8mWC+v0uVIOxFz6YaFwa2tWEGXdtS+NmTa1ETKUaFm3o3m/5PuDr\n6aIY\r\n=C6o/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHfssHfPbxamP6TL8j6U0JqLRvzmnAjOiQZRgndw8XZPAiBpkm6jgg9hq2x3JlJh2ROoyjpUyieRJmYzfI7RK2zKoQ=="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.2.1_1587049720710_0.43625812637037775"},"_hasShrinkwrap":false},"1.2.2":{"name":"homebridge-presence-switch-msgraph","version":"1.2.2","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"4d9b024e8913c069c5163c47dd3db4c16910e504","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.2.2","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-2MWAHh7/kVY6cIILfl3VZ0wIm+m9deU0RWET6ybJcAopYJ8ilAxq68JArFOKsPQG1XSauXmKWEfjPHxV9vElFQ==","shasum":"ec9c79a1b6804c80220ff381100e820a3122c2b6","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.2.2.tgz","fileCount":60,"unpackedSize":57245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemt7ZCRA9TVsSAnZWagAAaOIP/Ree9h1I7QC+2Vy716lF\n3E/O8TKjzQQHetOZTD7m/qx/KUBfq0XiKWN7CiTL+0qgtQQVbNCJSP9SHbLU\nMFGpfsmcRUxMZEORiSeCb+8/Jg1lRd5GixUYGZWOujjVM8BlCK52+vuJcNJx\nIkqjt/1WM03gEWZ556jAYvpW7wDkbKTfDg2zw82KmDGPjdf/l5n0VeVOpB50\n655bMyAtEgfyPZMxRpDgB5SAYYxFyGGxK1ERi+Pu6mF2nfE88tBmzaqVsvPE\nXR79LbBPHDd6nQns7Jwf9UY7U+4KYkSTXkhdf4zM2CtcDCwUDGhLSyicjJ+o\ncvg4xxxG7KE5H28HKDV0KPfaATpjdkjMmbebXUTgj6pRLyk1LuchTShr4C4o\nU1nDFeuXpV1RopphgoHSnMlkFjGHNhhPryYxAJgAAWR1iN5892E64fQpUIoz\nT5UPAM0ppNeiTaGjnHgTAEDPN2kK1AzlQkK8O2suRh45Lb6qb4gzCQAZfYcd\n1c/0KEEu5anA0NPGVTSkb5BT+ge6Q5puMv/eRQrEiCqPJDnTfkGDNvVrjWoV\n2r+UcVrCNHYWHqK+PSuDjVZttddpdewUm0bWvWzPcA7m6MxV4pJN2MZCSnfZ\nXmhDRsybzyahGCTBJQZtdnf3scoVH1kFb5WEdo1Rzgh0qaWScXOWBwMWzymN\nx5ZW\r\n=thyq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2+rJmGLYH6wCq4fnsHGppxKz0hGiIMSQpBS2vHaE2aQIhAJ4BjS8T/WLhrUeT7MMOwPrq+s1W3UD50NZ7slpmfYGW"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.2.2_1587207897431_0.13058766991207538"},"_hasShrinkwrap":false},"1.2.3":{"name":"homebridge-presence-switch-msgraph","version":"1.2.3","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.0","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"gitHead":"a4836137f82673d0075178d2763320059066bf1c","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.2.3","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-gA9kCjh/lcrLBaqpA28gVAncyweOtiAgxrd4/xifmB0JLN7Y/ad+HxZiGG3KPUNpwxLZZOZ/S/p4OrbpUtu6Og==","shasum":"7c474dca680fd6821c4824903c7f3cc2731d5c83","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.2.3.tgz","fileCount":60,"unpackedSize":57920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdj0ACRA9TVsSAnZWagAA+eAP/is7p2bP6TwA29s4+wNe\nDeeA/SblZLK85ALbTjup8whzIav3VUeFz7We8LMA06DgfTgqrzOQzn0o82bD\n2BV/GxOc0IWmFP+l5s2ediZP2ZhfrUqIxEPjLJi9Dzudsnb4jhNh4W3bhR5U\nh0vlDxKDPww3x8B2XnjYOnedjLOmoT2YdIqjaKT5QvKQlOrRTjppUlK3dvjm\nJb41pcz6Bi3hvjUqbo42J8P64HUY53XqWY0tXKkumb/pB/j7rBDCqeNK4SVc\nwhxT38rjmg8OG2K3q9O8M0vgJL9tQjM09qFX8sadmGyRQT9kDM2hK5HzB3ir\nd0EgBTMVBuXvaV1hei6cU0WPYn7xyWo8wS/pCeyt0/Qn6O1StLgISD8M05DS\nnhtLZ7LlNSpv99ZZaIdPuPlUlWV1tZ1Tqd8M+KxGnSP8fwHK/Gjp7CXpoJcG\nl2PuNHmTanL2jqoQB1tlAcmDcjtrzKjW8GAjqmdrm8PrAORc94hVsfas30Ju\nz4OF3abpiVsJir+DWGFPVqCp9V96XR9+gT5f/F8202OCKcz9RSlZXJYYHMmc\nnj5LsNt424K3o2zccO2okQivCUOj/87wBgxJCz7VGEjRkTSQfVitONVThCKh\nFkTlVnw97pTSHcbYGqMHk8zJVcCqB5F2z4euYZRLnW5t/Mr0GgO2aEOp2m/Z\nnCeF\r\n=K3lS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPP9SBx9UMu01kEQ/5oJTtUX4HlzqRmfFRkBpiEI35BAiEA7J33wuD4R32Ho1DgBm9bKIs614xdyJng/YY4pMo3ayg="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.2.3_1601584383550_0.629284142958447"},"_hasShrinkwrap":false},"1.2.3-beta.3321055":{"name":"homebridge-presence-switch-msgraph","version":"1.2.3-beta.3321055","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"0.4.53","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"cba45bf7aae7c5702abffe91139f53e90aa8883f","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.2.3-beta.3321055","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-dIuE6ShiESNeG6mEVapMe0srTP1FCWundG7SV5v3GpmBcaob/b7Bum9nPJnYzGpZuB2DGmPrvbAeMP6b/pTEPA==","shasum":"a476531a52629685ec73b832118917cb906d3982","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.2.3-beta.3321055.tgz","fileCount":60,"unpackedSize":57987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmHSwCRA9TVsSAnZWagAASAAP/2U8s0jWKVo0PYmv5Mx9\nIKO53LJ+Nq2Lk3AGPCX/c1XH+1t8+N4KMBtIRGtaJhfRjbRQmIP2xPguUk9z\n92BSUjQy+0T5n1vmxeYwNHJsjavt9wiI71JdcN3YhKUF4HbHO3sbtduPPLgp\nXZUqXO4Kn7rQz0D0ukh8a22wY1vEpd40T5r00gjLGz+iOcwbVu7R9EWtF4pa\nI5hNnHQqNt6hzUf6dxp4uGzFwTbfnPU0Ca4/LiYu1oyQEemmHs/9DjQWR7qw\nmO2TzxQ/x8b6IjB/4w2vFrDzdgKdCK7Eb+tpY15oL9e7FCJyLZs1gIcRwwJP\nl9yqoceqUOfnoB3go0FUe0rEDLO0zh0k4Pwbg62UZS5tBooobLj2uI+oL7Mr\n1I5+mLC71JaMZqkcEOXqB7DrSvNCTV04XYM5QxEos/2h3wd6mdl6ZKeODuLs\n9b361sZDTpIasRisUMXqYd0dAVRTQoL8Iao61Y/JzKGDSyrwUWi6v7pE1Adb\nNVbkdacFnm7f5yHA67HEM0J2Bscs5rEKNbWgy+NYNR8CKsEsJ9I4/fACLyGG\nfj9YZFP3UPwIjYqyLNEdMxzS/Le7vUe5H1jTh3hkAWQxSIXFIL6DhylSMz78\nEgfWUwtm1ThcPvtipbhScnDhrFE/CEi0l1acGK035pZw+f0616UqIAdTLqz7\nr0Qk\r\n=hBap\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzveLC2a8X+dvxnwAUgkpkxITdi+ctFib83dVTNBk3iAiEA3zkG3BD07+IrmMSa3RXzsY4INYRTTWahOgAlVqsNcnE="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.2.3-beta.3321055_1603826864535_0.28596376880150154"},"_hasShrinkwrap":false},"1.3.0-beta.3322567":{"name":"homebridge-presence-switch-msgraph","version":"1.3.0-beta.3322567","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"c8a2048ff43804191029e20df4db52e673cc4ff8","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.3.0-beta.3322567","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-tkCICMQyOFpsJutFAE2+/5/jy8PUh6FME5MuM+uD/aiEeUZHs+nFs6gzxXCvE0vFps07TTxBg71uoxYJuD2T1Q==","shasum":"c5e0ee9579fd696c91d1bf2d9c03decfee1a28bb","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.3.0-beta.3322567.tgz","fileCount":60,"unpackedSize":60479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmIrVCRA9TVsSAnZWagAAtmIP/j9XZK4ac+tH9aB5sfSe\nS3SqlVQ50Bo4WJveug/MaDcJVuOVY2GJEEkciCiho2klwZlBj+boIlVF9aaj\nDvPZsAxMjs+ZXLmtOlJUJEHCw79hnRmQhyyo5RlbN/0etyNB79cWQTy0T0mb\n7JJuyZu5OySe7iDhWordmZPSVg+K5khtnbv8BSflj+cBn1qtTcbXklPZr44f\nOks7ijmk24YOZdyejSPl8KBKMrq3hJu+cGYBqtJSWPbMPeEUALaiaUJpZTS1\nAk5FcPZtrPstwnOwW632LPZ6U9Q+gNyyE96D8jLwv7R58MB5m3laYDs9t4Qg\nIAgLrpCXHiuse2kuol6njtqiYdMYRw8kDkQ2w5hhqWtCpiptA3Hhc7rsKHHT\npSWy+bSNex9fu030WNh2ft3yV8xrY6lGBr33jdjYTu1Zl2UVq0k9Xxt7Bqp9\naiIT4O1KoG1HvC2yk1AJRkrijbZUNEfTmCsxTxH1bab1+I8lWS+B6FMBxBpT\nhVK0Ags/8tP+EOodipzwbKkED0otwCzqH2HWu2acAsU6MQawNOwJUtViBGnd\n5gV5DaYohgQDTwbVXCiE0ESBKulUCwdiVT3OQlhdnmOF0ojSUajduLD87dLe\n+9n8M4d2dgvYAV/EPD+ra0Z/bmBvcVFNGzTTGzbUeV0B2xU+CTfCWG7w5AoJ\nFAn0\r\n=eN7h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDadpAXO6kA2RrBBgKIGzArAlc5nY0vFcl8AqTkeDpugQIhAMcrfzl+15wTA8EEASqfLHfYm4Mq8L1WuwLdJCR9f/8d"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.3.0-beta.3322567_1603832532800_0.7555150664922612"},"_hasShrinkwrap":false},"1.3.0-beta.3366343":{"name":"homebridge-presence-switch-msgraph","version":"1.3.0-beta.3366343","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"8c4de76bd66169603c398b7530be99eb44cded9c","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.3.0-beta.3366343","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-JyGbUGZkmfWosepKVj2zrB7PMLl1ztKgB40NT14nYamhzHfNLhwbZBQnZ4xeQKR07p9uE40wJ5V3x5rnkQiOSQ==","shasum":"098500791bf43277677ff76120ef0826d936faf9","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.3.0-beta.3366343.tgz","fileCount":60,"unpackedSize":63964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmyvhCRA9TVsSAnZWagAA3/EP/0eIkwOC1EALpO3XSOiS\nHYSTRukt+y56HOKGzbDZstUxnWN7AvchGjIZUXuc5LUP06jLO3hSpthx7hb2\nfiNqQ1vdQ7U9Ch1c1OpRsN4xglMWk5wgHFHDa2ken0takaw+d08NN5qe+6K7\nTiLvpRdffq/W5uaHhslFzEPcYxE9E6Zb9QlV72cr3wYzCzvVZAXgJiUdVSfW\no1fMcxlR+6eOavZAq1BBU4D6ly8ZJ0ekBLZmOdUy7X1bxyQrKCYAuR0rb9GG\niZER3aAQeYB9U7nwKfngkanuQgOhALuDcCnHuPFSpNmtDwruiG01jUXRh0ue\n8vABi7wK5G9jKuyC7OiBjMxmn5pMVEI+cRaq4XsjvZQ8MgqnhJX5Nl7Om6Dy\nFn93Z6Qmj3wx0waBIBB2FvKDl0TpbLI1Nsi4mKyR7aC4bHEwO8p1T5rSAGHA\nykITwD1Gi2qHk5DEOd4SieABxWxsu5fAgzkXWdJiKpOTlxq9fvHsNa19lle2\nXKF1tkONlAeWh7fiUIlL3EZHvAxnA9fJfx/eNd2DTAYH27Ec/CscuCqsbXgt\nh4kzXTy3nlV/9KbFWJeuNkWIgDOPzLi5TxWYs7SQ1TVY7tmCTXGU90cSu+oL\nzFOC3Q3oclTp0Bqry8/0Cv/ccVFlmkzUZeMyhjirtDuAhBsyTFoTN++HRT9d\nJhXY\r\n=js83\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDECDaBTeZGGrphmATTPAW790geOPYxI2gDZemnV/6SzwIhALgNV+mBZtzGAdDfK52VFYJTk9kqNvg4VkG+tkxe805B"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.3.0-beta.3366343_1604004833326_0.14839766045778746"},"_hasShrinkwrap":false},"1.3.0-beta.3380059":{"name":"homebridge-presence-switch-msgraph","version":"1.3.0-beta.3380059","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"4f2229fbc707c68fb2585859dd046e605a360285","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.3.0-beta.3380059","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-h5mZxMHJRBs/LQpMAToE9mkPOv9Jc0zA5jNnHsFu+BuimNW6lSmmid9DtyrcWegzmSAnqqnJhwcJRWzWiMlyVw==","shasum":"0fd5155f7f0326d55e831de93ada21bd2731f02d","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.3.0-beta.3380059.tgz","fileCount":60,"unpackedSize":67208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnD7CCRA9TVsSAnZWagAAV/cP+QCgHc/Ovlk+9QgebH6m\nNqmifxkyK0AT1S7VC4OBBEe4mG+EWGLq9Y7A4zvZrYcLj3jrpPvNQmv6inS1\ndFfedLk/7csjhx8p2L2UlaRBO1bomaVl3/Jmja9qfEzLU8+OuqEdYY5zxXv4\nT6/3pLtvya4Ge3pLMaomKisXu19t5WH6XyQFwP7L1QhvcinwVga/zayI0w5Q\nF10lfZQkAM7ldov7MYwufJVACxIrfAvBr/8OdRzkKQDNsQXxLBOPIYPRxxDI\nP4v6iulJPgSNGIUWeLY44KV2A6gwGyKy6UATfCKA0qWdoY4O3CREOkJXKg3E\n9C5yCYgCtXAlrJeSSBGkir5E/VG6yyrBidkbiehqVujR12oA6W+ccdSFjTFQ\nUtJ9Q9VokXrRcE72Gn4JmFinrbTvnhncowVEs3biSvA3gJbz/8vfhSeccQ0f\nEKf/8P5GZ+YtNQZ1ST6OOacqt6gHvqSbaVGA2zZZuUyw9OHlUMmkxwD0slpa\nCfaKAR0duxFMfRU6AonbVJZTJ1ruHAb659pFIbsPE6DIv894uZhQ4djT/eke\n7oEuGBw4yOf1W0x/+uRjwPPSRtvMSvfsewqLHwNz52caJUbmJcCCvGUoCE3u\nqP4WKMJ3LIu+B20iTGaBqCKFPTP+7ufCYrjny/mG/4KfBKqXr1V90g1wiKvf\nvaLH\r\n=pK8M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYZWKXvYS5/rNAJtktACLHDnUx6adSp8a7Pd6lodrBDAIgeEy/K0e2vrM1U68hP/OAkpgI1aB08BNUxH578rLv1Xg="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.3.0-beta.3380059_1604075202332_0.10940432591128046"},"_hasShrinkwrap":false},"1.3.0-beta.3394719":{"name":"homebridge-presence-switch-msgraph","version":"1.3.0-beta.3394719","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"715e7c2b111c58ecef1a2fbf10b2c074a599091a","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.3.0-beta.3394719","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-3Mj7jI8X1U3ppSDqdBurIF0LKKTvCLHPDtFrcEu97WQx80JJth2X/Sx2UUkRP7LesWS2ibCuYkCXpgCuaVCTLw==","shasum":"e6554f0214257da3a7631d5b16e347fe4662180c","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.3.0-beta.3394719.tgz","fileCount":60,"unpackedSize":67192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfncYGCRA9TVsSAnZWagAAXrUP/2w3wpKwEZNw2pLDsK0b\nGcDAXThlMlou6EYDrpHXzExLj0XIdo1jNDrb2akZtUymrtejUdIIKXMFveaA\n/ucHzyG1rknS7XS0xP8DYf2xF/fkVX0qKqY7y8j6iGXiLQq0UTsJ3rC3zHRK\n7c0cTytI6wHMuSxrH4baiABD4jAhqDK3U5pgYKs8FgH1Pv3Qfn8Sp1v9xLd6\nQVgYpxcSVBxrkbN5HnRGr9hphlb2CeV7SRfakaG/qfzX6u9rpzHQ/C0kPy0Q\nPt9Df8FBKQF6Oc+LCQKvByophyoC3EQkTUS9wTZweLXMQ7uhuBE4iQd1fxWH\nD22BkulVmrW+9KQV7fkJzGWysuJcgAoHpKCwpAk2D2OVI0HSR+lYUn4HKMFa\n8EBiNt7rcAdoM4UMXId+BLvefcFpAaXNsT8stel4obq2ymSRhnTRUtIQ3+6S\ngrvPkcp5Wk9NiU3TkgmntRX3KdtWwNFm6KUvnp/gyur0WIxmaJLgQZryQMza\njHPTQATY83NVtj1Sco+QGtls7v0mo/V945q118trEPRPa4jRnnuNTklFu6qH\nuG7L/0RXMIjObYIeF2F4h9tiI3ByVWx00VelN3zzkh2bXJC9swVi8Qf7VsAi\n2qbDeDWk3XApHfq63YgpFxM0gURfKAuTISkoWohr4/ikTpdvZ1AAfgigNhMJ\n0MH+\r\n=mdM/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc0O9cOMaCgH3yDhrbB7Qj1+Ry9Y3s2Rs9EQnx1csRBAIhAMvrY0amAn8glDpJCXh/5WHsTPecZ82Fv2iQiwhflEBH"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.3.0-beta.3394719_1604175366181_0.962743656021388"},"_hasShrinkwrap":false},"1.3.0-beta.3405579":{"name":"homebridge-presence-switch-msgraph","version":"1.3.0-beta.3405579","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"93bd1fe4d29341b525db524f3f52168238508422","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.3.0-beta.3405579","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-1RXhoUH1X1dazVjsmbb92NwedIPbIneJi8jb1TyhdwqNeC/wsygdrltH0ZTH9Xxl4K94IxvnW6r7im2ToRNFTA==","shasum":"7c1a7b1abd1975b8314bdefcebec7318587c0e9d","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.3.0-beta.3405579.tgz","fileCount":60,"unpackedSize":68634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnw6mCRA9TVsSAnZWagAAbLMQAJVMZ4/HHP0zJXo4xqWg\nI2/Y8v66+LyJGooGVS4W+29U/jKPSR0BPedFzEpaqjURkk/MXLl86nTQSGND\nFjiJcDX2pd4/4rJDtTpE/asC7eXaQHtEhVyg4ognhnNoCIuYcWJ3L4l4A8aR\n7mPb4K2Ft+pl+g1uqDZ9roFAIJafp1gm5FYW1M+19v6pXyEszFSrULXa49No\nHYiwdvq8rTc78a3oN3Vuiq7DKLYMbvTtDfivZexjQx9vmVKDlxZCoUTiRxby\nZeMo5ZNit85Wg6gIkvaz3+m/6tpVHr9YYlGsQHF8tX12hiSxDUJ6XIRF1glj\nCKlo0kvEte1Q2WxLBBlAGrLrVUtm7j5LfCyCdzDyOeYbMbtVAEuSbKw14Asx\nVzrpYUq94SrdsD+ZjPMDFgb+g68jO8o+gBTL/8x1IuULuxDWB/f2OYPEvuat\nOuXm9XQwSkaB10Ea0FljJltN9O+x5GGNZ46k9mN8ZfB48jjDqcyoP9N9W3MO\n+k8Er5zH8Z3N2mJpMomBZISwws/Ku38W37f8v1L0g2wLchOKW0gJmzb+LoM/\nrKjlGlJy/4lwL9OsniFVOXw87pvlOfN6JwWZW4I9WWjYlIgnLOeNB3f6AGGB\n7bNQezXGhzhpl3FxB99Tb+CH2pI9np9ow79gS247B5oGcPbPgkgy6IQbSz55\nbC41\r\n=CUPd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLEaNlZhQuFVsIq6eDMCRyRKKtTxnrdbQ2pu0fAmQFjwIgQEk6IiO/EbZolqDU1cUKjWsZg3h/Zyr/93RTU2nvAls="}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.3.0-beta.3405579_1604259493503_0.0927954783073659"},"_hasShrinkwrap":false},"1.3.0":{"name":"homebridge-presence-switch-msgraph","version":"1.3.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"40735acfdc16abb5899ccebec4839126035d4dc1","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.3.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-7EBYWA7LXRD9EW/m0uHCYl46AaBCUN7uKMKc2/ESoSWAcaIzGZBz1TrMl7U3E0HNVGJAY2owgZYSpR2jMYJMgw==","shasum":"65f888dd24495db471211e140834957c4ad64bc7","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.3.0.tgz","fileCount":60,"unpackedSize":68622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnw8GCRA9TVsSAnZWagAAEDgP/1I8OZwk1bfB9A4pwgIl\nmP7DMb3yRDV7aEtO1UsKgnyijCIc9LS72rceLbsIBvfAX2Tb8ZyFdnrO2VJS\nWMbfkt7d8xAhOJ/6bBv0R9Jilv1F7cPAi3IBxYBqk9ftR27vJvYETDfSfoMv\nS6qRhw5xMex84Hpc/bD+XCKooAu8TaQBHsf7tmYIjdTSz+c/hJxCcc5k0n8i\nz5e/XNGNejfWbxAjXy1hvrAMaQ1dFJX5y+cLwR5pIiu2C4vscUXLMn18Cp8V\n7SEfinHPJUhyQuRQBw3h1pInn+kdA3g0xz0bsTHoEMdJo+sZ/X0ukiepiNDh\n9GNWFGMGQzNTwVWzCtOP1pMoJVA0Itsj85/dbQO7k6iNZTI/6pLuzcKjL9vT\nfeROi1jNWR0FrjoJ/wgA74cg3nHZp9alCo6EfbHCgUJ3n+gAvDnpQMTLG1KN\n4jnsCxFOV/D7Q3xQi8m3EIfkXNpXmnxjlhlz7hj+0aCu398SaD/8GXMV+Vs0\nDis7JKtXa6hp5NIB2qXXbpRh6dCWQXqg0I8VSDcmhOjvlWEx5lfXqBusNK1s\nkhh+kKaHYQgejZDw2mjvzBYfHVjzfwG3CdEE67Puu/PQcchUtbALgiL0Rw4K\nbdoRa4G+xLhs7fKKgacID0FWVq13eV+yLBHf4okSb+sm62r6MpOjc+7ef3mb\n1U+2\r\n=bHjM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD71DrZSgJo+QkX7i2jYcfN3bCedex3uPLuzNAZ4SiacgIhAP+HOwsXE8ii2BKGonmzwTwy9eEwLSPm2TajH0Ii4EHF"}]},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.3.0_1604259590046_0.25313946366528817"},"_hasShrinkwrap":false},"1.4.0":{"name":"homebridge-presence-switch-msgraph","version":"1.4.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"6acfdb656262d87e9d892beec4caf57a615379e8","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.4.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-nVHvJtKS+AtPLStfbWd3pGoj80idygU3Rl0yKV6ytgTA3LXx9iYH/PGc572sh76zrRlx+aALeIbulyjoRiJw/Q==","shasum":"50afef21d0dc108cb3fbe443385627454f1f7478","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.4.0.tgz","fileCount":60,"unpackedSize":68618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1MVTCRA9TVsSAnZWagAAhtwP/2hFYHy8ltOEN/nh+gEg\nOrmCJj9rmxnMXZNtpEnVVqMTd9JVA5O037M7FjGSgv5W66xMf1x3fSbli9Il\nyagtmm4gPfMSPHIo7KNoasjfCi3/k42ZKgmlE3Y0nSjSpeGdiKuqhrI4UOiR\nvn2tyy0YeUK0ttcHPNa4oL7wvpzzXVFd6/JFqfkKdid+403jg4/Z9iVSvzpB\n/Eq1KsQ6dgVbdHUbOFbkYYhbTDODJqHEp+TRaikZQ96al4skKUQ1WoQQPJ1q\nVSnFySM8+3ABJ9PF7luaVbFqbHiHNQGtmuv329saFNjy6ckTzozPUeSsM1pE\nYmWnFTgITy6z0ufJpH/l7UDxdMf56BGRuXwRVXo+46fvzcbTBREdRqoH22LU\nQzR1cBuWYl2aFdQEg5GVCs2B3iV6vVrP+JcrVpYP2ar8VhD5XXE7vMuyJg+H\nteV9eyGNYKKnW1ht37znZH4vpbMMQLH3BsAobPojUWhp9q163cipn3G6TGNV\nzymMBX4Hbo8/o0YAJYtgSe0KgSZRxcrm2q/keVS26b18/9b8GsxIKUH+Ywwz\nH37SZaB4/qzQZepdkUp6pmsYZ+5Xd7CsUQvXc7ZtF4EIitKnjC/UPsu8STow\nLKu14cEbTyAwM7pY6mqL5LpihDN59wm/B3q1WtSngGRkLCIoFasGryV9qxew\nrnN/\r\n=9uIv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMkiCN2UmiT9cSqhykJYDqiaR8kmBF/nJphNW1DDH88gIhAI2Br84u96YnRETJlZdqHWzqHo0jk/cFdclzUIv26P1L"}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.4.0_1607779667008_0.46923000947834415"},"_hasShrinkwrap":false},"1.4.1":{"name":"homebridge-presence-switch-msgraph","version":"1.4.1","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"fd5f3431d03ab0011a84d32eeb2d70e5462cf359","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.4.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-MBCK8mEvsfWj5a2daWYEEHrAUGII09aK/IJuvGGh0YTnjUoAAAiGVQAWJx2p9FCx8/p/jk8DHGhskLd6otsdsA==","shasum":"cc89d19f586ff885aa123f8a7f1f46dfabca729a","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.4.1.tgz","fileCount":60,"unpackedSize":68689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/KuXCRA9TVsSAnZWagAA01gP/RNVl4JTcebQ8989PX8Y\nsosKSD4L6PYwA/eLu8tD6LBeMg/XgMABnrBEfxhPV5CNrWsaaPDPmO7lqW/c\nCz+0MjFxSYVaqmsn3nEiiWGJjGVKbk/vfGMQaSYEZ1VBh2ttpfbSE2uuld+h\nhJo2oN+kRv15cKdbF1lfAhG+JEHwMliAtz8PWmQI60m2HbXJc4N3wMTaJanl\neK0e2K4AhIjfFdbzqIA7TPfhUagixMzihOEYhBqwI9f8xFjwn3rf0iK3lq0i\nwLHjm7wOvCCRjWTLp6wffshFTzL+eHllEZy1/50v7fyINCIgKwido+5UzPYB\ncd/ZJuibLZubhSI4ncXW7cU7ye/gZbc1DSxq1cp1nGzuZn7xSYUrNvmvzu0F\nR5pmQne45dPsplmIA5Q9mtFdOBxMwkxR3s/NXRqXr6AI61t5hPm9OS9SelJM\nSy79GC/nc2XKzWI6W//L7JGj8nYlPSMjesYAU5FhSTwpYOOyum/2Wj7JiZlz\nA+5vorHI+cy23W5XGfQJhQP4srqL6QVoxzh7MQ/eC176tQVT3uwNdgKHiAeE\nuGpvnX8in8TVsUMcN3AgSjP5zfmmoHIhH/sithXpg2VfJ3jrci5YqS1ngJ8r\n1TalTHAnyB0LzU7rH6rUd1N/B+dVZGrp7UPr36TkcbwGeuaKNNUEsGvK4HbQ\nkefd\r\n=eOTd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+J1hX9iCKwSkyPOS1I9EvTR1w9zHlNdrN/L5Mcwi45AiB40wRApYBjY07HsXZAmDBMc7CFrJnspA8q1v5kXphNgQ=="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.4.1_1610394519283_0.6689033508156377"},"_hasShrinkwrap":false},"1.5.0-beta.5006297":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5006297","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"92c950c3e0a0b5b3fad379dc8073e96209965d22","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5006297","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-foUc111LZEKDnBlm4DCkrEuoEw7yeUFVxlpweWIs3hc16Vksd96qrrsXew802BqdtbknP7gQ/j3XTrxMnOhLPQ==","shasum":"d72aa39650ee305d7aa3f4208727ed4ba0ad6d19","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5006297.tgz","fileCount":63,"unpackedSize":74612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCTvvCRA9TVsSAnZWagAA1qAP/RmOg6eYNy/wnFeogqVi\n1nxrrU1ezKehvzGDSGfsj718PhaAVT9xlrrpODkFJtp15ObJqx9gDU11y0jq\nbHoMjbLl3nUJmSoHzDvysSt3IfKnjK0UI5lGNBnwvwfzBjEJ1bf2AXS6FeWn\nJKluqkV/meTCwCmM5O6jOTx1Urn80ljFWndy1yLMqdd5YjHw+yUgFnEqxBZT\nbcdrr3P2OOWSMYZoc5Ns3yS/G/RGZFz9nolqKyt+kJC8QuSu+t7HhIfLft2t\nF1vT5N3w58VvOXntj6NHpzqzO8SW3yyYl7schVLU6Af43l0Td068pKUotzTZ\n8sfv9P5TC5mwdoIyc2c6JFc2VYcSdA9/f30QKv0+uD//sXrOEzGv+hOfn9lh\nbuACvbhy2xtOa0tHbshQpgRxIO3XIyd5ct0VNJjvsE/MAb4yQsPxqx/YlWMK\nwqFnk2a8bF1dRqwAMZpjsn5OHTyxzMufXDSgmwmvR3h70HNrCyEt8LlH5cmz\neatw0OHQ68LgHANSY5+nleGvYdS1WKxvLIXfIQBvY0467MNXeVAHmNucB82c\ns8SSN5rAWH0CM+w+0Thd37ZVmt5k9hv39mqdKNwWrMzuz2PkTvn+V1vaVDtC\nx2OxvgdIEpfuZPUekRoYJKr/gDU9SD436eLJsZfwkLDiDu2ahw3lvkk3tZgq\nqvAe\r\n=kQ4U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPcPz5rny5YIBNdInV9x0vdjtAEUW4YwYFe4Uw+tSyoAiEAq4o2+T1ucrYLhxAdlnRerB5juP+QBKszGlLDqDTl92U="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5006297_1611217903290_0.5169281664900982"},"_hasShrinkwrap":false},"1.5.0-beta.5006484":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5006484","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"0cb9761ccbdd12f9448201fd350d4355bd1e72b1","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5006484","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-uZ95INlyVpGUwoK0ABazOTpXJvddyk8vKoa7jo6qP1s1/m/WoBBPqQDnZwNtVuH/IQwTP27gLLUg578HhWLp+A==","shasum":"b1c5c8b634fc119b494473a94bffe9bd736d17f5","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5006484.tgz","fileCount":63,"unpackedSize":74610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCT5DCRA9TVsSAnZWagAADS4P+QCDsb7JaJ6lIj+33Jia\nIPBrAboJhdQr0IMdyAy+fimOwFM+YD2xCrdE2fkhPSTGASYS2cNc9lxz9IAg\nZrJNfjiQ6rCs8TYEfIWA+sGYOj6KfnMi7mRTZC0oTNb+uGC8KMup6zLx7yEc\nWJp9lViv2MZXaANw7IlSVFJP7lWkeeyjmlde8vEdygC1HEd1kxjddhn4dfP2\nEd4jGsb9BVv9mdbpXjZNYuZB3TonyfTQdPg5Xqs6rX1DWA3wJMIKJVAO4ycU\n2i3xGQUoQZslBvv3et+JfgFbYeCnYXB4S5iFnlrmgFVlSWZq1ZufDL2v9dpe\nUZa6qCo53zGx02SocZmH+chvgt9UbQ4rsUxiN2+OD9mR0mvRrOoCF1B2w4Lg\nvJ2icGZ4Mk5P1O4LWIvNXXPy9/bQc6Of+x7PjQZ+kiP5auNYGmOMrFd5jKRh\nJHS+x1AIDkRZtupOy/c9Z0UZ98dDPtFlxyPIx6djUi1Jjr4i8z5pif9iVUML\nIlCJ2zpnrYt1jmn8lYf5QInysk1SZaM4DX1C+x3ajInWNLeEKMRNr9L/uzjz\nRoc4bcB4aGL7LUhYKE3Lkl5QBcqJ83FLyKFWKEkj0fvkZhn4Q07Yh4GofbdS\n5kGjbO/c4xorOb/mJtz6o6+qZ6egCpmO6M6DaI1JW0hdybjPUBtfT0B/uMCl\n9qAA\r\n=x8pg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGP2mCd2JVsQZmfkOmlWs54NC8xZ6pgV+a0rcjDfHjBAiEAsYYtA4hey//n7u0J2zk9QtWQm7tj/Aw21rnaQFCEOnQ="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5006484_1611218499300_0.08402186220601937"},"_hasShrinkwrap":false},"1.5.0-beta.5006559":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5006559","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"f3095bfe243f57b3653c2ab85aad2b975a055d42","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5006559","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-nW7AbFoc+93SMh7SLca0BPj1PrZyULedY8UvrbcgNk/bX2nrdEc/wNFSN4L0wLHleS28Ax3rJdv2l2ffouNSfg==","shasum":"438650f62009dfcce618b5b7e2a973f57ebac1b9","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5006559.tgz","fileCount":63,"unpackedSize":74663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCT88CRA9TVsSAnZWagAA4OkP/1fXvpswnqaSYiYsCLOI\nAk96PhUQIvHmQvkE10pBJNze8oW2xBVG5w1iQqukpA+c1HIvglCrwei3I3yH\nc+iCc3GdIvsgqivh88onb2PRHgngmj1Ufj0Ecf9V1HJ480oQQ3w8D75bwBY8\nI5BgZMYITF4d1EkKWx33PogneUTbHP/59ydbEDHKqjp1HFnISGvG9I2Yn9JI\nebCbhcS0L8AKoZZch6Y3Dx2Nme3jUF4YgPUd5rt7SU2I/1s1EgyNX4/4ptY5\nSdj6qPmdnRtDa6nqkXLRlIC30tLInsNvg2r/wR0A8aBUJ6sClqTTICfr5vry\nzcUvjA7DW9zpJRlUaG9hqhuJNtnsld4VwDR9EzcQVHEkJNbRI0qa4ZLJ2geT\nVJ3vFwJM6VHsQ8bSKCBypTqh2nMFC64cFDJlQfff2IxhxT+MM2aES8eBr1bo\nLxtjxVWmhDBT4IsJayR48VAgoBviCSnEb2H4QmJ5PaATOrRvDkDU7Cdx1Bfh\nrlJ8HAjJuiCaHUN3Vp71XkH0ENP3lTZDaHjPhXBMzvjSLopN5XL0h3YZpqVN\nh/2JFFJP2UkFBACU7ztSUY43lWE0j1XXzR5iLyzE4oFdm0ajS7i4gbhtlJ6k\nr6clM7yfqtO4u1eYzQrGwIfRI4u+EEMWabKqRlPBRjCue+ShBQhZsRMpT62i\nrgx1\r\n=y4qH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAURAqRKohLckNCVP3feP09eEXTnpXcRdE+CMA6wAGCAiA4h45tQ7wgXG/Xl0g8/FPdxZGYqg67CgLr9BqAbGrUHg=="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5006559_1611218747901_0.4381871148054679"},"_hasShrinkwrap":false},"1.5.0-beta.5006998":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5006998","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnvm use v12\ncd ~/.nvm/versions/node/v12.15.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"5156bce0277222ab924d81556b6e7531f602213f","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5006998","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-+J+qc8cDNKWcK0d7tPcxXS3ipmJqvmfgCOhkeayIDFpHLvEBSQcApokDMUu5tWm6mNK5GHHyq7NVW9+vvUwWKQ==","shasum":"73d25911a8b8c285a42c85983335a91c66ea13dd","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5006998.tgz","fileCount":63,"unpackedSize":74742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCUShCRA9TVsSAnZWagAAnKwP/j3GXS5f6O+uzvtZBqnG\ntZC3OC9uAc3C9I5gYL8ebWY5xZHDk0sHfbsGKOMTt3eGIOQqubMS9MYi8ouf\nXfKi7CTAbzU8VgyOQXrShBuEU22K/tOvxr1QjtA9IXAIGuhFjX1CdwZY9waH\nj30tosj80co16GAjHdiTe/zQRAGMT3Za4ce5k1vtKBYPCRdtISXTl0q3Sas7\nuYeguyaZKb2VK+p3OXomkCx32f+jkzXlIqYBb3LThXPvxJW6BdbTnKWIpvFo\n1qg1tbfkP70RC7sltzM2GN7V4kMuONwyV4eQTPi8q2qoJ3MJY0wKjce3o2oq\ng3hBOlWLRV8m1pkUuXE0KvwUlmjkHCEeB+Xcwb3wVfvCpHmSeDXr8rVj+0Sl\nlh5fEJoh+1PeqYllz4GsQblHQYwK+53SCtJCLqLtCWYKtuB3ceJiiwx5n4UN\n6P0wq7vMtBeUboftoQKjeyKLRGXL7t/s5JNwaGrz7XF/cErPLqMpfVaj05bd\nLJ0/F59c4UogmIPXC0aaeDSvsnbTovYI0QNXgg3VGe2IaaFblFJdCKWfbqKc\niAt51qt+NZGUGfNbAl54qCkdK7rdYmhcTJh1rQEwwDi254SiAgKAMJIfVBQe\nbPPn2E19OjA0HwYDTPmPhVUwfM8pm5NqUwEMn4M1O4MWUeSjAycyF0n8eiQF\n458J\r\n=kQTZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHxSj/DFvfU5Wkft9x9la+a4djzJdF0lobO1e5C0ZsQAiEA6ch2KuSe8CkQu6pNpIOg0KL7NX66CLqoDq58kJHRlMc="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5006998_1611220128728_0.6495592598915436"},"_hasShrinkwrap":false},"1.5.0-beta.5007590":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5007590","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnpm install -g homebridge homebridge-config-ui-x\n\nnvm use v12\ncd ~/.nvm/versions/node/v12.20.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"9111788a391bf0b925147e70990ec71a9ef3c099","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5007590","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-bzNf+R7lQ+B98vwaNEuVGDVs0vo3iUhbqfIBWNszm9xtMvssUHKIXqGUxkDipUjrExHCJD5SAkCztXSe/vXx5A==","shasum":"3edfc83d3e7d6b65f6fee1e3e08d620f24e67840","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5007590.tgz","fileCount":63,"unpackedSize":75424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCUvRCRA9TVsSAnZWagAAFGIQAJG1IYKlRDEHcHggHbnf\nUfFHxRvJpLZPqa4YVVH5qjyTvKlMuS5mjBzk46xZn3jfToyj0PaFFloyvgIZ\nmYqcUQGQiej0P4WL67qeDXIXr2cOPh7owzbCp6WHsZOs7YnN48PfxCMv88jm\nxcCS05+sbxKzjIbGMLeaxsAlh5jbcZqK1FTyr+HJlzrqxy8v0NW4ZuKDJELN\nY8wFCf1ZrHdv7iNrKwQ4KFjhKCS06SFBS2rEZMLdpR0lqUZ7rbq4iBNXtLCY\n2f0WlU9dHBFHHjbziQgGlmjtssshOeuICzBqnXH4HkJOPRnqSOQke+toO+jk\nXnrrdT91bz2M+IByCwQTZEgVXnJQPSim54wNBQ9+o7qrf45RmHVSQh2o5kqe\nAqYZCSTHMbFt9pUPWjJpVhNKA/L/hLLfb3NRaEaNKVf4ajW1s5J/sVT8k2MR\nUzYERM2Tzs4fZbJmVf8y6PvhwE4Z88QB5u/mWL2cjH4BcsmTbVighDhYMNbV\nqEC6kBhkxU6JqE8a2yn7Xny4GJClIeu0tWkCyq7xdIT+ordjQ4vOqUM9qrkn\nfhQOiAS4oqenQwDOLEHQcht8Z8Sr8tLJ8GMawDnFlPmw/V/FDmNpvuqu2cfy\n560nwB8W3V5XEjDkGaMA6tDwtf1I2pX91rq7q9kSZy37/z/D6+2EMFEalnD7\nYeqe\r\n=X3vX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+e4Q3ueO6Il+Np3YMfB8ZJNOWLlWLuS/Li3wBqopQ9AiEA7gpEuG5aaSmypGH028AsO1+jzqDgtIk0JoTI8GkA9zM="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5007590_1611221968709_0.8855696384398057"},"_hasShrinkwrap":false},"1.5.0-beta.5011241":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5011241","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnpm install -g homebridge homebridge-config-ui-x\n\nnvm use v12\ncd ~/.nvm/versions/node/v12.20.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"c5ccbc8c93cb4475ab23564ec39bfbab93ee64c0","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5011241","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-0sfr71L4eBanAkTnjaix062faOjuzaldHCcGoQpV5rpxsVjyW4nImg3GSkTcuLZDu/2HHPkTpXlhNML7a0/aOQ==","shasum":"4821de907bd0cd100281085062dc92600a153626","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5011241.tgz","fileCount":63,"unpackedSize":76830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCXclCRA9TVsSAnZWagAACEYP/1t2x/VQs1zg6EHZ4YLp\nR46ovZ1gJjlDRH/VifNuXckB/YpexTTdbyWwOGfV6mJriCNlEtll2gcf+J+9\nak2Vw3RlU63sur4HgJXbYASpkaPT7ZF8lIhRvxp0AEomiwAhDzxlHTSMmMEE\nKl0+QDXmfbAKOwgS+qklvKEj9cmaOPFqmV4zvlPxZdBLTKQn01u4oxNKFiZL\nRpaWLlnA/2NuICrlQhNRSJA2L0JsyvHLvzn/e4ocXpGxXiHFS+ZXD8GMS92y\nr6/qlDJ1oXz+8yUujAy7VH4d9euzmwyW7dLLd1ROV0UZGxV0vM0tO3L49GR1\n6yzA7uRAE3WD0hMGGXVVkv7sJ2852GSOEK0Ud+5S9Voo+BzlfqSwR8xptRsw\n1uANtuvttZr7mRSzjee0ffgccVxyYSIO4/wAutjTTKiKG/IYvC7SVtrjndk4\nITBPHyvOAhxvDOxOwP9cN1zE5vsm3yMve1qA9dRfiw1FgXweaooq7noFQzsS\n/BK1kbtoYz5Sj3oWznXWyi+PXyVlANF+NHieOAe2VqJdacexSgBN8JjsTF1f\nZr1AP38GMC/nSMY4Ktfx6gj+ANrSfREPAu7VWyTzPsCcTnw2dpfRgQ9W1RVA\nLjzouDdb1EHN+dTtEMSfsx9Gd4Lkrgb5y0/PX6otrU2R3oio9KM1CABR5LWw\ndB5v\r\n=HAZM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVS5raKdugi25JsnF1QfZhNc86AJZPWa304Ab/0tfMxAiB4kd2D/L4MV2//wWntMTL9WfHtNFPrO370KthavN8M8g=="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5011241_1611233061439_0.9137796170842964"},"_hasShrinkwrap":false},"1.5.0-beta.5011256":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5011256","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnpm install -g homebridge homebridge-config-ui-x\n\nnvm use v12\ncd ~/.nvm/versions/node/v12.20.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"f3779f6ad9df7ffae0a4c54efe924f74daf47aa0","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5011256","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-QzvOKIG+E98JpEMv/utJaHfOhjbA9BU1Zeyw8f8zVkLK3PRnkDrfQ+fZvOwDYhXZMO0+wiFLG1t7Ckr5IVmq2w==","shasum":"9359adb63b2ddf015d1c2595edbcf753471935c4","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5011256.tgz","fileCount":63,"unpackedSize":76886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCXdUCRA9TVsSAnZWagAAUO0QAIR/pApk/FFj3JYN/QnB\nGZh3M1ou4GENcthcDCMvAvNxQXVwr+P4q2AOEgJMybMhSah0ZeyZIK69dnGy\nBKHxxIb4wnZi58dqB/IEI25ZW01mxlTjEPH0REu6QuzOqr9/9Klzd6PFz1lH\n5On+5fPTahn2sCYricr5HaygVpL1PKngc/sNgOZ7lyX9kOewhyJjSypdHBoJ\nP6ljp9K7+MKURdSiJcEHmnWWfQW6lX7Owwx2nh840v1N6Ro4Nbl9yM+BzUID\nSyal7bzXh0VK0SjnaYUDCHpHxZ/fpf5IRrIStt0FxOcsvlR9W/3juMNPq1GL\nswnvcOyEiHX6xSFiKmmSmDtywXKnZFd49snmA0D66uTIXumOyj4RWUrJ5AnB\nNK9HM4XFoEDU4CQPfGJVf2hXJJu7wQ0ktI7Gw7DNDsi9MayT7hxDoB9W1yvm\nEF3pstKksUqHaMxP7pi9cKRr4ecGO6MFdBdO8a4OC+aYeTt1+aXVikQyEIs8\nVpVmFAtIcIzl9T5Audv3w7KkaQkm9OZv55LTYafpzhIRXsJx1oZAvZJt1RaP\nbJDemP+TYmoEmgnCALiW61PIoMM/Gnv9IOPK27/GTNxvoiaqURiyTRrNUwye\newFd2mYMdsNwirVYXZPAIs5T0GYiKzm25HnIUOk0nmK4Rp7WXblAq0VxRXBj\nT7fD\r\n=DGtY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz8sqs/ICzqUitv7ZymTEGlvabO+EwryPKSXuBF7TjLAIhAI3YYz6HTopisxa6kn+fJZEZGPprLWrfrUMIi0/ccRIi"}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5011256_1611233108449_0.03802027600233826"},"_hasShrinkwrap":false},"1.5.0-beta.5011575":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5011575","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n\n## Local development\n\n```\nnpm install -g homebridge homebridge-config-ui-x\n\nnvm use v12\ncd ~/.nvm/versions/node/v12.20.0/bin/\n\nhomebridge -D -I -U ~/nodejs/homebridge-presence-switch-msgraph/debug -P ~/nodejs/homebridge-presence-switch-msgraph\n```\n\n## Useful links\n\n- [https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI)","readmeFilename":"README.md","gitHead":"f6a8187c7da7fbc6b1d5c9020fe4989ccafd6a6d","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5011575","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-An/0UKdExxxvLW0Lr6Bom99IxiFOWoTWRUYC+JsvEZdq5U2ghf5DUxE1PkyCZz9R4wC8UmKEWZO3CJvjNtqoLA==","shasum":"903c99a3a9dd1b5a4f2f71249c3ecedd9bf9f8c4","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5011575.tgz","fileCount":63,"unpackedSize":76566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCXtHCRA9TVsSAnZWagAASvoP/2YiuSP2dzqNoHCjUIRm\nKh1JWYxns+CfsQXY6VJFsHTwbE/HyRNx4RQEnD3sQDDTI54EFLYNZdVGyhLE\nX9YstkQ+yh1SSbOawn+ESeJ12xTUw69iJCiKtDlqMvsfyESzTG8bd5QvUlU0\nnUPblnarTgXB4hjdy9FSyFHGd3lnT2symeeMzAhVq3ZIJp/tFJhQ9GKKdyen\npC1COyOjx1c+GGrxYw7OnTA+/ElOC/FnMBGIGhQD4sJoZnP4ZtQx4suhABpC\nCcaFt+PrXMO+cO5J0G5Sds69rvJn80qvmcoSLhl3oo7bkZ/HgB93bZEntrgw\nXJkY3UiWU9kC8tAF7kuhv3NXJymHHBqAG/6P2Mvy3pzuZKY8JSC7WiMubhgE\nZycIbvWJu2M9ueLXFwUYGPQQuZZVcGwceF34uCygdVHssoPxW2ksKC1x21eT\n3B9+OqK70xb4y31jmknQ9NK/g2tp/N8hiPttZ8Zf1Hki46Xp3s2yLZACHD6L\ndFP4stiGYCw6p52gCugZiTRIOdyZ7NhZtIM9cHbxDPnviofQvk1UIKTVHGqq\noTYHKWSMQTEHklQBy6Lga3QtoJMB9Up1caz+7ecXfcG1+FLHdxhxIuCSejaq\nPBXbjYKzqw32Z2W/yDJnfnveGqJvE6EgpUjtjzuEgOiGy03qHw7HfBiuDk/7\nM5Id\r\n=BMse\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF6bVsmF2YzUzXElZkyTWMlcaPvhpI+hj8Hc+trJsPg3AiEAovkBUct8Sob3Wf6j7klhYjC+1ocW1aLS1GdoDXlsU/U="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5011575_1611234118849_0.15034422858039687"},"_hasShrinkwrap":false},"1.5.0-beta.5012416":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5012416","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"bf8a741399902971c0af24121e6506eca03b1ef9","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5012416","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-HSe5mMuC1xNDPt6pRbpcJ0UfnW//mZoyEWLMywEk33APdL1UZIdghJ87zQc034Li+fCwbjmjFpuqXJvxCpj4Lw==","shasum":"660214504f2d581429f582a1293e62fd3c764758","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5012416.tgz","fileCount":64,"unpackedSize":78582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCYVRCRA9TVsSAnZWagAAppEQAIVIg8egoNAmf8c3L9dO\na8ABnhNqTf4pI3X2pzi0YaeD0vJQ6HT0Vtfc2dPX6uX7dLh74VV5wN2SDCZM\nL07Fb3/EbVAsde6wdKcufk6KoAiC6H9zLXXBgkgHGmD0Sn7UAPW9mHJB91Ym\no6dTbONI6O2FTempZ6v/88WmwHiAR4HoICLTngMmGBZDlepsRUc2T97F8r+/\n8EThj/6vUjAigOFW4pPHFMQfHurwvTXMKcpNrPekeHsL+2mUxcY+ATwLcezj\nH2+LNNk3jkQ94lC5fE4J6SwUFQqhrgbOHtD2GR9TgnY9f9DtK001OG54hVm5\n0SucpSUfVxlEX9zT7w3dbsNRjjzLqI8UMOkgNLKy25p8K79RLXsOEqz3SsfH\nkCxF3smWAJmvYhNibSvR0xKnM0E45Q57/oPuye0GbH3s4qr7MfLIzODzn+yv\nRGldZ0WUotOW46HrrIcP5xS+Z+BsdeR7MIC3ic0AanF0A5vsbO8UPE0yGnWV\nAU3RUIl6/nrzD8ftO59vyAdf9EGobY7/HIrME9Y0SCo5KHXFQgNBDuUukw9C\nZEU58lnqiiHPR4flXQuPa/kAh+26WreJU/uOhAq5RD87c6ndm7VlSwaujoeG\n3ngeYhBIS8NnriLzqPCnJG4VO44D3CTwH/VEFclbQjpcWfos6gU8fvtYKj4L\nRmTr\r\n=TeRD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+NBmoLqo2f9tUcIJSAEOYUUVM2jG56NEFdzBIjatNwQIgDbnfRonSO0cFh/G4PR/Sh/G79F74ooSJC7HrNcKDRA0="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5012416_1611236689363_0.31695539071648837"},"_hasShrinkwrap":false},"1.5.0-beta.5012693":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5012693","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"5285e8c1e7d40a5d3f3ac5de412de76823d37761","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5012693","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-TFGgkVLShzjIdvd8n2b4dIaHVf+fO4tCPMKvI5Dc2andJI5IJggtT2x4yUAOxN6OykgGRPkQXRSt1zdq8XxfOg==","shasum":"9bb79be7b800be24c1abff34f22f99fd1a288f56","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5012693.tgz","fileCount":64,"unpackedSize":78749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCYh9CRA9TVsSAnZWagAAhPAP/jlmu88lCjf08b78FUaU\nRLPh21IQIxenLAYI8KAjSTNMztVQ/8qLjlPnKCJOQ/w6HribJxntP18Zaqn8\n27Kaznt3skDfcx7KlqE/i9ry7NG+t61lDW+rY6gMRMQX+1KWUF5RofsBRJD/\nZYGvaRzdWwm1FJdI7wOrOqeZT5CWdPLsmlPAKqaI7P9KMgTwmSFcHhPcBHyF\ndZXzyc0N/tiMT//HAP1BLOESsTJnsSuGLkStOr4vAPfiE4PNNnoJ2th30oB4\nSJlpXBGORsT0AWnw/Dsk5n0Vb7HO6dBqd6I1FOLppLGOTc0/Gnoc3P3sJq9v\noetcLS62x2tCiac4y1SvIcxrT059//t0TCUAfLpjxgF/QgiIs9PZhqadL+0I\nnsmzqAvz6hRfcJ7RnCvWTUfizdEbe41YsWtKxO46JCoTUJ35717rooppRf53\nWVTsoAs/HFhP/pPCEmpvUtQ+CcyICVB7fpwPDNka+L0QzquJJ+gDZCQRaMkR\nnb5kCTbq+IFCDyizxGYUI4c8H93P5dSelnBkZ9swweBU0wlc0a7KDoFRXMEo\n5mSoPh7Jy8aBW1V1sddmQghpLuFR1Hz5FtLsbWRXnRqeMSUJaf2o/3m6DmoQ\nS0OMrX1kBVD5o+IQfuJIaqqiKBAN7JrqBM338DpKEPwTmELrYUIZevqGA/Hy\nKdA3\r\n=K1MH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICllvzuh5D01KGbRuC9JRn1NGzK/JyOHJs6XPdLQEGsHAiB135HXVwqcCMWzFvBKW8OnTLW8V4f+0QD49VtfhaTlYA=="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5012693_1611237501337_0.4692071373150517"},"_hasShrinkwrap":false},"1.5.0-beta.5019585":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0-beta.5019585","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"f6fef6a26dca9fd033db2a3a5274782badd5e9c8","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0-beta.5019585","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-1I+7l9kCznskij8P/6Y/AVVjf82t5lbsB+l187DXvXnyfyd5c2T05CY5JloiA1DiT/KVeG7I9/OAKAFW1V5SvQ==","shasum":"2f69e36dfa8fa26125fdf87947706af3a281be9c","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0-beta.5019585.tgz","fileCount":64,"unpackedSize":75857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCdNnCRA9TVsSAnZWagAAxhEP/30b9uXeYfj6anf8zLw7\n799HlY5Ngxu4f01Bt1THIxd1Yp6pW5MK5AzDlaISuXHQFS7yZY7q3QY2hZTX\ntY0JKL8IcUSbFnTMwynS3FjNZAzIgWm6H88Y4OnSQ0oxX1IwQPsi0jcFCu0I\nNCWUMQko85PUxcdu908XTQFuzIr8guKpAp5HAZarouc3toHPLuGB/XFPLpmW\nurKWpLj69yUcgUobHU1nV/8PUhr2a8mSdskMBlV8xxaDLKxb6udj7JEI3eg+\nvDeijL2b1YcuK3rgjvY48mw1zNaVQWeLnjKZgugi9YrYwvLKKEylLPVwI0y2\nEy8l3fZe5eOuGzd4ETuvGVnFfiR0H7U7v47zpABKVBAoyBDkA5LlPdq2OE5d\nl/VzI3t/zcz3mroao8NjJHO272hvMSro7ipY6hjsVdczgHQUTV/YqqcdeAAp\ngD1Ow/kfEgsSEybFEuI1Dw3Y6abFF0LU3clFnb4+GVSeetKnO6WbEFzh1PJT\nHFMyCMv/IJ2g1vgD26ii/5IKIVoCVVVlYrDQzm2FFaLRtMomzJJfGSvcLzw5\nFAPFw+VyZaVXzJseIJf7pJglCL1u41a66RSisS/mXicisBDj7503quGxwjFH\nqTn3vVpvu/OjyP1dPA4rg49OGMDDVuyu7ZYvJuvbJ9hrqzZYPtWcENMmMFBi\nAxyJ\r\n=Jse7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwMgFGhAS6UZy4de6Ifp+zuChleknq+U+s5EED6xMKAwIgfx0XYvQtJYET5I7/oN9oRjNVycy0xc6ZYIGA+Bxpc04="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0-beta.5019585_1611256679530_0.047810077239393234"},"_hasShrinkwrap":false},"1.5.0":{"name":"homebridge-presence-switch-msgraph","version":"1.5.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"0010b353f0e6bb54963faf01fc6438843282010a","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-DBo3YGHUNQfIaaMEUoaMP4vItXbyVJX87/Vv798cffdDbIIWhrRCyQdVp6ehKuweOO1/CiPsKKm2f6UDsuJ26g==","shasum":"6283631d0bef2d9545a67fd3d28567fa9eb9d91e","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.0.tgz","fileCount":64,"unpackedSize":78737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDnQ0CRA9TVsSAnZWagAAomMP/jFUSUy01ZMSjjHdNRFK\niLgydQNhBbZpXfLARqBGGBjwGxtXXSDE2JkDRcnitEV95ZjqKzXUIEtqGCG5\ncM6TPdDkPD3H/m0a6GrTA14d6kgFnVqmQQ2YLU9OBLoAeD/smDoQA0ZzUmeu\nTXKVs38wDoh6t9UIv+vn5Wl8gsI4SkMODk19g+STyiL4FVqU8znMvH8BkSxb\nL4mls2xGq8riV5+c64WySvW3wAnV/yuIMScGxvCiOS1JXA1QCr5WZgY/GtwB\nIb4OLomxo0zx2sQXKbX3vyKowkVO3U8fpT/R8Zrxip/p8vI/CBlzTQVsWskK\nbHc/OjOhDKF+7CgLs4QqbLl6TlSYn7/18yU8Eeu7uslqPUrSknmwtn8cR824\n5hH6auBybwcA/Ec5b5EGmacY/iBj/Nu2VzBtZV698BNFx4kXGnv2zE68vYTN\nLfzVpQqS/zU/OI4A7ktfocOfaPgEynkDDoUEJbEqTeFJkQzk8nOo0KZOWDII\nX5pA1IqPPv7EdIsuhnfG+/Yj1Lcv4C+igsQaEXSA6qJBP+V+6ADhgHhqp8iW\nEIyLEsH/M4gm7Z2K5ri9oc8YNyxNl0r9OteYz2XZ+fdp6RXnOvPm0VJFX5vW\naYu0sE9xrRKTLUette5Ux4uHCm8qrO65MBq9uV2E54X0xucAxk70cvN9lthj\n5y88\r\n=nUdg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyV7a+zInNrLoUDwL9gjrWCmi49t+ATXPyOe/M5ZotrAIhAOz+pFav7tom+CZ4FoJPlMginYiL7sCIMIr48YHj6fMs"}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.0_1611559987648_0.3494527516219559"},"_hasShrinkwrap":false},"1.5.1-beta.5173484":{"name":"homebridge-presence-switch-msgraph","version":"1.5.1-beta.5173484","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"a7d21199ef4da28829c661a37202da0944edeeac","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.1-beta.5173484","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-xmyYYWXg0wJdhP5A9Qhd1zpDBemgnAaX/CIzAYDAp4ZB3jTCmPwjI6SuRQ9fDc7x1j15Cyt80q306i3JeTcBIQ==","shasum":"3881a36b79898112ab3c6317d834c3258d266c79","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.1-beta.5173484.tgz","fileCount":64,"unpackedSize":76561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEnZ/CRA9TVsSAnZWagAAGXQP/iZXe/vgFbF3Y+b0DBAo\niZYGFh8/gblmKQneuS872pNX95CoYknGUymqIb1MesGBBPw5eBLHWt7Uywdx\nlzN26219U0Zp5sG60Q7p5057HvtBovRlfwEP/iUatKZmLOdJzdDugXnhLKKj\n0oXHokX1hnqw9Mum8s/9Uw752sIXCR9cGKVOlb7k84FX+xnWTXZzlv7HLld0\njeCn4qAqOXcUt37dEhwJ+0FH3QqIzXAoloPncDRNsbUg7BQuJjpoKPEVHb3D\nZrgVRsvVRHFyMCn8QAt1V3qheA+HqL5QgZVQPnutmoyEa1lhBbsYJS7xLINx\nYwgw+Y50AaAhZfko3EH/i6/0I3SAt+A8iDkufkAHCx5/cgpP7xKhPdHmWVzL\nEJ9tDtU6qOQNdn5Z3fTdEyer0imAVrhUG7MmZKNGa8wIm40oZ4JFnLbtTbfD\nIBFp9rDtWH7HHBel5rKief798TXBzwAuN+XP9skwpMMd5hP1AqsXJSUb/Xbp\nz+6+hGFG7CSqVVcARm39qNO/b4Ya/QnYtOuDm8q3xpqAuBCejDd/9fWzSFfx\njBZrcbfWxLC9LfQHoJpOUy0ql8OXX++vl3wm+HqOYldBToeq8IOQUk20oCHl\nFC5hPkHuxYjStc/PgXgAJ3QtvW4TqKHD1s2KA5s2/b66v1j2JbjkHCFOwqLd\nS4sB\r\n=XwL1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIhTU16oGyP6v9YOfvxqurA9/rYFdwjOezGm28A/aJoAiB3w/a2iYcvGaX4b3cHaUR9yBhmRgZmJ8XUDnDIBA2Q/g=="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.1-beta.5173484_1611822718537_0.36473857440497737"},"_hasShrinkwrap":false},"1.5.1-beta.5173709":{"name":"homebridge-presence-switch-msgraph","version":"1.5.1-beta.5173709","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"0d98cb6141cfa192bd843d18e2451f44abb9f1ed","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.1-beta.5173709","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-orpLB0RxRV6MLWYCa0B0WEryDIm+Ip5Z6jwm/nwR45HkpCe0pYdcjBC5VYQhXRM/nHpwMmWLd8seU2rkG/Sd3Q==","shasum":"17a776197b79bde93c249c76e9c14cba492e3f46","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.1-beta.5173709.tgz","fileCount":64,"unpackedSize":76647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEngjCRA9TVsSAnZWagAAVgoP/iogwEaO6EXbjxUmBuj9\nLRoadSjAnzqavmJPfrfneIqkrwFYsYf4Kw76q1rLVQ9hCteN9o1ekAd7mhSR\nzVEW/wjw+YxMTo9CXRzLh6+p/Ndln8/KFseiz5mUHNbBEdJCg995lTVw1DIs\nss0AxA7e94dLsb0oq6O8iCooTHW2rGBufgkG1AXP6xavBmlivHK2nbHqHWny\niCwOwX1fyE2sPwdi0bAR4Ra8W4nNWcfb76JK75urc0Rc0Powxc/rwzEp/HaI\n5lErQLRshyoNPHNhuyFsphEu6tfYZdxyO7tq+L0VaSb3nnS9dc/gEhfwAamx\nn+k8VAF+AqA+hA65I5CD/vih4ZySSeQg05KLJglfXs+c180IM7ePpxa1NrVT\nDHoGn+/jp+rkGEmIl7iySymSDV+aTMk+FwYTZghHBbjH64xFFs4pPY9IoEFL\nfV5ouLYvLFZa6s3cNolZBKV4yrSyECdbQ92ek7prstQeL1rNI856l6TIxPGZ\nD2OKh7hwdTXYSv2CV9xoNEXbOpmUurEJTGR4y4jbPU6bj11rzzKrAvalqyp5\nZZ8/lxIdXjB/m8+UeWmkHQlVOkCrCnsIQQMpb6j7Ey+ndvQkA+LEnZoycEm8\nr+zli9h+Q3qq7rrnOfSAqWJ3VlzfJ0S993kEdr6EYfKXQ95T03CGWINL6PWC\nYKJP\r\n=VT3M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELZFDTIL7xTV9VyYsRdpEL3TqDEwGyNYlRNOYwr9OvnAiAo8g/sU3vceIlJsLgSYJ6QunnMNrDIRw4HKdUKS8QDAw=="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.1-beta.5173709_1611823138641_0.6221210372186154"},"_hasShrinkwrap":false},"1.5.1-beta.5202503":{"name":"homebridge-presence-switch-msgraph","version":"1.5.1-beta.5202503","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"6e3b129cf543cf6a62f91bb762715b73b784eff8","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.1-beta.5202503","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-O+jdwaaVH4ykzFI+jV83DKkwWa8hvXZlqfuXeBMcOgXOLuwql5wYxpH0NwsPzoqn9OGXCE1+kWzgEVf6gQ5QQg==","shasum":"e1e6ef258a1f6c8e77dd0ca0644603d09156ba86","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.1-beta.5202503.tgz","fileCount":64,"unpackedSize":76647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE7iBCRA9TVsSAnZWagAALc8QAIqio1F4oidQGXnVwrVS\n/OcvtspwcSizFytFd+SGie7cBTna1f+B2i/dGv8hzLflCHURt1ZuvvBIIUiM\nk+H7vOGq81EuSBrIdE8iK+ymZzCBYhIF/gnraYVVlku8z/nJtPVcpE3YQBar\nIzy3K0onnyqvGSuQ08L8TzbvdyArWY54cdxt7hLDPZfp74erFKCKIcnXUFDu\nE0XbSmLinxD8DZP4fR/arFbepyBLBdf7NKDRSi+aeG/BqaqyRHTK1a38r3kV\neUTZGrnl2tWcSpsFiwuuDbKlNZ43FORhSWFzit6nRiukHrRi7WeB3FXkvl63\nBnAqdZnmen7/N4cqDNQZocsJgAKA8MJ4VPzgbewf9MipQa7SGl5DOcDYySpt\nD3rkPWEiy4mOizTAduFNFbQG9UVN5LCGTKJ/T0UfOZA9yo5zUVGOiDsU9A6f\nA1cUaCb7Otk85m9m1KQiEQ1lvSTBUcyru7b+sR9bFBd7zymmHtGtgBRi7i9N\nJnv7YpVx3PAgSSLMaJfp1UGz28siK24ZV0bpwOxiNsSe/BU66mNHd9rPuqUi\npkWiozJ7vNqvj0pCieagdD7GyKKCej8c5VYbpNq351YxgueiKLOZUKjcHOvX\nPKL+a7p6F5tqocYNto2Ul7+e+CKZTcT5KPPk+xSzs2FnFEW1tRKftBLMELt3\nbJF2\r\n=SAPl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICeJHxfPtuWmkcodpt8B9WB3RUc2ouhPawdgFAm80jE0AiEA7ZDu7DPA3ULI4pa9ZB3g8f97Vb8CfbNGzhHAsIRPuy8="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.1-beta.5202503_1611905152540_0.20438018356759802"},"_hasShrinkwrap":false},"1.5.1":{"name":"homebridge-presence-switch-msgraph","version":"1.5.1","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"d7578ae62f21e58f02991912aee0df7cb1a8a041","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-nqr9HIgiZhhvUlTaQyo90NOMSxqxnXhmrt3hU0gC4LdPZU4WoFwineF1fxSma7TcaGkG9WbmYTxy1XvNKMX1cA==","shasum":"9807a43c5c65e8f67ca5d02dd7b41c7f2dcb1ce6","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.1.tgz","fileCount":64,"unpackedSize":76635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE7iOCRA9TVsSAnZWagAAhZkP/2UybhwN8bPdFqTQKjAC\nTa2kryQRlYC09eitVx5Kqv+3NFcJl+iDNPMnoxsTWtJglwY2+bZo4BiqZIPW\nlrow975ldLZaomhuoPbLCNPYyOdeuF0HlpkLSWOGwoQ6FFT8R0WQAkyqWULz\najlFd8IBl16YHyXdzpb3B8MetuFsBwKIpVBgkx5yeJieFH1Y377pKTj4+ZAl\n7f7kyYybGyhs8cPirrU9BaFGy0akU1uyekuWGHzzJ9pcnkIucxLslVzV89U0\n6SBV1FTtQ4f4JDddzQeisRrUVJ5OExZLYJZ/6UrRPp48+uwzWYSu2CaH1Lnp\nTSbUMNslCIi1QY/5bYYQ/LLwMUEPa/0fHag1AbLXve8QeA5c0ASgHfm27SXR\nK3AghsRIED1idwVe48HXLraEd0PZOrbD7y6YI3Wj9+rXJBG+cYST+5NBfDIF\nFjnKMIypKopnYURgacyWE63uwqoktShZ4XlL5w5qla+9ehtTxvrjczeYHvLX\nfyUjxDz5dkt++Vp+JjpEWh5NS+far89I28hOn3RsQCAK9MxAJFQg561V1XvD\n+vXFCU8Vf7ucWjuMzLi9nIG6ZjlydyigBUijAG0nibbS7V5oNg0qc/F/LxXk\nDuUWU0yF+Gow5AxF8HLWtDYrHv9II/MZWbStdXqHL07DvRdTUZYfe1AnjkL3\nmfSw\r\n=Pq68\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgkbhSIDetALelqXIXB9N3uQkGzfQvMh4pTWMDGKR57AiEAvh1LojmXH6BCiV9sPzCyiBw5B8EzmhNs9Qpn0+yLSbY="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.1_1611905165575_0.09396360857483366"},"_hasShrinkwrap":false},"1.5.1-beta.5400626":{"name":"homebridge-presence-switch-msgraph","version":"1.5.1-beta.5400626","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"1c3a68ef993953059a37702edc230056dd572d91","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.1-beta.5400626","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-YAAGP54Il7f2EkC4PU6UUG/jkvUy4DQuaubYZxHRJxf/vPptsH8a2pxwKqecbIzL5H4F+NunP+5IH6vYOq4t9g==","shasum":"b8fcf0050b11b2b5c450300e5fa77519c10f9dc6","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.1-beta.5400626.tgz","fileCount":64,"unpackedSize":77175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHRqPCRA9TVsSAnZWagAA3zcP/jEhW62aVhrqcZIVp3i3\nSsT/+Dkw/YUxovwVNIpqCnNpEqGMc6HKYGGm9E0A3NvX7NsouGcteeCnf0Ka\nsIdWEu6JOEoYL6JtGznAHWHnSX/Ay+ShcdTIK1ubcu7t2m6UWqsYoOp+T3jn\ni5wbMbJo0UPryO+htylzONgBbhClKDkOkLoEbv+XO2l1e3lyh+la2/BHQSYY\nbKNVAp4lH1Eqw8pc+HlRvaiSq1cuFk/CDDMvdzRr1pskbSn6JpxPX7vm3cm/\nCA82abqVg8hjre0jGI0zQIxAD51c+brnh8AeCU/zQNWkBGmb8PG1zBbMfimJ\n54bWONoeKz+Uy9LvcrwkUP8dS4PE/VtmzmfSQ49G6qjAqltKagDzWFtQu0qk\nclmMM4pSBGfqlKMNXuxW6stWsFQlSdbYTxIhe3XnM/pysSImD9QVirEy6OsU\nx7GewXcQQejVmRvpAfb2g58hck8awDN5K+OhgWCjEcnU6D4q3kGbxDyQ83wo\n4M8OFxBqfoIqRomuUcX7TUWNg7cobtFHXW7BbAqZ0+6c8KsDAEw5Zl+oNbqC\nUV8OfGkxzHormwTJoVB1GnlaRCXlBfeyujiLoCkBVFQ+kOU7WxHx4YxDOiYC\nzoHaHlS/Z+kQ2QqaESHnD1mep2gTSHbV5JxXBbPec+Ed1/DUY5hmCFxhdFjh\nOO1m\r\n=SBF6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiQTYCrQAc++me7NTy3LNY6Np6kTgYx3/TYJNj//kSQQIgNIc1aWZ9UhVYJ3R2qXAQsvZiPHTyix9iGKWn9vr2ilM="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.1-beta.5400626_1612520079412_0.31215296535520576"},"_hasShrinkwrap":false},"1.5.1-beta.5401066":{"name":"homebridge-presence-switch-msgraph","version":"1.5.1-beta.5401066","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"60bd02f6ef8cb69ac73c4a6305829ea54990848c","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.1-beta.5401066","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-I9C6OX8wIK9NALTdiM0CCTDVYdGIk812j712fVLPLy1xJYqmd9BostEEWo2eRo3Gt/GFxtemR9dyy8NbA5EAPA==","shasum":"62157fde7fb6e35ce926d47b54f2ee57bd846be5","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.1-beta.5401066.tgz","fileCount":64,"unpackedSize":77157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHR7BCRA9TVsSAnZWagAAmVEP/jE0wLvOr/AuAAXGnjeF\nnP0pOBo+46xYXOd3+afpUVsgpZIffYiguaOU4h0KOAO9FkiFYVY1MuxmkKbz\n3+2TIdN9b/HYC9vtMy0w9TYcBFssP1n3j6vYimM3euc9RaJR4CwRN6eNsUiv\nVh/Uw0o4vB3tGQDSqw0hveiXT8R1iaFBXJAzCcN+LmLRZhk43QUm3J1hmEkv\npqs7jor0G7aIoa/SLEP6oHKRa3oqVXy46No++/h1L8e/EyUi9+E8hV4JO4Q5\neBSe/nFPkFD22ZXMO+9V+uFhNHsvuEffq5quXaRVzKpFZdbgQagHLwyN4jVH\nSNpL3kcYhbilu7pto+IbAyngXDWcDHYiqgIDpt6AV2b9iub/OFotMft6Skp3\nhFWfmVCC9giG0z7WBEZBW5fK1XfdJDjpqUS36M1+jH2NFfyCJtzVXC7+2P48\nJpNIFPPBgFswBhRGJzs2pTDUW3j5IQLOwVOcfBedhP0AXfa+6IuK/Z9ReF4P\ndPVdMl5++msH5oqCI+nLPeziD3Wt+9GEOmHJHIImMdSxGDF6aZgnLbshc6WW\ndCieHMUR42raFTwo34Lby+d1dOvpmzM+yu7K6Ds3j/W0Wz5QHO/z637w1ncV\n/2pKy8eCTn4xC1o0vRndJT8i8+6vwVhJNeKWlSOIS663fcyHuIUMqBYA1zJg\nAZQl\r\n=w1Tm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEJ6yPMsxjDvQcfp4KUZ3YHgxovgG5A34rmPesnr5MFAiAhrIcmVFO1rX17LB10tqLxIZflTnHRkkORA6MozVySgA=="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.1-beta.5401066_1612521152898_0.0681373675934589"},"_hasShrinkwrap":false},"1.5.1-beta.5401950":{"name":"homebridge-presence-switch-msgraph","version":"1.5.1-beta.5401950","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"5ee0f98cb9bec206609044df1488a0452d32fc76","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.1-beta.5401950","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-KHML1NnbrHGIO1HREvq3ksckgY+5gNG+++HNvaI/bA1DzbszTNrZzPsEiGiZPTv1T0BqYUS89ZBwQs0jSV73jQ==","shasum":"cc44bbdc48e52c42e46c42b85bde3cfc3461df24","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.1-beta.5401950.tgz","fileCount":64,"unpackedSize":77223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHSe5CRA9TVsSAnZWagAAIAsQAKDfA9JzfQPHmXPLBU0A\nEtH6DJ97q7CpWZswmo77F6r3hv3960CheArSt9b/44tfegd0z4/oXZBfnd+V\n1ipqFVNlzmX7lUMyy/5wkNIh1pleZFB0eIYMVhlQfHeIEbV//HLyKj5S8vWD\nMSF9NZpB2I8/bquAgHoFYjaYaCCinrEbBh6Hjezu0cJD2/AdZmAA9ZqSq+Rn\nNrLLGIJJLvuMUCG7ScRCyLVEcvNH74UGu3c7LFshDfRrjfeGmjNnnCUsXJv+\nZgnsIhGUGAWGIARTWXVAXkux2kmY0r3nRfp5XQOEPNeOQ89LRDb4c8yZxyhC\nbMCCarYp9pVBfPCFvxj43u9fiv/8DYXm1tgQBm9PC/6HGSMAuB+6YxwJphBe\nFtLljtLzMmjCB4r+SG4QrMTC7ZKvowJsCG6SG+fH/0tPwsTDhzn82wxeNPut\n0h758F94l46TOBKKVoy5zyC5bpLO3Ei4MYSYO28+iRVdRsdxa3hVbefk8C7M\nbrYxT2xyizPpGTMeNUUT5xu9ubF/3Qnkkvqn9Y7kZOGFjf5b1tjor16G2UK9\nsWHjpllv9FtVuoLDX1r2WaxH/Eotav2QUpASkRi9+MsYweos6/DdmO4aSGa2\nlzDJW/j3S6wZcPniaqZ+ZA8h1cyqUWcVaxGW3yHPu02WBgHli3EoBzj5WH/G\nKvB+\r\n=+d7p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBuvfG5NC6HkV9H8JpMmHeNg6xEQZOt20Kt2DOYn7X28AiAk491tptHN/JJQBWT8c3JyaxrnpZcSAwGoTID+3HfsfQ=="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.1-beta.5401950_1612523449194_0.6362020849603955"},"_hasShrinkwrap":false},"1.5.2-beta.5403445":{"name":"homebridge-presence-switch-msgraph","version":"1.5.2-beta.5403445","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"9a9232e19d0d1e4840bcaacbeb8f221dc0977b3d","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.2-beta.5403445","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-eJR667Y8ACnD2A3NmR/9+5u20bq2WRfa8CslTsl59LbfDO/SlOmPTm43Lqx2z9k1ZC1RMOguLqdCZLkLRqVU0A==","shasum":"a11882b8b5d79e9484871524445b845f7b2664d4","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.2-beta.5403445.tgz","fileCount":64,"unpackedSize":77223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHTe1CRA9TVsSAnZWagAAhT8P/0Wt3y1f2WFfOBb17nqA\nwnKlv2tvEACaYL16TUwsNVppXI/foNjp6wWDSyhvrI7Y0M9/0O4rKB4b28nJ\nCzbx/ofEj8L5zoJbjEa8h6Q0U+D9mmo4HYIPm6DZIU0llSzScl1uQDKV+4c+\nhRxnsex/Pnufc2BWFWLtFvMDTd9Pn/fFDJfd50saEvV61AGmK2UfJ6SP6efz\nIhr4HtX3bh5HVBAz2QtRXpbvWR5daKN6J+ijLQiPSMb4lRLrNlmkWxPADnlH\nzqfNngQGECBbOJZGBAXU+IHkiLrCNb6MWbCeqKtIGd0DefK9KDeRLDIKBYx+\n4E1NN/f+RcAOTGxi0naDc1IlRrt1sIFSbpSlOmkJI+VCYtUa8K2tu42YmqRJ\nKpsAVAl7c8UohdfmSE902ld3srDOllU098IQ94LCNRqHSXyZr9/nRRaaQiEr\n4F03nkXASU/9GSEt6RdYa30zZy8IUekrbbZVWS3GyEFf0eGp69SlSeOXyfa8\nAWCfNHY3aoVavQrCaxzeSO3tluXzPgwvljwT2F8qEukKfg/Hbt7E3Wo8naGO\nTg50UF5U3KTxxjb9WE/O5cEcDdK4RlborUhRofJfEuYFZRq5mp2WqrKKRR2y\nWR1qQE/bCXAd4h5FjrwAocytoTI1qqkZKDg2N4p/QKqurV8sh/GIuRyObuJb\nFPCK\r\n=zChp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnF3F0iv+70Kwjj43EL/4+HZtwOZKHj6G9+e8X5eYOwwIgXhS66ZhKLXDNzrA7iC+t2m4s+jlCn7fHN0puoBmK/ig="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.2-beta.5403445_1612527540988_0.10398513231548367"},"_hasShrinkwrap":false},"1.5.2":{"name":"homebridge-presence-switch-msgraph","version":"1.5.2","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"9a9232e19d0d1e4840bcaacbeb8f221dc0977b3d","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.5.2","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-+gIzjcPNfF5FAqFahRVTYsOT5xZmJsAe+koBgmsU/F8pUA6TqkchbmpHJdGC7cb6Qvs45zr8hBCcY22t9NksBw==","shasum":"810e4f759394d9139f333e1a4a3cd07899f7acfa","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.5.2.tgz","fileCount":64,"unpackedSize":77211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHTfCCRA9TVsSAnZWagAA9RIP/1o2qi0njSg3mCUTvIHw\nSctdP5/lPRXEHBxe8Fr+fYIZQIJkgwkaRoF99p1gpWemkc3RTbItDPo08Bjz\nwtFLTgYtxy8RTmNbFi2Bh1U6xNQY9XInIu4oSkFy3Ph+wPTPPhmJ3Y+AH3Ht\nQlfd93dXqGnNFqb4WmrjdazFWb6Xn8kXKd6pkyNMfRIWP7PEk+RLVLfdf+8B\nChLHSbnJkFv1vIRlBZDJv+n4ypPjwvNk1hedwucb82V5tXqgZRYq4N2XWw5R\nQpxQo1seOdtqf4TUofkW39qhecEcnoCW7gxs9temxxMYXwIRDn1yQj+V/QQP\n/YUy265jsNiCAIh5CTOj52SX4Ydfgcu+eA98/JZLivGLDf4Vqce+78jwkLZL\n4sPgV7u8IhrZn446CX6rmGH92XWLbQKy4D9dov54owRF+Vs8PsbsHrh45tfb\nXTr+LjA03zIDpGWmtS9XRccXb+mRlSB46VgYz5XsS3l623HmtieZg3NoU+hd\n1MK3odhhfUVj98DEPYTTLnwQN0qJDtoXaZBaYs8iRX8JzHmlIgPDEF+vRZvy\ne0ooch2Kb26xk/l2VmgE6Amb7icgmMrinIcRxaNGzwZuIQjyR5nyBndiKgNy\nhcFc6ibFq/vPg5QL9iMWtSlJm+VDkAZFdrL/9AK1oKxiC/mRindBv8jT6MVD\ntuEn\r\n=faj5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdnjYOVEyFoZUFyolooGrZA1lznrSACBLKWBQ1KJmtfAiEAj0DuPUsk4St0RP2zZGSgVnCzZ1IjtfpXGh+pCKLtRds="}]},"_npmUser":{"name":"estruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"estruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.5.2_1612527553857_0.9533384671076965"},"_hasShrinkwrap":false},"1.6.0":{"name":"homebridge-presence-switch-msgraph","version":"1.6.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"5e550a9a9678b834e242a06c4ef0867fc85d6af8","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.6.0","_nodeVersion":"14.15.5","_npmVersion":"7.5.4","dist":{"integrity":"sha512-1bRWZRaJrFDN0X2z/dUOpPLPN4N4XyQC0szIeXnacSsPVN0zHFPTXdf8NAnrCDv5qZruLfyWdKqO3+EZS/BgkQ==","shasum":"35f219f9bbe48ae47e5b6cbfecd8a83d36afecdd","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.6.0.tgz","fileCount":67,"unpackedSize":83054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZfmiCRA9TVsSAnZWagAA/vwQAKUiA85hVQ5kvWXq4bIL\nN9WL5Apl22/XEo3HoypDtPVGYhVIWHz0gKCFEDUQhmzW4uM0+qhjfFh6wXr5\nL3IfdODWca+54Mzov2M0FG9nwtB07ECKFqKYxENXMJIdRiBiHBzJLGBYzla0\nrj0euua8ZoawJjihzY65eIzz8djlrwWojdBrBXNt/CPpRKqhDGf/LAUffGwK\nj2vtm/vdYeU0+Iuw5oDPypZx43ZPX4do2g4JESFtivawDUINn1/vXNHtd6KB\nDT1TqzOvOp0X1R2FcPmryPYOfhmPRzZvymeyoe4i4KI9NcCGQ102RhbHAVrt\nIeCZ+dznoAnTtNqAhFN51AXdyhXwiDXuAymBePTmjDyGNwmDiTZ2au+iJ/8E\nDO8Iuf+nr8qTl/LwlZV6trF3zpNyn14sR9tnct0iA6GxZ38koOe7Ob650lzf\njKpY0lI3WrXTjLkxlXb0OI39kd0zSqVCB1/PhXjyw5DFV69S+5k2yM5II8jH\n8MXc/jjCGsjwpifTyhp14d1cUVCcG8LgmezxXABAS8o1StiWEnlHA1Jvb8mO\nKedwe4VqOWeNu+mLek4twJxOXFBIE04uRCl99gfcYQpcecfuVR+xE5wuU3fY\n5m0d0KtjlmLeroPbR8ruYfASnEUmpODESszV2p5EhperisopVYW1Lytc5+3w\ncScn\r\n=DtzL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFQKY+4HwQUgOaid1NKavAZKw+lwvbPOsQA3xZGx+BTXAiBevMWxOpYsDfJiutlRdkqlqih45FPgaTNU8y61moBRfA=="}]},"_npmUser":{"name":"eliostruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"eliostruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.6.0_1617295777378_0.3371959209896007"},"_hasShrinkwrap":false},"1.6.1":{"name":"homebridge-presence-switch-msgraph","version":"1.6.1","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"c43ef69bb320a310a1f49fec55ace4697118aee1","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.6.1","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-GnXxA7gvrsDG4bz1hPjHMj/Vsr24jsEmpjqTYIWXqEVHm9YC8UPQO+DkpWgnn8f7y9dlboZSVlMS5ygMo2h9sA==","shasum":"00209dab2828f4a8235ec216efda76ce1c13c091","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.6.1.tgz","fileCount":64,"unpackedSize":79389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZsPqCRA9TVsSAnZWagAAZGMQAJmOVSeWpzmi8GzubM5V\n9jkhY7Z2KRovwGf62cQ2rhNpNhrHq7GNsdrHZVtFWeAJzhWLTCeAtOf5Lcg4\nHiee6pkNw3yEhl0vhopQ7rD9+sHpwDtupUcenguLAMEUfe59ZuY83uOhNIjE\nbBusFKAif3X+iUzSK+7zA/g+wR0dx7+pf9uot1B8L0SK9ZibT7bR6n0xnLGE\n8Zj2tepSkFwMWiMvEnG52mxLGaaabiqSnOUVKJgt6Qx2q6hHmtnqFBdGAJ+f\ncNWO1dTasIj5h3AwiYba2UpWPVD8tOKslfBaYu3nYN6qekYXlWCs2yWN+9bd\nupKvwoIuUQJgyIc+aFoCu/yBi+xXyYv3S5M4Z0Oqt0yFNLeVLZ2gB5HpyNJB\ndR3+OzFoyOfQ13Z06/4nCzk64J7e9m5r41WLHoGRK2uOw3PLuId/NBWP0+ou\nGKaDDfjvQzsNPaGXn38ZP9wCNckNJUhEvR8/crgiHKdOKAK0dTSUXzMevO0Q\nlacrGrelRebRwtMfoA/Qnp5DEDCoWCIspiQZ0coyLsd3bXDd+UKzw3IWc4oT\nIsfdLEtz6WNAQt2ksY8kVJPQMQ2dII0qc2tD87iKjpVZWO4hFhUnrZ5qCCVo\ndmQPWbbPweBeFd9XQwKWhv1bBSB2k67zNt+TjhbUaM46BqqNcVnQOL9io0nM\nSnZr\r\n=seHc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5o4UZvkEhy+caAhW17vlTMlDx941yPt13oaTYlLs/vAiBvEDV0azPJY6atdVqeTcd/qQjaKNZyhbK+AfMsNi+sTg=="}]},"_npmUser":{"name":"eliostruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"eliostruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.6.1_1617347562002_0.9943565324966279"},"_hasShrinkwrap":false},"1.7.0-beta.7343413":{"name":"homebridge-presence-switch-msgraph","version":"1.7.0-beta.7343413","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"66204339-daf1-40fa-aa31-57342272edce\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```","readmeFilename":"README.md","gitHead":"c14435e35cee0c3b6a3cfdbea63f218bef4b80ac","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.7.0-beta.7343413","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-4T8thgxrPpOAksyoWpdVNGWwoZUpfDRgia54SoU8QOEqgjwjnFHnxCWSB7J5dRVyvOCANPblHTk+JBeFChr6uw==","shasum":"d11ddcb8427cf1f6d9afa4149dd087e716611d79","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.7.0-beta.7343413.tgz","fileCount":64,"unpackedSize":79880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcMBpCRA9TVsSAnZWagAA/6EP/jJ7TVOQTtwZCEt9280a\n0ojoM5ooL6Qy5jbZWsjRjt3uProlIMCRP/q04lyoaPZ9YSpKq2Vs2XyZsu2Q\ndUSQmJS+R0e4RPyR93SbyObGTbdjiD6rEPyFxYFRl6nVZ+vFGgqswebSd2cy\nERoImFtNcew6uL66W/M5hfwFHteXRrlHOXP+3rA+KYb8285bBwBlSrMxzRWl\nSl885jKCv/kqEQiZ0LZlV7KlDj5UbtnIpOcOzOGDgZtTJQsD+wzh6BZKeLvC\nCnG9tvHKSqEZaKXDoLDGBD0WsKWmt/cwwKgXxpoPCJUTHBaVj5nJ0ZoQt6t+\nnmq/TOw4l90pML5z7BOIqHnIzjcp1gTeDsLGiDcqOnDSmRav6W4hGNUXItqv\ngOBRm5T8uP9yPFSLjWKgrPsjWNMuAsF9A3dYKK+3LUlm4PPQwjjjianSXbPi\nallc2fvxmlOHhsjWmIjKpVvxAOvzHmEuWcVzSFf5LVGTWlVPPQazAHmaqU0m\nLjsyMOuqNS8UdmmX5Vo2QthTnGkDv4hjMcSljbQ+sZQdz6SzOoDI4B2y+tez\nhh2UVsiLl92BF6kons5aow57LspOJeWcnQktPCI60ld1xkunt0wk8SERXXcF\n1vLRblaXBgxo9J8Gpj0fCmPd0R4UhuM2YVMXyyDiIHPpRGSEj+/ztSyS5mx1\nMdS6\r\n=9Q7j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLz/dROLG75a6uYgRn1I4OKl1aM6RRlGxMoBtakWumLgIhAL4KfY664Q0IKZ9LZOvtNOrR/ql/tJ1re5fzbVZPIsEH"}]},"_npmUser":{"name":"eliostruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"eliostruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.7.0-beta.7343413_1618002025129_0.7741921442146085"},"_hasShrinkwrap":false},"1.7.0":{"name":"homebridge-presence-switch-msgraph","version":"1.7.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"3.0.5"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"3.0.0","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"gitHead":"ad794d5957b99649737b7de48b6a36256e8d7526","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_id":"homebridge-presence-switch-msgraph@1.7.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-8gG2iRVxgLnYyhAJ6I8Hn4dpCpUYfaBUvG2qw+yEQq9kxCIOlvB8VcZM1xS3xICYI1hYfpO72UfHHO+dP904SQ==","shasum":"d7c3ebb5e9e6bcfb08cde9dc373630d82899feb7","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.7.0.tgz","fileCount":64,"unpackedSize":79868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcqZ3CRA9TVsSAnZWagAAfUYP/3gRRWpS4wk+d5bPo66+\ntK03SCiR9d3oZe/PlR/pXOimcumi6Ch6NhW+vSqYtNj0/lMl4qJn5XmujGeC\nh18PeU2TscOJanMi+mNvTOlQxzLZsnvKpDeN166pC1/hqkE+g+YdDsb+acjS\n9lhdvsOsvA2P/p1A3C+4lei+5LwOxTLcyoWsZHBsewNYcqjjULBtJPICP/JS\nErKzdwnIqe7XshSgtFXyYKmh7+QOodLnQbS7avv3AAudm1EBM6tSObjJf1qD\nghpoI832GFfp4cDrxAdMGJoO55wa9ozu77eXQUvlun8DCvazricvm9xOmMEl\nzYBoItheHO9LneYzN1xm6otBV5gQUwP4MCccZXSe0EzlKVwdcaGbpaUQpaUM\niG3wXfmy+Y6FJkg9UP8TsQsVnZcY9j7ZHS1eyYwIpmzN1g6+TneMqBP3ovc0\njyGzbuhiK/d8JjQaR+6J/XTfwINVVgNtyKRdaBYyKrDo/5EekSb8sUtMVzw/\njKLBmmN7HMKECOZ9U4XN8a3mZ+Vwiz9fgr2Jai/3/zlegfr+4m88Ssekg+XP\nNIwH29OdvWp8ueNYA+ZtO1T20c+4ZOTW3pqwsc5ZTAnNa26FDsSNQfxaVfgq\n9yAbTBKX8y9U2cMe7ID5g+6mrAcTOZveRSwPQ/jSfJCixk88LZGDBHUyDrBT\noMjx\r\n=pNg2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk9fkfz1gXo+3mMhwQEV2MZUb7wKDRZALpssnG9A5eDAIhANY8r424yJdXcEGiAsqetrP8ciCMCRc6mPdTA0dHB5Lj"}]},"_npmUser":{"name":"eliostruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"eliostruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.7.0_1618126454577_0.2807329174681257"},"_hasShrinkwrap":false},"1.8.0":{"name":"homebridge-presence-switch-msgraph","version":"1.8.0","description":"Switch for Microsoft Graph presence status","license":"MIT","keywords":["homebridge-plugin"],"author":{"name":"Elio Struyf"},"main":"dist/index.js","scripts":{"prepublish":"npm run build","start":"tsc -w","build":"tsc","publish:next":"npm publish --tag next"},"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"engines":{"node":">=0.12.0","homebridge":">=0.2.0"},"dependencies":{"adal-node":"0.2.1","node-fetch":"2.6.1","node-persist":"^4.0.1"},"devDependencies":{"@types/node-fetch":"2.5.5","@types/node-persist":"^3.1.8","hap-nodejs":"0.4.51","homebridge":"1.1.6","typescript":"3.8.3"},"_id":"homebridge-presence-switch-msgraph@1.8.0","gitHead":"9cdc2bd800d1c04a602972e109de19323c25f728","types":"./dist/index.d.ts","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme","_nodeVersion":"18.20.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-RnoTkK0qCXObhrm9bkriu20S9WlCJeLIN9aJ9w77uaAJv9Q1c6VViVhV2RWFkGcmVqKEgf8FsBAquqwOJ93+aA==","shasum":"dde6736b11ea2d69b7bbcb3b3a50b6c075c291f4","tarball":"https://registry.npmjs.org/homebridge-presence-switch-msgraph/-/homebridge-presence-switch-msgraph-1.8.0.tgz","fileCount":64,"unpackedSize":83577,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBvWQSCNRjMeiBCCO1jn2fM9gqTOO938XH8P+WbBRphAiEAzrcr7i0Ku8sovW2i29+kcaL7FLSv33kKRfkt9bEfXi0="}]},"_npmUser":{"name":"eliostruyf","email":"info@estruyf.be"},"directories":{},"maintainers":[{"name":"eliostruyf","email":"info@estruyf.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-presence-switch-msgraph_1.8.0_1712917871894_0.9992066190244249"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-05T13:05:41.119Z","1.0.0":"2020-04-05T13:05:41.557Z","modified":"2024-04-12T10:31:12.369Z","1.0.1":"2020-04-05T13:19:03.564Z","1.0.2":"2020-04-06T12:19:46.632Z","1.0.3":"2020-04-06T16:00:15.075Z","1.0.4":"2020-04-07T15:39:50.285Z","1.0.4-beta.7431971":"2020-04-09T10:13:48.747Z","1.0.4-beta.7443001":"2020-04-09T13:08:12.908Z","1.0.4-beta.7445015":"2020-04-09T13:44:27.770Z","1.0.4-beta.7445526":"2020-04-09T13:52:57.178Z","1.0.4-beta.7445634":"2020-04-09T13:55:00.063Z","1.1.0-beta.7445947":"2020-04-09T14:00:39.246Z","1.1.0":"2020-04-09T14:01:18.346Z","1.2.0":"2020-04-14T10:23:37.652Z","1.2.1":"2020-04-16T15:08:40.929Z","1.2.2":"2020-04-18T11:04:57.586Z","1.2.3":"2020-10-01T20:33:03.739Z","1.2.3-beta.3321055":"2020-10-27T19:27:44.679Z","1.3.0-beta.3322567":"2020-10-27T21:02:12.939Z","1.3.0-beta.3366343":"2020-10-29T20:53:53.473Z","1.3.0-beta.3380059":"2020-10-30T16:26:42.459Z","1.3.0-beta.3394719":"2020-10-31T20:16:06.404Z","1.3.0-beta.3405579":"2020-11-01T19:38:13.658Z","1.3.0":"2020-11-01T19:39:50.156Z","1.4.0":"2020-12-12T13:27:47.166Z","1.4.1":"2021-01-11T19:48:39.437Z","1.5.0-beta.5006297":"2021-01-21T08:31:43.400Z","1.5.0-beta.5006484":"2021-01-21T08:41:39.462Z","1.5.0-beta.5006559":"2021-01-21T08:45:48.037Z","1.5.0-beta.5006998":"2021-01-21T09:08:48.931Z","1.5.0-beta.5007590":"2021-01-21T09:39:28.831Z","1.5.0-beta.5011241":"2021-01-21T12:44:21.620Z","1.5.0-beta.5011256":"2021-01-21T12:45:08.631Z","1.5.0-beta.5011575":"2021-01-21T13:01:58.986Z","1.5.0-beta.5012416":"2021-01-21T13:44:49.548Z","1.5.0-beta.5012693":"2021-01-21T13:58:21.488Z","1.5.0-beta.5019585":"2021-01-21T19:17:59.693Z","1.5.0":"2021-01-25T07:33:07.789Z","1.5.1-beta.5173484":"2021-01-28T08:31:58.684Z","1.5.1-beta.5173709":"2021-01-28T08:38:58.803Z","1.5.1-beta.5202503":"2021-01-29T07:25:52.757Z","1.5.1":"2021-01-29T07:26:05.747Z","1.5.1-beta.5400626":"2021-02-05T10:14:39.561Z","1.5.1-beta.5401066":"2021-02-05T10:32:33.125Z","1.5.1-beta.5401950":"2021-02-05T11:10:49.345Z","1.5.2-beta.5403445":"2021-02-05T12:19:01.115Z","1.5.2":"2021-02-05T12:19:14.029Z","1.6.0":"2021-04-01T16:49:37.546Z","1.6.1":"2021-04-02T07:12:42.144Z","1.7.0-beta.7343413":"2021-04-09T21:00:25.283Z","1.7.0":"2021-04-11T07:34:14.747Z","1.8.0":"2024-04-12T10:31:12.142Z"},"maintainers":[{"name":"eliostruyf","email":"info@estruyf.be"}],"description":"Switch for Microsoft Graph presence status","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git+https://github.com/estruyf/homebridge-presence-switch-msgraph.git"},"author":{"name":"Elio Struyf"},"license":"MIT","readme":"# Presence switch connected to Microsoft Graph\n\n[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins) \n[![homebridge-presence-switch-msgraph](https://badgen.net/npm/v/homebridge-presence-switch-msgraph)](https://www.npmjs.com/package/homebridge-presence-switch-msgraph)\n\nMore information for now can be found here: [https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/](https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/).\n\n> **Info**: Since verions `1.3.0` the plugin added state switches. These switches can be used for `HomeKit` automation. You can still use the API approach as well. This now supports the `Do Not Disturb` mode as well.\n\n## Custom activity\n\nAs of version `1.5.0` you are now able to add custom activity statuses to the plugin. This mean, that besides the availablity (`available`, `away`, `busy`, and `donotdisturb`) statuses, you can now add your own activities you want to track. \n\nSupported activities are: `Available`, `Away`, `BeRightBack`, `Busy`, `DoNotDisturb`, `InACall`, `InAConferenceCall`, `Inactive`, `InAMeeting`, `Offline`, `OffWork`, `OutOfOffice`, `PresenceUnknown`, `Presenting`, `UrgentInterruptionsOnly`.\n\nIf you want to add for instance a `InACall` activity status, you can do this by adding the activity status to the `statusColor` config object as follows:\n\n```json\n{\n  ...,\n\n  \"statusColors\": {\n    ...,\n\n    \"InACall\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  }\n}\n```\n\n> **Info**: each off these activities you add, will also get a corresponding switch. That way you can add do Homekit automation based on the state of these switches.\n\n## Config\n\nThe `accessory` config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"707e1e80-fd26-46dd-bdd1-6d8e1a585eea\",\n  \"interval\": 1,\n  \"setColorApi\": \"http://127.0.0.1:5000/api/switch\",\n  \"offApi\": \"http://127.0.0.1:5000/api/off\",\n  \"onApi\": \"http://127.0.0.1:5000/api/on\",\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n  \"statusColors\": {\n    \"available\": {\n      \"red\": 0,\n      \"green\": 144,\n      \"blue\": 0\n    },\n    \"away\": {\n      \"red\": 255,\n      \"green\": 191,\n      \"blue\": 0\n    },\n    \"busy\": {\n      \"red\": 179,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"donotdisturb\": {\n      \"red\": 149,\n      \"green\": 0,\n      \"blue\": 0\n    },\n    \"<activity>\": {\n      \"red\": 255,\n      \"green\": 0,\n      \"blue\": 0\n    }\n  },\n  \"lightType\": \"\",\n  \"debug\": true\n}\n```\n\nSince version `1.3.0` the plugin contains 5 state switches:\n\n- Offline\n- Do not disturb\n- Busy\n- Away\n- Available\n\nThese switches can be used in `HomeKit` automation. If you use these, you do not have to set `setColorApi`, `offApi`, and `onApi`. Config could look like this:\n\n```json\n{\n  \"accessory\": \"presence-switch\",\n  \"name\": \"Presence Indicator\",\n  \"appId\": \"707e1e80-fd26-46dd-bdd1-6d8e1a585eea\",\n  \"interval\": 1,\n  \"startTime\": \"8:30\",\n  \"endTime\": \"18:00\",\n  \"weekend\": false,\n}\n```\n","readmeFilename":"README.md","homepage":"https://github.com/estruyf/homebridge-presence-switch-msgraph#readme"}