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

2020-02-09 Thread Thomas Carlin
u 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, >

[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

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

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

2020-01-19 Thread Thomas Carlin
> 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 to a decimal val

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
, 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 fast r

[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
: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 >

[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

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

2018-10-04 Thread Thomas Carlin
, 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 need to catch the

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

2018-10-04 Thread Thomas Carlin
nd 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 refresher so

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

2018-10-04 Thread Thomas Carlin
d 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've starte

[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

[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

[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

[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

[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

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

2018-04-27 Thread Thomas Carlin
cribed 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...@googlegroups.com

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.

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"

[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

[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*

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 <thomas...@gmail.com > > wrote: > >> True, didn't think about that. It's dirty, but >> >> str(val) == 'nan' >> >> would work also. Aside from isnan(),

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
t; -tk > > On Mon, Nov 20, 2017 at 4:45 PM, gjr80 <gjrod...@gmail.com > > 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 November 2017

Re: [weewx-user] Re: Weewx crashing

2017-11-20 Thread Thomas Carlin
le 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: >> >> Hey Tom &

Re: [weewx-user] Re: Weewx crashing

2017-11-19 Thread Thomas Carlin
are not returned from any of the > Python mathematical functions. > > -tk > > On Sun, Nov 19, 2017 at 2:04 PM, Thomas Carlin <thomas...@gmail.com > > 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 in it

[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

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

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

[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

[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
he first call. You can check 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 <thomascarl...@gmail.com> > wrote: > >> I am specifi

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 <tkef...@gmail.com> wrote: > On Fri, Jun 30, 2017 at 7:15 AM, Thomas Carlin <thomascarl...@gmail.com> > wrote: > >> Any thoughts on the query needing to be run 3 times before I get any

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

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

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
ure 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 > > > On Sun, Jun 25, 2017

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

2017-06-25 Thread Thomas Carlin
atest <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 day and latest, you can see what optiona

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

2017-06-25 Thread Thomas Carlin
rent_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 > #else if $current_UV >

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

2017-06-25 Thread Thomas Carlin
kin_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 <thomas...@gmail.com > > wrote: >

[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

[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

[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

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

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

[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