[weewx-user] $span tag for "Last year to date"

2025-05-13 Thread Thomas Carlin
Good evening! Is there a way with the "new" $span tags a way to create a last year to date? For example today would display data from January 1st to May 13th 2024, tomorrow would include 5/14/2024 or does this still require a search_list_extension to accomplish? Thank you as always! http://c

[weewx-user] Re: Monitor 12 VDC with 415/933 MHz device

2025-05-13 Thread Thomas Carlin
Hey Dan, Not an expert by any means, but this can easily be accomplished with an Arduino/clone/ESP8266/Any micro controller, a little code and a little circuitry (Think voltage divider for simplicity). Depending on the micro controller, you may need to add an ADC (Analog Digital Converter)/ an

Re: [weewx-user] Convert values before loading into database

2024-10-03 Thread Thomas Carlin
ield) > *⊣GE⊢* > > On 4 Oct 2024, at 11:53 am, Thomas Carlin wrote: > > I spent some time looking at the vantage driver tonight, and I should have > been more clear. This is not a full driver, to replace the Vantage driver > or anything like that. I wrote this using the document

Re: [weewx-user] Convert values before loading into database

2024-10-03 Thread Thomas Carlin
uot;group_fraction": "ppm", >> "group_frequency" : "hertz", >> "group_illuminance" : "lux", >> "group_interval": "minute", >> "group_length" : "cm", >>

[weewx-user] Convert values before loading into database

2024-10-02 Thread Thomas Carlin
I have a sensor that is adding data to WeeWX with a custom driver. Unfortunately, the sensor provides values in various metric units, C, hPa, µg/m³, things like that. Obviously it is not a big deal to write these conversions into the driver, but i am curious if there is a prebuilt mechanism t

[weewx-user] Re: Fixing values in rainRate table

2024-08-16 Thread Thomas Carlin
uld i rebuild the daily summaries as part of this cleanup also? Thanks, On Thursday, August 15, 2024 at 9:32:44 PM UTC-6 vince wrote: > Each will be so fast running a couple commands won’t take long.. > > On Thursday, August 15, 2024 at 7:58:36 PM UTC-7 Thomas Carlin wrote: > &g

[weewx-user] Re: Fixing values in rainRate table

2024-08-15 Thread Thomas Carlin
t. Simply: update archive set rain=0.0 where rain is NULL; update archive set rainRate = 0 where rainRate > 0 AND rain=0.0; Is there a better way to fix all these things in one shot? Thanks again! On Thursday, August 15, 2024 at 8:39:06 PM UTC-6 Thomas Carlin wrote: > Hi All! I'v

[weewx-user] Fixing values in rainRate table

2024-08-15 Thread Thomas Carlin
Hi All! I've been playing with some skin modifications on my weather station again, and found some strange values in a few tables. Most of them i have been able to clean up without any issue, but I feel like there is more to the rainRate table. I found the following table of values, obviousl

[weewx-user] Re: set average readings to use different unit group than instantaneous readings

2020-02-09 Thread Thomas Carlin
. You are not changing units per se eg from m/s to kph to mph >> etc but merely the displayed fprmat - the underlying unit remains the same. >> >> >> >> On Saturday, 8 February 2020 06:17:06 UTC+2, Thomas Carlin wrote: >>> >>> Good evening again, &g

[weewx-user] set average readings to use different unit group than instantaneous readings

2020-02-07 Thread Thomas Carlin
Good evening again, The title pretty well says it all, I would like to set the average wind speeds to use a different unit groups. My vantage Pro2 reads wind speed in 1mph increments, so there is no need to output decimal points on those values, but I would like to be able to display more acc

Re: [weewx-user] Vantage Pro2 Wind average and RMS integers

2020-01-19 Thread Thomas Carlin
Never mind, John, you were absolutely right, weewx.conf had mile_per_hour = %.0f. corrected, restarted, and I'm good to go. Thanks for pointing out the obvious for me! -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this gro

Re: [weewx-user] Vantage Pro2 Wind average and RMS integers

2020-01-19 Thread Thomas Carlin
ringFormats > mile_per_hour = %.2f > mile_per_hour2 = %.2f > > > On Jan 19, 2020, at 7:35 PM, Thomas Carlin > wrote: > >  > Good evening, > > I know that the Vantage Pro2 reports wind speed in integer values, but the > average should calculate out t

[weewx-user] Vantage Pro2 Wind average and RMS integers

