3 ms·
This looks like the API I was looking for to compute the best screen brightness in the absence of a light sensor in Lunar [0] I would probably do a request per
by alin23 5y ago
This looks like the API I was looking for to compute the best screen brightness in the absence of a light sensor in Lunar [0]
I would probably do a request per day for each user of this feature, which would amount to about 300-400 requests/day. Would that fit in the non-commercial use tier?
I would be happy to start paying like $5/month if I'll find a way to improve the brightness calculation logic with your API. If you don't yet have a payment processor integrated, maybe we can work it out through something simpler like Patreon or Buy me a coffee recurring payments.
What I'm not sure about is what data would best fit my needs. I was thinking of using Cloud Cover first but I don't know which one would affect the daylight perceived brightness:
cloudcover
cloudcover_low
cloudcover_mid
cloudcover_high
There's also the (new to me) sun radiation data which seems even more fitting to what I need, but again, not sure which one to use:
shortwave_radiation
direct_radiation
diffuse_radiation
I would guess that direct_radiation is what I need but I thought I should ask first in case you have more insight into what data would most fit my use case.
[0] https://lunar.fyi/#location https://lunar.fyi/#location
- meteo-jeff 5y agoNice app. Even open source :) Regular "shortwave_radiation" should fit your needs. This is basically "direct_radiation + diffuse_radiation". I am not entirely sure, if this effects your users that much, because many will work indoors and only a fraction of sunlight will get in. You can contact me directly via mail for a non-commercial use waver.
- alin23 5y agoThanks for the insight! I would have probably just chosen direct_radiation not knowing better. Most users of this "brightness by sun position" feature work in rooms with lots of natural light so they complain about their screens being too bright in cloudy days. I think some improvements will be noticed. I'll contact you through the email on the Contact Us [0] page when I have something working properly, thanks for this!