{"id":338,"date":"2020-03-30T19:59:35","date_gmt":"2020-03-31T00:59:35","guid":{"rendered":"https:\/\/sundrysites.com\/?page_id=338"},"modified":"2020-03-31T07:56:42","modified_gmt":"2020-03-31T12:56:42","slug":"hca-to-arduino","status":"publish","type":"page","link":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/","title":{"rendered":"HCA to Arduino"},"content":{"rendered":"\n<p>There are times when HCA would want to communicate with one of the Arduinos, either to obtain information from it (like temperatures) or have it perform some task (like close a relay to turn something on).&nbsp; Unfortunately, HCA doesn&#8217;t support communicating with Arduinos directly.&nbsp; Recently they&#8217;ve add some IP functionality but so far I&#8217;ve not gotten it to work and suspect it would be problematic in its current implementation anyway.&nbsp; So I&#8217;ve created an intermediate Perl program that accepts commands from HCA and sends them to the Arduinos.<\/p>\n\n\n\n<p>For the geeks: there are two basic techniques to do this, called synchronous and asynchronous.&nbsp; After screwing around with both I ended up simplifying it greatly by designing the interaction to always be asynchronous.&nbsp; I use UDP packets, which have no mechanism to detect missing or duplicate packets.&nbsp; The simplicity is that I can send and receive packets to\/from either end without regard for what else is going on.&nbsp; The tradeoff is simplicity vs reliability.&nbsp; As a practical matter, as far as I know, the reliability has been rock-solid over my wired network.&nbsp; Wireless networks may present more of a problem.<\/p>\n\n\n\n<p>The basic components are:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>An HCA program wants an Arduino to do something and sets up the Arduino&#8217;s address and a command.<\/li><li>An HCA program that takes the address and command and calls the intermediate Perl program to send the packet out.<\/li><li>The intermediate Perl program sends the packet out.<\/li><li>The Arduino is programmed to continually be looking for incoming packets.&nbsp; When one arrives it looks for the command and takes the appropriate action.<\/li><\/ul>\n\n\n\n<p><strong>HCA Wants Action<\/strong><\/p>\n\n\n\n<p>This picture gives you an idea of how easy programming HCA can be.&nbsp; The little boxes are the different functions HCA provides.&nbsp; You drag them into the program and connect them.&nbsp; Each box, depending upon its function, contains more instructions.<\/p>\n\n\n\n<p>In this example HCA wants an Arduino connected to a fire alarm to reset the alarm.&nbsp; The Arduino&#8217;s IP address is 192.168.0.69 and the command to reset the fire alarm is a simple &#8220;1&#8221;.&nbsp; The HCA program flow:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"56\" height=\"262\" src=\"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-1.jpg\" alt=\"\" class=\"wp-image-449\"\/><\/figure><\/div>\n\n\n\n<p>The first box is a &#8220;compute&#8221; function (omitting the start and end boxes), allowing a variety of arithmetic functions.&nbsp; In our case, we use it to set HCA flags with the Arduino&#8217;s address and the command.&nbsp; If we open up that box&#8217;s properties, we see:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"309\" src=\"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-2.jpg\" alt=\"\" class=\"wp-image-450\" srcset=\"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-2.jpg 511w, https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-2-300x181.jpg 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/figure><\/div>\n\n\n\n<p>There are 2 statements inside the compute box.&nbsp; They set the &#8220;ardcmd1&#8221; flag to &#8220;1&#8221; and the &#8220;ardaddr1&#8221; flag to &#8220;192.168.0.69&#8221;.<\/p>\n\n\n\n<p>The next box down is an &#8220;execute internal&#8221; function that runs some other HCA program.&nbsp; If you opened up its properties you would see it starting a another HCA program named &#8220;ardsendcmd&#8221;.&nbsp; Certainly I could have skipped the extra program and combined their functions into just this one, but it was easier for a variety of reasons to keep them separate.<\/p>\n\n\n\n<p><strong>HCA Calls the Perl Program<\/strong><\/p>\n\n\n\n<p>Ardsendcmd looks like:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"57\" height=\"189\" src=\"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-3.jpg\" alt=\"\" class=\"wp-image-451\"\/><\/figure><\/div>\n\n\n\n<p>There&#8217;s only one box, an &#8220;execute external&#8221; function.&nbsp; If you open up its properties you see the following:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"413\" src=\"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-4.jpg\" alt=\"\" class=\"wp-image-452\" srcset=\"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-4.jpg 558w, https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-4-300x222.jpg 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure><\/div>\n\n\n\n<p>This is an important function so I&#8217;ll spend some time on it.&nbsp; It calls the Perl interpreter, perl.exe.&nbsp; It assigns a working directory where, if that program opens any files, that&#8217;s where they will go, or will be found.&nbsp; Finally, it tells the Perl interpreter which Perl program to execute and passes some parameters to it.&nbsp; In this case the program is one I wrote, called send-udp-1.pl.&nbsp; The 3 parameters are HCA flags, the same ones I set up earlier with my compute function.&nbsp; In this example I am only using 2 of the 3 flags.&nbsp; The unused flag could be used, for example, to contain a thermostat&#8217;s set point.<\/p>\n\n\n\n<p><strong>Perl Sends the Packet<\/strong><\/p>\n\n\n\n<p>The send-udp-1.pl program in its entirety (minus my comments):<\/p>\n\n\n\n<p>use IO::Socket::INET;<br>\nuse Getopt::Long;&nbsp; #pick up parms<br>\nmy $cmdIn = sprintf(&#8220;%.0f&#8221;,$ARGV[0]);<br>\nmy $addrOut = $ARGV[1];<br>\nmy $dataIn = sprintf(&#8220;%.0f&#8221;,$ARGV[2]);<br>\nmy $dataOut = $cmdIn . $dataIn;<br>\nmy $socket = new IO::Socket::INET (<br>\nLocalPort =&gt; 6001,<br>\nProto =&gt; &#8216;udp&#8217;,<br>\nPeerPort =&gt; 5001,<br>\nPeerAddr =&gt; $addrOut,<br>\n) or die &#8220;ERROR in Socket Creation : $!\\n&#8221;;<br>\nprint $socket &#8220;$dataOut&#8221;;<br>\n$socket-&gt;close();<\/p>\n\n\n\n<p>You can see the entire comment-riddled program <a href=\"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/perl-programs\/move-packets-from-hca-to-arduino\/\">here<\/a>.<\/p>\n\n\n\n<p>The Perl program picks up the 3 parameters, using the 2nd one to address the packet and the first and third ones to make up the packet&#8217;s content.&nbsp; In this example, the command had been set to &#8220;1&#8221; and the data was whatever was left over from the previous execution.<\/p>\n\n\n\n<p><strong>The Arduino Acts<\/strong><\/p>\n\n\n\n<p>The Arduino at 192.168.0.69 is programmed to continuously be checking for incoming packets.&nbsp; When it receives one it looks for the command and takes the appropriate action.&nbsp; The operational parts of the Arduino sketch are (in a very abbreviated form):<\/p>\n\n\n\n<p>byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0x69 };<br>\nIPAddress ip(192, 168, 0, 69);<br>\nunsigned int localPort = 5001;<br>\nchar cmdResetFire = &#8216;1&#8217;;<br>\nEthernetUDP Udp;<br>\nchar packetBuffer[UDP_TX_PACKET_MAX_SIZE];<br>\nchar cmdIn = &#8216;0&#8217;;<\/p>\n\n\n\n<p>void setup()<br>\n{<br>\nEthernet.begin(mac,ip);<br>\nUdp.begin(localPort);<br>\n}<\/p>\n\n\n\n<p>void loop()<br>\n{<br>\nint packetSize = Udp.parsePacket();<br>\nif(packetSize)<br>\n{<br>\nUdp.read(packetBuffer,1);<br>\ncmdIn = (packetBuffer[0]);<br>\nif (cmdIn == cmdResetFire)<br>\n{<br>\ndigitalWrite(fireRelayPin,LOW);<br>\ndelay(1000);<br>\ndigitalWrite(fireRelayPin,HIGH);<br>\n}<br>\n}<br>\n}<\/p>\n\n\n\n<p>This entire Arduino sketch, about fire alarms, can be found <a href=\"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/sketches\/fire-alarm-sketch\/\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are times when HCA would want to communicate with one of the Arduinos, either to obtain information from it (like temperatures) or have it perform some task (like close a relay to turn something on).&nbsp; Unfortunately, HCA doesn&#8217;t support communicating with Arduinos directly.&nbsp; Recently they&#8217;ve add some IP functionality but so far I&#8217;ve not &hellip; <a href=\"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">HCA to Arduino<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":332,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-338","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HCA to Arduino - Sundrysites<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HCA to Arduino - Sundrysites\" \/>\n<meta property=\"og:description\" content=\"There are times when HCA would want to communicate with one of the Arduinos, either to obtain information from it (like temperatures) or have it perform some task (like close a relay to turn something on).&nbsp; Unfortunately, HCA doesn&#8217;t support communicating with Arduinos directly.&nbsp; Recently they&#8217;ve add some IP functionality but so far I&#8217;ve not &hellip; Continue reading HCA to Arduino &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"Sundrysites\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-31T12:56:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/hca-to-arduino\\\/\",\"url\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/hca-to-arduino\\\/\",\"name\":\"HCA to Arduino - Sundrysites\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sundrysites.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/hca-to-arduino\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/hca-to-arduino\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sundrysites.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/xmit-1.jpg\",\"datePublished\":\"2020-03-31T00:59:35+00:00\",\"dateModified\":\"2020-03-31T12:56:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/hca-to-arduino\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/hca-to-arduino\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/hca-to-arduino\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sundrysites.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/xmit-1.jpg\",\"contentUrl\":\"https:\\\/\\\/sundrysites.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/xmit-1.jpg\",\"width\":56,\"height\":262},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/hca-to-arduino\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sundrysites.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Home Info\",\"item\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Arduino Projects\",\"item\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Project Basics\",\"item\":\"https:\\\/\\\/sundrysites.com\\\/index.php\\\/home-info\\\/arduino-projects\\\/project-basics\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"HCA to Arduino\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sundrysites.com\\\/#website\",\"url\":\"https:\\\/\\\/sundrysites.com\\\/\",\"name\":\"Sundrysites\",\"description\":\"As In Various and Sundry\",\"publisher\":{\"@id\":\"https:\\\/\\\/sundrysites.com\\\/#\\\/schema\\\/person\\\/1e11ce6af1587a3431e57dfc0797ab61\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sundrysites.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/sundrysites.com\\\/#\\\/schema\\\/person\\\/1e11ce6af1587a3431e57dfc0797ab61\",\"name\":\"Wayne Gulden\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c0392cdfb7826ed5407aad362998bc6dd03fe293560ce15ccc2211357e3cec6e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c0392cdfb7826ed5407aad362998bc6dd03fe293560ce15ccc2211357e3cec6e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c0392cdfb7826ed5407aad362998bc6dd03fe293560ce15ccc2211357e3cec6e?s=96&d=mm&r=g\",\"caption\":\"Wayne Gulden\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c0392cdfb7826ed5407aad362998bc6dd03fe293560ce15ccc2211357e3cec6e?s=96&d=mm&r=g\"},\"sameAs\":[\"https:\\\/\\\/sundrysites.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HCA to Arduino - Sundrysites","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/","og_locale":"en_US","og_type":"article","og_title":"HCA to Arduino - Sundrysites","og_description":"There are times when HCA would want to communicate with one of the Arduinos, either to obtain information from it (like temperatures) or have it perform some task (like close a relay to turn something on).&nbsp; Unfortunately, HCA doesn&#8217;t support communicating with Arduinos directly.&nbsp; Recently they&#8217;ve add some IP functionality but so far I&#8217;ve not &hellip; Continue reading HCA to Arduino &rarr;","og_url":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/","og_site_name":"Sundrysites","article_modified_time":"2020-03-31T12:56:42+00:00","og_image":[{"url":"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-1.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/","url":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/","name":"HCA to Arduino - Sundrysites","isPartOf":{"@id":"https:\/\/sundrysites.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/#primaryimage"},"image":{"@id":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/#primaryimage"},"thumbnailUrl":"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-1.jpg","datePublished":"2020-03-31T00:59:35+00:00","dateModified":"2020-03-31T12:56:42+00:00","breadcrumb":{"@id":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/#primaryimage","url":"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-1.jpg","contentUrl":"https:\/\/sundrysites.com\/wp-content\/uploads\/2020\/03\/xmit-1.jpg","width":56,"height":262},{"@type":"BreadcrumbList","@id":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/hca-to-arduino\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sundrysites.com\/"},{"@type":"ListItem","position":2,"name":"Home Info","item":"https:\/\/sundrysites.com\/index.php\/home-info\/"},{"@type":"ListItem","position":3,"name":"Arduino Projects","item":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/"},{"@type":"ListItem","position":4,"name":"Project Basics","item":"https:\/\/sundrysites.com\/index.php\/home-info\/arduino-projects\/project-basics\/"},{"@type":"ListItem","position":5,"name":"HCA to Arduino"}]},{"@type":"WebSite","@id":"https:\/\/sundrysites.com\/#website","url":"https:\/\/sundrysites.com\/","name":"Sundrysites","description":"As In Various and Sundry","publisher":{"@id":"https:\/\/sundrysites.com\/#\/schema\/person\/1e11ce6af1587a3431e57dfc0797ab61"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sundrysites.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/sundrysites.com\/#\/schema\/person\/1e11ce6af1587a3431e57dfc0797ab61","name":"Wayne Gulden","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c0392cdfb7826ed5407aad362998bc6dd03fe293560ce15ccc2211357e3cec6e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c0392cdfb7826ed5407aad362998bc6dd03fe293560ce15ccc2211357e3cec6e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c0392cdfb7826ed5407aad362998bc6dd03fe293560ce15ccc2211357e3cec6e?s=96&d=mm&r=g","caption":"Wayne Gulden"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/c0392cdfb7826ed5407aad362998bc6dd03fe293560ce15ccc2211357e3cec6e?s=96&d=mm&r=g"},"sameAs":["https:\/\/sundrysites.com"]}]}},"_links":{"self":[{"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/pages\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":3,"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/pages\/338\/revisions"}],"predecessor-version":[{"id":453,"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/pages\/338\/revisions\/453"}],"up":[{"embeddable":true,"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/pages\/332"}],"wp:attachment":[{"href":"https:\/\/sundrysites.com\/index.php\/wp-json\/wp\/v2\/media?parent=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}