06-20-2018 06:18
06-20-2018 06:18
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.
06-22-2018 11:23
06-22-2018 11:23
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.
06-22-2018 11:23
06-22-2018 11:23
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.
06-22-2018 11:26
06-22-2018 11:26
I 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.
09-15-2018 17:27
09-15-2018 17:27
Hi, 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
09-16-2018 22:18
09-16-2018 22:18
Can you post your index.js (or at least the relevant portion)?
01-05-2020 00:16
01-05-2020 00:16
Apologies 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'