Hello.
I'm sorry for my english.
The Institute are developing stand.
Measure performance in different weather conditions.
To obtain data using metio WMR88.
Write a program in Delphi.
Write a procedure to USB HID device, but can not decode and manipulate the data reception.
Prompt please decryption.
Program will be used only for the institute.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
WMR88 USB Дата protocol
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: WMR88 USB Дата protocol
See this: http://www.dg1sfj.de/hardware/hw_wmr100_protokoll.html and the WMR100 spreadsheet in this thread: https://cumulus.hosiene.co.uk/viewtopic.php?f=16&t=5912
Is Cumulus not suitable for your purposes?
Is Cumulus not suitable for your purposes?
Steve
-
JTlex
- Posts: 3
- Joined: Mon 05 Dec 2011 1:28 pm
- Weather Station: WMR88
- Operating System: Windows XP
- Location: Russia
Re: WMR88 USB Дата protocol
Thanks for the linkssteve wrote:See this: http://www.dg1sfj.de/hardware/hw_wmr100_protokoll.html and the WMR100 spreadsheet in this thread: https://cumulus.hosiene.co.uk/viewtopic.php?f=16&t=5912
Is Cumulus not suitable for your purposes?
Wrote the program. Sent to the device:
20 00 08 01 00 00 00 00
Prehvatil data from the device:
02 F8 00 00 0C 01 01 09
01 FF 00 00 0C 01 01 09
01 FF 00 00 0C 01 01 09
07 00 60 04 00 16 0B 06
05 0C 0B 02 A4 00 0B 06
01 FF 0B 02 A4 00 0B 06
05 FF 00 46 E9 03 0B 06
04 E9 03 1E 02 03 0B 06
01 FF 03 1E 02 03 0B 06
04 FF 00 48 07 03 0B 06
07 0C 1C C0 01 01 80 B9
01 01 1C C0 01 01 80 B9
01 FF 1C C0 01 01 80 B9
01 FF 1C C0 01 01 80 B9
07 00 42 80 E1 00 20 32
05 00 00 20 15 02 20 32
01 FF 00 20 15 02 20 32
01 FF 00 20 15 02 20 32
06 00 48 07 0C 1C C0 32
05 01 01 80 B9 01 C0 32
01 FF 01 80 B9 01 C0 32
01 FF 01 80 B9 01 C0 32
07 00 42 C1 16 00 5F 14
05 00 00 20 AC 01 5F 14
01 FF 00 20 AC 01 5F 14
03 FF 00 60 AC 01 5F 14
07 04 00 17 0B 06 0C 0B
03 02 A5 00 0B 06 0C 0B
01 FF A5 00 0B 06 0C 0B
05 FF 00 46 E9 03 0C 0B
04 E9 03 1E 02 03 0C 0B
01 FF 03 1E 02 03 0C 0B
01 FF 03 1E 02 03 0C 0B
07 00 42 80 E1 00 20 32
05 00 00 20 15 02 20 32
01 FF 00 20 15 02 20 32
03 FF 00 48 15 02 20 32
07 06 0C 19 90 01 00 00
02 04 01 19 90 01 00 00
01 FF 01 19 90 01 00 00
05 FF 00 41 00 00 00 00
07 00 00 00 00 9F 01 00
06 0C 01 01 09 F8 00 00
01 FF 01 01 09 F8 00 00
01 FF 01 01 09 F8 00 00
07 00 60 04 00 18 0B 06
05 0C 0B 02 A6 00 0B 06
01 FF 0B 02 A6 00 0B 06
03 FF 00 46 A6 00 0B 06
06 E9 03 E9 03 1E 02 06
01 FF 03 E9 03 1E 02 06
07 FF 00 42 80 E1 00 20
06 32 00 00 20 15 02 20
01 FF 00 00 20 15 02 20
03 FF 00 48 20 15 02 20
07 07 0C 22 20 02 01 80
02 20 01 22 20 02 01 80
01 FF 01 22 20 02 01 80
01 FF 01 22 20 02 01 80
07 00 48 07 0C 22 20 02
04 01 80 20 01 22 20 02
01 FF 80 20 01 22 20 02
01 FF 80 20 01 22 20 02
06 00 42 C1 15 00 5F 02
06 14 00 00 20 AB 01 02
01 FF 00 00 20 AB 01 02
01 FF 00 00 20 AB 01 02
07 00 41 00 00 00 00 00
07 00 9F 01 00 0C 01 01
03 09 F8 00 00 0C 01 01
01 FF F8 00 00 0C 01 01
06 FF 00 60 04 00 19 01
07 0B 06 0C 0B 02 A7 00
01 FF 06 0C 0B 02 A7 00
03 FF 00 46 0B 02 A7 00
06 E9 03 E9 03 1E 02 00
01 FF 03 E9 03 1E 02 00
07 FF 00 42 80 E1 00 20
06 32 00 00 20 15 02 20
01 FF 00 00 20 15 02 20
01 FF 00 00 20 15 02 20
07 00 48 0B 0C 18 80 01
04 00 00 F8 00 18 80 01
01 FF 00 F8 00 18 80 01
05 FF 00 60 04 00 80 01
07 1A 0B 06 0C 0B 02 A8
01 00 0B 06 0C 0B 02 A8
01 FF 0B 06 0C 0B 02 A8
04 FF 00 46 E9 0B 02 A8
05 03 E9 03 1E 02 02 A8
01 FF E9 03 1E 02 02 A8
07 FF 00 42 80 E1 00 20
06 32 00 00 20 15 02 20
01 FF 00 00 20 15 02 20
04 FF 00 48 0B 15 02 20
07 0C 18 80 01 00 00 F8
01 00 18 80 01 00 00 F8
01 FF 18 80 01 00 00 F8
01 FF 18 80 01 00 00 F8
07 00 42 C1 15 00 5F 14
05 00 00 20 AB 01 5F 14
01 FF 00 20 AB 01 5F 14
01 FF 00 20 AB 01 5F 14
07 00 41 00 00 00 00 00
07 00 9F 01 00 0C 01 01
03 09 F8 00 00 0C 01 01
04 FF 00 42 80 14 00 00
07 E2 00 20 32 00 00 20
02 16 02 20 32 00 00 20
01 FF 02 20 32 00 00 20
01 FF 02 20 32 00 00 20
07 00 48 07 0C 12 20 01
04 00 00 8E 00 12 20 01
01 FF 00 8E 00 12 20 01
05 FF 00 60 04 00 20 01
07 0E 0B 06 0C 0B 02 9C
01 00 0B 06 0C 0B 02 9C
01 FF 0B 06 0C 0B 02 9C
06 FF 00 46 E9 03 E9 9C
03 03 1E 02 E9 03 E9 9C
01 FF 1E 02 E9 03 E9 9C
The data do not fit the description WMR100
Prompt treatment
I have tried so:
07 FF 00 42 80 E1 00 20 - termometr indoor 22.5 C, 32% - Ok
04 FF 00 42 80 14 00 00 - termometr indoor 2,0 C, 0% - no correct
Please Help
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: WMR88 USB Дата protocol
The messages back from the station will be of variable length, it looks like your program is using a fixed sized window?
Have you tried just connecting up a terminal emulator and see what is really coming back from the station?
Have you tried just connecting up a terminal emulator and see what is really coming back from the station?
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: WMR88 USB Дата protocol
You haven't understood the protocol correctly. The first byte in each USB frame tells you how many bytes in that frame are valid. You then have to reassemble the data packets from the fragments in the USB frames. In the second line you quote, only the first 4 bytes are valid, so you have to look at the next frame(s) for the rest of your temperature packet.JTlex wrote:The data do not fit the description WMR100![]()
Prompt treatment
I have tried so:
07 FF 00 42 80 E1 00 20 - termometr indoor 22.5 C, 32% - Ok
04 FF 00 42 80 14 00 00 - termometr indoor 2,0 C, 0% - no correct
Please Help
Steve
-
JTlex
- Posts: 3
- Joined: Mon 05 Dec 2011 1:28 pm
- Weather Station: WMR88
- Operating System: Windows XP
- Location: Russia
Re: WMR88 USB Дата protocol
steve wrote:You haven't understood the protocol correctly. The first byte in each USB frame tells you how many bytes in that frame are valid. You then have to reassemble the data packets from the fragments in the USB frames. In the second line you quote, only the first 4 bytes are valid, so you have to look at the next frame(s) for the rest of your temperature packet.JTlex wrote:The data do not fit the description WMR100![]()
Prompt treatment
I have tried so:
07 FF 00 42 80 E1 00 20 - termometr indoor 22.5 C, 32% - Ok
04 FF 00 42 80 14 00 00 - termometr indoor 2,0 C, 0% - no correct
Please Help
A very big thank you.
For All Example:
01 FF 01 80 B9 01 C0 32
07 00 42 C1 16 00 5F 14
05 00 00 20 AC 01 5F 14
Is: FF 00 42 C1 16 00 5F 14 00 00 20 AC 01
FF - Start Data
00 42 -Termometer
C1 - 1 channel
16 00 - "+ 2,2C"
5F - 95% humidity
20 - End Data
01AC -CS = 20+00+00+14+5F+00+16+C1+42+00
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: WMR88 USB Дата protocol
You've got it. It also tells you:
temp trend = 0 = steady
dew point = +2°C
humidity trend = 0 = steady
Though you may not be interested in that!
temp trend = 0 = steady
dew point = +2°C
humidity trend = 0 = steady
Though you may not be interested in that!