Any interest for a WC8 firmware for PWS?

CAI_Support

Senior Member
It seems not too hard for us to modify the standard PLC firmware to be a Weather Underground personal weather station, to report temperature, humidity, UV rate, barometer, etc with connected optional sensors.  If there are enough interest, we could make a special firmware letting users to do firmware update to turn a WC8 board into a PWS. 
 
The sample reporting string like this:

http://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XXXXXX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw


 
In which ID can be the board name, password can be the board password,  We need to define a sequence for which parameter to report, like T1 for tempf, H1 for humidity, VAR1 for solarradiation, VAR2 for baromin, etc,  If you have any suggestion, we could put it into consideration.
 
 
 
 
My WC8 reports all that to my ISY994i HA board via the REST interface.
 
I get high wind, high  gust, high and low temperatures inside my shop building,  emails and text messages and text message notifications from the ISY unit. The humidity sensor never worked reliably on the 1wire interface so I discontinued trying. Not a big deal for weather data.
 
It sits on a router, acting as a bridge, communicating with  my home  router on my  LAN.
 
Likewise, I've multiple weatherstations around the country that are reporting to various places but including WU, PWS, WOW, Weatherbug and others.
The WC8 doesn't have enough configurability to send the parameters in one http GET request, but I'm sure that could be overcome with custom firmware.
I use the WC8 boards with my own server-side stuff to get all the data, and to post from there to the various weather sites indirectly.
 
Ross,
 
We looked the code, it seems on WC8 to put out whole string with every parameter is not possible, due to lack of RAM. It is possible to do it on WC32.
WC8 could be changed to put out one parameter at a time, but don't know if weather underground site allowing that way.
 
CAI_Support said:
Ross,
 
We looked the code, it seems on WC8 to put out whole string with every parameter is not possible, due to lack of RAM. It is possible to do it on WC32.
WC8 could be changed to put out one parameter at a time, but don't know if weather underground site allowing that way.
 
I was thinking about this this morning.
The GET request format is unencrypted, but it does require a whole bunch of parameters, which cannot currently be returned by the WC8 (limitation of one variable).
 
Since TCP itself will do packet (re)assembly, it should be possible to send the full request in multiple packets, which means the WC8 could actually process the command one variable at a time and send parts of the total request as it can...
 
With that in mind, would it be possible to have a "Notify" Web URI of the form something like (for example)

   /path/submit.cgi?val=$VAR1&thing2=$VAR2&thing3=$RAM10  (etc), where each $VAR2, $RAM10 etc is replaced by the variables value at the time of execution.
 
With the requirement for minimum reporting with four parameters, that including action, ID, password, and UTC, where action is fixed "updateraw" , dateutc can be "now" to let server figure out the time based on ID sign up location.  Then user add one parameter to report at a time, It is still doable.  But that is pretty tight to support both regular WEBSET and weather reporting.
 
Back
Top