PiClock icon indicating copy to clipboard operation
PiClock copied to clipboard

Feature Request: Moon Phases in Percentage instead of phases

Open cbronner35 opened this issue 3 years ago • 1 comments

Hello this is a pretty impossible request but is there a way I can grab the actual percentage rate of the moon instead of displaying the current phase? The reason is that we are a Medivac Helicopter EMS base and we wanted the medical crew to know what percentage rate the moon is currently at. We use NVG night vision googles at night and depending on the percentage rate determines how much visibility we have in the air. Strange I know but figured it didn't hurt to ask. The crew is loving the new weather TV! Thanks again for putting this together it looks amazing!!

cbronner35 avatar Sep 07 '21 16:09 cbronner35

Hmmm …. The JS library for suncalc does this

https://github.com/mourner/suncalc

SunCalc.getMoonIllumination(/*Date*/ timeAndDate)

Would need hacking (i am not a python guru)

merky1 avatar Nov 08 '21 18:11 merky1