{"_id":"@dvcol/homebridge-plugin-withings-sleep","_rev":"2-9d6bff1e4bc2d750ed8a11548045ec4e","name":"@dvcol/homebridge-plugin-withings-sleep","dist-tags":{"latest":"1.2.1"},"versions":{"1.1.0":{"name":"@dvcol/homebridge-plugin-withings-sleep","displayName":"Withings Sleep Homebridge Plugin","type":"module","version":"1.1.0","description":"A simple plugin to expose withings sleep as an occupancy sensor","keywords":["homebridge-plugin"],"bugs":{"url":"https://github.com/dvcol/homebridge-plugin-withings-sleep/issues"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/dvcol/homebridge-plugin-withings-sleep.git"},"publishConfig":{"access":"public"},"main":"dist/index.js","dependencies":{"fastify":"~4.26.2"},"devDependencies":{"@commitlint/cli":"^19.0.0","@commitlint/config-conventional":"^19.0.0","@dvcol/eslint-plugin-presets":"^1.3.10","@types/node":"ts5.5","@typescript-eslint/eslint-plugin":"^7.7.0","@typescript-eslint/parser":"^7.7.0","@vitejs/plugin-vue":"^5.0.4","@vitest/coverage-v8":"^1.5.0","c8":"^9.0.0","eslint":"^8.57.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-vitest":"^0.4.1","extract-changelog-release":"^1.0.2","homebridge":"^1.8.2","homebridge-config-ui-x":"^4.56.2","husky":"^9.0.6","lint-staged":"^15.0.0","nodemon":"^3.1.0","npm-run-all":"^4.1.5","prettier":"^3.1.1","rimraf":"^5.0.5","standard-version":"^9.5.0","typescript":"^5.4.5","vitest":"^1.1.0"},"lint-staged":{"*.{cjs,mjs,js,jsx,ts,tsx,vue,svelte,json,md}":["eslint --fix"]},"engines":{"homebridge":"^1.6.0","node":"^18.17.0 || ^20.9.0"},"scripts":{"clear":"rimraf dist","build":"pnpm run clear && tsc","link":"pnpm link --global","homebridge":"homebridge -I -D","homebridge:ui":"homebridge-config-ui-x -I -D -P 8080","start":"nodemon","watch":"run-s build link start","test:unit":"vitest run --coverage --mode testing --passWithNoTests","test:watch":"vitest --mode testing","lint":"eslint src","lint:fix":"pnpm run lint --fix","release":"standard-version","release:changelog":"extract-changelog-release > RELEASE.md"},"types":"./dist/index.d.ts","homepage":"https://github.com/dvcol/homebridge-plugin-withings-sleep#readme","_id":"@dvcol/homebridge-plugin-withings-sleep@1.1.0","_integrity":"sha512-WgXX0tJjkcadxxArvuDhwc+eeEuCSIxO8dmOEl+eI4jSaKNLo9LkwTZfkjdThLoBJp4qxXOtft+fwLFreQRelg==","_resolved":"/tmp/a12d2720f11bce9d2c1659011e749d6e/dvcol-homebridge-plugin-withings-sleep-1.1.0.tgz","_from":"file:dvcol-homebridge-plugin-withings-sleep-1.1.0.tgz","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-WgXX0tJjkcadxxArvuDhwc+eeEuCSIxO8dmOEl+eI4jSaKNLo9LkwTZfkjdThLoBJp4qxXOtft+fwLFreQRelg==","shasum":"b3ea8c7423187220b897ba92983942a7ddb1e484","tarball":"https://registry.npmjs.org/@dvcol/homebridge-plugin-withings-sleep/-/homebridge-plugin-withings-sleep-1.1.0.tgz","fileCount":24,"unpackedSize":32797,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVwHmv3qgxUlC5k72c2oaMDi70wNUTGj/NZpKWMSyc8AIgTt7qpBWv+MjaTqIZr9kDg49J4o2inqqQScqO9pe8aTg="}]},"_npmUser":{"name":"dvcol","email":"dinh.van.colomban@gmail.com"},"directories":{},"maintainers":[{"name":"dvcol","email":"dinh.van.colomban@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-plugin-withings-sleep_1.1.0_1716568830989_0.3675895592728482"},"_hasShrinkwrap":false},"1.2.0":{"name":"@dvcol/homebridge-plugin-withings-sleep","displayName":"Withings Sleep Homebridge Plugin","type":"module","version":"1.2.0","description":"A simple plugin to expose withings sleep as an occupancy sensor","keywords":["homebridge-plugin"],"bugs":{"url":"https://github.com/dvcol/homebridge-plugin-withings-sleep/issues"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/dvcol/homebridge-plugin-withings-sleep.git"},"publishConfig":{"access":"public"},"main":"dist/index.js","dependencies":{"fastify":"~4.26.2"},"devDependencies":{"@commitlint/cli":"^19.0.0","@commitlint/config-conventional":"^19.0.0","@dvcol/eslint-plugin-presets":"^1.3.10","@types/node":"ts5.5","@typescript-eslint/eslint-plugin":"^7.7.0","@typescript-eslint/parser":"^7.7.0","@vitejs/plugin-vue":"^5.0.4","@vitest/coverage-v8":"^1.5.0","c8":"^9.0.0","eslint":"^8.57.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-vitest":"^0.4.1","extract-changelog-release":"^1.0.2","homebridge":"^1.8.2","homebridge-config-ui-x":"^4.56.2","husky":"^9.0.6","lint-staged":"^15.0.0","nodemon":"^3.1.0","npm-run-all":"^4.1.5","prettier":"^3.1.1","rimraf":"^5.0.5","standard-version":"^9.5.0","typescript":"^5.4.5","vitest":"^1.1.0"},"lint-staged":{"*.{cjs,mjs,js,jsx,ts,tsx,vue,svelte,json,md}":["eslint --fix"]},"engines":{"homebridge":"^1.6.0","node":"^18.17.0 || ^20.9.0"},"scripts":{"clear":"rimraf dist","build":"pnpm run clear && tsc","link":"pnpm link --global","homebridge":"homebridge -I -D","homebridge:ui":"homebridge-config-ui-x -I -D -P 8080","start":"nodemon","watch":"run-s build link start","test:unit":"vitest run --coverage --mode testing --passWithNoTests","test:watch":"vitest --mode testing","lint":"eslint src","lint:fix":"pnpm run lint --fix","release":"standard-version","release:changelog":"extract-changelog-release > RELEASE.md"},"types":"./dist/index.d.ts","homepage":"https://github.com/dvcol/homebridge-plugin-withings-sleep#readme","_id":"@dvcol/homebridge-plugin-withings-sleep@1.2.0","_integrity":"sha512-/FOJ0gnqiM6eBzyTSk5XZ9pne3zAkGkGcKjdduqp6e/Ev44vCbH87Ve0BhPAN2MJNz8iqvukXxO5zQwKcg3m5Q==","_resolved":"/tmp/1a532a0e2f5f4e9cf5ca38e4f841ffc5/dvcol-homebridge-plugin-withings-sleep-1.2.0.tgz","_from":"file:dvcol-homebridge-plugin-withings-sleep-1.2.0.tgz","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-/FOJ0gnqiM6eBzyTSk5XZ9pne3zAkGkGcKjdduqp6e/Ev44vCbH87Ve0BhPAN2MJNz8iqvukXxO5zQwKcg3m5Q==","shasum":"b600be32ef1cbd8c3c32757e56d8bc5dd62030bd","tarball":"https://registry.npmjs.org/@dvcol/homebridge-plugin-withings-sleep/-/homebridge-plugin-withings-sleep-1.2.0.tgz","fileCount":24,"unpackedSize":34308,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIARLbsbqLgI5Anyrr7kHTjtSWSerVbfJA+py8Flb+XbcAiEAwA88eL7wuGhxJiGRZw7cS9eCPZn2gyKYJbr4bFBRvx8="}]},"_npmUser":{"name":"dvcol","email":"dinh.van.colomban@gmail.com"},"directories":{},"maintainers":[{"name":"dvcol","email":"dinh.van.colomban@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-plugin-withings-sleep_1.2.0_1716576087879_0.49658705160293537"},"_hasShrinkwrap":false},"1.2.1":{"name":"@dvcol/homebridge-plugin-withings-sleep","displayName":"Withings Sleep Homebridge Plugin","type":"module","version":"1.2.1","description":"A simple plugin to expose withings sleep as an occupancy sensor","keywords":["homebridge-plugin"],"bugs":{"url":"https://github.com/dvcol/homebridge-plugin-withings-sleep/issues"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/dvcol/homebridge-plugin-withings-sleep.git"},"publishConfig":{"access":"public"},"main":"dist/index.js","dependencies":{"fastify":"~4.26.2"},"devDependencies":{"@commitlint/cli":"^19.0.0","@commitlint/config-conventional":"^19.0.0","@dvcol/eslint-plugin-presets":"^1.3.10","@types/node":"ts5.5","@typescript-eslint/eslint-plugin":"^7.7.0","@typescript-eslint/parser":"^7.7.0","@vitejs/plugin-vue":"^5.0.4","@vitest/coverage-v8":"^1.5.0","c8":"^9.0.0","eslint":"^8.57.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-vitest":"^0.4.1","extract-changelog-release":"^1.0.2","homebridge":"^1.8.2","homebridge-config-ui-x":"^4.56.2","husky":"^9.0.6","lint-staged":"^15.0.0","nodemon":"^3.1.0","npm-run-all":"^4.1.5","prettier":"^3.1.1","rimraf":"^5.0.5","standard-version":"^9.5.0","typescript":"^5.4.5","vitest":"^1.1.0"},"lint-staged":{"*.{cjs,mjs,js,jsx,ts,tsx,vue,svelte,json,md}":["eslint --fix"]},"engines":{"homebridge":"^1.6.0","node":"^18.17.0 || ^20.9.0"},"scripts":{"clear":"rimraf dist","build":"pnpm run clear && tsc","link":"pnpm link --global","homebridge":"homebridge -I -D","homebridge:ui":"homebridge-config-ui-x -I -D -P 8080","start":"nodemon","watch":"run-s build link start","test:unit":"vitest run --coverage --mode testing --passWithNoTests","test:watch":"vitest --mode testing","lint":"eslint src","lint:fix":"pnpm run lint --fix","release":"standard-version","release:changelog":"extract-changelog-release > RELEASE.md"},"types":"./dist/index.d.ts","homepage":"https://github.com/dvcol/homebridge-plugin-withings-sleep#readme","_id":"@dvcol/homebridge-plugin-withings-sleep@1.2.1","_integrity":"sha512-dQkmqOmQFE3Ix6hPidxJApXOze9J6m/zjF6lBHMV0AFHKG8PKESVQp9vXY2q2mt2ZR2R13EzQYn7NR9lGsQe9A==","_resolved":"/tmp/0555fd476ed7f6780f782b4458ce70bb/dvcol-homebridge-plugin-withings-sleep-1.2.1.tgz","_from":"file:dvcol-homebridge-plugin-withings-sleep-1.2.1.tgz","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-dQkmqOmQFE3Ix6hPidxJApXOze9J6m/zjF6lBHMV0AFHKG8PKESVQp9vXY2q2mt2ZR2R13EzQYn7NR9lGsQe9A==","shasum":"bc1b8918cf924b7b0839a3d1894bf6df554a37b2","tarball":"https://registry.npmjs.org/@dvcol/homebridge-plugin-withings-sleep/-/homebridge-plugin-withings-sleep-1.2.1.tgz","fileCount":24,"unpackedSize":34588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNfJmAiLRQtQiYBoyVmjulf7+z3OExDRj8ran92vEnNAiEArBOUUtazR+Jb8Fqdz4lnb3Gg2rKsJlBVNM488e21Sq4="}]},"_npmUser":{"name":"dvcol","email":"dinh.van.colomban@gmail.com"},"directories":{},"maintainers":[{"name":"dvcol","email":"dinh.van.colomban@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/homebridge-plugin-withings-sleep_1.2.1_1716581021464_0.7473814043651283"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-24T16:40:30.886Z","1.1.0":"2024-05-24T16:40:31.163Z","modified":"2024-05-24T20:03:41.842Z","1.2.0":"2024-05-24T18:41:28.033Z","1.2.1":"2024-05-24T20:03:41.647Z"},"maintainers":[{"name":"dvcol","email":"dinh.van.colomban@gmail.com"}],"description":"A simple plugin to expose withings sleep as an occupancy sensor","homepage":"https://github.com/dvcol/homebridge-plugin-withings-sleep#readme","keywords":["homebridge-plugin"],"repository":{"type":"git","url":"git+https://github.com/dvcol/homebridge-plugin-withings-sleep.git"},"bugs":{"url":"https://github.com/dvcol/homebridge-plugin-withings-sleep/issues"},"license":"Apache-2.0","readme":"<p align=\"center\">\n\n<img src=\"https://github.com/homebridge/branding/raw/latest/logos/homebridge-wordmark-logo-vertical.png\" width=\"150\">\n\n</p>\n\n<span align=\"center\">\n\n# Withings Sleep Homebridge Plugin\n\n</span>\n\nThis is a simple HomeBridge plugin to expose a switch and an occupancy sensor thourhg a series of webhooks.\n\n### Query the following endpoints to toggle on/off\n\n| Endpoint              | Description                             |\n|-----------------------|-----------------------------------------|\n| `/withings/on`        | Turn on the switch and occupancy sensor |\n| `/withings/off`       | Turn off the switch and occupancy sensor |\n| `/withings/switch/on` | Turn on the switch |\n| `/withings/switch/off`| Turn off the switch |\n| `/withings/occupancy/on` | Turn on the occupancy sensor |\n| `/withings/occupancy/off`| Turn off the occupancy sensor |\n\n### Optional configs\n\n| Config                | Description                             |\n|-----------------------|-----------------------------------------|\n| `port`                | Port to run the server on (default 3000) |\n| `name`                | Name of the accessory (default Withings Sleep) |\n| `hosts`              | List of hosts to allow (default all) |","readmeFilename":"README.md"}