[weewx-user] Re: Bresser 6in1 with WeeWx possible?

2022-05-18 Thread Keen Barete
How does the Interceptor get its data? Does it listen to the network or does it need a wifi antenna? Andy schrieb am Montag, 16. Mai 2022 um 15:18:01 UTC+2: > The SDR dongle would be attached to your virtual server (usb passthrough) > and collect the data from your weather station. Then WeeWx w

[weewx-user] Recovered from crash => fail to start weewx

2022-05-18 Thread Juha U
Hello! I had a long running WeeWx on Raspberry. Unfortunately it died in the middle of running apt upgrade so finally resorted to reinstall OS and WeeWx. Well, not so big deal I thought, had backups of configs & database files on NAS. However, now WeeWx fails to start and I can't get my head

Re: [weewx-user] Recovered from crash => fail to start weewx

2022-05-18 Thread Tom Keffer
The suffix ".TRG" is a trigger file. Why a trigger file would be associated with WeeWX, I have no idea --- they are not used anywhere in WeeWX. Were you using some custom code that uses triggers? Perhaps when you restored things, you didn't restore the trigger files? I'm not an expert at this, but

[weewx-user] Re: How to debug weather34 skin?

2022-05-18 Thread jmc...@gmail.com
Solved! The problem is that some values from weewx are empty, causing number_forma() function to fails (expect first argument to be a float, receiving a string (empty). I've solved casting the first argument to float, descpiste the value (w34CombinedData.php): $weather["temp_indoor_trend"] = nu

Re: [weewx-user] Recovered from crash => fail to start weewx

2022-05-18 Thread Juha Utriainen
Hello Tom and big thanks for your fast reply! Bit of a face palm moment: Most probably you pointed out my mistake. I indeed have a trigger to calculate daily averages and heatsums as per Finnish standard (tried to do that in reports but eventually gave up temporarily :/ ) I was thinking that all m

Re: [weewx-user] Re: Davis Data Logger - Issue

2022-05-18 Thread Paul Dunphy
    Whatever it is, it's related to RPis talking to a Davis Logger via USB. I have a couple of powered USB hubs lying around. I can try putting one of them on in the next day or so . . . now that you mention it, I never had any trouble with an RPi 3. However, it did/does manifest itself on thre

Re: [weewx-user] How to integrate daily values

2022-05-18 Thread PC
Thanks Le mardi 17 mai 2022 à 13:54:26 UTC+2, tke...@gmail.com a écrit : > Unfortunately, it is not possible, at least within the data framework of > WeeWX. Normally, these kinds of summaries are generated from the WeeWX > database, not the other way around. > > Your only option would be to cre

[weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread PC
Hello, It seems to me that DegreeDays are not stored in the table (MySQL) archive. Are they elsewhere? How can I get it through a third-party application? Thank you ! -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread Tom Keffer
Degree-days are calculated on the fly as an xtype variable. Where do you need them? For example, for a template, the total degree-days for a month could be calculated as $month.heatdeg.sum. If you need access from an outside applic

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread PC
Okay, I don't know this "xtype", I'm going to watch. I already have the difficulty of "binding" 2 tables (see my previous post) One more challenge, it's pleasant! Le mercredi 18 mai 2022 à 18:01:45 UTC+2, tke...@gmail.com a écrit : > Degree-days are calculated on the fly as an xtype >

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread PC
Yes, I just looked at, it's really too complicated to implement for what I want to do. It would even be easier to calculate him himself! Besides, in French, we say "why make it simple when you can make it complicated!?" It is not complicated to calculate it once a day and store it in a small tab

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread Tom Keffer
You haven't said what your use case is. It might be quite simple. For example, here is how you would calculate total heating degree-days for this month in Python, using xtype. Most of the complexity is in calculating the starting and stopping times: import time import weewx.manager import weewx.x

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread PC
" You haven't said what your use case is. It might be quite simple." You are right. My goal is to make statistical comparisons since the start of my surveys (from 2011 with a "View View" and which will be placed in another table). Previously, under Windows 7, I was doing these statistics in VBA m

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread Tom Keffer
Well, it would be easy enough to create a CSV file using a WeeWX template. It could then be imported into Excel. Something like... #for $month in $year.months #if $month.outTemp.has_data $month.dateTime.format($YM), $month.heatdeg.sum.format($Temp,$NONE,add_label=False), $month.cooldeg.sum.format(

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread PC
Yes, but I need these values day after day. What my old program was doing. It therefore seems to me that the best solution is to create a specific table. I would create it with my old data, then I would read the Archive table of the MySQL base of Wewx, to add the new value daily. Le mercredi 18

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread Tom Keffer
Whatever works best for you... On Wed, May 18, 2022 at 11:52 AM PC wrote: > Yes, > but I need these values day after day. > What my old program was doing. > It therefore seems to me that the best solution is to create a specific > table. > I would create it with my old data, then I would read th

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread Chuck Rhode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 May 2022 09:29:08 -0700 (PDT) PC wrote: > Why make it simple when you can make it complicated!? Well, you could probably lift degree-days (DD) from the so-called NOAA Summary Reports, which are *.txt files under $HTML_ROOT/NOAA. See the

Re: [weewx-user] DegreeDays accessible by a third-party application

2022-05-18 Thread PC
It's not my priority at the moment, but I'll come back to you with my solution Thank you all for your kindness Le mercredi 18 mai 2022 à 22:10:30 UTC+2, charlescu...@gmail.com a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, 18 May 2022 09:29:08 -0700 (PDT) > PC wrote:

Re: [weewx-user] Davis Data Logger - Issue

2022-05-18 Thread Graham Eddy
i reported earlier that i got a burst of weewx restarts by vantage driver when my extra vp2 station (wireless temp) battery started reporting low (i hadn’t noticed until this thread started). tom’s new retry patch not applied. this happened a second time recently viz. burst of restart activity w