tjmehta / homebridge-eightsleep-platform

Homebridge Plugin for supporting the Eightsleep Pod
Apache License 2.0
15 stars 2 forks source link

Presence Detection (Request) #6

Open ftoralesacosta opened 3 years ago

ftoralesacosta commented 3 years ago

I was wondering if it's possible to add presence detection to this platform. A python interface to the eightsleep API has this (kind of) working: https://github.com/mezz64/pyEight/blob/9c0cb8728277215a7c50584b7e4e3f5f55e7df07/pyeight/user.py#L33

Please let me know if I can help at all!

tjmehta commented 3 years ago

I definitely wanted to! But I couldn’t figure it out looking at the api request from the app. I working on some other homebridge stuff right now: better dyson fans and nanit integration. But happy to take PRs and maybe someday Ill get to it myself. If you need a quick hack checkout NFC automations via the shortcuts app (for example: set phone on nightstand nfc and trigger bed time scene).

TJ On Jun 14, 2021, 12:54 PM -0700, Fernando Torales Acosta @.***>, wrote:

I was wondering if it's possible to add presence detection to this platform. A python interface to the eightsleep API has this (kind of) working: https://github.com/mezz64/pyEight/blob/9c0cb8728277215a7c50584b7e4e3f5f55e7df07/pyeight/user.py#L33 Please let me know if I can help at all! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ftoralesacosta commented 3 years ago

Ah, I see. Haha no worries.

Cool, I'll try to mess around with it and let you know via a PR if I make any progress :) Best of luck with your other homebridge stuff, and thanks a bunch for this plug in, it's really awesome.

Thanks, — Fernando TA

On Jun 14, 2021, at 8:43 PM, Tejesh Mehta @.***> wrote:

 I definitely wanted to! But I couldn’t figure it out looking at the api request from the app. I working on some other homebridge stuff right now: better dyson fans and nanit integration. But happy to take PRs and maybe someday Ill get to it myself. If you need a quick hack checkout NFC automations via the shortcuts app (for example: set phone on nightstand nfc and trigger bed time scene).

TJ On Jun 14, 2021, 12:54 PM -0700, Fernando Torales Acosta @.***>, wrote:

I was wondering if it's possible to add presence detection to this platform. A python interface to the eightsleep API has this (kind of) working: https://github.com/mezz64/pyEight/blob/9c0cb8728277215a7c50584b7e4e3f5f55e7df07/pyeight/user.py#L33 Please let me know if I can help at all! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.