Cómo ahorrar energía

Cómo ahorrar energía es algo que nos preocupa a todos y más después del cambio de tarifa del gobierno. Vamos a ver cómo en pocos pasos y gracias a nuestro Home Assistant, podemos ahorrar energía en electrodomésticos de nuestro hogar.

Lo primero que necesitamos es disponer de un sensor (o en este caso un input_select) que nos marque en qué periodo estamos. Así cómo que nos indique si estamos en día festivo nacional o no.

Así que lo primero que crearemos será un input_select que nos marque el período actual de la energía, después un input_boolean que nos marque si estamos en día festivo nacional o no. Y por último, un input date time para ponerle la fecha de la próxima fiesta nacional y así hacer que el input_boolean de fiesta nacional se active automáticamente..

Todo esto no puede dejar el código ya que HA no nos lo facilita pero en el siguiente vídeo explico detalladamente cómo crearlos.

Ahora que ya tenemos nuestros ayudantes, vamos a darles inteligencia con las siguientes automatizaciones. Si has creado los ayudantes con el mismo nombre que yo he hecho en el vídeo, sólo necesitas copiar pegar para que te funcionen. Si has puesto otro nombre a los ayudantes, no te olvides de cambiarlo en el desencadenante.

Las automatizaciones

No olviden copiar estas automatizaciones en su archivo automations.yaml. Cómo condición también podemos utilizar el sensor workday.

- id: '1623272325217'
  alias: periodoelectrico elegir 00
  description: ''
  trigger:
  - platform: time
    at: 00:00
  condition: []
  action:
  - service: input_select.select_option
    data:
      option: Valle
    target:
      entity_id: input_select.periodoelectrico
  mode: single
- id: '1623272879624'
  alias: periodoelectrico elegir 10
  description: ''
  trigger:
  - platform: time
    at: '10:00'
  condition:
  - condition: state
    entity_id: input_boolean.festivo_nacional
    state: 'off'
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  action:
  - service: input_select.select_option
    data:
      option: Pico
    target:
      entity_id: input_select.periodoelectrico
  mode: single
- id: '1623273115067'
  alias: periodoelectrico elegir 14
  description: ''
  trigger:
  - platform: time
    at: '14:00'
  condition:
  - condition: state
    entity_id: input_boolean.festivo_nacional
    state: 'off'
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  action:
  - service: input_select.select_option
    data:
      option: Llano
    target:
      entity_id: input_select.periodoelectrico
  mode: single
- id: '1623273205704'
  alias: periodoelectrico elegir 08
  description: ''
  trigger:
  - platform: time
    at: 08:00
  condition:
  - condition: state
    entity_id: input_boolean.festivo_nacional
    state: 'off'
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  action:
  - service: input_select.select_option
    data:
      option: Llano
    target:
      entity_id: input_select.periodoelectrico
  mode: single
- id: '1623273356098'
  alias: periodoelectrico elegir 18
  description: ''
  trigger:
  - platform: time
    at: '18:00'
  condition:
  - condition: state
    entity_id: input_boolean.festivo_nacional
    state: 'off'
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  action:
  - service: input_select.select_option
    data:
      option: Pico
    target:
      entity_id: input_select.periodoelectrico
  mode: single
- id: '1623273443568'
  alias: periodoelectrico elegir 22
  description: ''
  trigger:
  - platform: time
    at: '22:00'
  condition:
  - condition: state
    entity_id: input_boolean.festivo_nacional
    state: 'off'
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  action:
  - service: input_select.select_option
    data:
      option: Llano
    target:
      entity_id: input_select.periodoelectrico
  mode: single
- id: '1623274149247'
  alias: festivo nacional activar por fecha
  description: ''
  trigger:
  - platform: time
    at: input_datetime.festivo_nacional_proximo
  condition: []
  action:
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.festivo_nacional
  - delay:
      hours: 23
      minutes: 0
      seconds: 0
      milliseconds: 0
  - service: input_boolean.turn_off
    target:
      entity_id: input_boolean.festivo_nacional
  mode: single

Ahora ya tenemos una entidad que nos marca en qué periodo eléctrico estamos, así que lo podremos utilizar de desencadenante en nuestras automatizaciones.

Al final del artículo dejo el vídeo explicativo que también recomiendo que lo vean.

