Use your Philips Hue lights as Racing Flags. Works with Assetto Corsa, Assetto Corsa Competizione and iRacing.

Overview

Forks Stargazers Issues MIT License


Logo

phue-racing-flags

Use your Philips Hue lights as Racing Flags.

Explore the docs »

Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Supported Systems and Racing Simulators
  3. Local Development
  4. Usage
  5. Roadmap
  6. Contributing
  7. License
  8. Contact
  9. Acknowledgements
  10. Disclaimer

About The Project

Main Screen

Settings Screen

One Friday evening I thought to myself that it would be pretty sweet to use my Philips Hue lights as indicators for the racing flags inside of Assetto Corsa Competizione. As no app was available to achieve this, I decided to take matters into my own hands and create one.

Built With

Supported Systems and Racing Simulators

The app is designed for Windows and currently supports the following racing simulators:

Local Development

To get a local development copy up and running follow these simple steps.

Prerequisites

Installation

  • Clone the repo
    git clone https://github.com/TUnbehaun/phue-racing-flags.git

Run the app

  • Start the GUI
     python gui.py

Usage

To just use the app itself without setting up a local development copy, you can follow these simple steps:

  1. Download the latest .exe file from here: https://github.com/TUnbehaun/phue-racing-flags/releases/latest/download/phue-racing-flags.exe
  2. Run the .exe file

Once the app is started, you can use it the following way:

  1. Enter the IP Address of your Philips Hue Bridge under Settings -> General -> Bridge IP. (You can find the IP Address of your Bridge in the interface of your Router)
  2. Press the (hardware) link button on your Philips Hue Bridge and then within 30 seconds hit the "Connect" button in the app. (Pressing the (hardware) link button on your Philips Hue Bridge is only necessary for the very first time you connect the app to a new Bridge)
  3. You should be able to choose one or multiple of your lights under Settings -> General -> Lights to use as the Racing Flag Light(s)
  4. Adjust brightness if needed.
  5. Use the live sync setting to enable live sync on app startup.
  6. Custom colors for your lights can be set under Settings -> Assetto Corsa / Assetto Corsa Competizione / iRacing respectively.
  7. Test your color configuration by using the Test buttons next to each flag.
  8. On the main view you can use the radio buttons under "sim" to switch between Assetto Corsa, Assetto Corsa Competizione or iRacing.
  9. To start syncing the Racing Flag Light(s) with your simulator's race flag click "Start" under "live sync".
  10. To stop syncing the Racing Flag Light(s) click "Stop" under "live sync".

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Tim Unbehaun - [email protected]

Project Link: https://github.com/TUnbehaun/phue-racing-flags

Acknowledgements

Disclaimer

I am in no way affiliated with Philips, Kunos Simulazioni or iRacing.

Comments
  • Add Pipfile

    Add Pipfile

    In order to make the build easily reproducible for others, I'd recommend adding something like pipenv.

    If you give me the list of required packages (only some Hue package?), I'd be happy to raise a PR and also add a CI job for building the exe. What did you use for building the distributable?

    opened by kiview 3
  • Add a

    Add a "sync on startup" checkbox.

    Hey, it would be really cool if you could add an option that the app starts live sync directly after startup.

    I use iRacing Manger to autmatically start all necessary apps when iracing launches, and so far phue-racing-flags is the only app that needs an addional click to start working. If it is configured before, the app stores all necessary information to work properly, so a "start sync automatically" should be possible.

    Thank you very much for your effort :)

    Best Regards.

    feature request 
    opened by Xantrass 2
  • Setting Light actions

    Setting Light actions

    How do I change the actions the lights take when a flag is displayed? Currently the light blinks once or stays static when the flag is displayed. I would like to find out how to change the yellow flag for example. Id like it to flash yellow during the duration the flag is shown. Same with the green flag.

    opened by RacerKris23 1
  • remove global execution

    remove global execution

    use

    if __name__ == "__main__":
    

    before this line:

    https://github.com/TUnbehaun/phue-racing-flags/blob/cacee68ea9b111d1000afbce312e4523c380b0e2/gui.py#L516

    [then you can look into packaging maybe and use the same function as an entrypoint]

    otherwise nice project, great idea!

    opened by a-tal 1
  • Failed Connection with Hue Bridge

    Failed Connection with Hue Bridge

    Hi,

    I`m having trouble to connect my Hue Bridge to the Software. When I insert the IP of my Bridge into the IP-Adress field it shows my connected Lamps.

    But when I click Start on the Main Window and Start ACC, the LEDs doesn´t show me the flag status.

    Is there anyone I need to be careful or so?

    I`m waiting for helpful answers.

    opened by TheC0DER68 0
  • time of day system

    time of day system

    Greetings i have been looking into getting a systrem that simulates time with lights and turn the lights blue when night. this would be a lovely feature

    opened by RobEbbers 0
  • iRacing ABS support

    iRacing ABS support

    With the upcoming addition of telemetry for ABS engagement for 2021 Season 3 would it be possible to add a strobing alert for when ABS kicks in? ABS brake engagement is now logged to telemetry as the boolean, "BrakeABSactive" 2021 Season 3 Release notes

    feature request 
    opened by WAR6ASM 1
