{"id":4974,"date":"2024-02-07T14:39:10","date_gmt":"2024-02-07T14:39:10","guid":{"rendered":"https:\/\/www.n0zb.com\/?p=4974"},"modified":"2024-02-07T14:59:38","modified_gmt":"2024-02-07T14:59:38","slug":"a-bit-to-dry-for-me","status":"publish","type":"post","link":"https:\/\/www.n0zb.com\/index.php\/2024\/02\/07\/a-bit-to-dry-for-me\/","title":{"rendered":"A bit to dry for me"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Once again I am plagued by a failure to document problems I encountered and figured out.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"414\" src=\"https:\/\/www.n0zb.com\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-07-at-08.38.16-1024x414.png\" alt=\"\" class=\"wp-image-4977\" srcset=\"https:\/\/www.n0zb.com\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-07-at-08.38.16-1024x414.png 1024w, https:\/\/www.n0zb.com\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-07-at-08.38.16-300x121.png 300w, https:\/\/www.n0zb.com\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-07-at-08.38.16-768x310.png 768w, https:\/\/www.n0zb.com\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-07-at-08.38.16.png 1081w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\"><strong><em>Serious problems with humidity<\/em><\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Devoted a good portion of yesterday to getting weewx back into operation after a version upgrade took it down.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Part of that involved me figuring out (again) how to get the weewx extension working that creates the wxnow.txt file that Xastir uses to create and send APRS weather data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s an example of what Xastir was sending out:<br>APX219,TNGNXI,WIDE2*,qAR,BASHOR:@071408z3913.63N\/09454.49W_166\/006g012t051r000P000p000<strong><span style=\"text-decoration: underline;\">h05<\/span><\/strong>b10180<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The error is &#8220;h05&#8221; as humidity is not 5%. The problem is that Xastir wants a two digit humidity data value and wxcn is sending a three digit value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In examining the old copy of wxcn.py I see the comments I placed in the file:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">#   fields.append(&#8220;h%03d&#8221; % int(data[&#8216;outHumidity&#8217;]))<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">#   changing value &#8220;h%03d&#8221; to &#8220;h%02d&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2026 and the line now appears as:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">    fields.append(&#8220;h%02d&#8221; % int(data[&#8216;outHumidity&#8217;]))<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I updated these comments in the new version of this file as it appears in \/home\/weewx\/bin\/user\/cwxn.py<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With the correction, here is what Xastir is now beaconing:<br>APX219,WIDE2-1,qAR,BASHOR:@071426z3913.63N\/09454.49W_166\/007g011t051r000P000p000<strong><span style=\"text-decoration: underline;\">h59<\/span><\/strong>b10172<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now the humidity is given as &#8220;h59&#8221; instead of &#8220;h05&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am pretty sure that this concludes all the tweaks and fixes I had to make to get weewx working with Xastir to work properly. Time will tell.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A break down of the Xastir\/APRS weather data string:<br>@071426z3913.63N\/09454.49W_166\/007g011t051r000P000p000h59b10172<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">@071426z &#8211; &#8220;07&#8221; is the calendar day, &#8220;1426z&#8221; is the time<br>3913.63N\/09454.49W &#8211; location<br>166 &#8211; wind direction<br>007 &#8211; wind speed<br>g011 &#8211; gust, peak winds in last five minutes<br>t051 &#8211; temperature<br>r000 &#8211; rain within last 60 minutes<br>P000 &#8211; rain within last 24 hours since midnight<br>p000 &#8211; rain per last 24 hours (sliding 24 hour window)<br>h59 &#8211; humidity<br>b10172 &#8211; barometric pressure<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once again I am plagued by a failure to document problems I encountered and figured out. Devoted a good portion of yesterday to getting weewx back into operation after a version upgrade took it down. Part of that involved me figuring out (again) how to get the weewx extension working that creates the wxnow.txt file &hellip; <a href=\"https:\/\/www.n0zb.com\/index.php\/2024\/02\/07\/a-bit-to-dry-for-me\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A bit to dry for me&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[338],"tags":[384,377,269],"class_list":["post-4974","post","type-post","status-publish","format-standard","hentry","category-amateur-radio","tag-ham-notebook","tag-weewx","tag-xastir"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9vUOZ-1ie","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/posts\/4974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/comments?post=4974"}],"version-history":[{"count":6,"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/posts\/4974\/revisions"}],"predecessor-version":[{"id":4982,"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/posts\/4974\/revisions\/4982"}],"wp:attachment":[{"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/media?parent=4974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/categories?post=4974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.n0zb.com\/index.php\/wp-json\/wp\/v2\/tags?post=4974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}