Weather Software > Station Software Development

Envoy8x, Wunderground and CWOP

(1/3) > >>

mcpell:
This is my first post to this forum!

I had a LaCrosse WS2315 weatherstation that I connected to my computer and used Cumulus for a while.  I uploaded my data to wunderground.com and cwop as well as my personal web site.  The station died and I replaced it with a Davis Vantage Pro2 6153.  I acquired an Envoy8x as well since I wanted the console to be in one location and my computer in another.

Unfortunately, what I realized is that the Envoy8x neither has the ability to work with the WeatherLink software nor other weather station software.  While I haven't written code in a while, I am a software developer by trade and rather than sending the envoy8x back I decided to write my own software.  I have figured out how to upload to wunderground.com as well as CWOP.  I am posting this to make others aware such that if you are interested I can send you my code.  

The nice thing about the Envoy8x is that it writes everything to a database.  I have a SQL Server 2008 R2 database that I've got the data being logged to and so the code, written in C#, is designed to work with a SQL Server database.  I have two chunks of code.  The first is a CLR Trigger written for SQL so that when a new row of data is added to the database it gets uploaded to wunderground.  The other is a simple console app that runs using the windows task scheduler every five minutes, grabs the latest record from the database and uploads it to CWOP.

I created a custom view along with some custom functions to generate some of the data required for these services like rainfall over last hour, last day, last 24 hours, etc.

Has anyone else done any work with the Envoy8x?  I'm probably going to start working on a client application to do the tradition charting/graphing stuff.

Enjoy,
McP

SlowModem:
I'm sure there are some people here on this forum that understand what you're saying.  But, welcome anyways and enjoy your stay!  :D

mcpell:
Since this was the Station Software Development forum I figured I didn't need to do to much explaining.  That said, for the benefit of others...


* C# is a programming language that leverages the Microsoft.NET Framework.  It is a hybrid of Java and C++ from a syntax standpoint.
* SQL Server 2008 R2 is Microsofts current relational database.  The WeatherLink Data Transfer Utility (WDTU) from Davis can write to MS Access, MySQL and SQL Server.
* A trigger is a chunk of code that can run when a new row of data is inserted, updated, deleted, etc from a database.  The CLR, or Common Language Runtime, is Microsoft's runtime that code written for the .NET Framework executes within.  While triggers are traditionally written in T-SQL language a CLR trigger is written in C#, VB.NET or any other CLR language and allows you access to the full breadth of functions/syntax of the framework.
* A console application is a traditional command line application that doesn't have a user interface.
Hopefully I hit on those things that wouldn't be understood by the majority of folks.

Enjoy,
McP

nolversteeg:
Hello McP,

You are doing a great job. I'm struggling wit the envoy8x too and so far its working all written in PHP and SQL, but my knowledge of writing software is minimum, so it cost a lot of computer time to build up my website every minute, I think that you are the first to write software for the 8x I was trying to get the service maintenance manual from Davis but they don't have it yet.

so I'm very interested in the software. for giving me a kick in the right direction.

Thank's in advance.

www.meteoeersel.nl
nolversteeg@chello.nl

nolversteeg:
Hello McP,

What I forgot to tell is that there is a new software release for the WDU it has a build in task scheduler .

greetings Nol

Navigation

[0] Message Index

[#] Next page

Go to full version