Page 1 of 1

Failed Read History sun0total

Posted: Sat Jul 05, 2025 10:28 pm
by grwkak
Thanks for the latest update with the hours of sunshine calculation.

After updating, I did notice a new graph, "sunshine," in my chart type dropdown. If I select this, then I get the following error in the log:

chart (05.07.2025 08:40:03): failed read history of sun0total (after 127 retries in 1ms): no such table: sun0total_hour (1)

I created my own metachart which works well. I also looked to see if I could map my solar sensor to something called sun0total - but that's not the issue.

Is there a bug/error? Wondering if there may be an assumption that the primary station (0) has the solar data?

Guy

Re: Failed Read History sun0total

Posted: Tue Jul 08, 2025 10:55 pm
by admin
That chart has been there before and focusses on physical sunshine sensors which are sold as an addition to Davis stations. This does not relate to the new solar sensor based sunshine detection.

Re: Failed Read History sun0total

Posted: Wed Jul 09, 2025 2:45 am
by grwkak
Thanks for the clarification!

Guy

Re: Failed Read History sun0total

Posted: Wed Jul 09, 2025 6:15 pm
by davidmc36
admin wrote: Tue Jul 08, 2025 10:55 pm That chart has been there before and focusses on physical sunshine sensors which are sold as an addition to Davis stations. This does not relate to the new solar sensor based sunshine detection.
What sensors do you speak of?

Re: Failed Read History sun0total

Posted: Thu Jul 10, 2025 2:57 pm
by grwkak

Re: Failed Read History sun0total

Posted: Thu Jul 10, 2025 3:22 pm
by admin
grwkak wrote: Thu Jul 10, 2025 2:57 pm I assume this:
https://www.davisinstruments.com/produc ... 1YQAvD_BwE

Guy
Not really. There is a hardware sunshine detector from Instromet that gives an impulse every 1/100 hour of sunshine (https://instromet.co.uk/sun-duration-sensor/). This can be feed into a Davis rain bucket input and by that sunshine is cumulated by the Davis ISS as fake rain fall. Meteobridge allows to read rain data from such a fake rain sensor and have it represented as sunshine.

It is a very niche solution IMHO that did not make it much into mainstream.

Re: Failed Read History sun0total

Posted: Thu Jul 10, 2025 7:42 pm
by davidmc36
Is there any way I could have MB make use of the SRsunshine.dat file from my BL Sunrecorder to display sunshine hours?

CMx uses it and inside it looks like this:

4.01
15.41
04:00:45
True

I use FTP to move it to the CMx folder on the Pi Zero.

Re: Failed Read History sun0total

Posted: Thu Jul 10, 2025 11:15 pm
by grwkak
admin wrote: Thu Jul 10, 2025 3:22 pm
grwkak wrote: Thu Jul 10, 2025 2:57 pm I assume this:
https://www.davisinstruments.com/produc ... 1YQAvD_BwE

Guy
Not really. There is a hardware sunshine detector from Instromet that gives an impulse every 1/100 hour of sunshine (https://instromet.co.uk/sun-duration-sensor/). This can be feed into a Davis rain bucket input and by that sunshine is cumulated by the Davis ISS as fake rain fall. Meteobridge allows to read rain data from such a fake rain sensor and have it represented as sunshine.

It is a very niche solution IMHO that did not make it much into mainstream.
Interesting! Thanks for the info.

Guy

Re: Failed Read History sun0total

Posted: Fri Jul 11, 2025 9:23 am
by admin
davidmc36 wrote: Thu Jul 10, 2025 7:42 pm Is there any way I could have MB make use of the SRsunshine.dat file from my BL Sunrecorder to display sunshine hours?

CMx uses it and inside it looks like this:

4.01
15.41
04:00:45
True

I use FTP to move it to the CMx folder on the Pi Zero.
You can define a plugin that reports data in a Meteobridge compatible style and make use of it as a virtual weather station.

Re: Failed Read History sun0total

Posted: Fri Jul 11, 2025 12:40 pm
by davidmc36
Thanks for that. Probably above my head at the moment but fully retired now I may have the time to figure it out.

D