Owner
Web Developer. Designer. Tech Enthusiast.
null
A hue shift helper for OBS

obs-hue-shift A hue shift helper for OBS This is a repo based on the really nice script Hegemege made. The original script can be found https://gist.g

Alexis Tyler 1 Jan 10, 2022
Racing line optimization algorithm in python that uses Particle Swarm Optimization.

Racing Line Optimization with PSO This repository contains a racing line optimization algorithm in python that uses Particle Swarm Optimization. Requi

Parsa Dahesh 6 Dec 14, 2022
Autonomous racing with the Anki Overdrive

Anki Autonomous Racing Autonomous racing with the Anki Overdrive. Using the Overdrive-Python API (https://github.com/xerodotc/overdrive-python) develo

null 3 Dec 11, 2022
Controlling Hill Climb Racing with Hand Tacking

Controlling Hill Climb Racing with Hand Tacking Opened Palm for Gas Closed Palm for Brake

Rohit Ingole 3 Jan 18, 2022
Code of PVTv2 is released! PVTv2 largely improves PVTv1 and works better than Swin Transformer with ImageNet-1K pre-training.

Updates (2020/06/21) Code of PVTv2 is released! PVTv2 largely improves PVTv1 and works better than Swin Transformer with ImageNet-1K pre-training. Pyr

null 1.3k Jan 4, 2023
Demonstrates how to divide a DL model into multiple IR model files (division) and introduce a simplest way to implement a custom layer works with OpenVINO IR models.

Demonstration of OpenVINO techniques - Model-division and a simplest-way to support custom layers Description: Model Optimizer in Intel(r) OpenVINO(tm

Yasunori Shimura 12 Nov 9, 2022
How the Deep Q-learning method works and discuss the new ideas that makes the algorithm work

Deep Q-Learning Recommend papers The first step is to read and understand the method that you will implement. It was first introduced in a 2013 paper

null 1 Jan 25, 2022
An auto discord account and token generator. Automatically verifies the phone number. Works without proxy. Bypasses captcha.

JOIN DISCORD SERVER https://discord.gg/uAc3agBY FREE HCAPTCHA SOLVING API Discord-Token-Gen An auto discord token generator. Auto verifies phone numbe

3kp 271 Jan 1, 2023
Face2webtoon - Despite its importance, there are few previous works applying I2I translation to webtoon.

Despite its importance, there are few previous works applying I2I translation to webtoon. I collected dataset from naver webtoon 연애혁명 and tried to transfer human faces to webtoon domain.

이상윤 64 Oct 19, 2022
This repository contains an overview of important follow-up works based on the original Vision Transformer (ViT) by Google.

This repository contains an overview of important follow-up works based on the original Vision Transformer (ViT) by Google.

null 75 Dec 2, 2022
A dead simple python wrapper for darknet that works with OpenCV 4.1, CUDA 10.1

What Dead simple python wrapper for Yolo V3 using AlexyAB's darknet fork. Works with CUDA 10.1 and OpenCV 4.1 or later (I use OpenCV master as of Jun

Pliable Pixels 6 Jan 12, 2022
Only works with the dashboard version / branch of jesse

Jesse optuna Only works with the dashboard version / branch of jesse. The config.yml should be self-explainatory. Installation # install from git pip

Markus K. 8 Dec 4, 2022
Python program that works as a contact list

Lista de Contatos Programa em Python que funciona como uma lista de contatos. Features Adicionar novo contato Remover contato Atualizar contato Pesqui

Victor B. Lino 3 Dec 16, 2021
particle tracking model, works with the ROMS output file(qck.nc, his.nc)

particle-tracking-model-for-ROMS particle tracking model, works with the ROMS output file(qck.nc, his.nc) description this is a 2-dimensional particle

xusheng 1 Jan 11, 2022
A decent AI that solves daily Wordle puzzles. Works with different websites with similar wordlists,.

Wordle-AI A decent AI that solves daily "Wordle" puzzles. Works with different websites with similar wordlists. When prompted with "Word:" enter the w

Ethan 1 Feb 10, 2022
It's like Shape Editor in Maya but works with skeletons (transforms).

Skeleposer What is Skeleposer? Briefly, it's like Shape Editor in Maya, but works with transforms and joints. It can be used to make complex facial ri

Alexander Zagoruyko 1 Nov 11, 2022
Use MATLAB to simulate the signal and extract features. Use PyTorch to build and train deep network to do spectrum sensing.

Deep-Learning-based-Spectrum-Sensing Use MATLAB to simulate the signal and extract features. Use PyTorch to build and train deep network to do spectru

null 10 Dec 14, 2022
Transfer style api - An API to use with Tranfer Style App, where you can use two image and transfer the style

Transfer Style API It's an API to use with Tranfer Style App, where you can use

Brian Alejandro 1 Feb 13, 2022