Skip to content

FSund/ha-iracing-monitor

Repository files navigation

iRacing Home Assistant Monitor

Monitors iRacing session state and sends it to Home Assistant via MQTT.

Requirements

Uses the winresource crate to set the icon for the executable, which requires windres.exe and ar.exe from mingw-w64 (this is probably not required when we use the Wix Toolset).

Uses the Wix Toolset to build the Windows installer via Github Actions.

TODO

  • Add feature iced_gui to disable GUI
  • Avoid iced dependencies (iced_futures) when feature iced_gui is disabled
  • Move winit event loop messaging into main
  • Option to "run on boot" on Windows (use registry)
  • Consider cargo-bundle for creating Linux and Windows installers, adding icons etc.
  • Initialize sim monitor from config file on initial startup
  • Fix tray icon not updating on UserEvent on Linux. user_event and update_session_state is called, but the icon or menu does not update.
  • Use proper location for config file (%APPDATA% on Windows, XDG_CONFIG_... on Linux)
  • Fix double tray icons
  • Quitting from tray with GUI does not work (Windows)
  • Quitting from GUI does throws errors (Windows)
  • Figure out where the tray icon went for GUI mode (Windows and Linux)
  • Fix sim_monitor stops responding/stream dies if an invalid mqtt config is provided
  • Separate backend and frontend
  • Fix config update when config file is changed (does not seem to work at the moment, default config is always returned)
  • Config file to retain settings between runs
  • Encrypt mqtt password in config file
  • Settings pages
  • Log to file (only when flag is set?) (--)
  • Linux/dev-mode (that doesn't depend on running on Windows)
  •  Add Windows taskbar icon
  • Separate main page and settings page in gui
  • Windows installer

License

This project is licensed under either of

at your option.

About

iRacing monitor for Home Assistant

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages