Giter VIP home page Giter VIP logo

ha-emulated-color-temp-light's Introduction

hacs_badge Community Forum paypalme_badge Buy me a coffee

HA-Emulated-Color-Temp-Light

Home Assistant component for emulating SUPPORT_COLOR_TEMP for color lights that doesn't support color temp (like some Ikea Tradfri bulbs).

image

Installation

Using HACS (recommended)

This integration can be installed using HACS. To do it search for Emulated color temp light in Integrations section.

Manual

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called emulated_color_temp.
  4. Download all the files from the custom_components/emulated_color_temp/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Configure custom component in configuration.yaml file.
  7. Restart Home Assistant.

Configuration

After installation of the custom component, it needs to be configured in configuration.yaml file.

Add this to your configuration.yaml (this is example config):

light:
  - platform: emulated_color_temp
    name: Your new light name
    entity_id: light.original_light_entity

Available options:

Option Required Description
name Yes Desired entity name
entity_id Yes Original light entity id without color temperature support
offset No Color temperature offset in mireds, can be positive (max: 500) and negative (min: -129). Ikea Tradfri warm color bulbs need to have about -100 offset. (default: 0)
unique_id No The unique ID for this entity. If not provided, integration will try to use unique ID from original light entity

ha-emulated-color-temp-light's People

Contributors

mr-groch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pedrosebastiao

ha-emulated-color-temp-light's Issues

Version in manifest.json

Just a minor issue, the version value in manifest.json is currently an old version, 0.1.3. Confused the heck out of me when checking if my install was up to date.

Adding Color Temperatrue to Tradfri Bulbs removes Color Wheel in UI

When integrating this Integration, the added Lamps lost the functunality to set their normal Color apart from the Temperature. So in order to be able to access both Colormodes i need to add both instances of one lamp to the UI.
I was thinking there might be a misunderstanding on my side regarding the integration, but the screenshots suggest that both modes should be selectable. Are there any files or settings that i could share to help with a further bugfix?
Developersettings show the Emulated Light with 42 Supported Features compared to 40 on the non-emulated version.

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.