Code Monkey home page Code Monkey logo

Comments (5)

s-hadinger avatar s-hadinger commented on May 23, 2024 1

Yes. Thanks for the details. Since it used to work fine, it will be easier to fix. I will work on it

from tasmota.

KLLKP avatar KLLKP commented on May 23, 2024

I investigated problem of fade a bit more... to better follow fade steps i used various speed (2-30).

  1. when light is on: fade between CT Warm and Cool and back - works fine.
  2. when temp is set to Cool {"POWER":"ON","Dimmer":100,"Color":"FF00","White":100,"CT":153,"Channel":[100,0]}
    Fade in and out (power on/off) - works fine.
  3. when temp is set to Warm {"POWER":"ON","Dimmer":100,"Color":"00FF","White":100,"CT":500,"Channel":[0,100]}
    Fade in (power on) - works fine
    Fade out (power off) - at the same time it race through dimm and colour - dimmer reduce brightnes (ok) but it also change temp from Warm to Cool at every fade step (with pure cool at least).

So.. its all about fade out when CT is warm.
It looks like it fade out both channels (instead just PWM1 for brightness when SO92 is set)?

Ledtable on/off doesn't change that behavior.

from tasmota.

KLLKP avatar KLLKP commented on May 23, 2024

Hi,
I'v checked a bit more and... it works as should with tasmota-lite ver. 9.2.0 up to 12.5.0, since 13.0.0 it works bad.

Tested with official builds [https://ota.tasmota.com/]:
tasmota-lite ver. 9.2.0 - OK :)
tasmota-lite ver. 10.0.0 - OK :)
tasmota-lite ver. 12.0.2 - OK :)
tasmota-lite ver. 12.5.0 - OK :)
tasmota-lite ver. 13.0.0 - BAD :( ..dimm with color race!
tasmota-lite ver. 13.1.0 - BAD :( ..dimm with color race!
tasmota-lite ver. 13.4.0 - BAD :( ..dimm with color race!

How to reproduce:
Needed:
Light bulb with Dimmer + CT (SO92: Cold/Warm white - second PWM as Color Temp instead of Warm White)
{"NAME":"Azzardo AZ3206 LightBulb","GPIO":[0,0,0,0,0,0,0,0,449,0,416,0,0,0],"FLAG":0,"BASE":18}

Initial commands:
SetOption92 1
Fade 1
Speed 8
DimmerRange 30,100

Commands to prepare a test:
Power1 1
Dimmer 100
CT 500

Run test with:
Power1 0

Symptom:
Instead of just dimm out it: dimm with changing color from warm to cold white.

How it should work (expected result):
State: Fade is On, Power1 On, CT 500 (Warm), SO92 On
When Power1 Off it should just use PWM1 for dimm steps with SO92 (but it use both PWM1 and PWM2).

Checked on 10 bulbs.

from tasmota.

KLLKP avatar KLLKP commented on May 23, 2024

Anyone read this? Something is missing here or unclear? Any details should be added?

from tasmota.

KLLKP avatar KLLKP commented on May 23, 2024

Yes. Thanks for the details. Since it used to work fine, it will be easier to fix. I will work on it

Thanks.... its good to hear ;)
If You have any question.. just ask.
You can look into LightAnimate() [xdrv_04_light.ino], there probobly shlould be handled SO92 somewhere after call calcGamma.... There is solution for ChannelWhite_when_PWMCT, maybe its good place for fix.

from tasmota.

Related Issues (20)

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.