Some of my automations on HomeKit

Algunas de mis automatizaciones en HomeKit

I wanted to save this post for a future private part of the web where only the premium users subscribed could enter, some kind of Patreon or Ko-Fi to see if I get rich with the domotics… but as it seems that’s not going to happen, I’ve decided to tell you some of my automations in Homekit.. HomeKit’s colletle is because all of them are created from the Home app and from shortcuts, no third-party apps, but they’re actually automations I also use in Home Assistant when Apple pisses me off! At that time, disable all the automations from the Home app and I hold on to the death to Home Assistant thinking he’s my new pastor… a

And then I get the flanboy vein, I go back to HomeKit and disable all the Home Assistant automations to work only the ones I have in HomeKit. They are basically the same in both environments.

I haven’t talked about this before either because It’s very easy to get carried away and get involved with automations that don’t really solve any problems you have.. I’m sure you’ll have some idea or you’ll find some of the automations I’m talking about… but… Think about it if it really works something out for you.. I hope you all look useful or think that they bring value and make life easier, but if they are not automations you really need, you will see how they end up in disuse and end up with only the basics. For an example that I have already told you, I had a long time ago an automation that lit the lights of

blue-tone bath when I was getting up in the shower if that day was gonna rain… seems useful, right? Well, it’s like a piano. If that day is going to rain, you’ve heard about the thousand inputs we have from the time, the mobile app, the smartwatch, your neighbor’s comment on the elevator or the knee that you were operated and that hurts when it’s going to rain… but it rarely surprises us.

Not to mention the partner who had the Hue bridge connected to IFTTT to put the lights in the house Blau- grana when he marked a goal the Barça… because the guy complained that IFTTT was late warning him and heard the neighbor sing the goal before, so he was looking for another similar service but less late. Super useful.

I thought I’m gonna make you another delivery with some of my HomeKit notifications., roll second part, so this time we will focus only on Automations and Scenes and created from the Home app and from shortcuts, without Controller for Homekit or anything.

Well, let’s go to trouble.

Environments and Scenes

Please note that I like to use environments or scenes.. I find it more useful than creating an automation with everything that needs to be done, especially if you can re- use or manually launch. You have to think about this a little bit because You can have an automation that at 23: 30 will turn off all the lights… but you’re still interested in having it as an Environment so you can run it any time from your mobile or ask Siri. In addition, in an environment it is very easy to add new accessories If you have that automation to turn off all the lights and tomorrow you buy a new bulb, you have to get into the automat.

and add the accessory. If automation simply launches the Scene, you will have to edit the scene to add the new bulb and save yourself a lot of clicks.

If you finally create an environment or scene, You also have to think the name right because at some point you can ask Siri. It’s not the same thing to say ‘Hey Lola, run Lights and Music Nenes ON’ than say ‘Hey Lola, wake up the babies’ to run an environment called ‘Wake up the babies’ that will take care of turning on the lights and putting the music on the HomePods. The other day in a Domotic Consulting with Luis, a partner of the Telegram group who can no longer be a gulf, explained to me that he has an environment called Enamórame that puts the red lights and activates the intelligent plug of the record player (yes, record player) where he has a record of Eros Ramazzoti

… And obviously, to execute it, just say «Hey Lola, fall in love with me!» Luis, if you’re listening to me, I recommend you add in that environment so that the Nuki closes the door and doesn’t happen to you like when we were talking about your mother coming home.

On other occasions, automation calls for a shortcut. You know that when we are choosing the devices within an Automation, we can go down completely and you press to convert to shortcut in order to add conditions, variables or what we need. Which is very interesting for setting conditions. In an environment you can’t put conditions because you can’t turn into a shortcut.

Note that Siri is now smarter or smarter than before. Before you said «Hey Lola, turn on the living room,» it lit all the devices we had in the living room, even if it was a smart plug or air conditioning. I just made an ON of everything. Now if you say «Hey Lola, turn off the living room,» you know you have to turn off the lights, leaving the rest of the devices untouched.. You can also say «Hey Lola, turn off the lights in the living room,» of course… but the other way you save yourself 2 words! That’s saliva you can use for other things.

Some Automations

