mezz64 / pyEight

Python library to interface with the Eight Sleep API
MIT License
59 stars 15 forks source link

Intermittent connection failures #3

Closed droopanu closed 6 years ago

droopanu commented 6 years ago

I noticed that the eight component in homeassistant fails to connect most of the time.

After a bit of investigation, I changed the DEFAULT_TIMEOUT from 10 to 60 in constants.py and I haven't seen any issues since.

mezz64 commented 6 years ago

Glad to hear that worked for you. I don't really see a downside so i'll make the change along with some api updates to sync up with the new app releases.

mezz64 commented 6 years ago

PR is pending for homeassistant to move to pyEight 0.0.8 with the timeout increased.