Failed Read History sun0total

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
grwkak
Gold Boarder
Gold Boarder
Posts: 183
Joined: Thu Jan 30, 2014 2:15 am

Failed Read History sun0total

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Failed Read History sun0total

Post 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.
grwkak
Gold Boarder
Gold Boarder
Posts: 183
Joined: Thu Jan 30, 2014 2:15 am

Re: Failed Read History sun0total

Post by grwkak »

Thanks for the clarification!

Guy
User avatar
davidmc36
Expert Boarder
Expert Boarder
Posts: 87
Joined: Wed Apr 10, 2024 7:33 pm

Re: Failed Read History sun0total

Post 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?
grwkak
Gold Boarder
Gold Boarder
Posts: 183
Joined: Thu Jan 30, 2014 2:15 am

Re: Failed Read History sun0total

Post by grwkak »

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Failed Read History sun0total

Post 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.
User avatar
davidmc36
Expert Boarder
Expert Boarder
Posts: 87
Joined: Wed Apr 10, 2024 7:33 pm

Re: Failed Read History sun0total

Post 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.
grwkak
Gold Boarder
Gold Boarder
Posts: 183
Joined: Thu Jan 30, 2014 2:15 am

Re: Failed Read History sun0total

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Failed Read History sun0total

Post 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.
User avatar
davidmc36
Expert Boarder
Expert Boarder
Posts: 87
Joined: Wed Apr 10, 2024 7:33 pm

Re: Failed Read History sun0total

Post 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
Post Reply