Hi,

because of the ugly astronomical weather during the last weeks (at least here at my place), I began to get a bit deeper into my equipment and correct some problems I see in my images. I put a third rig in my garden, but wasn't able to use it since then. Now I depend on the darkness, but had to find another project to work on while waiting for better conditions.

For various reasons, I am working on my own weather station to record the weather 24/7.

I own a Hitec weather deluxe weather station that serves as a safety monitor for NINA. So the device is currently located at my observing place and I am struggling with moving it to anoter place. To record the weather even during the day without running my imaging equipment all the time, I use an Arduino with a bme280 (temperature/pressure/humidity sensor), a TSL2591 (light meter), a mlx60914 (for sky temperature) and a veml6075 (UV-A and UV-B). The values are fed into a database (MariaDB) which is running on a Raspberry Pi.

All is working well for months now. But there is one thing I couldn't figure out yet and hopefully someone of you can help me here.

It seems that the Hitec Weather Deluxe is also using a bme280 and an mlx60914. So it measures the following data:

- Ambient temperature
- Sky temperature
- Humidity
- air pressure
- DewPoint (calculated)

With the measured data, it is able to calculate the cloud coverage and it does it very well. My problem is, that I need a formula to calculate the cloud coverage myself from the data, that is currently stored in my database. I first tried to simply use the difference between the ambient and the sky temperature as a guard. But thats not the whole truth. I realised, that the resulting chart is depentent from the humidity as well, So I added another part to the equation that is weighted by the humidity itself, which improved the chart a lot. But obviously I am not knowing what I was doing and  it is not safe to use the calculated values for any analysis.

Is there someone that can help me finding a formula to calculate the cloud coverage in a proper way? I guess, I may have enough data to start from.

Here is an image of my grafana page that shows the graphs of the last 24 hours here in middle germany. The sky quality graph is the calculated one I am aiming for.



It would be great to find someone who can help me.

Thanks a lot for your replies and Clear Skies

Christian