No barometer data for CWOP

29 views
Skip to first unread message

prweather

unread,
Jul 3, 2019, 6:48:34 AM7/3/19
to weewx-user
I am using a Peet Bros. 2100 to transfer data to CWOP. I do not have a humidity/dp sensor only a temp sensor. Everything is working fine except no barometer data being sent. My personal website is showing barometer data fine.
Using:
  • Python 2.7.15
  • weewx 3.9.1 
     I downloaded weewx_3.9.1-1_all.deb
  • xubuntu 19.04 64bit

Looking at the data that is being sent to CWOP from their site it shows:
EW0483>APRS,TCPXX*,qAX,CWOP-4:@022050z3943.87N/08609.37W_262/002g005t090r000p000P000b.....h...weewx-3.9.1-Ultimeter

Looking at restx.py indicates to me that no baro data is getting picked up by weewx and sending the string b..... to CWOP
 # Barometer:
        _baro = record.get('altimeter')
        if _baro is None:
            _baro_str = "b....."
        else:
            # While everything else in the CWOP protocol is in US Customary,
            # they want the barometer in millibars.
            _baro_vt = weewx.units.convert((_baro, 'inHg', 'group_pressure'),
                                           'mbar')
            _baro_str = "b%05d" % (_baro_vt[0] * 10.0)

Any help would be appreciated. Thank you.

prweather

unread,
Jul 3, 2019, 7:36:21 AM7/3/19
to weewx-user
I forgot to add I set debug to 1 in weewx.conf and watched the syslog and still see nothing that would indicate the cause see attached file.
mylog

Thomas Keffer

unread,
Jul 3, 2019, 7:45:39 AM7/3/19
to weewx-user
CWOP wants "altimeter" pressure, that is, pressure corrected for altitude only (not temperature). The Ultimeter 2100 supplies only barometer. (See the Wiki article Barometer, pressure, and altitude for the difference). So, the altimeter pressure must be calculated in software.

This requires pressure, temperature, and, unfortunately, humidity. So, without the last, it cannot be calculated.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5a6b199d-dcac-4f52-ad33-85ba5c83a223%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages