{"id":338,"date":"2020-02-28T23:12:10","date_gmt":"2020-02-28T23:12:10","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/recuperer-la-prochaine-alarme-alexa-au-format-hhmm"},"modified":"2020-02-28T23:12:10","modified_gmt":"2020-02-28T23:12:10","slug":"recuperer-la-prochaine-alarme-alexa-au-format-hhmm","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/es\/recuperer-la-prochaine-alarme-alexa-au-format-hhmm","title":{"rendered":"Recuperar la pr\u00f3xima alarma Alexa en formato HHmm"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-333\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/alexaformathorloge.png\" alt=\"reloj alexaformat\" width=\"500\" height=\"150\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/alexaformathorloge.png 500w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/alexaformathorloge-300x90.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>  <!--more-->  <\/p>\n<p>Este minituto te permitir\u00e1 recuperar la alarma (o la alarma de m\u00fasica, o el temporizador o recordatorio) en el formato <strong>HHmm<\/strong>.<\/p>\n<p>El plugin siempre devuelve la informaci\u00f3n en formato CRON, que corresponde a: <strong><span class=\"displayError\">2020-02-29 10:55:00<\/span><\/strong><\/p>\n<p>Dependiendo del uso que quieras hacer de esta informaci\u00f3n, a veces tienes que cambiar el formato.<\/p>\n<p>HHmm ser\u00eda <strong>1055<\/strong> en nuestro ejemplo.Esto podr\u00eda adaptarse a otros formatos.<\/p>\n<p>En este ejemplo, crearemos un nuevo Comando de Informaci\u00f3n que se llamar\u00e1 <em><strong>Siguiente Alarma de HHmm<\/strong><\/em>, dar\u00e1 la hora de la pr\u00f3xima alarma en mi dispositivo <em><strong>c\u00e1mara<\/strong><\/em><\/p>\n<p>Para hacer esto, cree un nuevo virtual (gracias al plugin Virtual) llamado <em><strong>C\u00e1mara HHmm<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-334\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom.png\" alt=\"Captura de pantalla 2020 02 29 Virtual Jeedom\" width=\"525\" height=\"148\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom.png 525w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom-300x85.png 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<ul>\n<li>Vaya a la pesta\u00f1a Pedidos<\/li>\n<li>A\u00f1adir una informaci\u00f3n virtual<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-335\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom1.png\" alt=\"Captura de pantalla 2020 02 29 Virtual Jeedom1\" width=\"145\" height=\"25\" \/><\/p>\n<ul>\n<li>En nombre, poner <strong>Siguiente Alarma de HHmm<\/strong><em><\/em><\/li>\n<li>En el subtipo, poner <strong>Los dem\u00e1s<\/strong><\/li>\n<\/ul>\n<p>Para mi ejemplo, usar\u00e9 <strong>Siguiente Alarma<\/strong> que est\u00e1 en mi equipo <strong>La habitaci\u00f3n<\/strong> que est\u00e1 en el objeto <strong>piso<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-336\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom2.png\" alt=\"Captura de pantalla 2020 02 29 Virtual Jeedom2\" width=\"707\" height=\"113\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom2.png 707w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom2-600x96.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom2-300x48.png 300w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/p>\n<ul>\n<li>En Valor, poner <strong>sprintf(\u00ab\u00a0d\",trim(substr(#[Etage][La habitaci\u00f3n][Siguiente alarma]#, 11, 2)))sprintf(\u00ab\u00a0d\",trim(substr(#[Etage][La habitaci\u00f3n][Siguiente alarma]#,14, 2)))<\/strong> reemplazar <em><strong>#[Etage][La habitaci\u00f3n][Siguiente alarma]#<\/strong><\/em> por su orden.<\/li>\n<li>Haga clic en <strong>Guardar<\/strong><\/li>\n<\/ul>\n<p>&nbsp;Para comprobar que funciona, haga clic en el bot\u00f3n <strong>Pruebas<\/strong>, si todo va bien, tendr\u00e1s tu pr\u00f3xima alarma en formato <strong>HHmm<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-337\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom3.png\" alt=\"Captura de pantalla 2020 02 29 Virtual Jeedom3\" width=\"638\" height=\"157\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom3.png 638w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom3-600x148.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2020\/02\/Screenshot_2020-02-29_Virtual_-_Jeedom3-300x74.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/p>\n<p>Utilice este nuevo comando <strong>Siguiente Alarma de HHmm<\/strong> en lugar de la orden<strong> Siguiente Alarma<\/strong> de su dispositivo.<\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-338","post","type-post","status-publish","format-standard","hentry","category-domotique"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/posts\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/posts\/338\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/media?parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/categories?post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/tags?post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}