Hello!
I'm new in programing and I am trying to get a clock face which shows also the weather info, but I can't find any guidelines in how to get the data from the weather application.
How can I do it?
Thank you all
Answered! Go to the Best Answer.
I would look at the Weather module for Fitbit OS by Grégoire Sage
This is the module I used and it is pretty easy to use.
I also have ForecastTime open source, and that uses a modified version of this library. It is getting a bit complex though so it might not be the easiest to learn from; but if you have questions, I should be able to answer.
Best AnswerI would look at the Weather module for Fitbit OS by Grégoire Sage
This is the module I used and it is pretty easy to use.
I also have ForecastTime open source, and that uses a modified version of this library. It is getting a bit complex though so it might not be the easiest to learn from; but if you have questions, I should be able to answer.
Best AnswerI would look at Weather module for Fitbit OS by Grégoire Sage.
I use a modified version of this library in my open source ForecastTime watch face. It is getting to be a bit of a complex code base; but I am happy to explain everything I did.
Best AnswerHi, i used this script but i get "fitbit-weather/app is imported by app/index.js, but could not be resolved" when i try to run my watch face. How can i see the weather temperature? thanks
Best Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
Can you post your index.js (or at least the relevant portion)?
Best AnswerApologies for reviving an old thread, but I came across this post looking for information on Gregoiresage's weather module.
In-case another stumbles upon this same problem:
In your app/index.js file change this line:
import * as weather from "fitbit-weather/app";
TO:
import * as weather from "../fitbit-weather/app";
As well In your companion/index.js file change this line:
import * as weather from 'fitbit-weather/companion'
TO:
import * as weather from '../fitbit-weather/companion'