Aquí voy a poner dos ejemplos, primero un calentador eléctrico que esté encendido todo el día excepto en el periodo Pico.

- id: '1623407171814'
  alias: calentador electrico
  description: ''
  trigger:
  - platform: state
    to: Pico
    entity_id: input_select.periodoelectrico
  condition: []
  action:
  - service: switch.turn_off
    target:
      entity_id: switch.03153005dc4f22d64af4
  mode: single
- id: '1623407285674'
  alias: calentador electrico on
  description: ''
  trigger:
  - platform: state
    from: Pico
    entity_id: input_select.periodoelectrico
  condition: []
  action:
  - service: switch.turn_on
    target:
      entity_id: switch.03153005dc4f22d64af4
  mode: single

Ahora vamos a ver cómo hacer que un dispositivo sólo funcione a las horas valle. Para crear estas automatizaciones, pueden hacerlo viendo el siguiente vídeo y aquí a bajo, les dejo los códigos.

- id: '1623407512950'
  alias: solo hora valle off
  description: ''
  trigger:
  - platform: state
    entity_id: input_select.periodoelectrico
    from: Valle
  condition: []
  action:
  - service: switch.turn_off
    target:
      entity_id: switch.63667231840d8e501b7a_2
  mode: single
- id: '1623407608045'
  alias: solo hora valle on
  description: ''
  trigger:
  - platform: state
    entity_id: input_select.periodoelectrico
    to: Valle
  condition: []
  action:
  - service: switch.turn_on
    target:
      entity_id: switch.63667231840d8e501b7a_2
  mode: single

Sígueme a Youtube

Sígueme en Youtube

13 comentarios en “Cómo ahorrar energía”

  1. Pingback: Workday sensor - Tecnoyfoto - Tu web de electrónica y domótica

  2. Fredrick Waag

    This site really has all of the information and facts I needed concerning this subject and didn’t know who to ask.

    1. Thank you for your comment! I’m glad to hear that you found all the information and facts you needed about saving energy on my site. It’s always great to know that my articles are helpful and informative to my readers. If you have any questions or if there’s anything else I can assist you with, feel free to let me know. Thanks for visiting my site!

    1. It’s great to hear that after a few readings, the reader is able to understand most of what they read. This is a sign of progress and improvement in their reading skills. Reading regularly and challenging oneself with more complex texts can further improve comprehension. Keep up the good work and keep reading!

  3. Janessa Arnow

    A fascinating discussion is definitely worth comment. I do believe that you should publish more about this subject, it might not be a taboo matter but usually people don’t speak about such subjects. To the next! Cheers!!

    1. Thank you for your feedback and for encouraging me to publish more content on this subject! I agree that it’s important to have open and honest discussions about topics that are often considered taboo or difficult to talk about. I’ll definitely keep this in mind as I plan future content for my blog. Thank you for reading and taking the time to share your thoughts. Cheers!

  4. Joshua Maruco

    I would like to thank you for the efforts you’ve put in penning this site. I am hoping to see the same high-grade content from you later on as well. In fact, your creative writing abilities has motivated me to get my very own website now 😉

    1. Thank you for your kind words and support! I’m happy to hear that my content has inspired you to start your own website. Writing can be a powerful tool for self-expression and sharing knowledge with others, and I encourage you to pursue your passion for creative writing. With dedication and effort, you can develop your skills and produce high-quality content that resonates with your audience. I wish you all the best in your blogging journey and look forward to seeing your website in the future!

    1. Thank you for your interest in contacting us. You can find our contact information on our website under the «Contact Us» section. However, please note that we do not provide personal information to individuals for privacy and security reasons. If you have any general questions or inquiries, please feel free to reach out to us and we will do our best to assist you.

  5. You’re so awesome! I don’t believe I’ve read through something like that before. So good to find someone with a few genuine thoughts on this subject matter. Seriously.. thanks for starting this up. This website is something that is required on the internet, someone with a bit of originality!

    1. Thank you so much for your kind words, Tori! I really appreciate your feedback and I’m glad that you found the content on my website to be unique and valuable. It’s always my goal to share my genuine thoughts and ideas on various topics, and I’m glad to hear that it resonates with you.

      I will continue to strive to provide original content that is useful and informative for my readers. Thank you for visiting my website and taking the time to leave such a positive comment!

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Scroll al inicio