Catalog npm
PACKAGE EXPLORERView in registry

8slp-node

npm

Eight Sleep Smart Matress - Api Client

Versions collected1
Direct dependencies0From release 0.0.1
Last observed20 Oct, 21:25 UTC

README

Current package documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.1Registry latest20 Jul 20200

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
kennypt/8slp-home

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:25 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6ca8321778453d281a693d46b3da71505d3540831f1a2cb2eefb70a5c560fed6