{"id":1953,"date":"2019-09-05T11:03:47","date_gmt":"2019-09-05T18:03:47","guid":{"rendered":"http:\/\/www.donluc.com\/?p=1953"},"modified":"2019-09-05T11:03:47","modified_gmt":"2019-09-05T18:03:47","slug":"project-11-esp32-feather-rocker-switches-mk06","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=1953","title":{"rendered":"Project #11: ESP32 Feather &#8211; Rocker Switches &#8211; Mk06"},"content":{"rendered":"<p><strong>ESP32 Feather &#8211; Rocker Switches<\/strong><\/p>\n<p>&#8212;&#8212;<\/p>\n<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-1953-1\" width=\"720\" height=\"406\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/dl1909mk03.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/dl1909mk03.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/dl1909mk03.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03a.png\" alt=\"ESP32 Feather - Rocker Switches\" width=\"720\" height=\"693\" class=\"alignnone size-full wp-image-1955\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03a.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03a-300x289.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03b.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03b.png\" alt=\"ESP32 Feather - Rocker Switches\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-1956\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03b.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03b-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03c.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03c.png\" alt=\"ESP32 Feather - Rocker Switches\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-1957\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03c.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03c-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03d.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03d.png\" alt=\"ESP32 Feather - Rocker Switches\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-1958\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03d.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2019\/09\/DL1909Mk03d-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>Rocker Switch &#8211; Round<\/strong><\/p>\n<p>These panel-mounting rocker switches simple SPST on-off. They mount into a 20.2mm diameter hole and are rated up to 16A @ 12v.<\/p>\n<p><strong>DonLuc1909Mk03<\/strong><\/p>\n<p>1 x Adafruit HUZZAH32 ESP32 Feather<br \/>\n1 x Adafruit SHARP Memory Display<br \/>\n1 x Adafruit Adalogger FeatherWing &#8211; RTC + SD<br \/>\n1 x CR1220 12mm Lithium Battery<br \/>\n1 x 8Gb Micro SD Card<br \/>\n1 x RHT03 Humidity and Temperature Sensor<br \/>\n1 x LED Green<br \/>\n1 x Rocker Switches<br \/>\n1 x 100 Ohm<br \/>\n1 x 10K Ohm<br \/>\n14 x Jumper Wires 3&#8243; M\/M<br \/>\n6 x Jumper Wires 6&#8243; M\/M<br \/>\n1 x Full-Size Breadboard<br \/>\n1 x SparkFun Cerberus USB Cable<\/p>\n<p><strong>Adafruit HUZZAH32 ESP32 Feather<\/strong><\/p>\n<p>LG1 &#8211; Digital 21<br \/>\nRO1 &#8211; Digital 16<br \/>\nRHT &#8211; Digital 17<br \/>\nSCK &#8211; Digital 13<br \/>\nMOS &#8211; Digital 12<br \/>\nSSD &#8211; Digital 27<br \/>\nSDA &#8211; Digital 23<br \/>\nSCL &#8211; Digital 22<br \/>\nSD1 &#8211; Digital 33<br \/>\nSC2 &#8211; Digital 5<br \/>\nMO2 &#8211; Digital 18<br \/>\nMI2 &#8211; Digital 19<br \/>\nGND &#8211; GND<br \/>\nVIN &#8211; +3.3V<\/p>\n<p><strong>DL1909Mk03.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"DL1909Mk03.ino\">\r\n\/\/ ***** Don Luc Electronics *****\r\n\/\/ Software Version Information\r\n\/\/ Project #11: HUZZAH32 ESP32 Feather - Rocker Switches - Mk06\r\n\/\/ 09-03\r\n\/\/ DL1909Mk03p.ino 11-06\r\n\/\/ Adafruit HUZZAH32 ESP32 Feather Board\r\n\/\/ SHARP Display\r\n\/\/ LED Green\r\n\/\/ Adalogger FeatherWing - RTC + SD\r\n\/\/ EEPROM\r\n\/\/ RHT03 Humidity and Temperature Sensor\r\n\/\/ Rocker Switches\r\n\r\n\/\/ include Library Code\r\n\/\/ SHARP Memory Display\r\n#include &lt;Adafruit_SharpMem.h&gt;\r\n#include &lt;Adafruit_GFX.h&gt;\r\n\/\/ Date and Time\r\n#include &quot;RTClib.h&quot;\r\n\/\/ EEPROM library to read EEPROM with unique ID for unit\r\n#include &quot;EEPROM.h&quot;\r\n\/\/ RHT Humidity and Temperature Sensor\r\n#include &lt;SparkFun_RHT03.h&gt;\r\n\/\/ SD Card\r\n#include &quot;FS.h&quot;\r\n#include &quot;SD.h&quot;\r\n#include &quot;SPI.h&quot;\r\n\r\n\/\/ SHARP Memory Display\r\n\/\/ any pins can be used\r\n#define SHARP_SCK  13\r\n#define SHARP_MOSI 12\r\n#define SHARP_SS   27\r\n\/\/ Set the size of the display here, e.g. 144x168!\r\nAdafruit_SharpMem display(SHARP_SCK, SHARP_MOSI, SHARP_SS, 144, 168);\r\n\/\/ The currently-available SHARP Memory Display (144x168 pixels)\r\n\/\/ requires &gt; 4K of microcontroller RAM; it WILL NOT WORK on Arduino Uno\r\n\/\/ or other &lt;4K &quot;classic&quot; devices!\r\n#define BLACK 0\r\n#define WHITE 1\r\nint minorHalfSize; \/\/ 1\/2 of lesser of display width or height\r\n\r\n\/\/ LED Green\r\nint iLEDGreen =  21;                 \/\/ LED Green\r\n\r\n\/\/ PCF8523 Precision RTC \r\nRTC_PCF8523 rtc;\r\nString dateRTC = &quot;&quot;;\r\nString timeRTC = &quot;&quot;;\r\n\r\n\/\/ The current address in the EEPROM (i.e. which byte\r\n\/\/ we&#039;re going to  read to next)\r\n#define EEPROM_SIZE 64\r\nString sver = &quot;9-3.p&quot;;\r\n\/\/ Unit ID information\r\nString uid = &quot;&quot;;\r\n\r\n\/\/ RHT Humidity and Temperature Sensor\r\nconst int RHT03_DATA_PIN = 17;          \/\/ RHT03 data pin Digital 17\r\nRHT03 rht;                              \/\/ This creates a RTH03 object, which we&#039;ll use to interact with the sensor\r\nfloat latestHumidity;\r\nfloat latestTempC;\r\nfloat latestTempF;\r\n\r\n\/\/ SD Card\r\nconst int chipSelect = 33;              \/\/ SD Card\r\nString zzzzzz = &quot;&quot;;\r\n\r\n\/\/ Rocker Switches\r\nint iRow1 = 16;                          \/\/ Rocker Switches\r\nint iRow1State = 0;                      \/\/ Variable for reading the pushbutton status\r\n\r\nvoid loop() {\r\n\r\n  \/\/ Date and Time \r\n  isRTC();\r\n  \r\n  \/\/ RHT03 Humidity and Temperature Sensor\r\n  isRHT03();\r\n  \r\n  \/\/ SHARP Memory Display On\r\n  isDisplayOn();\r\n  \r\n  \/\/ Rocker Switched\r\n  \/\/ Read the state of the iRow1 value\r\n  iRow1State = digitalRead(iRow1);\r\n\r\n  \/\/ check if the pushbutton is pressed. If it is, the buttonState is HIGH:\r\n  if (iRow1State == HIGH) {\r\n\r\n    \/\/ iLEDGreen\r\n    digitalWrite(iLEDGreen,  HIGH );\r\n    \/\/ SD Card\r\n    isSD();\r\n\r\n  } else {\r\n\r\n    \/\/ iLEDGreen\r\n    digitalWrite(iLEDGreen,  LOW );\r\n  \r\n  }\r\n   \r\n  \/\/ Delay \r\n  delay( 1000 );\r\n\r\n}\r\n<\/pre>\n<p><strong>getDisplay.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getDisplay.ino\">\r\n\/\/ SHARP Memory Display On\r\nvoid isDisplayOn() {\r\n\r\n    \/\/ Clear Display\r\n    display.clearDisplay();\r\n    \/\/ text display date, time, LED on\r\n    display.setRotation(4);\r\n    display.setTextSize(2);\r\n    display.setTextColor(BLACK);\r\n    display.setCursor(0,10);\r\n    display.println( dateRTC );\r\n    display.setCursor(0,30);\r\n    display.println( timeRTC );\r\n    display.setTextSize(2);\r\n    display.setCursor(0,55);\r\n    display.print(&quot;Hum: &quot;);\r\n    display.print( latestHumidity );\r\n    display.println(&quot;%&quot;);\r\n    display.setCursor(0,75);\r\n    display.print(&quot;Cel: &quot;);\r\n    display.print( latestTempC );\r\n    display.println(&quot;*C&quot;);\r\n    display.setCursor(0,95);\r\n     display.print(&quot;Fah: &quot;);\r\n    display.print( latestTempF );\r\n    display.println(&quot;*F&quot;);\r\n    display.refresh();\r\n\r\n}\r\n\/\/ SHARP Memory Display - UID\r\nvoid isDisplayUID() {\r\n\r\n    \/\/ text display EEPROM\r\n    display.setRotation(4);\r\n    display.setTextSize(2);\r\n    display.setTextColor(BLACK);\r\n    display.setCursor(0,20);\r\n    display.print( &quot;UID: &quot; );\r\n    display.println( uid );\r\n   \/\/ display.setTextSize();\r\n    display.setTextColor(BLACK);\r\n    display.setCursor(0,45);\r\n    display.print( &quot;VER: &quot;);\r\n    display.println( sver  );\r\n    display.refresh();\r\n    delay( 100 );\r\n    \r\n}\r\n<\/pre>\n<p><strong>getEEPROM.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getEEPROM.ino\">\r\n\/\/ EEPROM\r\nvoid GetUID()\r\n{\r\n  \r\n  \/\/ Get unit ID\r\n  uid = &quot;&quot;;\r\n  for (int x = 0; x &lt; 5; x++)\r\n  {\r\n    uid = uid + char(EEPROM.read(x));\r\n  }\r\n  \r\n}\r\n<\/pre>\n<p><strong>getRHT.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getRHT.ino\">\r\n\/\/ RHT03 Humidity and Temperature Sensor\r\nvoid isRHT03(){\r\n\r\n  \/\/ Call rht.update() to get new humidity and temperature values from the sensor.\r\n  int updateRet = rht.update();\r\n\r\n  \/\/ The humidity(), tempC(), and tempF() functions can be called -- after \r\n  \/\/ a successful update() -- to get the last humidity and temperature value \r\n  latestHumidity = rht.humidity();\r\n  latestTempC = rht.tempC();\r\n  latestTempF = rht.tempF();\r\n  \r\n}\r\n<\/pre>\n<p><strong>getRTCpcf8523.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getRTCpcf8523.ino\">\r\n\/\/ PCF8523 Precision RTC \r\nvoid setupRTC() {\r\n\r\n  \/\/ pcf8523 Precision RTC   \r\n  if (! rtc.begin()) {\r\n    while (1);\r\n  }  \r\n  if (! rtc.initialized()) {\r\n    \/\/ Following line sets the RTC to the date &amp; time this sketch was compiled\r\n    rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));\r\n    \/\/ This line sets the RTC with an explicit date &amp; time, for example to set\r\n    \/\/ January 21, 2014 at 3am you would call:\r\n    \/\/ rtc.adjust(DateTime(2018, 9, 29, 12, 17, 0));\r\n  }\r\n  \r\n}\r\n\/\/ Date and Time RTC\r\nvoid isRTC () {\r\n\r\n  \/\/ Date and Time\r\n  DateTime now = rtc.now();\r\n  \/\/ Date\r\n  dateRTC = now.year(), DEC; \r\n  dateRTC = dateRTC + &quot;\/&quot;;\r\n  dateRTC = dateRTC + now.month(), DEC;\r\n  dateRTC = dateRTC + &quot;\/&quot;;\r\n  dateRTC = dateRTC + now.day(), DEC;\r\n  \/\/ Time\r\n  timeRTC = now.hour(), DEC;\r\n  timeRTC = timeRTC + &quot;:&quot;;\r\n  timeRTC = timeRTC + now.minute(), DEC;\r\n  timeRTC = timeRTC + &quot;:&quot;;\r\n  timeRTC = timeRTC + now.second(), DEC;\r\n  \r\n}\r\n<\/pre>\n<p><strong>getSD.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getSD.ino\">\r\n\/\/ SD Card\r\nvoid setupSD() {\r\n\r\n  \/\/ SD Card\r\n    pinMode( chipSelect , OUTPUT );\r\n    if(!SD.begin( chipSelect )){\r\n        ;  \r\n        return;\r\n    }\r\n    uint8_t cardType = SD.cardType();\r\n\r\n    if(cardType == CARD_NONE){\r\n        ; \r\n        return;\r\n    }\r\n\r\n    \/\/Serial.print(&quot;SD Card Type: &quot;);\r\n    if(cardType == CARD_MMC){\r\n        ; \r\n    } else if(cardType == CARD_SD){\r\n        ; \r\n    } else if(cardType == CARD_SDHC){\r\n        ; \r\n    } else {\r\n        ; \r\n    } \r\n\r\n    uint64_t cardSize = SD.cardSize() \/ (1024 * 1024);\r\n  \r\n}\r\n\/\/ SD Card\r\nvoid isSD() {\r\n\r\n  zzzzzz = &quot;&quot;;\r\n\r\n  zzzzzz = uid + &quot;|&quot; + sver + &quot;|&quot; + dateRTC + &quot;|&quot; + timeRTC + &quot;|&quot; + latestHumidity + &quot;|&quot; + latestTempC + &quot;|&quot; + latestTempF + &quot;|\\r&quot;;\r\n\r\n  char msg[zzzzzz.length() + 1];\r\n\r\n  zzzzzz.toCharArray(msg, zzzzzz.length() + 1);\r\n\r\n  appendFile(SD, &quot;\/espdata.txt&quot;, msg );\r\n  \r\n}\r\n\/\/ List Dir\r\nvoid listDir(fs::FS &amp;fs, const char * dirname, uint8_t levels){\r\n    dirname;\r\n    File root = fs.open(dirname);\r\n    if(!root){\r\n        return;\r\n    }\r\n    if(!root.isDirectory()){\r\n        return;\r\n    }\r\n\r\n    File file = root.openNextFile();\r\n    while(file){\r\n        if(file.isDirectory()){\r\n            file.name();\r\n            if(levels){\r\n                listDir(fs, file.name(), levels -1);\r\n            }\r\n        } else {\r\n            file.name();\r\n            file.size();\r\n        }\r\n        file = root.openNextFile();\r\n    }\r\n}\r\n\/\/ Write File\r\nvoid writeFile(fs::FS &amp;fs, const char * path, const char * message){\r\n    path;\r\n    File file = fs.open(path, FILE_WRITE);\r\n    if(!file){\r\n        return;\r\n    }\r\n    if(file.print(message)){\r\n        ;  \r\n    } else {\r\n        ;  \r\n    }\r\n    file.close();\r\n}\r\n\/\/ Append File\r\nvoid appendFile(fs::FS &amp;fs, const char * path, const char * message){\r\n    \/\/Serial.printf(&quot;Appending to file: %s\\n&quot;, path);\r\n    path;\r\n    File file = fs.open(path, FILE_APPEND);\r\n    if(!file){\r\n        return;\r\n    }\r\n    if(file.print(message)){\r\n        ;  \r\n    } else {\r\n        ;  \r\n    }\r\n    file.close();\r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"setup.ino\">\r\n\/\/ Setup\r\nvoid setup() {\r\n\r\n  \/\/ EEPROM with unique ID\r\n  EEPROM.begin(EEPROM_SIZE);\r\n   \r\n  \/\/ Get Unit ID\r\n  GetUID();\r\n  \r\n  \/\/ SHARP Display start &amp; clear the display\r\n  display.begin();\r\n  display.clearDisplay();\r\n\r\n  isDisplayUID();\r\n\r\n  delay( 5000 );\r\n  \r\n  \/\/ Initialize the LED Green\r\n  pinMode(iLEDGreen, OUTPUT);\r\n\r\n  \/\/ PCF8523 Precision RTC \r\n  setupRTC();\r\n\r\n  \/\/ Date and Time RTC\r\n  isRTC();\r\n\r\n  \/\/ RHT03 Humidity and Temperature Sensor\r\n  \/\/ Call rht.begin() to initialize the sensor and our data pin\r\n  rht.begin(RHT03_DATA_PIN);\r\n\r\n  \/\/ SD Card\r\n  setupSD();\r\n\r\n  \/\/ Rocker Switches\r\n  pinMode(iRow1, INPUT);\r\n  \r\n}\r\n<\/pre>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Web:<\/strong> http:\/\/neosteamlabs.com\/<br \/>\n<strong>Web:<\/strong> http:\/\/www.jlpconsultants.com\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/channel\/UC5eRjrGn1CqkkGfZy0jxEdA<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>Instagram:<\/strong> https:\/\/www.instagram.com\/neosteamlabs\/<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Etsy:<\/strong> https:\/\/www.etsy.com\/shop\/NeoSteamLabs<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ESP32 Feather &#8211; Rocker Switches &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; Rocker Switch &#8211; Round These panel-mounting rocker switches simple SPST on-off. They mount into a 20.2mm diameter hole and are rated up to 16A @ 12v. DonLuc1909Mk03 1 x Adafruit HUZZAH32 ESP32 Feather 1 x Adafruit SHARP Memory Display 1 x Adafruit Adalogger FeatherWing &#8230; <a title=\"Project #11: ESP32 Feather &#8211; Rocker Switches &#8211; Mk06\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=1953\" aria-label=\"Read more about Project #11: ESP32 Feather &#8211; Rocker Switches &#8211; Mk06\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81,47,38,80,59,5,82,10,43],"tags":[86,6,87,19,83,85,24,9,84,88],"class_list":["post-1953","post","type-post","status-publish","format-standard","hentry","category-esp32-project","category-adafruit","category-digitalelectronics","category-esp32","category-fritzing","category-microcontrollers","category-program-esp32","category-projects","category-sparkfun","tag-adafruit","tag-arduino","tag-display","tag-electronics","tag-esp32","tag-fritzing","tag-microcontroller","tag-programming","tag-programming-esp32","tag-rht03-humidity-and-temperature-sensor"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/1953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1953"}],"version-history":[{"count":2,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/1953\/revisions"}],"predecessor-version":[{"id":1960,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/1953\/revisions\/1960"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}