iR2mqtt – Bring iRacing Live Telemetry to Home Assistant

Hi everyone!

:video_game: What is iR2mqtt?


iR2mqtt is a standalone Windows app written in Python that:

  • Reads real-time telemetry data from the iRacing simulator
  • Publishes that data to a MQTT broker
  • Lets you build dashboards and automations in Home Assistant, such as:
    • Speed and RPM tracking
    • Fuel levels
    • Session and lap times
    • Flags (yellow, blue, etc.)
    • Pit status
    • Incidents
    • Starting lights
    • And much more!

:baby_bottle: Why did I build this?
The idea for this project came from real life:
Sometimes during a race, my toddler would start crying, and my wife wasn’t sure if I could help or not. So I created an automation:
Whenever the baby monitor detects noise and I’m in the middle of a race, Home Assistant sends her a gentle notification.
We’ve laughed about it, but it actually works and I’ve managed to avoid becoming single so far! :sweat_smile:

:gear: Requirements

  • iRacing
  • Home Assistant
  • MQTT broker (like Mosquitto)

:rocket: Getting Started
Everything you need is on GitHub (wiki available):
:point_right: https://github.com/jmlt/ir2mqtt

:test_tube: Status


The app is stable and functional, with features like:

  • Clean GUI with customization options for a personalized experience
  • System tray integration
  • Automatic start/stop publishing if iracing starts running
  • Designed to be lightweight
  • Donation key system to unlock flags, starting lights and incidents and pit detection (No minimum, just a way to show appreciation for the weeks spent developing this.)

:speech_balloon: Feedback welcome!
Whether you want to build dashboards or automations (baby-related or not :smile:), there are some examples of sensors, blueprints, and dashboards to test!
I’d love your feedback, please create issues on GitHub if you find any bugs. Thank you!

1 Like

This is genius! I was looking for something that would let me tie my smart lighting to live race conditions like yellow flags, etc.

I know simhub does this for govee and hue, but wanted more flexibility, which home assistant always delivers. Will try and report back!

Also - race status + baby monitor sound is genius. I’ll probably reproduce that exact use case too :joy:

1 Like

Quick bump to let you all know that v3.4.3 is now available, packed with useful additions and improvements! :rocket:

:white_check_mark: What’s New:

  • Full support for all iRacing flags (global + driver-specific)
  • New binary sensors for start lights: Ready, Set, Go :vertical_traffic_light:
  • Incidents counter: track the number of incidents in real time
  • Minor UI tweaks for a cleaner experience

:books: Setup & Docs:
:point_right: iR2mqtt Wiki

As always, if you run into anything or have suggestions, feel free to reply here or open an issue on GitHub.
Enjoy! :checkered_flag:

I love this! any chance to do this to read from Simhub, so any other racing game that sends telemetry could be read?

1 Like

That’s a great idea, but it would require fundamental changes to how the system works.
For that reason, it’s not currently in the plans but I really appreciate the suggestion!

:rocket: Quick update!

The iR2mqtt Integration is now available making setup in Home Assistant easier than ever! :racing_car::dash:

:sparkles: What’s new:

  • :gear: Automatic creation of all iRacing telemetry sensors
  • :jigsaw: No more manual sensors configuration (remove if you have it) - plug & play!
  • :checkered_flag: Full support for global and driver-specific flags
  • :bulb: Cleaner setup and smoother updates through HACS

:blue_book: Setup & Docs:
:point_right: iR2mqtt Integration on GitHub

:speech_balloon: As always, if you have ideas, feedback, or run into issues, feel free to reply here or open an issue on GitHub.

This is awesome! I am looking for something that can tell when I am actively driving vs when I am spectating.

I am often in an endurance race and my SO doesn’t know whether I can be disturbed. I have a light outside the door that normally shows this but atm I have to display busy when iRacing is running. Ideally if I could tell when I am racing vs spotting, I could change the light to a “maybe busy” colour.

I can see the python based SDK tool has a variable for replay active. Is it possible to have a sensor called “Actively driving” or similar?

1 Like