Core: Cannot set correct color temp to HA Automated Light intregrated with deconz

Created on 18 Aug 2020  ·  4Comments  ·  Source: home-assistant/core

The problem

I have Immax NEO RGB+CCT light integrated through Deconz without problem, I can control both color temp and rgb correctly using Phoscon app.

Problem 1 : I cannot set the color temp properly with hassio, when I use the color temp slider, only the extreme left set the light on min_mireds (153) and all oher slider position set the color_temp to 555 or higher improbable value.

Problem 2 : Uncorrect max_mireds is set by default (65279), I tried to correct it using customize.yalm without effect.

Environment

  • Deconz v2.05.79
  • Core v 0.114.2

True value are (found using deconz slider for color_temp) > customize value does not have effect on the behaviour

light.palier_chevet:
  max_mireds: 500
  min_mireds: 159

Traceback/Error logs

One slider modification produces all these events

{
    "event_type": "state_changed",
    "data": {
        "entity_id": "light.lumieres",
        "old_state": {
            "entity_id": "light.lumieres",
            "state": "on",
            "attributes": {
                "min_mireds": 153,
                "max_mireds": 500,
                "effect_list": [
                    "colorloop"
                ],
                "brightness": 254,
                "color_temp": 37116,
                "is_deconz_group": true,
                "all_on": false,
                "friendly_name": "Lumières",
                "supported_features": 63
            },
            "last_changed": "2020-08-18T17:17:35.327289+00:00",
            "last_updated": "2020-08-18T17:39:27.079870+00:00",
            "context": {
                "id": "c338dffde17911ea918badd3c6835120",
                "parent_id": null,
                "user_id": null
            }
        },
        "new_state": {
            "entity_id": "light.lumieres",
            "state": "on",
            "attributes": {
                "min_mireds": 153,
                "max_mireds": 500,
                "effect_list": [
                    "colorloop"
                ],
                "brightness": 254,
                "color_temp": 555,
                "is_deconz_group": true,
                "all_on": false,
                "friendly_name": "Lumières",
                "supported_features": 63
            },
            "last_changed": "2020-08-18T17:17:35.327289+00:00",
            "last_updated": "2020-08-18T17:39:35.649775+00:00",
            "context": {
                "id": "c8548a71e17911ea866b25332de4d50f",
                "parent_id": null,
                "user_id": null
            }
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-18T17:39:35.649789+00:00",
    "context": {
        "id": "c8548a71e17911ea866b25332de4d50f",
        "parent_id": null,
        "user_id": null
    }
}
Événement 3 déclenché 19:39:
{
    "event_type": "state_changed",
    "data": {
        "entity_id": "light.palier_chevet2",
        "old_state": {
            "entity_id": "light.palier_chevet2",
            "state": "on",
            "attributes": {
                "min_mireds": 153,
                "max_mireds": 65279,
                "effect_list": [
                    "colorloop"
                ],
                "brightness": 254,
                "color_temp": 37116,
                "is_deconz_group": false,
                "friendly_name": "Chevet2",
                "supported_features": 63
            },
            "last_changed": "2020-08-18T17:17:35.325626+00:00",
            "last_updated": "2020-08-18T17:39:27.079417+00:00",
            "context": {
                "id": "c3377e44e17911ea82bc4908869c2457",
                "parent_id": null,
                "user_id": "ee7d55465e3a40d9933e5361360b7e01"
            }
        },
        "new_state": {
            "entity_id": "light.palier_chevet2",
            "state": "on",
            "attributes": {
                "min_mireds": 153,
                "max_mireds": 65279,
                "effect_list": [
                    "colorloop"
                ],
                "brightness": 254,
                "color_temp": 555,
                "is_deconz_group": false,
                "friendly_name": "Chevet2",
                "supported_features": 63
            },
            "last_changed": "2020-08-18T17:17:35.325626+00:00",
            "last_updated": "2020-08-18T17:39:35.649426+00:00",
            "context": {
                "id": "c8547be7e17911eab6b0d5451ed45411",
                "parent_id": null,
                "user_id": null
            }
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-18T17:39:35.649454+00:00",
    "context": {
        "id": "c8547be7e17911eab6b0d5451ed45411",
        "parent_id": null,
        "user_id": null
    }
}
Événement 1 déclenché 19:39:
{
    "event_type": "state_changed",
    "data": {
        "entity_id": "light.lumieres",
        "old_state": {
            "entity_id": "light.lumieres",
            "state": "on",
            "attributes": {
                "min_mireds": 153,
                "max_mireds": 500,
                "effect_list": [
                    "colorloop"
                ],
                "brightness": 254,
                "color_temp": 555,
                "is_deconz_group": true,
                "all_on": false,
                "friendly_name": "Lumières",
                "supported_features": 63
            },
            "last_changed": "2020-08-18T17:17:35.327289+00:00",
            "last_updated": "2020-08-18T17:39:20.467222+00:00",
            "context": {
                "id": "bf47de35e17911ea86bcf9d58943cb1a",
                "parent_id": null,
                "user_id": null
            }
        },
        "new_state": {
            "entity_id": "light.lumieres",
            "state": "on",
            "attributes": {
                "min_mireds": 153,
                "max_mireds": 500,
                "effect_list": [
                    "colorloop"
                ],
                "brightness": 254,
                "color_temp": 37116,
                "is_deconz_group": true,
                "all_on": false,
                "friendly_name": "Lumières",
                "supported_features": 63
            },
            "last_changed": "2020-08-18T17:17:35.327289+00:00",
            "last_updated": "2020-08-18T17:39:27.079870+00:00",
            "context": {
                "id": "c338dffde17911ea918badd3c6835120",
                "parent_id": null,
                "user_id": null
            }
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-18T17:39:27.079888+00:00",
    "context": {
        "id": "c338dffde17911ea918badd3c6835120",
        "parent_id": null,
        "user_id": null
    }
}
Événement 0 déclenché 19:39:
{
    "event_type": "state_changed",
    "data": {
        "entity_id": "light.palier_chevet2",
        "old_state": {
            "entity_id": "light.palier_chevet2",
            "state": "on",
            "attributes": {
                "min_mireds": 153,
                "max_mireds": 65279,
                "effect_list": [
                    "colorloop"
                ],
                "brightness": 254,
                "color_temp": 555,
                "is_deconz_group": false,
                "friendly_name": "Chevet2",
                "supported_features": 63
            },
            "last_changed": "2020-08-18T17:17:35.325626+00:00",
            "last_updated": "2020-08-18T17:39:20.466988+00:00",
            "context": {
                "id": "bf47d459e17911ea9e2b65bc484942e7",
                "parent_id": null,
                "user_id": null
            }
        },
        "new_state": {
            "entity_id": "light.palier_chevet2",
            "state": "on",
            "attributes": {
                "min_mireds": 153,
                "max_mireds": 65279,
                "effect_list": [
                    "colorloop"
                ],
                "brightness": 254,
                "color_temp": 37116,
                "is_deconz_group": false,
                "friendly_name": "Chevet2",
                "supported_features": 63
            },
            "last_changed": "2020-08-18T17:17:35.325626+00:00",
            "last_updated": "2020-08-18T17:39:27.079417+00:00",
            "context": {
                "id": "c3377e44e17911ea82bc4908869c2457",
                "parent_id": null,
                "user_id": "ee7d55465e3a40d9933e5361360b7e01"
            }
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-18T17:39:27.079435+00:00",
    "context": {
        "id": "c3377e44e17911ea82bc4908869c2457",
        "parent_id": null,
        "user_id": "ee7d55465e3a40d9933e5361360b7e01"
    }
}

Additional information

Deconz HA light extended node feature

light_problem

deconz

Most helpful comment

I should be able to fix this within a few weeks

All 4 comments

Hey there @kane610, mind taking a look at this issue as its been labeled with an integration (deconz) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

Any news ?

I should be able to fix this within a few weeks

Same problem with Philips Hue White & Color E27 (1.65.9_hB3217DF4).

Was this page helpful?
0 / 5 - 0 ratings