Coder Social home page Coder Social logo

ha-h801-esp8266-mqttjson-rgb's People

Contributors

diogos88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ha-h801-esp8266-mqttjson-rgb's Issues

Transition

Hello

The transition does not seem to happen when turning off the light. Nor when turning on the lights, seems that this should follow DEFAULT_TRANSITION_STEPS.

Also a tip to get this smooth is to always reset brightness to 0 when turning off the lamp.
This way this scenario will never happen:

Yesterday you had the lamp on at 255 brightness
Today when you wake up you have a automation that will turn on the lamp at 15 brightness when you wake up.

Right now what will happen is that the lamp will turn on to 255 and then transition to 15. That would kind of be bad.

I tried to implement that the brightness is always set to 0 and state is set to LIGHT_OFF when LIGHT_OFF is recieved but im not good enough at programming to get this to work.

Support for the new mqtt_json component

The updated mqtt_json component now supports a white value and color_temp.

That could make this component work as one less component, aka adding W1 to be controlled by the white value.

Another idea is that both W1 and W2 could be connected to white value but you could connect W1 to warm white leds and W2 to cold white leds and as such make use of the color temperature part of the mqtt_json by mixing the two leds to different color_temp levels.

Just and idea i had.

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.