Hi everyone!
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
- And much more!
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!
Requirements
- iRacing
- Home Assistant
- MQTT broker (like Mosquitto)
Getting Started
Everything you need is on GitHub (wiki available):
https://github.com/jmlt/ir2mqtt
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 and pit detection (No minimum — just a way to show appreciation for the weeks spent developing this.)
Feedback welcome!
Whether you want to build dashboards or automations (baby-related or not ), 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!