2020-01-19 Thread Thomas Carlin
Good evening, I know that the Vantage Pro2 reports wind speed in integer values, but the average should calculate out to a decimal value, however in my reports I only get the integer. I have checked my skin config file, and both mile_per_hour and mile_per_hour2 are both %0.2f, (2 decimal point

Re: [weewx-user] Re: How do i change the type of aggregation record that is created for a custom data source?

2019-09-02 Thread Thomas Carlin
Just wanted to confirm for any reading this later, After fixing my sensor issues, this change did exactly what I needed to do, and I am now seeing SUM values instead of average in the archive packets. Thanks again, On Sunday, September 1, 2019 at 5:27:27 PM UTC-6, Thomas Carlin wrote: >

Re: [weewx-user] Re: How do i change the type of aggregation record that is created for a custom data source?

2019-09-01 Thread Thomas Carlin
4 PM UTC-6, Thomas Keffer wrote: > > Hmmm. > > If you run weewxd directly from the console command line, what values do > you see go by on the console? > > On Sun, Sep 1, 2019 at 3:18 PM Thomas Carlin > wrote: > >> Thanks Tom, >> >> Thanks for the

[weewx-user] Re: How do i change the type of aggregation record that is created for a custom data source?

2019-09-01 Thread Thomas Carlin
at 3:20:00 PM UTC-6, Thomas Carlin wrote: > > Good afternoon, I hope everyone is enjoying their labor day weekend! > > I have a custom data source that I wrote a driver for, and have recently > changed it from pulling data when the archive packet is created, to when > the l

[weewx-user] How do i change the type of aggregation record that is created for a custom data source?

2019-09-01 Thread Thomas Carlin
Good afternoon, I hope everyone is enjoying their labor day weekend! I have a custom data source that I wrote a driver for, and have recently changed it from pulling data when the archive packet is created, to when the loop packet is received. This is working well, and everything is pulling co

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread Thomas Carlin
r. On Thursday, October 4, 2018 at 8:20:27 PM UTC-6, gjr80 wrote: > > On Friday, 5 October 2018 11:58:44 UTC+10, Thomas Carlin wrote: >> >> Perfect! thank you Gary! I knew it had to be something simple like >> that. Everything is up and running now, and I'll just nee

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread Thomas Carlin
record() and def > new_loop_packet() would be better. > > Gary > > On Friday, 5 October 2018 10:30:15 UTC+10, Thomas Carlin wrote: >> >> Hi Gary, >> >> I've started working on this service, and I have run into an issue. >> >> A quick refre

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread Thomas Carlin
kets and archive records it does tend to create a > little confusion, something like def new_archive_record() and def > new_loop_packet() would be better. > > Gary > > On Friday, 5 October 2018 10:30:15 UTC+10, Thomas Carlin wrote: >> >> Hi Gary, >> >> I

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread Thomas Carlin
Hi Gary, I've started working on this service, and I have run into an issue. A quick refresher so you don't have to read through the whole thread: I am writing an MQTT service to add data to the loop packets. You pointed me in the right direction with the NEW_LOOP_PACKET, and I'm 99% of th

[weewx-user] Re: Manually add min and max data

2018-09-11 Thread Thomas Carlin
Perfect Thank you Gary! That gets me what I need. Now I just need to reprogram all my sensors and my driver, or create another service to collect and queue data. I'm leaning towards MQTT, for its simplicity, speed, and scalability. This sounds more like a winter project to me! A couple quic

[weewx-user] Re: Manually add min and max data

2018-09-09 Thread Thomas Carlin
Hi Gary, All that makes sense, thank you. My service is coded directly from the documentation linked above, with the addition of a function to "somehow downloads the data", and I have included it below. One thing to note, I am not a programmer, I dabble as a hobby, so if there is something don

[weewx-user] Re: Manually add min and max data

2018-09-05 Thread Thomas Carlin
Thank you for your replies. A couple points of clarification: The main datasource for my station is a Vantage Pro2, and it is using weewx as designed, LOOP packets, etc. I have added a second data source as described here http://www.weewx.com/docs/customizing.htm#Adding_2nd_source, which s

[weewx-user] Manually add min and max data

2018-09-04 Thread Thomas Carlin
Good evening! I have extended my weewx instance with several sensors build on the ESP8266 platform with help from many in this community. I have built a driver based on the custom service documentation provided by TK and crew. This has been working wonderfully, and I am really enjoying the ex

Re: [weewx-user] Re: Adding archive data to daily report

2018-04-27 Thread Thomas Carlin
are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/FHuFLPrg_DE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > weewx-user+unsubscr...@goog

Re: [weewx-user] Re: Adding archive data to daily report

2018-03-31 Thread Thomas Carlin
Hi Chris, Sorry it took so long, I started a new job a few weeks ago, and hobbies have taken a back seat! Let me start by saying that all the information, and better descriptions of what is happening can be found in the Weewx Customization Guide that TK and the guys have put together. http://

Re: [weewx-user] Re: Adding archive data to daily report

2018-03-05 Thread Thomas Carlin
Hi Chris! Thank you for the kind words. I did not make this available anywhere, but I would be happy to post it here if you are interested. Keep in mind that I am not a programer by any stretch, but I haven't had any issues with it. The really cool extension on the history tab I didn't write

Re: [weewx-user] Re: Air quality sensors?

2018-01-07 Thread Thomas Carlin
Yes you can access the purple air data locally, I posted a link to their hidden document above. Something like /json. It will still send data to their cloud, but you won't be dependent on it to get your data, and you will be able to access it quickly. On Jan 7, 2018 6:39 PM, "Thomas Keffer" wrote

Re: [weewx-user] Re: Air quality sensors?

2017-12-06 Thread Thomas Carlin
t; for it. It shouldn't be too hard to pull the JSON and convert it to a > 2nd > > database in weewx (and in my InfluxDB as well). > > > > On Monday, December 4, 2017 at 8:51:03 AM UTC-8, Thomas Carlin wrote: > >> > >> I have not. It should be

[weewx-user] Re: Air quality sensors?

2017-12-04 Thread Thomas Carlin
I have not. It should be pretty easy with the google doc link above, and the documentation provided by TK and the crew here: http://www.weewx.com/docs/customizing.htm#Adding_2nd_source. You would just need to parse and sanitize the data coming in from the json output, and stuff it into the da

[weewx-user] Re: Air quality sensors?

2017-11-26 Thread Thomas Carlin
For anyone that is interested, I did finally get a response from the folks at purple air, and you can remotely access the data from the sensors in JSON format by going to http:///json. This sensor system seems to be an excellent compromise between system quality, price, and *hopefully* longevi

Re: [weewx-user] Re: Weewx crashing

2017-11-22 Thread Thomas Carlin
017b474434032919a0310a0d6bd> > > > -tk > > On Mon, Nov 20, 2017 at 9:47 PM, Thomas Carlin > wrote: > >> True, didn't think about that. It's dirty, but >> >> str(val) == 'nan' >> >> would work also. Aside from isnan(), that is t

Re: [weewx-user] Re: Weewx crashing

2017-11-20 Thread Thomas Carlin
True, didn't think about that. It's dirty, but str(val) == 'nan' would work also. Aside from isnan(), that is the most readable solution that I am aware of. On Monday, November 20, 2017 at 8:33:28 PM UTC-7, gjr80 wrote: > > Might have to be careful we don't break python 2.5 compatibility, I

[weewx-user] Re: Air quality sensors?

2017-11-20 Thread Thomas Carlin
I have been looking for air quality sensors also, and the one that peaked my interest is the PurpleAir: https://www.purpleair.com/ Unfortunately, none of their documentation says anything about local access, but I have found documentation for pulling the data out of thingspeak. The downside

Re: [weewx-user] Re: Weewx crashing

2017-11-20 Thread Thomas Carlin
26c7ae0> > . > > -tk > > On Mon, Nov 20, 2017 at 4:45 PM, gjr80 > > wrote: > >> Well I am embarrased to say that to say I did not know about nan/NaN and >> python, today's lesson I guess. >> >> Gary >> >> On Tuesday, 21 Novem

Re: [weewx-user] Re: Weewx crashing

2017-11-20 Thread Thomas Carlin
It might also be worthwhile instrumenting your driver > to drop the emitted loop packet to the log so we can see exactly what is > coming out of the driver in the leadup to the exception. > > Gary > > > On Monday, 20 November 2017 08:33:28 UTC+10, Thomas Carlin wrote: >&g

Re: [weewx-user] Re: Weewx crashing

2017-11-19 Thread Thomas Carlin
d you create a NaN? They are not returned from any of the > Python mathematical functions. > > -tk > > On Sun, Nov 19, 2017 at 2:04 PM, Thomas Carlin > wrote: > >> I'm pretty sure this is what is happening. Take a look at the output >> below: >>

[weewx-user] Re: Weewx crashing

2017-11-19 Thread Thomas Carlin
it is fed to event.record()? On Sunday, November 19, 2017 at 10:59:29 AM UTC-7, Thomas Carlin wrote: > > The plot thickens. Right before I went to bed this morning, I checked the > current daily summary record for extraTemp3, and it looked as you would > expect it to. It had data i

[weewx-user] Re: Weewx crashing

2017-11-19 Thread Thomas Carlin
The plot thickens. Right before I went to bed this morning, I checked the current daily summary record for extraTemp3, and it looked as you would expect it to. It had data in it for both sum and wsum, unlike the one posted above. Roughly an hour later, Weewx crashed with the same error, and

[weewx-user] Re: Weewx crashing

2017-11-18 Thread Thomas Carlin
Well, so much for that theory. About 7:35p it crashed again. But unplugging the device that generates that data has allowed it to run normally again. However, based on your response the last record in this output would be the culprit then correct? If my count is correct, both sum and wsum

[weewx-user] Re: Weewx crashing

2017-11-18 Thread Thomas Carlin
I did a little more playing with this today, and determined that the problem is with extraTemp3, which I just started using, but is built into the system. That being the case, I decided to drop and re-build the daily summaries, just for fun. My theory being that was done right before the issu

Re: [weewx-user] wview migration: serial server compatibility?

2017-11-18 Thread Thomas Carlin
On Saturday, November 18, 2017 at 1:41:41 PM UTC-7, vince wrote: > > I'd be very interested in writeups of these kinds of setups that enable > the VP2 console to be situated far away in the house from the actual > computer running weewx. > It's not really a write up but: My setup is very simpl

Re: [weewx-user] wview migration: serial server compatibility?

2017-11-18 Thread Thomas Carlin
This should work just fine. I have my Vantage Pro2 hooked up via IP using a home brewed ESP8266 for a WiFi connection. Essentially, it takes the Serial stream, and converts it directly to IP, and the reverse for sent commands. Just make sure your IP and port are correct in your configuration

[weewx-user] Re: Weewx crashing

2017-11-17 Thread Thomas Carlin
Hey Gary, The config file is below. I didn't think about it yesterday, but I am using the history generator script (found here ). I have modified the schema to include a few extra data sources, but if i unde

[weewx-user] Re: Weewx crashing

2017-11-16 Thread Thomas Carlin
Sorry, Debian 9.2, Stretch, fully updated. I misread /proc/version On Thursday, November 16, 2017 at 8:56:28 PM UTC-7, Thomas Carlin wrote: > > Hey Tom et al., > > I have an issue with Weewx, which has been running well until yesterday. > I am running it on Debian 6.3.0-18, f

[weewx-user] Weewx crashing

2017-11-16 Thread Thomas Carlin
Hey Tom et al., I have an issue with Weewx, which has been running well until yesterday. I am running it on Debian 6.3.0-18, fully up to date with a Vantage Pro 2. Weewx was installed through apt-get, and is fully up to date. I do have several modifications, including adation sensors that I

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-30 Thread Thomas Carlin
eck for yourself by printing out > timespan, then looking in your database for the day starting with the > printed starting time. > > -tk > > On Fri, Jun 30, 2017 at 6:45 PM, Thomas Carlin > wrote: > >> I am specifically wondering why it gets N/A the first time, and I

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-30 Thread Thomas Carlin
Does that help? > > -tk > > > > On Fri, Jun 30, 2017 at 5:38 PM, Thomas Carlin > wrote: > >> Okay, so I distilled the code down to the bare minimum, and still get the >> same results, (returning N/A the first time it runs for each report cycle), >> and ha

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-30 Thread Thomas Carlin
Okay, so I distilled the code down to the bare minimum, and still get the same results, (returning N/A the first time it runs for each report cycle), and have included it below. I know that this SLE doesn't actually add anything, but since it has the same symptoms I am trying to diagnose, it s

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-30 Thread Thomas Carlin
What other information do you need? On Fri, Jun 30, 2017 at 8:21 AM, Thomas Keffer wrote: > On Fri, Jun 30, 2017 at 7:15 AM, Thomas Carlin > wrote: > >> Any thoughts on the query needing to be run 3 times before I get any data? >> >> > ​I would need more

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-30 Thread Thomas Carlin
argument 'outTemp'. There is no array > involved --- it's all attribute expressions. > > -tk > > On Thu, Jun 29, 2017 at 8:05 PM, Thomas Carlin > wrote: > >> Hey Guys, >> >> Finally picking this back up again, and have run into a bit of a snag.

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-29 Thread Thomas Carlin
Hey Guys, Finally picking this back up again, and have run into a bit of a snag. I think it is a syntax issue, but I can't figure out how to take latest = stats.day().outTemp.last and turn it into latest = stats.day().array['valid_data_source'].last so I can use it in a function, and pass

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-25 Thread Thomas Carlin
stats.day().outTemp.last Last temperature for the day. > stats.day().outTemp.avgAverage temperature for the day > stats.day().outTemp.max Maximum temperature, etc. > > These aggregation types (last, avg, etc.) are not functions, so they > should not require parentheses. > > -tk

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-25 Thread Thomas Carlin
t time. I should note that " > latest <https://github.com/weewx/weewx/blob/v3.7.1/bin/weewx/tags.py#L364>" > is also a function, so it will also have to be called as one. The > expression becomes > > stats.day().outTemp.latest() > > > If you follow the links for d

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-25 Thread Thomas Carlin
has_data > #set $current_UV = $current.UV.raw > > UV > #if $current_UV <= 2.4 > $current.UV > #else if $current_UV >= 2.5 and $current_UV <= 5.4 > $current.UV > #else if $current_UV >= 5.5 and $current_UV <= 7.4 > $current.UV >

Re: [weewx-user] Custom Search list, use already defined tag

2017-06-25 Thread Thomas Carlin
, > skin_dict=self.generator.skin_dict) > > latest = stats.day.outTemp.latest > > This is basically all Cheetah is doing! > > Hope this helps. > > -tk > > > On Sat, Jun 24, 2017 at 8:39 AM, Thomas Carlin > wrote: > >> Good morni

