Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Could not fetch data from API / Cannot read property 'value' of undefined #9

Open
CumpsD opened this issue Jun 26, 2020 · 3 comments
Open

Comments

@CumpsD
Copy link

CumpsD commented Jun 26, 2020

Just installed this and configured with username/pass of my withings dashboard, verified it is correct by logging in myself. The mac address is copy-pasted from the UI so it's fine to.

But I am getting this error on startup:

Could not fetch data from API / Cannot read property 'value' of undefined

I am guessing it is one of these:

(!this.carbondioxide || this.carbondioxide.date !== carbondioxide.date) && this.emit('carbondioxide', carbondioxide.value);

(!this.temperature || this.temperature.date !== temperature.date) && this.emit('temperature', temperature.value);

Any chance you can advise on what to do? Or any possibility to enable some kind of debug mode which prints the calls?

@alert82
Copy link

alert82 commented Sep 13, 2020

same problem here

@NoahPeeters
Copy link

I have the same issue. It does work with my Smart Body Analyzer but it does not work with my Body cardio.

@dhayab
Copy link
Owner

dhayab commented Jun 22, 2021

Hi, this plugin only works with the Smart Body Analyzer, as I believe it's the only smart scale in the Withings lineup that provides carbon dioxide levels.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants