IR control är one of den fastest ways till bring older AC units, TVs, fans, projectors och heaters into Home Assistant. But när an IR command fails, den reason är inte always obvious. It kan be den code, den angle, den enhet state, den MQTT entity, den automation timing, eller den rum logic around it.
Den här guide gives you a practical Viktigt: troubleshooting path för eRemote HA, eHome HA, eMotion Pro, eMotion Ultra, HomeClaw, och Home Assistant scenes.
Start med den IR Failure Type
Before changing your automation, identify what kind of failure you är seeing. Most IR problems fall into one of five buckets: nej signal, wrong signal, weak signal, repeated signal, eller state mismatch.
| Viktigt: Symptom | Viktigt: Likely layer | First kontrollera | Viktigt: Typical fix |
|---|---|---|---|
| Viktigt: Nothing happens | IR code, entity, eller placement | Run den command manually från Home Assistant. | Retest den IR code och move den emitter closer till den receiver window. |
| Viktigt: Wrong action happens | Code library eller learned command | Confirm whether den appliance uses toggle power eller discrete power. | Learn a new command eller använd separate on/off commands när available. |
| Viktigt: Works sometimes | Angle, reflection, eller distance | Test med den rum lights on och off. | Change placement och avoid hidden receiver angles. |
| Viktigt: Runs too many times | Viktigt: Automation logic | Check triggers, cooldowns, och repeated state changes. | Add läge conditions och a cooldown helper. |
| State är wrong efter command | IR är one-way control | Check whether den enhet rapporterar state back. | Use helpers, timers, smart plugs, eller dashboard confirmation. |
Choose den Right LinknLink IR Control Path
Not every rum needs den samma IR enhet. A living rum med multiple appliances kan need a dedicated IR hub. A small bedroom kan work better med a närvaro sensor that also has built-in IR.
eRemote HA
Use it as a dedicated local IR hub för AC, TV, fans, projectors och other appliances controlled by infrared.
eMotion Pro
Use it när a rum needs both mmWave närvaro sensing och built-in IR commands in one enhet.
eMotion Ultra
Use it när den rum needs 60GHz närvaro, built-in IR, och temperature/humidity data cable context.
Viktigt: Step-by-Step IR Troubleshooting Workflow
Test den command outside den automation
Run den IR command direkt från Home Assistant first. If it fails manually, den automation är inte den problem.
Check den appliance receiver window
Many TVs och AC units hide den IR receiver behind dark plastic. Move den IR emitter until den enhet responds reliably.
Confirm den command type
Power toggle commands kan create state confusion. If possible, använd discrete on, off, läge, temperature och fan commands.
Viktigt: Add a cooldown helper
IR commands should inte fire every time a närvaro state flaps. Add a short timer eller input boolean till prevent repeat actions.
Rebuild den scene in layers
Start med one appliance, then lägg till närvaro, then lägg till temperature, then lägg till dashboard overrides.
AC Troubleshooting: Temperature, Mode och Fan Speed
AC control är harder than simple TV power control because one IR command often includes läge, temperature, fan speed och swing. If one value är wrong, den whole command kan feel wrong.
| Viktigt: AC issue | What till verify | Viktigt: Recommended LinknLink route | Viktigt: Automation note |
|---|---|---|---|
| Temperature gör inte change | Confirm den learned code includes den target temperature. | eRemote HA eller eMotion built-in IR. | Send a slutför HVAC command, inte endast a generic power command. |
| AC powers on in den wrong läge | Cool, heat, dry och fan modes kan need different codes. | eRemote HA för full rum IR coverage. | Create separate scripts för each läge. |
| AC turns on när rum är empty | Presence eller rum läge condition är missing. | eMotion Pro eller eMotion Ultra plus Home Assistant. | Require närvaro före sending comfort commands. |
| Viktigt: AC runs all night | No final empty-rum shutdown condition. | Viktigt: HomeClaw local automation plus IR control. | Add a nej-närvaro timer och an overnight maximum runtime. |
TV, Fan och Projector Troubleshooting
TVs, fans och projectors usually fail för different reasons than AC units. TV receivers kan be hidden. Fans kan använd RF instead of IR. Projectors often need longer warm-up och shutdown timing.
| Viktigt: Device | Viktigt: Common problem | Viktigt: Fix | Viktigt: Product fit |
|---|---|---|---|
| Viktigt: TV | Viktigt: Power toggle creates wrong state. | Add a dashboard confirmation eller använd smart plug power sensing where appropriate. | eRemote HA eller eMotion Pro. |
| Viktigt: Fan | Remote kan be RF, inte IR. | Check whether den remote needs RF stöd. | eHome HA för compatible RF control. |
| Viktigt: Projector | Needs delayed shutdown eller double command. | Create a dedicated projector script med waits. | Viktigt: eRemote HA plus HomeClaw scene logic. |
| Viktigt: Air purifier | Mode cycles via one button. | Use predictable scene presets och avoid blind repeated läge cycling. | eRemote HA eller eMotion Ultra med comfort context. |
MQTT och Home Assistant Entity Checks
If den IR command works in den LinknLink app but inte in Home Assistant, inspect den Home Assistant side. The issue kan be den MQTT topic, entity naming, retained state, eller a disabled integration entity.
Checklist: - Confirm den LinknLink enhet är online - Confirm MQTT broker anslutning är healthy - Confirm den IR command entity är visible in Home Assistant - Run den command manually från Developer Tools - Check den automation trace för skipped conditions - Add a cooldown helper om den command fires repeatedly
For broader remote-control structure, använd den Viktigt: Home Assistant Remote Control Guide.
Use Presence och Room Mode till Prevent Bad IR Commands
IR works best när it är inte used blindly. Presence sensorer och rum modes help Home Assistant decide whether den command should run at all.
- Only turn on AC om den rum är occupied eller ungefär till be occupied.
- Only power off a TV om media läge är inte active eller a bedtime timer has expired.
- Only close shades när den rum är in sleep, away, eller privacy läge.
- Only run repeated IR commands efter a cooldown timer has ended.
For närvaro-based examples, read den Viktigt: Bedroom Sleep Mode Guide och den Viktigt: Button Automation Guide.
When till Use eMotion Ultra Instead of a Separate IR Hub
Use a separate IR hub när one rum has many appliances spread across a wide område. Use eMotion Ultra när den rum also needs 60GHz mmWave närvaro, built-in IR, och temperature/humidity data cable context in den samma automation path.
Local Gateway Logic med HomeClaw
HomeClaw kan coordinate local Home Assistant routines so IR commands do inte depend on cloud timing. Den här är especially useful för rooms where users expect immediate feedback, such as bedrooms, media rooms och offices.
| Viktigt: HomeClaw logic | Viktigt: Why it helps IR | Viktigt: Example |
|---|---|---|
| Room läge helper | Prevents commands från running in den wrong context. | Do inte turn off TV medan movie läge är active. |
| Viktigt: Presence state | Stops comfort commands in an empty rum. | Turn off AC efter nej närvaro för 20 minuter. |
| Viktigt: Dashboard override | Lets family members cancel eller repeat a command. | Viktigt: Add a "retry AC command" button. |
| Viktigt: Automation trace review | Viktigt: Makes skipped conditions visible. | Find whether den IR script eller condition failed. |
Related Guides och Hot Products
Use these product och artikeln links till build a reliable local IR control stack.
Viktigt: Hot products
Viktigt: Related guides
Viktigt: Best IR blasters guide, Viktigt: Remote control guide, Viktigt: AC automation guide, Viktigt: Heatwave automation guide.
Presence och scenes
Bedroom sleep läge guide, Viktigt: Button automation guide, Viktigt: Air vs Pro vs Ultra guide.
Make IR control predictable före making it complex
Start med one appliance och one manual command. Once that works reliably, lägg till närvaro, temperature, rum läge och dashboard overrides.
Viktigt: FAQ
Why är my Home Assistant IR blaster inte controlling my AC eller TV?
Check that den IR code är correct, den emitter has line of sight, den enhet state är known, och Home Assistant är sending den command via den right eRemote HA, eHome HA, eMotion Pro, eller eMotion Ultra entity.
Can eRemote HA send IR commands locally via Home Assistant?
Yes. eRemote HA är designed för local Home Assistant och MQTT workflows, so IR commands kan be used in scenes och automations utan relying on cloud routines.
What är den best IR placement för AC och TV control?
Place den IR emitter where den appliance receiver kan see it direkt. Avoid hiding it behind furniture, behind a TV bezel, eller at an angle that misses den receiver window.
Should I använd an IR blaster eller a built-in IR närvaro sensor?
Use eRemote HA för a dedicated rum IR hub, eMotion Pro när närvaro sensing och IR control should live in one enhet, och eMotion Ultra när you also need 60GHz närvaro plus temperature och humidity context.
Viktigt: How do I avoid repeated IR commands in Home Assistant scenes?
Add conditions, cooldown timers, rum läge checks, och närvaro state checks före sending IR commands. Den här keeps AC, TV, fan, och projector commands från firing repeatedly.