Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help] Information did not show up on clock #16

Open
samuelteixeiras opened this issue Mar 11, 2021 · 1 comment
Open

[help] Information did not show up on clock #16

samuelteixeiras opened this issue Mar 11, 2021 · 1 comment

Comments

@samuelteixeiras
Copy link

I am using the fitbit-weather to get the weather information, I added it the same way it's on the README, calling the weather.fetch, but it's not displaying the information always.

weather.fetch(50 * 60 * 1000) 
  .then(weatherResult => {
    console.log(JSON.stringify(weatherResult));
    drawWeather(weatherResult,tempAndConditionLabel,weatherImage);// my logic to draw it
  })
  .catch(error => console.log(JSON.stringify(error)))

It worked only when I turned off and on the location permission but after that, it is not updating the information anymore. I added 50 min to the cache.

@MooreDylanR
Copy link

same issue, the fetch call returns undefined when running on my fitbit sense but returns correctly when running on a fitbit sense simulator. this is both with a simulator phone or my phone bridged.

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

No branches or pull requests

2 participants