{"id":4521,"date":"2026-01-17T09:36:36","date_gmt":"2026-01-17T09:36:36","guid":{"rendered":"https:\/\/m0aws.co.uk\/?p=4521"},"modified":"2026-01-17T09:36:36","modified_gmt":"2026-01-17T09:36:36","slug":"node-red-adif-to-log-map-flow","status":"publish","type":"post","link":"https:\/\/m0aws.co.uk\/?p=4521","title":{"rendered":"Node-Red ADIF to Log Map Flow"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Following on from my previous article on using <a href=\"https:\/\/m0aws.co.uk\/?p=4493\" target=\"_blank\" rel=\"noreferrer noopener\">Node-Red to build interactive log maps<\/a>  I&#8217;ve now reworked the flow to make it more efficient with less Javascript.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The original flow had a function that handled the issue of FT4 contacts being recorded in two different ways depending on which app you use for your FT4\/8 operations.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;mode:4&gt;MFSK &lt;submode:3&gt;FT4\nor\n&lt;mode:8&gt;MFSK FT4\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The code I wrote to handle this wasn&#8217;t particularly elegant and so I decided to remove the code entirely and just use a simple change node.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/Update-for-FT4-detection.png\" target=\"_blank\" rel=\" noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"492\" src=\"https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/Update-for-FT4-detection.png\" alt=\"M0AWS New node to handle FT4 more efficiently\" class=\"wp-image-4524\" srcset=\"https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/Update-for-FT4-detection.png 828w, https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/Update-for-FT4-detection-300x178.png 300w, https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/Update-for-FT4-detection-768x456.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption class=\"wp-element-caption\">M0AWS New node to handle FT4 more efficiently<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is the great thing about Node-Red, there&#8217;s always more than one way to do something.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With this fix in place and the old code stripped out of the <em>format generic payload<\/em> function, the new flow is much tidier and easier to comprehend.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/ADI-LogMapo-Flow.png\" target=\"_blank\" rel=\" noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1888\" height=\"631\" src=\"https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/ADI-LogMapo-Flow.png\" alt=\"M0AWs Updated ADI Log Map flow\" class=\"wp-image-4523\" srcset=\"https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/ADI-LogMapo-Flow.png 1888w, https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/ADI-LogMapo-Flow-300x100.png 300w, https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/ADI-LogMapo-Flow-768x257.png 768w, https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/ADI-LogMapo-Flow-1536x513.png 1536w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption class=\"wp-element-caption\">M0AWs Updated ADI Log Map flow<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With testing complete and the two maps now live on my website the flow is finally ready for release into the wild.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you fancy presenting your ADIF logs in a more visual, interactive format then just download the flow below and import it into your Node-Red flow editor.<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-fc73e749-956e-4ce9-ac5b-2ceda815659d\" href=\"https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/M0AWS-ADI-Log-Map-v2.zip\">M0AWS-ADI-Log-Map-v2<\/a><a href=\"https:\/\/m0aws.co.uk\/wp-content\/uploads\/2026\/01\/M0AWS-ADI-Log-Map-v2.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-fc73e749-956e-4ce9-ac5b-2ceda815659d\">Download<\/a><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Don&#8217;t forget that you will need to change the path to the log files in the <em>file read<\/em> nodes to suit your setup and change the location data in the <em>My QTH<\/em> trigger to match your callsign and location. Other than this the flow should just work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More soon &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following on from my previous article on using Node-Red to build interactive log maps I&#8217;ve now reworked the flow to make it more efficient with less Javascript. The original flow had a function that handled the issue of FT4 contacts being recorded in two different ways depending on which app you use for your FT4\/8 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/m0aws.co.uk\/?p=4521\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Node-Red ADIF to Log Map Flow&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[516,515,36,512,180,20,125,189,184,78,16,4,455,65,374,375,178,183,41,40,179,186,135,411,439,491,492,519,37,134,326,336,122,168,419,258,35],"tags":[],"class_list":["post-4521","post","type-post","status-publish","format-standard","hentry","category-adi","category-adif","category-code","category-coding","category-dashboard","category-digitalmodes","category-diy","category-floweditor","category-flows","category-ft4","category-ft8","category-ham-radio","category-hfbands","category-home-brew","category-hosting","category-internet","category-javascript","category-json","category-logging","category-logs","category-nodered","category-nodes","category-opensource","category-pi-5","category-pi4","category-pi400","category-pi500","category-pi500-2","category-programming","category-projects","category-radio","category-radioham","category-raspberrypi","category-satellite","category-sbc","category-ssb","category-wsjt-x"],"_links":{"self":[{"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4521"}],"version-history":[{"count":6,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4521\/revisions"}],"predecessor-version":[{"id":4531,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4521\/revisions\/4531"}],"wp:attachment":[{"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}