Socket
Book a DemoInstallSign in
Socket

8slp-node

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

8slp-node

Eight Sleep Smart Matress - Api Client

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

8slp-node

[WORK IN PROGRESS]

Eight Smart Matress (Unofficial) - Node Api Integration.

No dependencies.

8slp requires Node.js v8+ to run.

Inspired by Smart Things.

Installation

$ npm install --save 8slp-node

Example

const EightClient = require('8slp-node');
(...)
const eightClient = await EightClient.create('email@foo.com', 'password');
  • presenceEnd(): Both left and right sides have left bed.
  • leftPresenceEnd(): Left side has left bed.
  • rightPresenceEnd(): Right side has left bed.
  • presenceStart(): Both left and right sides are in bed.
  • leftPresenceStart(): Left side is in bed.
  • rightPresenceStart(): Right side is in bed.
  • sleepEnd(): Both left and right sides are awake (might still be in bed).
  • sleepStart(): (TODO) Both left and right sides are sleeping.
  • leftSleepEnd(): Left side is awake.
  • leftSleepStart(): (TODO) Left side is sleeping.
  • rightSleepStart(): (TODO) Right side is sleeping.
  • rightSleepEnd(): Right side is awake.

TODO

  • Set temperature level;
  • Level up;
  • Level down;
  • Get temperature level;
  • Set heat duration;
  • Heating duration down;
  • Heating duration up;
  • Get latest sleep score
  • Monitor temperature
  • Debug mode
  • Is online

FAQs

Package last updated on 20 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.