0 votes
in WeatherStationClassic by (120 points)

How about we add another display in the demo for the following using almanac and astronomy to pull the following...

Sunset             Avg High for current day

Sunrise            Avg Low for current day.

I'm not to bad with this but not that good...

1 Answer

0 votes
by (9.2k points)
The service already supports fetching this information. You'll just have to add another frame and display the information there. The astronomy method holds the following variables:

String sunriseTime;
String sunsetTime;
String moonriseTime;
String moonsetTime;
by (120 points)
ok.. Got that working....
Now do you do anything with the Almanac? That is where I see the highs/lows are retrieved..

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.