[weewx-user] Custom Search list, use already defined tag

2017-06-24 Thread Thomas Carlin
Good morning everyone, I have a custom search list extension that I am working on to do some analysis on my collected data, and I have it to the point that I am pulling the data out, and can manipulate it, but to do so, I had to define my own timespan/binder inside my script. (The historygener

[weewx-user] Re: Creating custom graphs to display archive data

2017-02-09 Thread Thomas Carlin
That is pretty much what I expected. While I am not a programer by training or by trade, I do dabble from time to time, and as time allows, I might dig around and see if I can come up with anything. I haven't looked through the developer docs yet, but do you have any thoughts or insight on ho

[weewx-user] Creating custom graphs to display archive data

2017-02-09 Thread Thomas Carlin
I have a couple questions about image generation that doesn't seem to be covered in the docs anywhere. I would like to be able to create images with the same data value, but from multiple time ranges. For the yearly say, have the last 365 days as one line, but then have another line that has th

Re: [weewx-user] Re: Adding archive data to daily report

2017-02-05 Thread Thomas Carlin
That did the trick. Thanks again Tom -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://grou

Re: [weewx-user] Re: Adding archive data to daily report

2017-02-05 Thread Thomas Carlin
Hopefully my last question for this project. If you are interested in the progress, the link in my first post includes the added history sections. I have defined several new tags in examples/ArchiveSearch.py today_last_year week_last_year mont_last_year last_year last_year_to_date and those all

Re: [weewx-user] Re: Adding archive data to daily report

2017-02-04 Thread Thomas Carlin
Thanks Tom, I knew it had to be there somewhere! On Saturday, February 4, 2017 at 1:38:49 PM UTC-7, Tom Keffer wrote: > > http://weewx.com/docs/customizing.htm#wee_reports > > -tk > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscri

[weewx-user] Re: Adding archive data to daily report

2017-02-04 Thread Thomas Carlin
I'm making pretty good progress on this, but it is slow going to troubleshoot my extension script since I have to wait for the Cheetah Generator to run. Is there any way to run that process manually? Many thanks! -- You received this message because you are subscribed to the Google Groups "w

[weewx-user] Re: Adding archive data to daily report

2017-02-02 Thread Thomas Carlin
That was the missing link, and should get me going in the right direction! Hopefully I'll have a chance to play with it this weekend a bit. Thanks Gary! -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop re

[weewx-user] Adding archive data to daily report

2017-02-01 Thread Thomas Carlin
First I would like to thank TK and everyone else who has contributed to this project. It is a fantastic project, and great to see an active community. I have been playing with modifying the reports to fit my wants, and one thing that I would like to do is be able to display historical record