One of the automations you ask me the most about is the one I sometimes count on. ‘and when we leave the Community of Madrid, the boiler is turned off. ‘. The most typical question is how you define the Madrid Community. If you go to the Home app and create a new automation of those from ‘On Exit’, by default in Location puts House. But by clicking there, you can switch home to Madrid for example, with what you get from Madrid with the typical circular to expand the radio. In my case that radio is 31 kilometers to cover the entire city of Madrid and the surrounding area, so that when we leave the circle we run the ‘Far from home’ environment where

The boiler is completely turned off, the lights that may have been turned on are turned off, and the door is locked.

This automation can be adjusted to light some light to simulate presence But I don’t really do that with the ‘Away from Home’ automation, since it’s only used by me if we’re going to spend the day out or something… but I have another environment called ‘We’re on vacation’ that runs not when we leave the house with the ‘On Out’ automation, but with an ‘On Enter’ automation in Valencia where I’ve already told you that I have a summer apartment. In addition, in the Casa app I have other automations for that apartment, so that when I enter Valencia the electric thermo is turned on and, if it is cold, a couple of stu

You’re in the apartment. Needless to say, if it’s summer and the temperature is not low, then only the electric thermo is turned on.

It is also very important to include in the Home app the devices of the whole family. That my mobile leave the Community of Madrid is a relatively common thing, sometimes I have a work trip, a class in the polytechnic of Valencia or whatever. If my wife comes out too, it’s something else, but still we may have made a escape of lovers (remember children how important it is to keep the flame in the couple and do things alone) and that the children are at home because they have stayed with a kangaroo or grandparents, so that condition remains the same as if all the devices of the family of the community of Madrid come out.

You may be a little reluctant to add the children to the House app so that they don’t touch each other’s noses by turning the light on their brother when he’s in the bathroom or reading. But you can invite them to the Home app and, once accepted from your device, remove the House app, so that the permission is granted and the location of that device is taken into account but they cannot interact with the lights… unless the House app is reinstalled, of course.

In all the rooms I have some common environments. For example to turn on the lights or turn them off, Although now you can also tell Siri ‘Hey Lola, turn off the lights in the children’s room’ and know what lights you have to turn off without any problem. In addition to this, I have another environment called ‘Lamparitas’ that by saying ‘Hey Lola, light lamparitas’ lights all the home lamparitas at 60%. At home we are very much of having the lights on to give atmosphere, always with warm light and without being at the top of power… and we almost never turn on the ceiling lights.

Do you remember what we said a few days ago about the typical plug that is only used year to year by the Christmas tree? We can use it as a control device even if it has nothing behind it.. We can create an automation linked to the iCloud holiday calendar, which we have already commented on, so that if there is something in the holiday calendar directly do not run the actions of turning on the lights at 8 o’clock even if it is every week. It’s a simple condition. But We can also have an intelligent plug which, in the case of being activated, does not run the actions of turning on the lights at 8 o’clock in the

Tomorrow, even in the week.

In addition to these, I have the typical automations you will all have but always with conditions. For example, I have a door opening sensor in the entrance closet where the jackets are. That closet is a little dark, so when you open the closet you turn on the entrance light to see what jacket you wear. As soon as the closet closes, it starts a 4-minute countdown so you can get out of the house and it goes out. But This light only turns on if it’s not that many of the night! If you arrive at 4: 00 in the morning and open the jacket closet, no light is turned on because it could enter the rooms to the children who

They’re in the open door and wake them up… so if you get cooked at 4: 00 in the morning, you fuck up and leave your jacket on the entrance door and you’ll keep it the next morning.

Then I have other more silly automations like one that turns off the heater of the small bathroom (that of the children) within 15 minutes of having turned on because they have often left the bathroom and left it on… and the same automation turns it off if the light is turned off for the same reason But there are times when the light and the heater are left on!! My father would have gone into cholera because he was so fucked up every kilowatt of more than my brother and I spent. I think it’s a tara that gets all the men into us when we get older.

There are also the typical automations of light some lights 15 minutes before sunset. Turn on the entrance lamp if the door opens in the morning so that it won’t go into the dark and turn it off alone within a few minutes. The automation I’ve ever told you to run out and turn on the bathroom heater from 7: 30 if I’m in the area and it’s less than 16 degrees in the living room. Another for that When I run out at 6: 30, turn off the light of the living room and the light of the kitchen when the street door is closed.… Or one I have to activate the film mode at 22: 30 in the n

Car and lower the light of the living room to 50% whenever the TV or Apple TV is on, as if it’s night and the light of the lamp is on but the TV is not, it means that I’m working on the computer here where you see me normally or my wife is reading or something but we don’t want the light down, so if the TV is off it stays 100%.

Personal automation

Ah, I also have a shortcut of those Personal that may be interesting to you.. You know that the Personal shortcuts are run from our device, not from the Home Accessories Centre, but that allows us to automate actions that we can’t from the House app. I, for example, have a personal automation so that when you put my mobile to load and it’s at night, you turn off the light from the living room, wait 4 minutes and turn off my little lamp because I’m sleeping. But this automation has 2 yes or IF chained, so if the living room TV is on (it’s a HomeKit-compatible LG) or the Apple TV is on in the living room, it means

I went to sleep, but someone’s been watching TV, so in that case it doesn’t turn off the living room lamp.

I really hope I gave you some ideas. As you can see, The most important thing for me is to be able to combine automations with Ambients provided that they are able to activate outside the time set for whatever reason and that all automations include conditions, since even if it seems that we have a rather structured life and we do the same thing every day, as soon as you put in strict time automations you will realize that Every day they are the same but some are the same as others. wp: block {«ref»: 1612} /

Carlos Sahuquillo

Carlos Sahuquillo

'Haga lo que haga en la vida, siempre compito' - Jacques Villeneuve Reserva una sesión →

Sigue leyendo

Entradas relacionadas

Ver todo el blog
Conversación

