Giter Club home page Giter Club logo

Comments (3)

ebaauw avatar ebaauw commented on June 3, 2024

There's still something fishy going on...

Trådfri colour temperature bulb:

$ ph get /lights/101/state
{
  "alert": "none",
  "bri": 254,
  "colormode": "ct",
  "ct": 454,
  "on": false,
  "reachable": true
}
$ ph put /lights/101/state '{"on": true, "bri": 0}'
$ # Light is on
$ ph get /lights/101/state
{
  "alert": "none",
  "bri": 1,
  "colormode": "ct",
  "ct": 454,
  "on": true,
  "reachable": true
}
$ ph put /lights/101/state '{"on": true, "bri": 0}'
$ # Light is still on
$ ph get /lights/101/state
{
  "alert": "none",
  "bri": 1,
  "colormode": "ct",
  "ct": 454,
  "on": true,
  "reachable": true
}
$ ph put /lights/101/state '{"bri": 0}'
$ # Light is still on
$ ph get /lights/101/state
{
  "alert": "none",
  "bri": 0,
  "colormode": "ct",
  "ct": 454,
  "on": false,
  "reachable": true
}
$ ph put /lights/101/state '{"bri": 1}'
ph put: error: 201 parameter, /lights/101/bri, is not modifiable. Device is set to off.
$ ph put /lights/101/state '{"on": true, "bri": 1}'
$ # Light is still on
$ ph get /lights/101/state
{
  "alert": "none",
  "bri": 1,
  "colormode": "ct",
  "ct": 454,
  "on": true,
  "reachable": true
}
$ ph put /lights/101/state '{"bri": 1}'
$ # Light is still on
$ ph get /lights/101/state
{
  "alert": "none",
  "bri": 1,
  "colormode": "ct",
  "ct": 454,
  "on": true,
  "reachable": true
}

Hue enhanced color light:

$ ph get /lights/226/state
{
  "alert": "none",
  "bri": 254,
  "colormode": "xy",
  "ct": 459,
  "effect": "none",
  "hue": 13074,
  "on": false,
  "reachable": true,
  "sat": 205,
  "xy": [
    0.510516,
    0.414973
  ]
}
$ ph put /lights/226/state '{"on": true, "bri": 0}'
$ # light is still off
$ ph get /lights/226/state
{
  "alert": "none",
  "bri": 1,
  "colormode": "xy",
  "ct": 459,
  "effect": "none",
  "hue": 13074,
  "on": true,
  "reachable": true,
  "sat": 205,
  "xy": [
    0.510516,
    0.414973
  ]
}
$ ph put /lights/226/state '{"bri": 254}'
$ # light is still off
$ ph get /lights/226/state
{
  "alert": "none",
  "bri": 254,
  "colormode": "xy",
  "ct": 459,
  "effect": "none",
  "hue": 13074,
  "on": true,
  "reachable": true,
  "sat": 205,
  "xy": [
    0.510516,
    0.414973
  ]
}
$ ph put /lights/226/state '{"on": true}'
$ # light is on
$ ph get /lights/226/state
{
  "alert": "none",
  "bri": 254,
  "colormode": "xy",
  "ct": 459,
  "effect": "none",
  "hue": 13074,
  "on": true,
  "reachable": true,
  "sat": 205,
  "xy": [
    0.510516,
    0.414973
  ]
}

from deconz-rest-plugin.

MatMaul avatar MatMaul commented on June 3, 2024

I can confirm here with my setup, it is really annoying :)
Philips exhibits the problem but not Ikea.
Using brightness = 2 works fine.

from deconz-rest-plugin.

stale avatar stale commented on June 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from deconz-rest-plugin.

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.