Comments (5)
We just got our Eight Pod Pro so the account is brand new as well.
from pyeight.
@themistymay Did this correct itself once you collected some data?
from pyeight.
I will retry. Give me a few days as I'm currently away.
from pyeight.
I have confirmed this is still an issue:
2021-12-16 09:39:09 ERROR (MainThread) [pyeight.eight] Error fetching Eight data: 403
2021-12-16 09:39:09 ERROR (MainThread) [pyeight.user] Unable to fetch eight intervals data.
2021-12-16 09:39:09 ERROR (MainThread) [pyeight.eight] Error fetching Eight data: 403
2021-12-16 09:39:09 ERROR (MainThread) [pyeight.user] Unable to fetch eight trend data.
2021-12-16 09:34:09 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up eight_sleep platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 505, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 511, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 363, in state
value = self.native_value
File "/usr/src/homeassistant/homeassistant/components/eight_sleep/sensor.py", line 173, in native_value
return self._usrobj.current_sleep_score
File "/usr/local/lib/python3.9/site-packages/pyeight/user.py", line 237, in current_sleep_score
score = self.intervals[0]['score']
TypeError: 'NoneType' object is not subscriptable
from pyeight.
Very late reply, but I noticed in your last snippet you are getting a 403 forbidden error. That usually only happens if the login info is incorrect. Please verify you have it entered correctly in your config. Others have had problems with certain special characters in the past.
from pyeight.
Related Issues (20)
- Pod Support HOT 9
- Issues when bed is set to "both" instead of left or right. HOT 8
- Presence Detection fails with POD HOT 1
- Feature Suggestion: Vibration Control for Pod Pro HOT 15
- Can't turn on the heat HOT 7
- Intermittent connection failures HOT 2
- Support for local non-cloud connection HOT 5
- initialization fails due to 403 when partner is not sharing data
- [Feature Request] Add support for enabling and disabling "Away Mode" HOT 3
- Did the new app update break things HOT 2
- API and App data discrepancy HOT 1
- Some API reversing discoveries: HOT 4
- Set away mode HOT 1
- Home Assistant Single Sleeper HOT 2
- Error putting Eight data HOT 3
- Parameters EightUser class HOT 1
- KeyError: 'rightUserId' HOT 2
- Bed Presence update HOT 8
- Unable to authenticate and fetch eight token HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyeight.