I have been googling for several days in a row, but I still could not find a blueprint for home assistant that can be applied to any switch, smart socket available in my home assistant. I need an analogue of the circulate function from the (tuya) smart life app. This function allows you (when automation is on) to turn on the device, say for 10 minutes 30 seconds (you can edit this value when creating automation), then turn off the device, say for 5 minutes 45 seconds (you can edit this value when creating automation) and so on, in a loop, while automation is on. Also in that smart life function you can specify several periods of action of such behavior of the smart socket (or any smart switch in my home assistant) (the latter does not bother me much, but for the universality of use of blueprint it would be nice to add). I would like to use this blueprint for a smart plug (or any smart switch) for my aquarium compressor (for example), to turn on aeration in it, say, for 5 minutes, then idle for 15 minutes, and again in an endless cycle. Also for a plug that turns on the heater in my dog’s kennel, because the power of the heater in it is about 100 watts, which is quite a lot, and if you turn on the heater for one minute and turn it off for two minutes - then the average power will be about 33 watts and this will be great. (I crossed out this text so as not to mislead people, I want to set this behavior for any switch that is in my home assistant by applying the desired blueprint to them) I would be grateful if some advanced home assistant user could invent such a blueprint, or, if one already exists, tell me where to get one, because I’m already giving up. P.S. (I had to highlight the accents in my post, because not everyone can understand the key sentences in it, what is worth paying attention to in this text (I do not deny that I did not formulate my thoughts correctly enough, though, I am not a native English speaker). I have about 20-30 smart sockets and smart switches, and writing automation of such primitive functions (if I need this), which I described in the first post for each of them every time from beginning to end - yes, I will go crazy). I believe that if someone writes such a blueprint, it will help hundreds of people to automate dozens of their switches, it will save hundreds of man-hours of these people’s lives. If I could make such a blueprint, (what else are these blueprints for?) I would not think twice and would do it. (unfortunately, my brain is not enough for this (but I understand how to use such blueprints, I really like the idea of using blueprints)), thanks for your attention.
Do you have a temperature sensor in there?
No, i just need to smart socket to constantly turning on off and on (when automation is enabled in settings), same as for the case of aeration of my aquarium it was constantly turning on and off at intervals I set, without any temperature sensors or anything else (since I don’t need any sensors for periodic aeration of my aquarium, only intervals of time for turning the socket on and off in an endless cycle)
If you do add a temperature sensor then you can create a thermostat so that it will hold the temperature you set.
That is a lot better and safer than an automation that toggles on the same interval independent of the outside temperature
ok, can you tell me why i need temperature sensor for reason of periodicaly turn om compressor for aeration of my aquarium. (by the way, I know how to use the standard thermostat from the home assistant objects, and even set up two of them to control two other smart sockets that have heaters plugged in. So I don’t need the thermostat function at all in this case, just an endless cycle of turning the socket on and off at intervals I set). Anyway, thank you very much for your answer.
I didn’t know your dog was in an aquarium.
Sure go ahead and run the compressor for the dog, that should keep it warm.
Hello 0kay64,
I’m sure that can be done. Also having someone or something writing it for you means the second it misbehaves, you will be struggling back to find someone to fix it for you.
The best way to learn is to just try. Run thru the docs on getting started with the automation editor. If you get stuck, come back with what you have done.