{"id":18379559,"url":"https://github.com/hesto2/owlet-client","last_synced_at":"2025-04-06T22:32:34.257Z","repository":{"id":40766812,"uuid":"267723281","full_name":"hesto2/owlet-client","owner":"hesto2","description":"Unofficial node library for interacting with the owlet baby monitor","archived":false,"fork":false,"pushed_at":"2023-03-04T21:00:31.000Z","size":1573,"stargazers_count":6,"open_issues_count":17,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T07:45:59.835Z","etag":null,"topics":["iot-device"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hesto2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-29T00:01:52.000Z","updated_at":"2024-04-10T05:48:58.000Z","dependencies_parsed_at":"2024-11-06T00:38:44.974Z","dependency_job_id":"ddda569f-8de7-4cf4-8c3c-f89529879f54","html_url":"https://github.com/hesto2/owlet-client","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"e95ab9d5b0a21fbaf293a31325a369f343c4764f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesto2%2Fowlet-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesto2%2Fowlet-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesto2%2Fowlet-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesto2%2Fowlet-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hesto2","download_url":"https://codeload.github.com/hesto2/owlet-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563902,"owners_count":20958971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["iot-device"],"created_at":"2024-11-06T00:38:31.166Z","updated_at":"2025-04-06T22:32:33.770Z","avatar_url":"https://github.com/hesto2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Owlet Client\n\nUnofficial package for interacting with owlet's smart sock api. Note that this\nonly works in the US. If you want to use this and are in a different country,\ncreate an issue and I will implement support for other regions.\n\n## Installation\n\n`yarn add owlet-api`\n\n## Example Usage\n\nIn order for the authentication to work, the package expects two environment\nvariables to be present: `OWLET_EMAIL` and `OWLET_PASSWORD`. The token returned\nfrom the authentication calls is valid for 24 hours.\n\n```\n  const token = await login();\n  const devices = await getDevices(token);\n  const sock = await getDeviceAsSmartSock(devices[0].device.dsn, token);\n  console.log(sock);\n  /* Prints:\n    {\n      baseStationOn: 0,\n      batteryLevel: 94,\n      chargeStatus: 0, // Is 1 if fully charged, 2 if charging\n      heartRate: 124,\n      movement: 0,\n      oxygenLevel: 98\n    }\n  */\n  await setBaseStationOn(true, sock, token);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesto2%2Fowlet-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhesto2%2Fowlet-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesto2%2Fowlet-client/lists"}