# Sending to CWOP

**URL:** https://community.tempest.earth/t/sending-to-cwop/2226
**Category:** Developers
**Tags:** cwop
**Created:** [September 13, 2018, 12:00am UTC](https://community.tempest.earth/t/sending-to-cwop/2226 "2018-09-13T00:00:18Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [September 13, 2018, 12:00am UTC](https://community.tempest.earth/t/sending-to-cwop/2226/1 "2018-09-13T00:00:18Z")

</div>

For those that have developed an application to send data to CWOP, what are you putting for equipment.

I think it would be nice to have a standard parameter that indicates the WeatherFlow equipment.

---

<div class="post-metadata">

### Author: ![bpaauwe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/bpaauwe/32/1056_2.png) [@bpaauwe](https://community.tempest.earth/u/bpaauwe)
#### Post date: [September 13, 2018, 12:21am UTC](https://community.tempest.earth/t/sending-to-cwop/2226/2 "2018-09-13T00:21:10Z")

</div>

I’m still using what I had set for my old station, an Acurite 5n1 so “400” is the equipment type value in my software right now.

---

<div class="post-metadata">

### Author: ![btst.online](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/btst.online/32/16538_2.png) [@btst.online](https://community.tempest.earth/u/btst.online)
#### Post date: [September 13, 2018, 2:09pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/3 "2018-09-13T14:09:50Z")

</div>

I am using the ID of my upload software. But, I agree, we should have a common WF designation.

–Sam

---

<div class="post-metadata">

### Author: ![mddiehl](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@mddiehl](https://community.tempest.earth/u/mddiehl)
#### Post date: [September 13, 2018, 2:29pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/4 "2018-09-13T14:29:50Z")

</div>

My 2 cents is I’d like to see a HUB link to CWOP, the same that is used to to send data to WU. Eliminates running extra hardware 24/7 just to send the data to CWOP.

---

<div class="post-metadata">

### Author: ![bpaauwe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/bpaauwe/32/1056_2.png) [@bpaauwe](https://community.tempest.earth/u/bpaauwe)
#### Post date: [September 13, 2018, 3:52pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/5 "2018-09-13T15:52:18Z")

</div>

I’m not sure if there’s a definitive list of codes to use for equipment type. I used this:

[http://pond1.gladstonefamily.net:8080/aprswxnet.html](http://pond1.gladstonefamily.net:8080/aprswxnet.html)

And a list of software that supports upload to CWOP [http://www.wxqa.com/cwop\_info.htm](http://www.wxqa.com/cwop_info.htm)

Looking at the spec, it looks like you can have up to 5 characters so maybe ‘wflow’?

---

<div class="post-metadata">

### Author: ![jim.wn1x](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/jim.wn1x/32/1014_2.png) [@jim.wn1x](https://community.tempest.earth/u/jim.wn1x)
#### Post date: [September 13, 2018, 4:39pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/6 "2018-09-13T16:39:04Z")

</div>

And I am sending whatever Meteobridge decided to use for uploading to CWOP, which is Meteobridge 3.7.

Jim

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [September 13, 2018, 7:28pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/7 "2018-09-13T19:28:42Z")

</div>

Did you write your own or are you using Meteobridge?

I am referring this to developers here that write their own applications.

---

<div class="post-metadata">

### Author: ![vreihen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vreihen/32/13217_2.png) [@vreihen](https://community.tempest.earth/u/vreihen)
#### Post date: [September 13, 2018, 9:26pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/8 "2018-09-13T21:26:35Z")

</div>

Weewx is sending “.weewx-3.8.0-Vantage” on my APRS packets, the Vantage part is the weewx driver name for the Davis Vantage/VP2 station that is running as my primary setup right now…

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [September 13, 2018, 9:43pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/9 "2018-09-13T21:43:59Z")

</div>

Thank you. I looked at Weewx and saw part of what it was sending.

I am inquiring about applications that are not part of a bigger application. It looks like no one else has developed an add-on to send to CWOP.

So, am going to send “WFArchive\_1.6.12\_WeatherFlow”

---

<div class="post-metadata">

### Author: ![vreihen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vreihen/32/13217_2.png) [@vreihen](https://community.tempest.earth/u/vreihen)
#### Post date: [September 13, 2018, 9:47pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/10 "2018-09-13T21:47:51Z")

</div>

Unless someone else is using underscores, I’d suggest sticking with hyphens as delimiters to follow weewx’s lead…

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [September 13, 2018, 9:58pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/11 "2018-09-13T21:58:25Z")

</div>

I’m from the school where a - means subtract and a \_ replaces a [space].

---

<div class="post-metadata">

### Author: ![vreihen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vreihen/32/13217_2.png) [@vreihen](https://community.tempest.earth/u/vreihen)
#### Post date: [September 13, 2018, 10:27pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/12 "2018-09-13T22:27:07Z")

</div>

I am from the school of RegEx, and am suggesting following weewx’s lead to standardize parsing unless other packages are already using underscores…

---

<div class="post-metadata">

### Author: ![vinceskahan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vinceskahan/32/2785_2.png) [@vinceskahan](https://community.tempest.earth/u/vinceskahan)
#### Post date: [September 13, 2018, 10:41pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/13 "2018-09-13T22:41:51Z")

</div>

Your code, your rules. I can’t find any evidence there is a wrong answer or any limitation.

Check out the right side of each line in [http://wxqa.com/callsminmax/C20180904.txt](http://wxqa.com/callsminmax/C20180904.txt) for some examples

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [September 13, 2018, 10:42pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/14 "2018-09-13T22:42:43Z")

</div>

> [@vreihen](#):
>
> weewx-3.8.0-Vantage

Weewx 3.8.0 is not sending the leading “e” on the equipment. That’'s not nice.

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [September 13, 2018, 10:47pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/15 "2018-09-13T22:47:22Z")

</div>

Does anyone know what data the “L” in cwop is used to send?

---

<div class="post-metadata">

### Author: ![vinceskahan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vinceskahan/32/2785_2.png) [@vinceskahan](https://community.tempest.earth/u/vinceskahan)
#### Post date: [September 13, 2018, 10:54pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/16 "2018-09-13T22:54:59Z")

</div>

I see nowhere the syntax is defined on the CWOP site, but if you feel it’s a bug in weewx, put in an Issue on their github page. FWIW, I see lots of values in there that ‘seem’ to use a ‘.’ as the delimiter, which is what weewx does. That said, you’re probably going to have to reference their requirements document for anybody to work it as a bug. The CWOP posting code has been in weewx since 2013 according to their github repo.

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [September 13, 2018, 10:58pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/17 "2018-09-13T22:58:06Z")

</div>

This packet uses a space in the equipment and a leading “.”  
FW0140\>APRS,TCPXX\*,qAX,CWOP-7:@132155z -3.363514709472/-3.363514709472\_335/000g000t053r000p000P000b10241h88.WD 31

This packet uses an underscore and a leading “.”  
FW0453\>APRS,TCPXX\*,qAX,CWOP-3:@131804z4303.30N/07421.78W\_000/000g…t075r001p…P002b10259h71.ats\_whawk

This packet does not use anyhing to qualify the equipment and has the “L” parameter  
FW0803\>APRS,TCPXX\*,qAX,CWOP-3:@132154z1945.28N/15509.04W\_083/005g011t072r000p321P274h96b10165L153WeatherCatV244B2H31

This packet uses underscore in the equipment.  
FW0876\>APRS,TCPXX\*,qAX,CWOP-2:@132156z3641.03N/13700.80E\_315/000g000t078r000p028h99b10201.wview\_5\_21\_7

I’m getting the impression that CWOP is a free-for-all and there are few rules that are enforced.

Here is a list of equipment. Several use “\_” as a seperator.  
[https://weather.gladstonefamily.net/cgi-bin/wxequip.pl](https://weather.gladstonefamily.net/cgi-bin/wxequip.pl)

---

<div class="post-metadata">

### Author: ![vinceskahan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/vinceskahan/32/2785_2.png) [@vinceskahan](https://community.tempest.earth/u/vinceskahan)
#### Post date: [September 13, 2018, 11:40pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/18 "2018-09-13T23:40:52Z")

</div>

> [@GaryFunk](#):
>
> I’m getting the impression that CWOP is a free-for-all and there are few rules that are enforced.

Sure seems that way. Go appropriately wild.

---

<div class="post-metadata">

### Author: ![GaryFunk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/garyfunk/32/5729_2.png) [@GaryFunk](https://community.tempest.earth/u/GaryFunk)
#### Post date: [September 13, 2018, 11:54pm UTC](https://community.tempest.earth/t/sending-to-cwop/2226/19 "2018-09-13T23:54:47Z")

</div>

It get worse. One document states wind direction and speed is sent using:

\_xxx/xxx

while the official PDF spec states:

cxxxsxxx

What do I do?

---

<div class="post-metadata">

### Author: ![bpaauwe](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/bpaauwe/32/1056_2.png) [@bpaauwe](https://community.tempest.earth/u/bpaauwe)
#### Post date: [September 14, 2018, 12:04am UTC](https://community.tempest.earth/t/sending-to-cwop/2226/20 "2018-09-14T00:04:26Z")

</div>

The “L” data is solar radiation

There are two places where you can specify equipment; the ident field and embedded in the data itself.

The information in the ident seems to be free form. I’m using “linux-acu-link 1.00” which is based on the original software I wrote to upload data from my Acurite 5n1.

The equipment type embedded in the data is at the end of the data and based on my reading of the spec. it’s between 3 and 5 characters long. But given that it’s at the end, there may not be any checking to enforce that length.

There does appear to be multiple data formats that can be used. See ftp://ftp.tapr.org/aprssig/aprsspec/spec/aprs101/APRS101.pdf

My data looks like:  
EW4740\>APRS,TCPXX\*,qAX,CWOP-5:/130010z3840.40N/12100.42W\_020/000g003t071r000P000h34b09672L152400  
EW4740\>APRS,TCPXX\*,qAX,CWOP-3:/130020z3840.40N/12100.42W\_186/001g003t071r000P000h33b09671L119400

[Next page](https://community.tempest.earth/t/sending-to-cwop/2226.md?page=2)
