{"id":1436,"date":"2024-09-10T06:07:08","date_gmt":"2024-09-10T04:07:08","guid":{"rendered":"https:\/\/labopothier.com\/?p=1436"},"modified":"2025-01-09T12:03:58","modified_gmt":"2025-01-09T11:03:58","slug":"activite-arduino-python-utilisation-dun-capteur-co2-avec-arduino-trace-de-graphe-dans-python-2","status":"publish","type":"post","link":"https:\/\/labopothier.com\/index.php\/2024\/09\/10\/activite-arduino-python-utilisation-dun-capteur-co2-avec-arduino-trace-de-graphe-dans-python-2\/","title":{"rendered":"ACTIVITE ARDUINO\/PYTHON : Utilisation d&rsquo;un capteur CO2 avec Arduino, trac\u00e9 de graphe dans Python"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\"><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 23%\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-text-align-center\" style=\"font-size:15px\"><strong>Objectif<\/strong> : Mesurer la concentration CO2 en ppm dans une pi\u00e8ce \u00e0 l&rsquo;aide du capteur<em><strong> <a href=\"https:\/\/www.gotronic.fr\/art-capteur-de-c02-infrarouge-gravity-sen0219-25725.htm\">Gravity SE<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/www.gotronic.fr\/art-capteur-de-c02-infrarouge-gravity-sen0219-25725.htm\" target=\"_blank\">N021<\/a><a href=\"https:\/\/www.gotronic.fr\/art-capteur-de-c02-infrarouge-gravity-sen0219-25725.htm\">9<\/a><\/strong><\/em><\/p>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/gravity-analog-infrared-co2-sensor-arduino-1-300x300.jpg\" alt=\"\" class=\"wp-image-1056 size-medium\" srcset=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/gravity-analog-infrared-co2-sensor-arduino-1-300x300.jpg 300w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/gravity-analog-infrared-co2-sensor-arduino-1-1024x1024.jpg 1024w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/gravity-analog-infrared-co2-sensor-arduino-1-150x150.jpg 150w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/gravity-analog-infrared-co2-sensor-arduino-1-768x768.jpg 768w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/gravity-analog-infrared-co2-sensor-arduino-1.jpg 1350w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure><\/div>\n\n\n\n<p><strong>Remarque<\/strong> : Cet article s&rsquo;inspire d&rsquo;un TP propos\u00e9 par Pierre Dieumegard sur le site <a rel=\"noreferrer noopener\" href=\"http:\/\/sciencexp.free.fr\" target=\"_blank\">sciencexp<\/a>. <\/p>\n\n\n\n<p>Le lien se trouve \u00e0 cette adresse : <a rel=\"noreferrer noopener\" href=\"http:\/\/sciencexp.free.fr\/index.php?perma=capteurCO2GravitySEN0219\" target=\"_blank\">http:\/\/sciencexp.free.fr\/index.php?perma=capteurCO2GravitySEN0219<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 26%\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-text-align-center has-normal-font-size\">Cet article propose le m\u00eame code Arduino adapt\u00e9 ici au <a rel=\"noreferrer noopener\" href=\"https:\/\/www.gotronic.fr\/art-shield-lcd-2x16-dfr0009-19255.htm\" target=\"_blank\">shield LCD 2&#215;16 DFR0009<\/a>.<\/p>\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"500\" src=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/03\/ori-shield-lcd-2x16-dfr0009-19255.jpg\" alt=\"\" class=\"wp-image-1073 size-full\" srcset=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/03\/ori-shield-lcd-2x16-dfr0009-19255.jpg 600w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/03\/ori-shield-lcd-2x16-dfr0009-19255-300x250.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure><\/div>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"989\" src=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/IMG-9361-1-1024x989.jpg\" alt=\"\" class=\"wp-image-1054\" srcset=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/IMG-9361-1-1024x989.jpg 1024w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/IMG-9361-1-300x290.jpg 300w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/IMG-9361-1-768x742.jpg 768w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/IMG-9361-1.jpg 1488w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Ce montage permet de mesurer la concentration en CO2 dans une pi\u00e8ce et d&rsquo;alerter sur l&rsquo;a\u00e9ration :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Concentration inf\u00e9rieure \u00e0 800 ppm : pas de danger -&gt; LED verte \u00e9clair\u00e9e et smiley \u00ab\u00a0content\u00a0\u00bb<\/li>\n\n\n\n<li>Concentration comprise entre 800 et 1600 ppm : a\u00e9ration requise-&gt; LED orange \u00e9clair\u00e9e et smiley \u00ab\u00a0moyen content\u00a0\u00bb<\/li>\n\n\n\n<li>Concentration sup\u00e9rieure \u00e0 1600 ppm : a\u00e9ration imp\u00e9rative -&gt; LED rouge \u00e9clair\u00e9e et smiley \u00ab\u00a0pas content\u00a0\u00bb<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"788\" src=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/03\/montage-CO2-1-1024x788.png\" alt=\"\" class=\"wp-image-1069\" srcset=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/03\/montage-CO2-1-1024x788.png 1024w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/03\/montage-CO2-1-300x231.png 300w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/03\/montage-CO2-1-768x591.png 768w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/03\/montage-CO2-1.png 1119w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Voici le code Arduino :<\/p>\n\n\n\n<pre title=\"Code Arduino pour capteur CO2\" class=\"wp-block-code\"><code lang=\"cpp\" class=\"language-cpp\">\/* \n Infrared CO2 Sensor0-5000ppm   \n \n This example The sensors detect CO2 \n @author lg.gang(lg.gang@qq.com) \n @version  V1.0 \n @date  2016-7-6 \n GNU Lesser General Public License. \n See <a href=\"http:\/\/www.gnu.org\/licenses\/\">http:\/\/www.gnu.org\/licenses\/<\/a> for details. \n All above must be included in any redistribution \n **\/ \n \/\/ int\u00e9gration des capteurs d'humidit\u00e9 DHT11 et de CO2 par\n \/\/ Pierre Dieumegard, 4 d\u00e9cembre 2018\n \/\/ modifi\u00e9 par Jonas FORLOT 28 f\u00e9vrier pour utilisation avec shield LCD DF ROBOT \n #include  &lt;LiquidCrystal.h&gt;\nLiquidCrystal lcd(8,9, 4, 5, 6, 7);\n int sensorIn = A1;   \n double total=0;\n double totalA2=0;\n float concentration = 0;\n byte smiley_pas_content[8] = {\n   B00000,\n   B10001,\n   B00000,\n   B00000,\n   B01110,\n   B10001,\n   B00000,\n };\n byte smiley_content[8] = {\n   B00000,\n   B10001,\n   B00000,\n   B00000,\n   B10001,\n   B01110,\n   B00000,\n };\n byte smiley_moyen[8] = {\n   B00000,\n   B10001,\n   B00000,\n   B00000,\n   B11111,\n   B00000,\n   B00000,\n };\n void setup(){   \n   pinMode(11,OUTPUT);\n   pinMode(3,OUTPUT);\n   pinMode(2,OUTPUT);\n Serial.begin(9600);   \n   \/\/ Set the default voltage of the reference voltage \n    analogReference (DEFAULT);\n    lcd.begin(16,2);\n    lcd.clear();\n    lcd.setCursor(0, 0);\n    lcd.print(\"   Mesure   Concentration \");\/\/Print a message to the LCD.\n    lcd.setCursor(0, 1);\n    lcd.print(\"               CO2  \");\/\/Print a message to the LCD. \n \/\/ d\u00e9placement de 16 position vers la droite\n   for (int i = 0; i &lt; 10; i++) {\n     lcd.scrollDisplayLeft();\n     delay(300);\n   }\n delay (100);\n } \n void loop(){  \n   \/\/Lecture de la tension pour CO2 \n   int sensorValue = analogRead(sensorIn);  \n  total=0;\n  totalA2=0;\n  for (int i=1; i &lt;= 50; i++){\n       total=total+analogRead(1)  ;\n       totalA2=totalA2+analogRead(2)  ;\n       delay(20); \n       }\n\/\/ Conversion en volts  \n   float voltage = (total\/50)*(5000\/1024.0);     \nif(voltage == 0)    {      \nSerial.println(\"Probl\u00e8me\");     \n lcd.clear();      \nlcd.print(\"Probl\u00e8me\");  \n }    \n\nelse if(voltage &lt; 400)    {          \nSerial.println(\"Pr\u00e9chauffage\");        \n lcd.clear();         \n lcd.print(\"pr\u00e9chauffage\");    \n}    \nelse    {      \nint voltage_diference=voltage-400;      \nfloat concentration=voltage_diference*50.0\/16.0; \n     lcd.clear();\n     \/\/Print CO2 concentration \n     Serial.print(\"CO2: \");\n     Serial.print(concentration);\n     Serial.println(\" ppm\"); <code>\/\/allumage des LED<\/code>\n if  (concentration &lt; 800) {   \n     digitalWrite (2,HIGH);\n     digitalWrite (3,LOW);\n     digitalWrite (11,LOW);\n     lcd.setCursor(0,0);\n     lcd.print(\"CO2: \");\n     lcd.print(concentration);\n     lcd.print(\"ppm\");\n     lcd.createChar(0, smiley_content);\n     lcd.setCursor(7,1);\n     lcd.write(byte(0));\n <code>delay(1000);<\/code>\n }\n else if  (concentration &gt; 1600) {\n     digitalWrite (2,LOW);\n     digitalWrite (3,LOW);\n     digitalWrite (11,HIGH);\n <code>lcd.setCursor(0,0); <\/code>\n<code>lcd.print(\"CO2: \"); <\/code>\n<code>lcd.print(concentration); <\/code>\n<code>lcd.print(\"ppm\"); <\/code>\n<code>lcd.createChar(0, smiley_pas_content); <\/code>\n<code>lcd.setCursor(7,1); <\/code>\n<code>lcd.write(byte(0));<\/code>\n<code> delay(1000);<\/code>\n }\n else {\n     digitalWrite (2,LOW);\n     digitalWrite (3,HIGH);\n     digitalWrite (11,LOW);\n      lcd.setCursor(0,0);\n     lcd.print(\"CO2: \");\n     lcd.print(concentration);\n     lcd.print(\"ppm\");\n     lcd.createChar(0, smiley_moyen);\n     lcd.setCursor(7,1);\n     lcd.write(byte(0));\n <code>delay(1000);<\/code>\n }\n   }\n <code>\/\/maintenant la voie A2( facultative pour la lecture de CO2)<\/code>\n \/\/    lcd.setCursor(0,1);\n \/\/    lcd.print(\"A2: \");\n \/\/    lcd.print(totalA2\/50);\n \/\/    Serial.print(\"; A2: \");\n \/\/    Serial.print(totalA2\/50);\n \/\/    Serial.print(\" \\n\"); \n } <\/code><\/pre>\n\n\n\n<p>Un code Python est aussi propos\u00e9 ici pour r\u00e9cup\u00e9rer les donn\u00e9es et tracer une courbe.<\/p>\n\n\n\n<p>Dans cet article , je ne rentrerai pas dans les d\u00e9tails pour les \u00e9tapes de r\u00e9cup\u00e9ration de donn\u00e9es. Pour cela, je vous invite \u00e0 consulter l\u2019article qui explique ces diff\u00e9rentes \u00e9tapes sur ce lien :<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/labopothier.com\/index.php\/2024\/09\/10\/activite-arduino-python-recuperer-avec-python-les-donnees-dune-carte-arduino-avec-trace-de-graphes-exemple-avec-une-mesure-de-distance-par-ultrason\/\" target=\"_blank\" rel=\"noreferrer noopener\">R\u00e9cup\u00e9ration des donn\u00e9es d\u2019une carte Arduino avec Python<\/a><\/strong><\/p>\n\n\n\n<p>Voici le code Python pour r\u00e9cup\u00e9rer les donn\u00e9es et tracer le graphe en temps r\u00e9el<\/p>\n\n\n\n<pre title=\"Script Python pour r\u00e9cup\u00e9ration des donn\u00e9es et trac\u00e9 de graphe\" class=\"wp-block-code\"><code lang=\"python\" class=\"language-python\">\n #importation des modules\n import serial\n import serial.tools.list_ports # pour la communication avec le port s\u00e9rie\n import matplotlib.pyplot as plt  # pour le trac\u00e9 de graphe\n from matplotlib import animation # pour la figure anim\u00e9e\n import time # gestion du temps\n \n\n #initialisation des listes\n \n\n liste_temps_mesure =[] # liste pour stocker le temps\"brut\"\n liste_temps=[] # liste pour stocker les valeurs de temps en partant de t=0\n liste_CO2 = [] # liste pour stocker les valeurs de concentration\n \n\n t_acquisition = 100.0\n Cmax= 5000 # en ppm\n \n\n \n\n #pour le graphe en temps r\u00e9el\n def animate(i):\n     line1 = Data.readline()\n     print (line1)\n     # on retire les caract\u00e8res d'espacement en d\u00e9but et fin de cha\u00eene\n     listeDonnees = line1.strip()\n     # on s\u00e9pare les informations re\u00e7ues s\u00e9par\u00e9es par les espaces et on stocke ces informations dans une liste pour chacune de lignes\n     listeDonnees = line1.split()\n     print (listeDonnees)\n \n\n \n\n     if len(listeDonnees)== 3 : # parfois des lignes de donn\u00e9es vides peuvent \u00eatre envoy\u00e9es, il faut les \"\u00e9carter\"\n         Concentration = float(listeDonnees[1].decode()) # apr\u00e8s consulation des donn\u00e9es, nous choisissons le 2\u00e8me \u00e9l\u00e9ment de listeDonnees\n         tempsmes = time.time()\n         liste_temps_mesure.append(tempsmes) # temps mesur\u00e9 \"brut\" stock\u00e9 dans une liste\n         tempsreel = tempsmes - liste_temps_mesure[0] # pour faire partir le temps de 0 (cette valeur de temps sera stock\u00e9e dans une autre liste : liste_temps)\n \n\n         while tempsreel &lt;= t_acquisition:\n             liste_CO2.append(Concentration)\n             print(\"d = %f\"%(Concentration), \" ppm\") # affichage de la valeur de la concentration\n             liste_temps.append(tempsreel)\n             print(\"temps mesur\u00e9 = %f\"%(tempsmes), \" s\") # affichage de la valeur du temps absolu\n             print(\"temps r\u00e9el= %f\"%(tempsreel), \" s\") # affichage de la valeur du temps en partant de 0\n             line.set_data(liste_temps,liste_CO2)\n             return line,\n \n\n \n\n \n\n \n\n \n\n \n\n # Fonction pour la r\u00e9cup\u00e9ration des donn\u00e9es s\u00e9rie venant de la carte Arduino\n def recup_port_Arduino() :\n     ports = list(serial.tools.list_ports.comports())\n     for p in ports:\n         if 'Arduino' in p.description :\n             mData = serial.Serial(p.device,9600)\n     print(mData.is_open) # Affiche et v\u00e9rifie que le port est ouvert\n     print(mData.name) # Affiche le nom du port\n     return mData\n \n\n \n\n \n\n \n\n \n\n \n\n Data =recup_port_Arduino() #r\u00e9cup\u00e9ration des donn\u00e9es\n \n\n # Cr\u00e9ation figure\n fig=plt.figure()\n line, = plt.plot([],[])\n plt.xlim(0, t_acquisition)\n plt.ylim(0,Cmax)\n plt.xlabel('temps en s')\n plt.ylabel('Concentration CO2 en ppm')\n plt.grid()\n \n\n \n\n #Animation\n ani = animation.FuncAnimation(fig, animate, frames=200,  interval=20,repeat=False)\n \n\n plt.show()\n \n\n plt.close(fig)\n Data.close() # pour arr\u00eater la lecture des donn\u00e9es s\u00e9rie\n \n\n #Ecriture dans un fichier txt\n lines=['t\\tC\\n'] #premi\u00e8re ligne du fichier txt\n for i in range (len (liste_CO2)):\n     line = str(liste_temps[i]) +'\\t'+ str(liste_CO2[i])+'\\n'\n     lines.append(line)\n \n\n fichier = open('U:\\Documents\\\\data_arduino.txt', 'w')\n fichier.writelines(lines) #cr\u00e9ation d'un nouveau fichier texte<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"632\" height=\"506\" src=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/graphe-co2.png\" alt=\"\" class=\"wp-image-1061\" srcset=\"https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/graphe-co2.png 632w, https:\/\/labopothier.com\/wp-content\/uploads\/2022\/02\/graphe-co2-300x240.png 300w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/figure>\n\n\n\n<p>Lien Github avec les scripts :<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jonasforlot\/python-arduino\/tree\/main\/Capteur%20CO2\">https:\/\/github.com\/jonasforlot\/python-arduino\/tree\/main\/Capteur%20CO2<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Objectif : Mesurer la concentration CO2 en ppm dans une pi\u00e8ce \u00e0 l&rsquo;aide du capteur Gravity SEN0219 Remarque : Cet article s&rsquo;inspire d&rsquo;un TP propos\u00e9 par Pierre Dieumegard sur le site sciencexp. Le lien se trouve \u00e0 cette adresse : http:\/\/sciencexp.free.fr\/index.php?perma=capteurCO2GravitySEN0219 Cet article propose le m\u00eame code Arduino adapt\u00e9 ici au shield LCD 2&#215;16 DFR0009. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[7,11],"tags":[],"class_list":["post-1436","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microcontroleurs-et-python","category-recuperer-les-donnees-dune-carte-arduino-avec-python"],"_links":{"self":[{"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/posts\/1436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/comments?post=1436"}],"version-history":[{"count":3,"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/posts\/1436\/revisions"}],"predecessor-version":[{"id":1756,"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/posts\/1436\/revisions\/1756"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/media\/1565"}],"wp:attachment":[{"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/media?parent=1436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/categories?post=1436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labopothier.com\/index.php\/wp-json\/wp\/v2\/tags?post=1436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}