Weather Display and weewx

282 views
Skip to first unread message

Jon Fear

unread,
Mar 9, 2024, 9:42:49 AM3/9/24
to weewx-user
Hi folks

It is time for the silly question to be asked.

I have a Vaisala WXT536 which is well supported under Weather Display whereas the support is limited here under weewx. Not a criticism given it is such a unique high value device which will have limited appeal.

Is there a way of taking the WD output and using it in Weewx? There, It was a silly question!

I don't really want to run a VM with WD on it but may have too. Either that or swap the Vaisala for something like a VP2...

Thoughts? 

Jon , in the UK, an incredibly thick 2nd line engineer!

Tom Keffer

unread,
Mar 9, 2024, 10:50:13 AM3/9/24
to weewx...@googlegroups.com
Nice station.

Did you try Matthew Wall's driver? https://github.com/matthewwall/weewx-wxt5x0

Also, if it has an MQTT interface, you could integrate it into WeeWX that way.

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1ce985cf-d298-45ac-80ef-ba336777f9f0n%40googlegroups.com.

D R

unread,
Mar 9, 2024, 3:20:43 PM3/9/24
to weewx...@googlegroups.com
I am getting a Campbell Scientific running with major help from a user who has accomplished that already but am thinking while focused drivers are no doubt the best interface, I was next going to try using Weather Display to write the clientrawtext.txt file and the modify Mr Wall 's file parser to pull in the values to present to weewx. With my skills it is likely to be late summer Northern hemisphere before anything is working so feel free to come up with a correct driver. If you do, please share.  Dale 

Jon Fear

unread,
Mar 9, 2024, 5:41:18 PM3/9/24
to weewx-user
Hi Dale

Not sure |I have seen the file parser, need to look at that. Using the clientraw file would be a good idea. It does everything I need. Also shared with others around the district to monitor variations and differences.

I am using Matt's driver but it si not doing the whole job and frankly I would prefer that he helps look after the many and not the few (like me!)! Tom and Matt are shall we say rather busy ATM...Seriously guy's, well done on a pretty good major release. Nothing goes right 1st time...

BW

Jon 

Jon Fear

unread,
Mar 10, 2024, 5:09:52 PM3/10/24
to weewx-user
Dale,

Can you let me have a link for the file parser as I am missing it here. I will take a look and get some help from a python expert at work to get some guidance..

Jon

DR

unread,
Mar 10, 2024, 6:50:21 PM3/10/24
to weewx...@googlegroups.com

The fileparse driver is perhaps the simplest example of a WeeWX driver. It reads name-value pairs from a file and uses the values as sensor 'readings'. The code is actually packaged as an extension, located in examples/fileparse, making it a good example of not only writing a device driver, but also of how to package an extension. The actual driver itself is in examples/fileparse/bin/user/fileparse.py.


This is what was in the WeeWx 5 drivers discussion. 

I was going to take the more rigid approach and have the driver not do all the pair matching, but brute force it to say that at position [1} is the date-time, position [2] is barometer, etc.


I think that I was overwhelmed not knowing Python and seeing the very general and flexible code which searches the file for a matching descriptor and then reads the corresponding value.  I'm just going to say position 1 is where datetime is in the string, position 2 is where the barometer is, 3 is humidity, etc.

It means a very rigid expectation for the file structure but hey, I'm just trying to get it to work and elegant it isn't, and the TWI driver sort of works that way, and so would my RM Young 28600 translator, and so is John Craig's Campbell Scientific CR300 code he has working. 


That's my plan, but I hope you have better coding skills than I do (but this  motivates me to learn and try to understand) so this is a bonus to get to know Python and feel I really have accomplished something.

I hope this gets your creative programming going and will have a driver to share very soon with the rest of the users hoping to adapt something like this.

Dale


DR

unread,
Mar 16, 2024, 9:24:02 PM3/16/24
to 'Jon Fear' via weewx-user
Just to follow  up.

Were  you able to find the fileparser driver from the info I sent you?

And I saw that they also recommended studying the simulation driver, too.


I hope my email doesn't goof  up again, and loose some bookmarked
messages, so I just wanted to check in.   Dale


DR

unread,
Jul 5, 2024, 3:14:24 PM7/5/24
to 'Jon Fear' via weewx-user
Hey, still fiddling with various drivers for WeeWx.


Did you ever get anything to work with your project?

If so, I'm hopeful you might share the driver so I could study it.

Thx.  Dale


Reply all
Reply to author
Forward
0 new messages