Making a Envoy 8x work with weewx

239 views
Skip to first unread message

Chris Newton

unread,
May 21, 2013, 2:25:03 PM5/21/13
to weewx...@googlegroups.com

It doesn’t appear there is anything out without writing custom software that will give me a pretty, well organized, and flexible visual representation of leaf, soil, ISS data for an 8 station Envoy 8x setup.  I have time, and I need to make something work in the next few weeks.  I would rather not reinvent the wheel, so I’d like to use weewx where possible.


My current thought is to set up a decent Windows box in the Davis prescribed way using WDTU(Weather Data Transfer Utility) to pump data into a MySql database.  I then need to translate the data from the format Davis creates to the format weewx uses.  

Is this realistic?

I do not understand the inner workings of weewx enough, and I’d love for someone to point me in the right direction before I dive in.


I will most likely run VMWare Workstation on the Windows box and run linux on top of that, so the MySql database that WDTU will be pumping data into will already be a linux based MySql instance.  Possibly I could even use triggers to populate the weewx equivalents in real time.


The alternative of course is to reverse engineer or find the docs on how to read data from the Envoy 8x directly from Linux.  I’m guessing there is a very good reason this has not been done yet in the 1+ years the Envoy 8x has been out.  I am a veteran linux admin and don’t appreciate having to deal with Windows when not necessary.


Any help appreciated.  I will document the solution I come up with and will spend the time to do it properly for anybody else trying to this.


thanks for the software Tom and thank you for any responses in advance,

Chris


Oz Greg

unread,
May 21, 2013, 6:12:02 PM5/21/13
to weewx...@googlegroups.com
Hi Chris,

You could do this a few ways, pump the data directly into the archive and stats DB, write the data into a TXT file and use csvConvert via say a cron to load the data via weewx or write your own logging and directly insert the data that way via what ever format Davis output's it data..

Be aware Brian over @ Weather Display is struggling to get the 8x to directly communicate to WD so I am expecting this is not a simple process to do so maybe using the Davis Logger might be the simpler way to get the end result..

Good luck and if you get the basics working, I am sure that Tom will love to see your work to incorporate back into weewx.

Chris Newton

unread,
May 22, 2013, 1:17:44 AM5/22/13
to weewx...@googlegroups.com
Thanks Greg,
Useful information. Every little detail is likely to save me a day of struggle.  Tom sent a note that he is waiting for API info from Davis.  It was not clear if he just sent the request or sent it months ago.  The unit is up in Napa at a friends house.  Trying to get remote access established to it before a 1 month trip to South America next week.  If I do I'll have plenty of time to mess with it from there.
Thinking the Windows/VMWare with linux on top, MySql on linux and go from there with your recommendations. 
thanks again,
Chris




--
You received this message because you are subscribed to a topic in the Google Groups "Weewx user's group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/W8vJ-jqK1hk/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Oz Greg

unread,
May 22, 2013, 8:31:51 PM5/22/13
to weewx...@googlegroups.com
You have another path sadly not a weewx one -> http://wiki.meteohub.de/Introduction  From what I read on the WD thread that Davis does not have any documentation so they reversed engineered a solution and it looks like that has not changed..

If I was going to attempt this I would get the davis logger write to a SQL db and write a logger program in weewx to read the data and to simulate a loop which is what weewx uses to load it's data.. 

If you look at the WX project (https://bitbucket.org/lirpa/wx/overview) you can see this is exactly what they have done.. 

Good luck what you are attempting is a mouthful :-)

Thomas Keffer

unread,
May 22, 2013, 8:36:31 PM5/22/13
to weewx-user
Hi, Greg

'Wx' is Peter Finley's project and he does indeed use the weewx Davis driver. The major addition he has made is a FIFO database storing the raw, LOOP data. But, the data is all from weewx.

-tk


--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Tom Keffer
kef...@threefools.org
+1 541-386-8891 (h)
+1 541-490-9507 (c)
Skype: tkeffer

Oz Greg

unread,
May 23, 2013, 6:45:25 PM5/23/13
to weewx...@googlegroups.com
Sorry I did not mean to suggest the WX has it's own driver, I was more pointing out the concepts that WX has in play..  

I believe the simulator.py could be adapted to load data..
Reply all
Reply to author
Forward
0 new messages