Author Topic: Ws28xx exchange  (Read 5262 times)

0 Members and 1 Guest are viewing this topic.

Offline pschnell

  • Member
  • *
  • Posts: 26
Ws28xx exchange
« on: November 29, 2010, 01:33:29 PM »
Hello,

I found this end week that Ws28xx communicate with PC via a temporary file : WV5DataStore. this file it's in the same folder that currdat.lst.

This file is update with a window service : WV5Communication (Backend.exe in heavy weather program file).

Some body know structure of this WV5DataStore ?

Best regard

Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Ws28xx exchange
« Reply #1 on: November 29, 2010, 02:08:21 PM »

That is interesting, I wonder if it is a variant of the history.dat file that is picked up by the application? The reason I say that is because this backend.exe is apparently the process that communicates with the console and is writing the currdat.lst. Unless HW Pro has some other back door mechanism to communicate with the console, it must be pulling the historical data from somewhere.

Let me know if you find out what is hiding in this file.

Thanks.

Offline pschnell

  • Member
  • *
  • Posts: 26
Re: Ws28xx exchange
« Reply #2 on: November 29, 2010, 02:21:35 PM »
Hello,

Yes this service write currdat.lst file. But WV5DataStore is more complex. I suppose all currents datas are in, but also all all history data-logger.

I have find that this file is very short when no connexion is. When a connexion is established, this file is more fully.


Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Ws28xx exchange
« Reply #3 on: November 29, 2010, 02:34:01 PM »

It does appear that the HW application is talking to the service using a DLL called sHID.dll that is shipped with their installer.

Here are the functions within that DLL:

_sHID_EraseConfigFlash@4
_sHID_EraseDataFlash@4
_sHID_Execute@8
_sHID_Find@16
_sHID_GetFrame@12
_sHID_GetReport@12
_sHID_GetRevInfo@8
_sHID_GetState@8
_sHID_ReadConfigFlash@16
_sHID_ReadDataFlash@16
_sHID_ReadReg16@12
_sHID_ReadReg@12
_sHID_SetFrame@12
_sHID_SetPreamblePattern@8
_sHID_SetRX@4
_sHID_SetState@8
_sHID_SetTX@4
_sHID_WriteConfigFlash@16
_sHID_WriteDataFlash@16
_sHID_WriteReg@12
_sHID_create@0
_sHID_destroy@4

It is hard to say what is in that file WV5DataStore. Have you tried opening the file with Notepad or better yet, a binary file editor?

Offline pschnell

  • Member
  • *
  • Posts: 26
Re: Ws28xx exchange
« Reply #4 on: November 29, 2010, 02:42:17 PM »
Yes, I have found this entry point (not all for me). But this entry is for the service WV5Com. I Think, it's not a good search. I have See that WV5Com continu to work when not HW.
So for me, Why not used this service and try to decode WV5DataStore. An other search is Window messages beethen HW and service.

For open WVDataStore , I have open it with notepad and next week, I try to make a event on modification on this file.

« Last Edit: November 30, 2010, 12:22:20 PM by pschnell »

Offline pschnell

  • Member
  • *
  • Posts: 26
Re: Ws28xx exchange
« Reply #5 on: December 21, 2010, 12:55:09 PM »
Hello,

I have try to join LaCrosse for Ws28xx protocol.

There reponse is :

> Case Number: 245552
> Please refer to this case in all future correspondence.
 
> Regarding Model Number: WS-2810U-IT
> (Please contact us if the model above is not correct and complete).
 
> Software communication is considered propriatray and is not open.
 
> For efficient processing when responding to this e-mail please use your email program's "Reply" option to maintain the email thread. Please do not change the > subject line of your email.
 
> If you have not already done so, please provide your full name and contact information. This will enable us to serve you better and more efficiently.

It's Clear.
Lacrosse Technology ](*,) is unresponsive to user exits to provide software crap. So if you want to buy a ws28xx and link with a Mac or Linux, do not expect anything.


Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Ws28xx exchange
« Reply #6 on: December 21, 2010, 01:05:01 PM »

Yes, that is why I will not recommend a La Crosse or OS to anyone.

We need to ban together and refuse to buy from them until they open up their protocols.

Davis Vue is open, Peet is Open, use your voting dollars wisely.

Offline Scalphunter

  • Forecaster
  • *****
  • Posts: 2314
Re: Ws28xx exchange
« Reply #7 on: December 21, 2010, 01:20:05 PM »
 People here are just an handful there lot of folks out there running stations that never hook up to internet and move data  so that is an protest you will never win. Be kinda like those odf us in Alaska trying to get Davis to  make the thermometer go  to 50 or 60 below  rather then there 39.3 below and quit.

Offline wuhu_software

  • Forecaster
  • *****
  • Posts: 689
    • WUHU Software Yahoo Group
Re: Ws28xx exchange
« Reply #8 on: December 21, 2010, 05:21:58 PM »

Well, if we post enough reviews, like on Amazon, that may change.

Offline szopler

  • Member
  • *
  • Posts: 2
    • Meteo Siedlce
Re: Ws28xx exchange
« Reply #9 on: December 23, 2010, 06:07:48 PM »
There is one way to get weather data and show it on the web...

HW Software always on top receiving data from the station.
Another program that converts *.dat file (last record from it I mean) to txt, xml or sending data to mysql database.
Information about structure of the *.dat file is on the web - ask uncle google or look under ;)

For the LaCrosse WS2800 IT (and probably for some of WS3xxx):

File without header. One record - 56 bytes block.
8 Bytes (double) - DateTime (Delphi type)
4 Bytes (float) - Absolute Pressure (or constant = 10101010 - not real pressure)
4 B..... (float) - Relative Pressure
4 B..... (float) - Wind Speed
4 B..... (float) - Wind Direction
4 B..... (float) - Wind Gust
4 B..... (float) - Absolute Rain
4 B..... (float) - Relative Rain
4 B..... (float) - Indoor Temperature
4 B..... (float) - Outdoor Temperature
4 B..... (float) - Internal Humidity
4 B..... (float) - Outdoor Humidity
4 Bytes - Unused
« Last Edit: May 07, 2012, 04:05:10 PM by szopler »
BOINC@Poland - the best Polish BOINC team :)

Offline szopler

  • Member
  • *
  • Posts: 2
    • Meteo Siedlce
Re: Ws28xx exchange
« Reply #10 on: May 04, 2012, 07:24:21 PM »
Any new info about how to use sHID.dll? Somebody broke this?

Best regards from Poland!
« Last Edit: May 07, 2012, 04:06:59 PM by szopler »
BOINC@Poland - the best Polish BOINC team :)

 

anything