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.
Pytorch implementation for ACMMM2021 paper "I2V-GAN: Unpaired Infrared-to-Visible Video Translation".

I2V-GAN This repository is the official Pytorch implementation for ACMMM2021 paper "I2V-GAN: Unpaired Infrared-to-Visible Video Translation". Traffic

69 Dec 31, 2022
PyTorch code accompanying the paper "Landmark-Guided Subgoal Generation in Hierarchical Reinforcement Learning" (NeurIPS 2021).

HIGL This is a PyTorch implementation for our paper: Landmark-Guided Subgoal Generation in Hierarchical Reinforcement Learning (NeurIPS 2021). Our cod

Junsu Kim 20 Dec 14, 2022
Code for our CVPR 2022 Paper "GEN-VLKT: Simplify Association and Enhance Interaction Understanding for HOI Detection"

GEN-VLKT Code for our CVPR 2022 paper "GEN-VLKT: Simplify Association and Enhance Interaction Understanding for HOI Detection". Contributed by Yue Lia

Yue Liao 47 Dec 04, 2022
image scene graph generation benchmark

Scene Graph Benchmark in PyTorch 1.7 This project is based on maskrcnn-benchmark Highlights Upgrad to pytorch 1.7 Multi-GPU training and inference Bat

Microsoft 303 Dec 27, 2022
IEGAN — Official PyTorch Implementation Independent Encoder for Deep Hierarchical Unsupervised Image-to-Image Translation

IEGAN — Official PyTorch Implementation Independent Encoder for Deep Hierarchical Unsupervised Image-to-Image Translation Independent Encoder for Deep

30 Nov 05, 2022
VOneNet: CNNs with a Primary Visual Cortex Front-End

VOneNet: CNNs with a Primary Visual Cortex Front-End A family of biologically-inspired Convolutional Neural Networks (CNNs). VOneNets have the followi

The DiCarlo Lab at MIT 99 Dec 22, 2022
Element selection for functional materials discovery by integrated machine learning of atomic contributions to properties

Element selection for functional materials discovery by integrated machine learning of atomic contributions to properties 8.11.2021 Andrij Vasylenko I

Leverhulme Research Centre for Functional Materials Design 4 Dec 20, 2022
Various operations like path tracking, counting, etc by using yolov5

Object-tracing-with-YOLOv5 Various operations like path tracking, counting, etc by using yolov5

Pawan Valluri 5 Nov 28, 2022
MetaShift: A Dataset of Datasets for Evaluating Contextual Distribution Shifts and Training Conflicts (ICLR 2022)

MetaShift: A Dataset of Datasets for Evaluating Distribution Shifts and Training Conflicts This repo provides the PyTorch source code of our paper: Me

88 Jan 04, 2023
Deeper DCGAN with AE stabilization

AEGeAN Deeper DCGAN with AE stabilization Parallel training of generative adversarial network as an autoencoder with dedicated losses for each stage.

Tyler Kvochick 36 Feb 17, 2022
Self Driving RC Car Code

Derp Learning Derp Learning is a Python package that collects data, trains models, and then controls an RC car for track racing. Hardware You will nee

Not Karol 39 Dec 07, 2022
Complex Answer Generation For Conversational Search Systems.

Complex Answer Generation For Conversational Search Systems. Code for Does Structure Matter? Leveraging Data-to-Text Generation for Answering Complex

Hanane Djeddal 0 Dec 06, 2021
BarcodeRattler - A Raspberry Pi Powered Barcode Reader to load a game on the Mister FPGA using MBC

Barcode Rattler A Raspberry Pi Powered Barcode Reader to load a game on the Mist

Chrissy 29 Oct 31, 2022
Simple Dynamic Batching Inference

Simple Dynamic Batching Inference 解决了什么问题? 众所周知,Batch对于GPU上深度学习模型的运行效率影响很大。。。 是在Inference时。搜索、推荐等场景自带比较大的batch,问题不大。但更多场景面临的往往是稀碎的请求(比如图片服务里一次一张图)。 如果

116 Jan 01, 2023
Code for paper "Multi-level Disentanglement Graph Neural Network"

Multi-level Disentanglement Graph Neural Network (MD-GNN) This is a PyTorch implementation of the MD-GNN, and the code includes the following modules:

Lirong Wu 6 Dec 29, 2022
Code for paper "ASAP-Net: Attention and Structure Aware Point Cloud Sequence Segmentation"

ASAP-Net This project implements ASAP-Net of paper ASAP-Net: Attention and Structure Aware Point Cloud Sequence Segmentation (BMVC2020). Overview We i

Hanwen Cao 26 Aug 25, 2022
Image Super-Resolution Using Very Deep Residual Channel Attention Networks

Image Super-Resolution Using Very Deep Residual Channel Attention Networks

kongdebug 14 Oct 14, 2022
Code for "Learning Graph Cellular Automata"

Learning Graph Cellular Automata This code implements the experiments from the NeurIPS 2021 paper: "Learning Graph Cellular Automata" Daniele Grattaro

Daniele Grattarola 37 Oct 26, 2022
EgGateWayGetShell py脚本

EgGateWayGetShell_py 免责声明 由于传播、利用此文所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,作者不为此承担任何责任。 使用 python3 eg.py urls.txt 目标 title:锐捷网络-EWEB网管系统 port:4430 漏洞成因 ?p

榆木 61 Nov 09, 2022
Code and data for "TURL: Table Understanding through Representation Learning"

TURL This Repo contains code and data for "TURL: Table Understanding through Representation Learning". Environment and Setup Data Pretraining Finetuni

SunLab-OSU 63 Nov 23, 2022