11 comentarios

  1. Hola Carlos, es muy interesante e ilustrativo tu articulo

    Tengo una pregunta, ¿como es la automatización que ejecutas para «apagar el calefactor del cuarto de baño pequeño (el de los niños) a los 15 minutos de haberse encendido porque muchas veces han salido del baño y se lo han dejado encendido… y la misma automatización lo apaga si se apaga la luz por el mismo motivo».

    Yo tengo el mismo problema pero no consigo hacer una que funcione bien.

    Gracias por la ayuda.

    1. Hola JMS! Muchas gracias 🙂

      Es sencillo, puedes hacerlo de varias formas:

      – Una automatización sencilla ‘Al controlar un accesorio’ a la que le dices ‘Cuando el calefactor se enciende’, la conviertes en Atajo y entonces metes un ESPERAR X (Ese X son segundos) y después Ajustar Calefactor para que se apague.
      – Otra automatización sencilla ‘Al controlar un accesorio’ a la que le dices ‘Si Luz baño se apaga’, apaga el calefactor. Para esta no te hace falta ni atajo a priori, aunque le podrías poner una condición SI EL CALEFACTOR ESTÁ ENCENDIDO para que cuando se apague la luz no lo intente apagar si ya lo está.

      O bien puedes meterlo todo en una sola automatización como la primera pero ya no puedes decirle ESPERAR 600, sino que tienes que meter, por varios condicionales. Imagina que quieres que se apague a los 10 minutos, 600 segundos, pues puedes crear una automatización que sea ‘Al controlar un accesorio’ a la que le dices ‘Cuando el calefactor se enciende’, la conviertes en Atajo y entonces metes un ESPERAR 100 segundos y después un SI la luz está encendida, entonces ESPERAR 100… sino, apaga el calefactor. En la Condición satisfecha, ese esperar 100… lo mismo, le metes un SI la luz está encendida, ESPERAR 100, sino apaga el calefactor. Así hasta 4 veces más para tener en total los 600 segundos de espera.

      También te puedes liar aún más, podemos poner un enchufe con medidor de consumo, observar el consumo del calefactor y tenerlo en cuenta con el SI de manera que si alguien desenchufa el calefactor y pone un secador de pelo o el móvil a cargar, que no se le apague cada pocos minutos… o que si la temperatura de la casa es mayor de 22 grados que se apague el calefactor inmediatamente… no sé, el límite está en la imaginación y lo que te quieras liar, pero si no te quieres liar mucho, con el primer ejemplo y las 2 automatizaciones tienes más que suficiente 😀

  2. Que bueno Carlos!!!!

    Muchas gracia, funciona fenomenal. Habrás notado que soy novel en esto y toda ayuda es muy bienvenida.

    Gracias de verdad, así se apagará el radiador del baño cuando entren las niñas a la ducha. (Que siempre se les olvida)

    Un fuerte abrazo!

  3. Yo con HomeKit he de reconocer que estoy muy verde en automatizaciones.

    Tengo una automatización que supongo que por nuevo no doy con la tecla.

    Tengo una evecam que habitualmente se enciende por la noche si detecta que sales o entras. Ahora integre un ventilador con luz cecotec y tengo una luz para cuando cenamos fuera. El tema es que quiero hacer que la luz de la cámara se encienda por la noche solo si la otra luz NO está encendida.

    Con HA puedo lanzarle un sensor, pero en HK no se como poner un condicional con dos sensores o como hacer para que no encienda la luz de la cámara

    Es torpeza Mila o con hk no se puede hacer?

    1. Hola Juan! No debería ser muy complicado, no? Yo lo haría con una Automatización ‘Cuando un sensor detecta algo’, le pones la cámara, le dices ‘Cuando detecte’ y luego, en lugar de darle directamente el ventilador o la luz, iría abajo del todo a ‘Convertir en atajo’ y haría un Atajo condicionado tal que así: Si ‘la otra luz’ está desactivado, Ajustar Luz cámara. Si no, Terminar sí. Te pongo un screenshot, en mi caso ‘Lamparita Salón’ es tu ‘otra luz’, el SI comprueba si está apagada y, en caso de estarlo, Ajustar ‘Consola Salón’ que en tu caso es la luz de la cámara. Si no, pues aquí acaba la historia, si la otra luz ya está encendida no necesitas encender nada. A ver si te sirve 🙂

      Atajo

      Automatización

  4. Hola! Te traigo esta automatización que encontré y para mi es la más top para ahorrar en luz si tienes discriminación horaria y domotica o vehículo eléctrico en casa, te dejo el link:

    https://www.precioluz.app/atajos.html

    La tengo puesta para que active la corriente para cargar el coche electrico si el precio de la luz es menor a X y que corte la corriente si el precio es mayor que X

    Es muy recomendable si tienes tarifa con discriminación horaria, el ahorro es una locura!

    Saludos

  5. Gracias Carlos. Conoces alguna manera de que se active una automatización en una hora relativa, por ejemplo, una hora después de la puesta de sol? En atajos puedes obtener la hora de puesta de sol, etc., y sumarle una hora para que el atajo active, por ejemplo, la bajada de persianas 1 hora después, cuando ya prácticamente no hay luz. Pero, ¿cómo incluir esto en una automatización?

    1. Hola Agustín! Lo puedes hacer directamente en la app Casa como una Automatización y también desde Controller for Homekit… y es muy fácil, no tienes que inventar nada, mira:

      Desde la app Casa, vas a Automatizaciones y creas la de ‘En un momento del día’. Aquí le dices ‘Puesta de Sol’. Pero si te fijas, al lado de ‘Puesta de Sol’ hay una i para más información:
      Automatización en la puesta de Sol

      Si presionas la i puedes decirle que se active unos minutos antes de la puesta de Sol o, lo que tú buscas, unos minutos después de la puesta de sol:
      1 hora después de la puesta de sol

      Desde Controller for HomeKit también lo puedes hacer igual de sencillo:
      1h después de la puesta de sol en Controller for HomeKit

  6. Hola,
    Estoy encantada con todas las explicaciones, pero hay algo que no encuentro y me tiene un pelin fastidiada porque con con Google HOME es muy fácil de hacer y yo soy Apple total. ¿Cómo consigo que, en una automatización o en una escena, Siri diga lo que yo quiero que diga? Por ejemplo, cuando le digo “buenos días”, enciende la luz y pone determinada música, pero yo quiero que me conteste “buenos días” y que me diga la temperatura que hace y la hora que es. ¿Cómo se hace? Gracias por la ayuda.

  7. Hola. He aprendido muchísimo con tus explicaciones. A ver si puedes aclararme algo que mw tiene muy frustrada: ¿cómo se consigue que Siri conteste lo que tú quieras en una automatización o escena? Si yo digo “buenos días” quiero que se encienda la luz y que Siri me diga “buenos días Chelo, son las tal hora y la temperatura es de X grados”. No encuentro la manera de hacerlo.

Deja un comentario

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

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.