BastianPoe / owlet_api

Unofficial Python API for the Owlet Smart Baby Monitor
MIT License
59 stars 9 forks source link

Updating to latest Auth #6

Open antgiant opened 1 year ago

antgiant commented 1 year ago

Owlet changed their auth structure when they released the Dream Sock. This pull request updates your unofficial API to be compatible with the new auth structure. Closes #2 Closes #5

sparsematrix commented 1 year ago

Some fields like BABY_NAME and GENDER are not getting populated perhaps due to Owlet API changes but otherwise all important data is coming through. I am testing with Owlet Sock 2.

antgiant commented 1 year ago

Yeah I noticed that too. They actually are sending those data elements but they are always blank. Not quite sure why. Perhaps they moved them somewhere else behind the scenes. I haven't located where yet if that is the case though.