{"id":226,"date":"2026-06-13T17:51:47","date_gmt":"2026-06-13T23:51:47","guid":{"rendered":"http:\/\/aa6kj.hopto.org\/wp\/?p=226"},"modified":"2026-06-14T21:27:55","modified_gmt":"2026-06-15T03:27:55","slug":"temperature-humidity-monitoring-of-my-shack","status":"publish","type":"post","link":"http:\/\/aa6kj.hopto.org\/wp\/?p=226","title":{"rendered":"Temperature &amp; humidity monitoring of my shack"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Due to humid summers and &#8220;cold&#8221; winters in Arkansas, I need to keep an eye on how the temperature and humidity are in my shack. So, I decided to use <a href=\"https:\/\/www.adafruit.com\/product\/5912\">Adafruit SHT4x Trinkey M0<\/a> USB half-key device for this purpose. It costs about $10. The GTK+4 code (Linux) that I wrote can be found from <a href=\"https:\/\/github.com\/jmeloranta\/shtemp\">github<\/a>. This is what the device looks like:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-29-27-7942349624874494795769-768x1024.jpg\" alt=\"\" class=\"wp-image-223\" style=\"aspect-ratio:0.7500096850424205;width:375px;height:auto\" srcset=\"http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-29-27-7942349624874494795769-768x1024.jpg 768w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-29-27-7942349624874494795769-225x300.jpg 225w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-29-27-7942349624874494795769-1152x1536.jpg 1152w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-29-27-7942349624874494795769-150x200.jpg 150w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-29-27-7942349624874494795769.jpg 1530w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Since it is USB A half-key, I used electrical tape to secure it to the USB extension cable. Here is what the simple GTK+4 widget looks like:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-30-31-5883895396096073864979-768x1024.jpg\" alt=\"\" class=\"wp-image-224\" style=\"aspect-ratio:0.7500143967751224;width:266px;height:auto\" srcset=\"http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-30-31-5883895396096073864979-768x1024.jpg 768w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-30-31-5883895396096073864979-225x300.jpg 225w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-30-31-5883895396096073864979-1152x1536.jpg 1152w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-30-31-5883895396096073864979-150x200.jpg 150w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-13-18-30-31-5883895396096073864979.jpg 1530w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">I will probably add graphing to it at some point but this will enable me to monitor my shack from remote locations. Too bad that there is no USB device that can get rid of insects! One had crawled inside the LCD display of my amplifier and now I have to figure how to get it out \ud83d\ude41<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Well, here is the graphing added to it:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-14-21-41-08-4607705434333560163833-768x1024.jpg\" alt=\"\" class=\"wp-image-228\" style=\"width:449px;height:auto\" srcset=\"http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-14-21-41-08-4607705434333560163833-768x1024.jpg 768w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-14-21-41-08-4607705434333560163833-225x300.jpg 225w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-14-21-41-08-4607705434333560163833-1152x1536.jpg 1152w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-14-21-41-08-4607705434333560163833-150x200.jpg 150w, http:\/\/aa6kj.hopto.org\/wp\/wp-content\/uploads\/2026\/06\/2026-06-14-21-41-08-4607705434333560163833.jpg 1530w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Due to humid summers and &#8220;cold&#8221; winters in Arkansas, I need to keep an eye on how the temperature and humidity are in my shack. So, I decided to use Adafruit SHT4x Trinkey M0 USB half-key device for this purpose. It costs about $10. The GTK+4 code (Linux) that I wrote can be found from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-226","post","type-post","status-publish","format-standard","hentry","category-ham_radio"],"_links":{"self":[{"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=226"}],"version-history":[{"count":2,"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/226\/revisions"}],"predecessor-version":[{"id":229,"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/226\/revisions\/229"}],"wp:attachment":[{"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=226"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/aa6kj.hopto.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}