I’ve been running HA for a while, and it’s been working well; I haven’t had to change much in a few months. That being said, it’s fun to tinker with it, and I’m curious to hear what kind of automations the rest of the community is using. What automations are you most proud of? What are your favorite? What kind of interesting automations have you written?
My personal favorite is an automation that displays the current “apparent” temperature on a Hue bulb. It takes an average of the temperature, humidity, and luminance around my property and uses the average to compute an “apparent” (feels like) temperature. Then it applies a cosine function to the apparent temperature (to approximate how people feel temperature change), uses the resulting value to calculate a level between blue and red in CIELAB (a perceptually uniform color space), converts the results to RGB, and sets the color value of the hue bulb. The result is a bulb that changes color so that the change in color (as perceived by the eye) mirrors how the temperature “feels” outside. Ultimately what that means is that we can look at a small lamp with the hue bulb and say “It feels cold outside; we should put on a coat.” It’s probably overkill, but it was a fun programming exercise. We’ve started saying things like “It’s really blue today, I don’t feel like going out.”
I’d really enjoy reading what kind of interesting automations everyone else has written.
The simplest automations are the best. An hour before I typically get up, if the bedroom is too cold, turn on the heater.
I use Kasa switches all over my house and am waiting for them to release their fan controller (it was announced at CES last year, and a thread on the old place says it’ll be out at the end of the month)
I’m excited for my fan to shut off if it’s too cold in the bedroom. Already have a temperature/humidity sensor in there.
I have mostly kasa switches too. I don’t like that they don’t expose the motion sensor in them to HA.
For fans, I’m considering these to replace the ones I have that just don’t work. https://inovelli.com/products/blue-series-fan-switch-zigbee-3-0?variant=42097818992805
The ones I have are complete shit. Their firmware seems to lock up regularly and not even the buttons work. There is no reset button on them, so the only way to restart them is to flip the breaker. And half the time that doesn’t even work.
How do you control your heater? My house has Cadet in-wall heaters in every room, but all the “smart” controllers I can find for them are incredibly expensive… roughly $400 each. That’s something like $2400 to automate my heating. Maybe an ESP32 with a few relays would work?
It’s a Mitsubishi Heavy Industries split system. The two options I had were an IR blaster or a DIY ESPhome-based module plugged directly into the unit that controls it over the SPI bus. I opted for the latter as it gives full status info in addition to control.
I’ve also got a Samsung unit in another room that I can control. For that one I use SmartThings… not ideal as it goes through the cloud, but I’ll take what I can get.
If you’ve got an old-school heater, you might have luck with some of the smart thermostats designed to be retrofitted into old houses.
Edit: just looked up your heaters online. Since you’ve got a lot of them, and they look pretty old, I’m guessing the smart controllers are just acting as relays. So yeah perhaps an ESP32 relay module would be the way to go! Once you’ve got the code working for one, you could roll them out to the rest. You’d need some confidence working with relays and electronics of course.