by paranoidrobot · 2y ago · 0 comments
I specifically went for units that were IR controlled rather than any proprietary smart B.S.
For the smarts, I used cheap IR blasters from AliExpress and hooked them up to HomeAssistant.
I just mounted cheap Lenovo tablets to the wall to do the room-dashboard thing to allow controlling lights/AC without a phone.
These kind of horror stories only serve to reinforce my decision.
https://smartlight.me/smart-home-devices/wifi-devices/wifi-d...
Since there's no feedback mechanism, how do you solve for when the state of the unit(s) gets out of sync with HomeAssistant's?
It just doesn't matter that much in my experience. If an issued command didn't work, it's easy to tell anyway (it's hot/cold), and you can just repeat it. HomeAssistant also has bits of special handling for items that don't communicate their state back, called "assumed state".
For the rare times I want to control my AC when being away from home, I have an air monitor nearby. I can just check if the temperature/humidity has changed, and repeat the command if it didn't work. If you _really_ cared you probably could script it to do it automagically, but I didn't feel the need to bother.
I have home assistant controlling an air conditioner in one room. (Well, mostly Node-RED.)
Every couple minutes it checks the temperature in the room and makes a decision on whether to call for cooling and tells the AC to turn on or off.
If it’s already on and cooling and it tells it to turn on… it’s a no-op, nothing happens. If it tells it to turn on and the command doesn’t go through… the room will stay warm so it will try the same thing in a couple of minutes. Same thing the other way (turning it off).
https://tasmota.github.io/docs/Tasmota-IR/#sending-ir-comman...
If you are in the room, you'll know soon enough, otherwise I guess it could be possible to rely on the audio feedback (a light beep) that the AC probably emits when it successfully receives a command. (and add a temperature sensor to check that it's working properly)
I guess you should hide those remote in a drawer and remove the batteries when you start using homeassistant
The completely overkill setup would be to get a different remote control, get my DIY receiver to accept that and convert it to my AC unit's IR code, updating HA while at it. The remote's state would be out of sync still, but it'll keep the units in sync with HA.
I have Zigbee contact sensors that provide on/off feedback to HA by detecting if the louvers are open.
I built an esp32 IR sender and put Tasmota IR on it. It has first class support for the Daikin. It can't receive but it seems no need as it's 100% reliable.
Lennox uses a proprietary system like this one but the old school controls were visible on the control boards and due to a freak accident when an installer was levelling the floors for new flooring and cut the old wire I had a 5 wire thermostat wire installed instead of the 4 wire it came with.
Perfect.
$50 thermostat, wired it in. Powers on. Fan powers on. A/C condenser? Nada.
Official replacements were $700+, upgrades were $800.
Checked around, found an offerup seller selling the upgraded model for $400. Deal.
Met the guy, he gave strong, "I stole this, don't ask too many questions" vibes at first glance, and I was about to back out of the deal, but something clicked in my gut and I went with it.
Got it home, wired it up. Fan turns on. No AC. @#$@!#$%@#$^
On a hunch, went outside and checked the power for the heat exchanger. I had unplugged it for safety reasons but plugged it back in afterward, but gave it the snuggy test just in case.
Sparks shot out as it re-engaged. It's Alive!
The $50 one might have done the job, but no point in re-rewiring the whole shebang as the money is already spent.
If this system goes down, I'm going mini-split ductless. Forget this noise.
The IKEA Tradfri system is all Zigbee based - I have a bunch of their light bulbs and strips, plus a few smart power plugs. I personally have them attached to my own Zigbee controller, but there's also a Home Assistant Tradfri integration if you want to keep using their Smart Hub controller.
There's also a Home Assistant homekit integration, so you can use HA to orchestrate events happening on the Tradfri side to trigger something in the Homekit side, or vice versa.
(I don't have the Tradfri smart hub or Homekit devices, so YMMV on specific possible options)
By the way the tradfri gateway is weird piece of hardware, the thing is mostly empty and only contains small board with apparently the same RFSoC as all the other tradfri peripherals connected somehow to ethernet PHY…
You can! Just pair them with a ZigBee hub directly.
For one of the rooms i opted for a IR/RF transmitter and the RF covers any RF enabled devices in the house (433mhz + 315mhz[i think but haven’t tested])
There are a fair number of DIY thermostat projects online, but all that I have found were one-offs by their creators, or were for specific kinds of systems like boilers.
I've been batting around the idea of starting a general-purpose IoT thermostat that only uses cheap, widely-available components that anyone can easily duplicate with a BOM and 3D printer.
I use AC units that come with IR remotes (Samsung maybe??) but the timers don't work for some reason. It would be great to hand roll some automation, but I never "hacked" IR remote/receiver systems.
Home Assistant supports a huge range of integrations.
Personally I am using Broadlink RM4 Mini IR blasters. One in each room. They get added to Home Assistant as devices.
Then I use one of the climate add-ons that can send IR commands via the Broadlinks.
Out of curiousity, did you have any resources you were following to set this up? I'm pretty new to HA - basic devices etc seem fine, but I'm not entirely sure where to go next!
I'm using Broadlink RM4 Mini's I got off AliExpress. They've got a powerful enough IR signal that I've found I don't need them sitting way out in the open and obvious. One is tucked behind a TV and not quite in direct LoS, one is behind, but it reflects off the wall just fine, another behind a bedside table.
For the integration/Climate control thing I'm using SmartIR. Configuring it is a bit weird, you have to put it direct into the configuration.yaml file unlike other integrations.
smartir:
check_updates: true
climate:
- platform: smartir
name: Bedroom AC
unique_id: bedroom_ac
device_code: 1293
# https://github.com/smartHomeHub/SmartIR/blob/master/docs/CLIMATE.md#available-codes-for-climate-devices
controller_data: remote.mini4c_bedroom
temperature_sensor: sensor.airquality_ikea_bedroom_temperature
humidity_sensor: sensor.airquality_ikea_bedroom_humidity
power_sensor: binary_sensor.contact_bed_acI have a Broadcom one which works well but expensive.
The Broadlinks RM4 minis were pretty cheap on AliExpress. I think I paid about $15 each? Might have to wait for specials to come up to get the lowest price.