GithubHelp home page GithubHelp logo

blattm / tradfri-hue-workaround Goto Github PK

View Code? Open in Web Editor NEW

This project forked from felixzieger/tradfri-hue-workaround

0.0 0.0 0.0 6 KB

Script for fixing colortemp issue with IKEA Trådfri lights on Philips Hue Bridge

License: MIT License

Python 100.00%

tradfri-hue-workaround's Introduction

Trådfri Hue Workaround

Workaround Script for fixing brightness and colortemp issue with IKEA Trådfri lights on Philips Hue Bridge. It works by continuously polling the Hue Bridge to detect change in both properties, then resend update commands to the Trådfri light after a short period.

Requirements

You'll need a PC or server where the script can run in the background. Install python requirements with

poetry install

Usage

Simply start the script with Hue Bridge IP and Trådfri light ID's as argument. Press the bridge button before running it the first time.

poetry run python tradfri_hue_workaround.py <bridge_ip> <light_id_1> <light_id_2> ...    

You can also list available lights and ID's:

poetry run python tradfri_hue_workaround.py <bridge_ip> -l

Background

There's a compatibility issue with IKEA Trådfri lights and Philips Hue Bridge where the brightness and colortemp are not set correctly when changing scenes. The Hue Bridge will first send a command for change of either of the properties, then the other. The Trådfri light will not accept any commands while it is busy changing the first property and discards the command to change the other one. This results in a missmatch where the Hue Bridge thinks both properties has changed, while it has actually not changed.

tradfri-hue-workaround's People

Contributors

oyvindre avatar fzieger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.